aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dns/gdnsd/Makefile7
-rw-r--r--dns/gdnsd/distinfo4
-rw-r--r--dns/gdnsd/files/patch-Makefile.in15
-rw-r--r--dns/gdnsd/pkg-plist4
4 files changed, 21 insertions, 9 deletions
diff --git a/dns/gdnsd/Makefile b/dns/gdnsd/Makefile
index b22bcca3a2de..da5c3d490837 100644
--- a/dns/gdnsd/Makefile
+++ b/dns/gdnsd/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= gdnsd
-PORTVERSION= 1.10.1
+PORTVERSION= 1.11.0
CATEGORIES= dns
MASTER_SITES= http://downloads.gdnsd.net/ \
http://gdnsd.scaleengine.net/gdnsd/
@@ -35,9 +35,4 @@ URCU_DESC= Read-Copy-Update Support (Faster Zone Parsing)
URCU_CONFIGURE_WITH= urcu
URCU_LIB_DEPENDS= liburcu.so:${PORTSDIR}/sysutils/liburcu
-.include <bsd.port.options.mk>
-
-post-install:
- ${MKDIR} ${STAGEDIR}${PREFIX}/etc/gdnsd/zones
-
.include <bsd.port.mk>
diff --git a/dns/gdnsd/distinfo b/dns/gdnsd/distinfo
index 89be4b7b475d..7df0c6e7b1c5 100644
--- a/dns/gdnsd/distinfo
+++ b/dns/gdnsd/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gdnsd-1.10.1.tar.xz) = bd879d90f9c0c7695f6b46feb910a30beb904335b8c5c7d12d1f8d60a1140447
-SIZE (gdnsd-1.10.1.tar.xz) = 624772
+SHA256 (gdnsd-1.11.0.tar.xz) = 45c60d3c739d3b4e25777edc3d552b093275b20226e610cbacbb143300412c94
+SIZE (gdnsd-1.11.0.tar.xz) = 627912
diff --git a/dns/gdnsd/files/patch-Makefile.in b/dns/gdnsd/files/patch-Makefile.in
new file mode 100644
index 000000000000..e2cb8bc50312
--- /dev/null
+++ b/dns/gdnsd/files/patch-Makefile.in
@@ -0,0 +1,15 @@
+--- Makefile.in.orig 2013-12-08 20:39:14.439782160 -0500
++++ Makefile.in 2013-12-08 20:39:28.762789130 -0500
+@@ -942,12 +942,6 @@
+ @HAS_DEF_ROOTDIR_FALSE@ $(MKDIR_P) "$(DESTDIR)$(sysconfdir)/gdnsd/zones";
+ @HAS_DEF_ROOTDIR_FALSE@ $(MKDIR_P) "$(DESTDIR)$(sysconfdir)/gdnsd/geoip";
+ @HAS_DEF_ROOTDIR_FALSE@ $(MKDIR_P) "$(DESTDIR)$(GDNSD_SYSRUNDIR)/gdnsd";
+- @id gdnsd >/dev/null 2>&1; if test $$? -ne 0; then \
+- echo; \
+- echo === READ ME ===; \
+- echo The default user \"gdnsd\" \(for privdrop when executed as root\) does not seem to exist yet!; \
+- echo; \
+- fi
+
+ .pod.8:
+ $(AM_V_GEN)$(POD2MAN) --section=8 --release="$(PACKAGE_NAME) $(VERSION)" --center=$(PACKAGE_NAME) $< $@
diff --git a/dns/gdnsd/pkg-plist b/dns/gdnsd/pkg-plist
index c5df9bbd4bba..554de8c79a0f 100644
--- a/dns/gdnsd/pkg-plist
+++ b/dns/gdnsd/pkg-plist
@@ -81,6 +81,8 @@ man/man8/gdnsd-plugin-simplefo.8.gz
man/man8/gdnsd-plugin-weighted.8.gz
man/man8/gdnsd.8.gz
@dirrm %%DOCSDIR%%
-@exec mkdir -p %D/%%ETCDIR%%/gdnsd/zones
+@exec mkdir -p %%ETCDIR%%/zones
+@unexec rmdir >/dev/null 2>&1 /var/run/gdnsd || :
@dirrmtry etc/gdnsd/zones
+@dirrmtry etc/gdnsd/geoip
@dirrmtry etc/gdnsd