Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 2013 18:36:54 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336012 - in head/dns/gdnsd: . files
Message-ID:  <201312091836.rB9IasR5031235@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Mon Dec  9 18:36:54 2013
New Revision: 336012
URL: http://svnweb.freebsd.org/changeset/ports/336012

Log:
  - 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

Added:
  head/dns/gdnsd/files/patch-Makefile.in   (contents, props changed)
Modified:
  head/dns/gdnsd/Makefile
  head/dns/gdnsd/distinfo
  head/dns/gdnsd/pkg-plist

Modified: head/dns/gdnsd/Makefile
==============================================================================
--- head/dns/gdnsd/Makefile	Mon Dec  9 17:59:17 2013	(r336011)
+++ head/dns/gdnsd/Makefile	Mon Dec  9 18:36:54 2013	(r336012)
@@ -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 (Fa
 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>

Modified: head/dns/gdnsd/distinfo
==============================================================================
--- head/dns/gdnsd/distinfo	Mon Dec  9 17:59:17 2013	(r336011)
+++ head/dns/gdnsd/distinfo	Mon Dec  9 18:36:54 2013	(r336012)
@@ -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

Added: head/dns/gdnsd/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/gdnsd/files/patch-Makefile.in	Mon Dec  9 18:36:54 2013	(r336012)
@@ -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) $< $@

Modified: head/dns/gdnsd/pkg-plist
==============================================================================
--- head/dns/gdnsd/pkg-plist	Mon Dec  9 17:59:17 2013	(r336011)
+++ head/dns/gdnsd/pkg-plist	Mon Dec  9 18:36:54 2013	(r336012)
@@ -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



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