From owner-svn-ports-all@FreeBSD.ORG Sat May 9 02:04:07 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EF5DE36E; Sat, 9 May 2015 02:04:07 +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 C37A41EF5; Sat, 9 May 2015 02:04:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t49247oP055605; Sat, 9 May 2015 02:04:07 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t49247Wh055602; Sat, 9 May 2015 02:04:07 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201505090204.t49247Wh055602@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sat, 9 May 2015 02:04:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r385853 - in head/dns/credns: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 May 2015 02:04:08 -0000 Author: amdmi3 Date: Sat May 9 02:04:06 2015 New Revision: 385853 URL: https://svnweb.freebsd.org/changeset/ports/385853 Log: - Create /var directories from plist, not rc.d script - Strip binaries - Add LICENSE_FILE PR: 200050 Submitted by: amdmi3 Approved by: jaap@NLnetLabs.nl (maintainer) Modified: head/dns/credns/Makefile head/dns/credns/files/credns.in head/dns/credns/pkg-plist Modified: head/dns/credns/Makefile ============================================================================== --- head/dns/credns/Makefile Sat May 9 01:32:04 2015 (r385852) +++ head/dns/credns/Makefile Sat May 9 02:04:06 2015 (r385853) @@ -3,7 +3,7 @@ PORTNAME= credns PORTVERSION= 0.2.10 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns security MASTER_SITES= http://www.nlnetlabs.nl/downloads/credns/ @@ -11,6 +11,7 @@ MAINTAINER= jaap@NLnetLabs.nl COMMENT= Verifier performing validation in the DNS notify/transfer-chain LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE USE_RC_SUBR= credns @@ -27,12 +28,10 @@ CONFIGURE_ARGS= --with-user=${CREDNSUSER --with-dbfile=${CREDNSDBDIR}/nsd.db \ --with-pidfile=${CREDNSRUNDIR}/nsd.pid -SUB_LIST= CREDNSUSER=${USERS} \ +PLIST_SUB= CREDNSUSER=${USERS} \ CREDNSGROUP=${GROUPS} \ CREDNSDBDIR=${CREDNSDBDIR} \ CREDNSRUNDIR=${CREDNSRUNDIR} -PLIST_SUB= CREDNSDBDIR=${CREDNSDBDIR} \ - CREDNSRUNDIR=${CREDNSRUNDIR} USE_OPENSSL= yes @@ -52,6 +51,9 @@ MMAP_CONFIGURE_ENABLE= mmap MAXIPS_CONFIGURE_ON= --with-max-ips=${NSDMAX_IPS} post-install: +.for f in credns credns-checkconf credns-notify credns-patch credns-xfer + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/${f} +.endfor ${INSTALL_DATA} ${WRKSRC}/credns.conf.sample \ ${STAGEDIR}${PREFIX}/etc/credns/credns.conf.sample @${MKDIR} ${STAGEDIR}${DOCSDIR} Modified: head/dns/credns/files/credns.in ============================================================================== --- head/dns/credns/files/credns.in Sat May 9 01:32:04 2015 (r385852) +++ head/dns/credns/files/credns.in Sat May 9 02:04:06 2015 (r385853) @@ -35,7 +35,6 @@ stop_cmd="credns_stop" credns_precmd() { - /usr/bin/install -d -o %%CREDNSUSER%% -g %%CREDNSGROUP%% %%CREDNSDBDIR%% %%CREDNSRUNDIR%% db=`%%PREFIX%%/sbin/credns-checkconf -o database %%PREFIX%%/etc/credns/credns.conf` if [ ! -f "$db" ]; then ${command} rebuild Modified: head/dns/credns/pkg-plist ============================================================================== --- head/dns/credns/pkg-plist Sat May 9 01:32:04 2015 (r385852) +++ head/dns/credns/pkg-plist Sat May 9 02:04:06 2015 (r385853) @@ -12,3 +12,5 @@ sbin/credns-notify sbin/credns-patch sbin/credns-xfer sbin/crednsc +@dir(%%CREDNSUSER%%,%%CREDNSGROUP%%,755) %%CREDNSRUNDIR%% +@dir(%%CREDNSUSER%%,%%CREDNSGROUP%%,755) %%CREDNSDBDIR%%