summaryrefslogtreecommitdiff
path: root/net/dnsmasq/Makefile
diff options
context:
space:
mode:
authorleot <leot>2015-08-15 12:38:17 +0000
committerleot <leot>2015-08-15 12:38:17 +0000
commitcfeefd2a48dd9cc4d094d60d8333093db6d12d30 (patch)
treeec697d85fbbdb7ba76d2ffc5e000ec7619e80854 /net/dnsmasq/Makefile
parent83d3497b870772f6613d4f9cf34df8c1421cc27a (diff)
downloadpkgsrc-cfeefd2a48dd9cc4d094d60d8333093db6d12d30.tar.gz
Update net/dnsmasq to dnsmasq-2.75, based on patches from Benedek Gergely via
pkgsrc-users@. ok wiz@ pkgsrc changes: o Pass COPTS via MAKE_FLAGS. This avoid to completely rebuild dnsmasq when dbus option is selected. Changes: version 2.75 Fix reversion on 2.74 which caused 100% CPU use when a dhcp-script is configured. Thanks to Adrian Davey for reporting the bug and testing the fix. version 2.74 Fix reversion in 2.73 where --conf-file would attempt to read the default file, rather than no file. Fix inotify code to handle dangling symlinks better and not SEGV in some circumstances. DNSSEC fix. In the case of a signed CNAME generated by a wildcard which pointed to an unsigned domain, the wrong status would be logged, and some necessary checks omitted.
Diffstat (limited to 'net/dnsmasq/Makefile')
-rw-r--r--net/dnsmasq/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/net/dnsmasq/Makefile b/net/dnsmasq/Makefile
index 27a9cdad9fb..c46553971f0 100644
--- a/net/dnsmasq/Makefile
+++ b/net/dnsmasq/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.30 2015/07/14 09:57:13 fhajny Exp $
+# $NetBSD: Makefile,v 1.31 2015/08/15 12:38:17 leot Exp $
-DISTNAME= dnsmasq-2.73
+DISTNAME= dnsmasq-2.75
CATEGORIES= net
MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/
@@ -10,8 +10,8 @@ COMMENT= Lightweight, easy to configure DNS forwarder
LICENSE= gnu-gpl-v3
RCD_SCRIPTS= dnsmasq
-CONF_FILES= ${PREFIX}/share/examples/dnsmasq/dnsmasq.conf.example \
- ${PKG_SYSCONFDIR}/dnsmasq.conf
+EGDIR= ${PREFIX}/share/examples/dnsmasq
+CONF_FILES= ${EGDIR}/dnsmasq.conf.example ${PKG_SYSCONFDIR}/dnsmasq.conf
.include "../../mk/bsd.prefs.mk"
@@ -37,7 +37,7 @@ PLIST_VARS+= dbus
USE_TOOLS+= pkg-config
CFLAGS+= -DHAVE_DBUS
.include "../../sysutils/dbus/buildlink3.mk"
-CONF_FILES+= ${PREFIX}/share/examples/dnsmasq/dnsmasq-dbus.conf \
+CONF_FILES+= ${EGDIR}/dnsmasq-dbus.conf \
${PKG_SYSCONFDIR}/dbus-1/system.d/dnsmasq-dbus.conf
PLIST.dbus= yes
.endif
@@ -53,7 +53,7 @@ CFLAGS+= -DNO_IPSET
# Override the defaults
AUTO_MKDIRS=yes
CFLAGS+= -DCONFFILE='"${PKG_SYSCONFDIR}/dnsmasq.conf"'
-BUILD_MAKE_FLAGS+= COPTS=${CFLAGS:Q}
+MAKE_FLAGS+= COPTS=${CFLAGS:Q}
INSTALL_MAKE_FLAGS+= PREFIX="${PREFIX}"
INSTALL_MAKE_FLAGS+= MANDIR="${PREFIX}/${PKGMANDIR}"
INSTALL_MAKE_FLAGS+= LOCALEDIR="${PREFIX}/${PKGLOCALEDIR}"
@@ -64,10 +64,10 @@ INSTALL_MAKE_FLAGS+= AWK="${AWK}"
post-install:
${INSTALL_DATA} ${WRKSRC}/dnsmasq.conf.example \
- ${DESTDIR}${PREFIX}/share/examples/dnsmasq/
+ ${DESTDIR}${EGDIR}
.if !empty(PKG_OPTIONS:Mdbus)
${INSTALL_DATA} ${WRKSRC}/dbus/dnsmasq.conf \
- ${DESTDIR}${PREFIX}/share/examples/dnsmasq/dnsmasq-dbus.conf
+ ${DESTDIR}${EGDIR}/dnsmasq-dbus.conf
.endif
.include "../../mk/bsd.pkg.mk"