diff options
author | cheusov <cheusov@pkgsrc.org> | 2014-11-23 13:10:03 +0000 |
---|---|---|
committer | cheusov <cheusov@pkgsrc.org> | 2014-11-23 13:10:03 +0000 |
commit | f31697ccc747a6e9cfa658a4d184077adefb1d51 (patch) | |
tree | caa59ae962437551af556de0814b4825be270561 /net/dnsmasq | |
parent | e357351c602daf94c0ccdbdc8e9520ffa785e666 (diff) | |
download | pkgsrc-f31697ccc747a6e9cfa658a4d184077adefb1d51.tar.gz |
user and group "dnsmasq" are created; ++pkgrevision
Diffstat (limited to 'net/dnsmasq')
-rw-r--r-- | net/dnsmasq/Makefile | 16 | ||||
-rw-r--r-- | net/dnsmasq/distinfo | 3 | ||||
-rw-r--r-- | net/dnsmasq/patches/patch-dnsmasq.conf.example | 15 |
3 files changed, 32 insertions, 2 deletions
diff --git a/net/dnsmasq/Makefile b/net/dnsmasq/Makefile index cdc7b65bb5e..fdecc7d2400 100644 --- a/net/dnsmasq/Makefile +++ b/net/dnsmasq/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.24 2013/11/12 12:12:45 roy Exp $ +# $NetBSD: Makefile,v 1.25 2014/11/23 13:10:03 cheusov Exp $ # DISTNAME= dnsmasq-2.67 +PKGREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/ LICENSE= gnu-gpl-v3 @@ -14,6 +15,19 @@ RCD_SCRIPTS= dnsmasq CONF_FILES= ${PREFIX}/share/examples/dnsmasq/dnsmasq.conf.example \ ${PKG_SYSCONFDIR}/dnsmasq.conf +.include "../../mk/bsd.prefs.mk" + +DNSMASQ_USER?= dnsmasq +.if ${OPSYS} == "Interix" +DNSMASQ_GROUP?= nogroup +.else +DNSMASQ_GROUP?= dnsmasq +.endif + +PKG_GROUPS= ${DNSMASQ_GROUP} +PKG_USERS= ${DNSMASQ_USER}:${DNSMASQ_GROUP} +PKG_GECOS.${DNSMASQ_USER}= DNS\ forwarder\ user + PKG_OPTIONS_VAR= PKG_OPTIONS.dnsmasq PKG_SUPPORTED_OPTIONS= dbus inet6 PKG_SUGGESTED_OPTIONS= inet6 diff --git a/net/dnsmasq/distinfo b/net/dnsmasq/distinfo index fbb0df85c5a..18691ef0405 100644 --- a/net/dnsmasq/distinfo +++ b/net/dnsmasq/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.21 2013/11/12 12:12:45 roy Exp $ +$NetBSD: distinfo,v 1.22 2014/11/23 13:10:03 cheusov Exp $ SHA1 (dnsmasq-2.67.tar.gz) = 550c7ea2bef2a74a089c664d95fc52420a8cb726 RMD160 (dnsmasq-2.67.tar.gz) = c2f3f9d7978bc9eddbcb77add54acdf3c8103fa8 Size (dnsmasq-2.67.tar.gz) = 600838 bytes +SHA1 (patch-dnsmasq.conf.example) = ca638f18ee386f211bd9c0d1137de22bc5e995fb diff --git a/net/dnsmasq/patches/patch-dnsmasq.conf.example b/net/dnsmasq/patches/patch-dnsmasq.conf.example new file mode 100644 index 00000000000..6f1216f872c --- /dev/null +++ b/net/dnsmasq/patches/patch-dnsmasq.conf.example @@ -0,0 +1,15 @@ +$NetBSD: patch-dnsmasq.conf.example,v 1.1 2014/11/23 13:10:03 cheusov Exp $ + +--- dnsmasq.conf.example.orig 2013-10-25 09:37:30.000000000 +0000 ++++ dnsmasq.conf.example +@@ -84,8 +84,8 @@ + + # If you want dnsmasq to change uid and gid to something other + # than the default, edit the following lines. +-#user= +-#group= ++#user=dnsmasq ++#group=dnsmasq + + # If you want dnsmasq to listen for DHCP and DNS requests only on + # specified interfaces (and the loopback) give the name of the |