aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2013-12-10 02:36:54 +0800
committerpawel <pawel@FreeBSD.org>2013-12-10 02:36:54 +0800
commit39914edbc02d6de194d90a2be65291db6096a60f (patch)
tree67bc663e14624a0f1f5c0f2a7956f20f432344e4 /dns
parente2e9e97c3a2aecaa87220d67124b42b654a864e1 (diff)
downloadfreebsd-ports-gnome-39914edbc02d6de194d90a2be65291db6096a60f.tar.gz
freebsd-ports-gnome-39914edbc02d6de194d90a2be65291db6096a60f.tar.zst
freebsd-ports-gnome-39914edbc02d6de194d90a2be65291db6096a60f.zip
- Update to version 1.11.0 [1]
- Remove non needed directory creation in stage - Fix exec line in pkg-plist, ETCDIR already contains installation prefix and portname directory in etc PR: ports/184583 [1] Submitted by: maintainer
Diffstat (limited to 'dns')
-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