Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 2013 20:48:13 +0000 (UTC)
From:      David Thiel <lx@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r323550 - head/dns/djbdns
Message-ID:  <201307232048.r6NKmDsj057405@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307232048.r6NKmDsj057405>