svn commit: r323550 - head/dns/djbdns
David Thiel
lx at FreeBSD.org
Tue Jul 23 20:48:13 UTC 2013
Author: lx
Date: Tue Jul 23 20:48:13 2013
New Revision: 323550
URL: http://svnweb.freebsd.org/changeset/ports/323550
Log:
Add option to auto-add users for dnscache, tinydns and dnslog.
PR: ports/180069
Submitted by: Alexandre Biancalana <ale at biancalanas.net>
Modified:
head/dns/djbdns/Makefile
Modified: head/dns/djbdns/Makefile
==============================================================================
--- head/dns/djbdns/Makefile Tue Jul 23 20:47:10 2013 (r323549)
+++ head/dns/djbdns/Makefile Tue Jul 23 20:48:13 2013 (r323550)
@@ -16,7 +16,7 @@ COMMENT?= A collection of secure and rel
RUN_DEPENDS= setuidgid:${PORTSDIR}/sysutils/daemontools \
tcpserver:${PORTSDIR}/sysutils/ucspi-tcp
-OPTIONS_DEFINE= DUMPCACHE IP6 IGNOREIP JUMBO MAN PERSISTENT_MMAP SRV DNSCURVE
+OPTIONS_DEFINE= DUMPCACHE IP6 IGNOREIP JUMBO MAN PERSISTENT_MMAP SRV DNSCURVE ADD_USERS
OPTIONS_DEFAULT= MAN
DUMPCACHE_DESC= persistent cache for dnscache
IP6_DESC= IPv6 support by Felix von Leitner
@@ -26,9 +26,15 @@ MAN_DESC= manual pages by Gerritt Pape
PERSISTENT_MMAP_DESC= persistent mmap patch by Lennert Buytenhek
SRV_DESC= SRV record patch by Michael Handler
DNSCURVE_DESC= DNSCurve support by Matthew Dempsky
+ADD_USERS_DESC= Add dnscache, tinydns and dnslog users/groups
.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MADD_USERS}
+USERS?= dnscache tinydns dnslog
+GROUPS?=dnscache tinydns dnslog
+.endif
+
.if ${PORT_OPTIONS:MJUMBO}
.if ${PORT_OPTIONS:MIP6} || ${PORT_OPTIONS:MIGNOREIP} || ${PORT_OPTIONS:MSRV} || \
${PORT_OPTIONS:MDNSCURVE}
More information about the svn-ports-head
mailing list