diff options
author | pav <pav@FreeBSD.org> | 2007-01-19 02:57:26 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2007-01-19 02:57:26 +0800 |
commit | e471191156c1b50358761417fb61509f5a1621ad (patch) | |
tree | 879a7eb92df7b7da8f7043cc000d99e35c81fd95 /dns/powerdns-recursor/Makefile | |
parent | 0c7b4036ff9bab1b541244395e20227ae8101327 (diff) | |
download | freebsd-ports-gnome-e471191156c1b50358761417fb61509f5a1621ad.tar.gz freebsd-ports-gnome-e471191156c1b50358761417fb61509f5a1621ad.tar.zst freebsd-ports-gnome-e471191156c1b50358761417fb61509f5a1621ad.zip |
- Add a sensible default for maximal size of cache
- Run under unpriviledged user by default
PR: ports/108062
Submitted by: Sten Spans <sten@blinkenlights.nl> (maintainer)
Diffstat (limited to 'dns/powerdns-recursor/Makefile')
-rw-r--r-- | dns/powerdns-recursor/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dns/powerdns-recursor/Makefile b/dns/powerdns-recursor/Makefile index e52695c59ccc..fddc0b8c3901 100644 --- a/dns/powerdns-recursor/Makefile +++ b/dns/powerdns-recursor/Makefile @@ -7,7 +7,7 @@ PORTNAME= powerdns-recursor PORTVERSION= 3.1.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= dns ipv6 MASTER_SITES= http://downloads.powerdns.com/releases/ \ http://mirrors.evolva.ro/powerdns.com/releases/ @@ -64,6 +64,10 @@ post-patch: @${REINPLACE_CMD} -e 's;"/etc/powerdns/";"${PREFIX}/etc/pdns/";' \ ${WRKSRC}/config.h +pre-install: + @${ECHO} "==> Creating custom user to run pdns_recursor..." + @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL + post-install: .if !exists(${PREFIX}/etc/pdns/recursor.conf) ${INSTALL_DATA} ${PREFIX}/etc/pdns/recursor.conf-dist \ |