aboutsummaryrefslogtreecommitdiff
path: root/dns/powerdns-recursor/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dns/powerdns-recursor/Makefile')
-rw-r--r--dns/powerdns-recursor/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/dns/powerdns-recursor/Makefile b/dns/powerdns-recursor/Makefile
index 0a744ca74029..75f275527fd3 100644
--- a/dns/powerdns-recursor/Makefile
+++ b/dns/powerdns-recursor/Makefile
@@ -41,6 +41,8 @@ USE_RC_SUBR+= pdns-recursor
.if defined(WITH_SETUID)
EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-setuid
+USERS= pdns_recursor
+GROUPS= pdns
.endif
.if defined(WITH_LUA)
@@ -71,12 +73,6 @@ post-patch:
@${REINPLACE_CMD} -e 's;"/etc/powerdns/";"${PREFIX}/etc/pdns/";' \
${WRKSRC}/config.h
-.if defined(WITH_SETUID)
-pre-install:
- @${ECHO} "==> Creating custom user to run pdns_recursor..."
- @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
-.endif
-
post-install:
.if !exists(${PREFIX}/etc/pdns/recursor.conf)
${INSTALL_DATA} ${PREFIX}/etc/pdns/recursor.conf-dist \