From owner-svn-ports-head@FreeBSD.ORG Sat Sep 20 17:40:38 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 706C9190; Sat, 20 Sep 2014 17:40:38 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 41E03600; Sat, 20 Sep 2014 17:40:38 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8KHeciY022211; Sat, 20 Sep 2014 17:40:38 GMT (envelope-from pawel@FreeBSD.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8KHeb9m022209; Sat, 20 Sep 2014 17:40:37 GMT (envelope-from pawel@FreeBSD.org) Message-Id: <201409201740.s8KHeb9m022209@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pawel set sender to pawel@FreeBSD.org using -f From: Pawel Pekala Date: Sat, 20 Sep 2014 17:40:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r368668 - head/dns/mDNSResponder_nss X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2014 17:40:38 -0000 Author: pawel Date: Sat Sep 20 17:40:37 2014 New Revision: 368668 URL: http://svnweb.freebsd.org/changeset/ports/368668 QAT: https://qat.redports.org/buildarchive/r368668/ Log: - Manage config file (with @sample according to the ports guidelines) - Fix stripping - Trim long lines PR: ports/193229 Submitted by: maintainer Modified: head/dns/mDNSResponder_nss/Makefile head/dns/mDNSResponder_nss/pkg-plist Modified: head/dns/mDNSResponder_nss/Makefile ============================================================================== --- head/dns/mDNSResponder_nss/Makefile Sat Sep 20 17:40:11 2014 (r368667) +++ head/dns/mDNSResponder_nss/Makefile Sat Sep 20 17:40:37 2014 (r368668) @@ -2,6 +2,7 @@ PORTNAME= mDNSResponder_nss PORTVERSION= 544 +PORTREVISION= 1 CATEGORIES= dns net MASTER_SITES= http://opensource.apple.com/tarballs/mDNSResponder/ DISTNAME= ${PORTNAME:S/_nss//}-${PORTVERSION} @@ -28,14 +29,22 @@ do-build: (cd ${WRKSRC}/mDNSPosix && ${LD} -shared nss_mdns.o nss_mdns_freebsd.o \ -o nss_mdns.so.1 -L${PREFIX}/lib -R${PREFIX}/lib -ldns_sd) +post-build: + ${STRIP_CMD} ${WRKSRC}/mDNSPosix/nss_mdns.so.1 + do-install: - ${INSTALL_LIB} ${WRKSRC}/mDNSPosix/nss_mdns.so.1 ${STAGEDIR}${PREFIX}/lib - ${LN} -sf ${PREFIX}/lib/nss_mdns.so.1 ${STAGEDIR}${PREFIX}/lib/nss_mdns.so + ${INSTALL_LIB} ${WRKSRC}/mDNSPosix/nss_mdns.so.1 \ + ${STAGEDIR}${PREFIX}/lib + ${LN} -sf ${PREFIX}/lib/nss_mdns.so.1 \ + ${STAGEDIR}${PREFIX}/lib/nss_mdns.so ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/mDNSPosix/nss_mdns.conf ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_MAN} ${WRKSRC}/mDNSPosix/nss_mdns.conf.5 ${STAGEDIR}${MANPREFIX}/man/man5 + ${INSTALL_DATA} ${WRKSRC}/mDNSPosix/nss_mdns.conf \ + ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_MAN} ${WRKSRC}/mDNSPosix/nss_mdns.conf.5 \ + ${STAGEDIR}${MANPREFIX}/man/man5 post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/nss_mdns.so.1 + ${INSTALL_DATA} ${WRKSRC}/mDNSPosix/nss_mdns.conf \ + ${STAGEDIR}${PREFIX}/etc/nss_mdns.conf.sample .include Modified: head/dns/mDNSResponder_nss/pkg-plist ============================================================================== --- head/dns/mDNSResponder_nss/pkg-plist Sat Sep 20 17:40:11 2014 (r368667) +++ head/dns/mDNSResponder_nss/pkg-plist Sat Sep 20 17:40:37 2014 (r368668) @@ -1,3 +1,4 @@ +@sample etc/nss_mdns.conf.sample lib/nss_mdns.so lib/nss_mdns.so.1 man/man5/nss_mdns.conf.5.gz