aboutsummaryrefslogtreecommitdiffstats
path: root/dns/powerdns-recursor/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-01-19 02:57:26 +0800
committerpav <pav@FreeBSD.org>2007-01-19 02:57:26 +0800
commite471191156c1b50358761417fb61509f5a1621ad (patch)
tree879a7eb92df7b7da8f7043cc000d99e35c81fd95 /dns/powerdns-recursor/Makefile
parent0c7b4036ff9bab1b541244395e20227ae8101327 (diff)
downloadfreebsd-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/Makefile6
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 \