diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-05-09 10:04:06 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-05-09 10:04:06 +0800 |
commit | 7a0d152124a61e9591373c3d149ab279fc004caf (patch) | |
tree | dd6ae24cebf6420ba3596913db845d7fdb9a7847 /dns/credns | |
parent | 9d412514fcb10c0868679f5f610af5a58ecef339 (diff) | |
download | freebsd-ports-gnome-7a0d152124a61e9591373c3d149ab279fc004caf.tar.gz freebsd-ports-gnome-7a0d152124a61e9591373c3d149ab279fc004caf.tar.zst freebsd-ports-gnome-7a0d152124a61e9591373c3d149ab279fc004caf.zip |
- 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)
Diffstat (limited to 'dns/credns')
-rw-r--r-- | dns/credns/Makefile | 10 | ||||
-rw-r--r-- | dns/credns/files/credns.in | 1 | ||||
-rw-r--r-- | dns/credns/pkg-plist | 2 |
3 files changed, 8 insertions, 5 deletions
diff --git a/dns/credns/Makefile b/dns/credns/Makefile index 571fa9345695..7cc9ea7af372 100644 --- a/dns/credns/Makefile +++ b/dns/credns/Makefile @@ -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} diff --git a/dns/credns/files/credns.in b/dns/credns/files/credns.in index 98981586bff4..9f2d9c15ae04 100644 --- a/dns/credns/files/credns.in +++ b/dns/credns/files/credns.in @@ -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 diff --git a/dns/credns/pkg-plist b/dns/credns/pkg-plist index 62a38159f818..44e9bb3d9ea2 100644 --- a/dns/credns/pkg-plist +++ b/dns/credns/pkg-plist @@ -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%% |