Bug 179987 - port-update: dns/gdnsd
Summary: port-update: dns/gdnsd
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Felippe de Meirelles Motta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-25 23:40 UTC by Alexandre Biancalana
Modified: 2013-09-02 16:50 UTC (History)
0 users

See Also:


Attachments
file.diff (6.81 KB, patch)
2013-06-25 23:40 UTC, Alexandre Biancalana
no flags Details | Diff
gdnsd_1.9.0.patch (7.45 KB, patch)
2013-07-29 04:18 UTC, Allan Jude
no flags Details | Diff
gdnsd_1.9.0_b.patch (7.59 KB, patch)
2013-07-30 05:42 UTC, Allan Jude
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Biancalana 2013-06-25 23:40:00 UTC
Update to version 1.8.3

Example config file was removed because does not exists in new version.

Added gdnsd user/group

--- /usr/ports/UIDs     2013-06-04 14:29:21.000000000 -0300
+++ UIDs        2013-06-21 12:11:08.000000000 -0300
@@ -98,6 +98,7 @@
 polipo:*:173:173::0:0:polipo web cache:/nonexistent:/usr/sbin/nologin
 flowtools:*:174:174::0:0:Flow-tools collector pseudo-user:/nonexistent:/usr/sbin/nologin
 twms:*:175:175::0:0:tWMS pseudo-user:/nonexistent:/usr/sbin/nologin
+gdnsd:*:179:179::0:0:gdnsd user:/nonexistent:/usr/sbin/nologin
 nagios:*:181:181::0:0:Nagios pseudo-user:/var/spool/nagios:/usr/sbin/nologin
 noc:*:182:182::0:0:NOC pseudo-user:/usr/local/noc:/bin/sh
 icinga:*:183:183::0:0:Icinga pseudo-user:/var/spool/icinga:/usr/sbin/nologin

--- /usr/ports/GIDs     2013-06-04 14:29:21.000000000 -0300
+++ GIDs        2013-06-21 12:11:27.000000000 -0300
@@ -90,6 +90,7 @@
 polipo:*:173:
 flowtools:*:174:
 twms:*:175:
+gdnsd:*:179:
 rt:*:180:
 nagios:*:181:
 noc:*:182:

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-06-25 23:40:08 UTC
Class Changed
From-To: maintainer-update->change-request

Fix category (submitter is not maintainer) (via the GNATS Auto Assign 
Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-06-25 23:40:09 UTC
Maintainer of dns/gdnsd,

Please note that PR ports/179987 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/179987

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2013-06-25 23:40:10 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 Felippe de Meirelles Motta freebsd_committer freebsd_triage 2013-06-26 00:34:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lippe

I'll take it.
Comment 5 blblack 2013-07-10 14:00:14 UTC
You may as well update this straight to 1.9.0 now rather than 1.8.3.
 There's an IANA option code issue addressed in 1.9.0 that has real-world
consequences in the short term for those actually using edns-client-subnet,
but it's otherwise mostly a minor bugfix release over 1.8.3 (+ JSON stats
output feature, and reduction of some autotools dependencies).
Comment 6 Allan Jude 2013-07-29 04:18:52 UTC
As per Brandon Black (app developer) I have upgraded the port, new patch
attached

- Update to 1.9.0
- Update WWW to new location
- Restore UIDs and GIDs
- Add dependency libev
- Switch to XZ
- Remove sample config files that are not longer part of the source
- Fix line wrapping in pkg-descr




--

--------------------------------
Allan Jude
ScaleEngine.com
Comment 7 Allan Jude 2013-07-30 05:42:13 UTC
Some minor fixes to the plist, fresh patch.


-- 

--------------------------------
Allan Jude
ScaleEngine.com
Comment 8 dfilter service freebsd_committer freebsd_triage 2013-09-02 16:46:02 UTC
Author: lippe
Date: Mon Sep  2 15:45:53 2013
New Revision: 326016
URL: http://svnweb.freebsd.org/changeset/ports/326016

Log:
  - Update to 1.9.0
  - Update WWW
  - Restore UIDs and GIDs
  
  PR:		ports/179987
  Submitted by:   Allan Jude <ports@scaleengine.com>, Alexandre Biancalana <ale@biancalanas.net>
  Approved by:    Allan Jude <ports@scaleengine.com> (maintainer)

Modified:
  head/GIDs
  head/UIDs
  head/dns/gdnsd/Makefile
  head/dns/gdnsd/distinfo   (contents, props changed)
  head/dns/gdnsd/pkg-descr   (contents, props changed)
  head/dns/gdnsd/pkg-plist   (contents, props changed)

Modified: head/GIDs
==============================================================================
--- head/GIDs	Mon Sep  2 15:40:12 2013	(r326015)
+++ head/GIDs	Mon Sep  2 15:45:53 2013	(r326016)
@@ -90,6 +90,7 @@ agk:*:172:
 polipo:*:173:
 flowtools:*:174:
 twms:*:175:
+gdnsd:*:179:
 rt:*:180:
 nagios:*:181:
 noc:*:182:

Modified: head/UIDs
==============================================================================
--- head/UIDs	Mon Sep  2 15:40:12 2013	(r326015)
+++ head/UIDs	Mon Sep  2 15:45:53 2013	(r326016)
@@ -98,6 +98,7 @@ agk:*:172:172::0:0:AquaGateKeeper:/nonex
 polipo:*:173:173::0:0:polipo web cache:/nonexistent:/usr/sbin/nologin
 flowtools:*:174:174::0:0:Flow-tools collector pseudo-user:/nonexistent:/usr/sbin/nologin
 twms:*:175:175::0:0:tWMS pseudo-user:/nonexistent:/usr/sbin/nologin
+gdnsd:*:179:179::0:0:gDNSd pseudo-user:/nonexistent:/usr/sbin/nologin
 nagios:*:181:181::0:0:Nagios pseudo-user:/var/spool/nagios:/usr/sbin/nologin
 noc:*:182:182::0:0:NOC pseudo-user:/usr/local/noc:/bin/sh
 icinga:*:183:183::0:0:Icinga pseudo-user:/var/spool/icinga:/usr/sbin/nologin

Modified: head/dns/gdnsd/Makefile
==============================================================================
--- head/dns/gdnsd/Makefile	Mon Sep  2 15:40:12 2013	(r326015)
+++ head/dns/gdnsd/Makefile	Mon Sep  2 15:45:53 2013	(r326016)
@@ -1,14 +1,10 @@
-# New ports collection makefile for:	gdnsd
-# Date created:			Tue May 15, 2012
-# Whom:				Stefan Caunter <stef@scaleengine.com>
-#
+# Created by: Stefan Caunter <stef@scaleengine.com>
 # $FreeBSD$
-#
 
 PORTNAME=	gdnsd
-PORTVERSION=	1.6.8
+PORTVERSION=	1.9.0
 CATEGORIES=	dns
-MASTER_SITES=	https://github.com/blblack/gdnsd/downloads/ \
+MASTER_SITES=	http://downloads.gdnsd.net/ \
 		http://gdnsd.scaleengine.net/gdnsd/
 
 MAINTAINER=	ports@scaleengine.com
@@ -16,32 +12,31 @@ COMMENT=	Authoritative-only GeoIP-aware 
 
 LICENSE=	GPLv3
 
+LIB_DEPENDS=	ev:${PORTSDIR}/devel/libev
+
 OPTIONS_DEFINE=	GEOIP
 
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
+USE_XZ=		yes
 
 MAN1=		gdnsd_geoip_test.1
 MAN3=		gdnsd-plugin-api.3
 MAN5=		gdnsd.config.5 gdnsd.zonefile.5
 MAN8=		gdnsd.8 gdnsd-plugin-simplefo.8 gdnsd-plugin-multifo.8 \
 		gdnsd-plugin-metafo.8 gdnsd-plugin-geoip.8 \
-		gdnsd-plugin-weighted.8
+		gdnsd-plugin-weighted.8 gdnsd-plugin-extmon.8
 MANCOMPRESSED=	no
 
 USE_RC_SUBR=	gdnsd
 
+USERS?=		gdnsd
+GROUPS?=	gdnsd
+
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MWITH_GEOIP}
+.if ${PORT_OPTIONS:MGEOIP}
 RUN_DEPENDS+=	${LOCALBASE}/share/GeoIP/GeoIP.dat:${PORTSDIR}/net/GeoIP
 .endif
 
-post-install:
-	${CP} ${WRKDIR}/${DISTNAME}/docs/config.example ${ETCDIR}/config-dist
-	@if [ ! -f ${ETCDIR}/config ]; then \
-		${CP} -p ${WRKDIR}/${DISTNAME}/docs/config.example ${ETCDIR}/config ; \
-	fi
-	${CP} ${WRKDIR}/${DISTNAME}/docs/example.com ${ETCDIR}/example.com
-
 .include <bsd.port.mk>

Modified: head/dns/gdnsd/distinfo
==============================================================================
--- head/dns/gdnsd/distinfo	Mon Sep  2 15:40:12 2013	(r326015)
+++ head/dns/gdnsd/distinfo	Mon Sep  2 15:45:53 2013	(r326016)
@@ -1,2 +1,2 @@
-SHA256 (gdnsd-1.6.8.tar.gz) = fcc55db9bfa68bfab083648bcee7e997c394360ce4d5bc8459dc655ce520a65f
-SIZE (gdnsd-1.6.8.tar.gz) = 953675
+SHA256 (gdnsd-1.9.0.tar.xz) = 050e52eda89d819ed340ec8cf49210de35c112ee993116906e13c4d2be19d38d
+SIZE (gdnsd-1.9.0.tar.xz) = 620632

Modified: head/dns/gdnsd/pkg-descr
==============================================================================
--- head/dns/gdnsd/pkg-descr	Mon Sep  2 15:40:12 2013	(r326015)
+++ head/dns/gdnsd/pkg-descr	Mon Sep  2 15:45:53 2013	(r326016)
@@ -1,12 +1,13 @@
 gdnsd is an Authoritative-only DNS server.
 
 The initial g stands for Geographic, as gdnsd offers a plugin system for
-geographic (or other sorts of) balancing, redirection, and service-state-conscious
-failover. If you don't care about that feature, it's still quite good at being
-a very fast, lean, and resilient authoritative-only server for static DNS data.
+geographic (or other sorts of) balancing, redirection, and 
+service-state-conscious failover. If you don't care about that feature, 
+it's still quite good at being a very fast, lean, and resilient 
+authoritative-only server for static DNS data.
 
-gdnsd is written in C using libev and pthreads with a focus on highi performance,
-low latency service. It does not offer any form of caching or recursive service,
-and does not support DNSSEC.
+gdnsd is written in C using libev and pthreads with a focus on high 
+performance, low latency service. It does not offer any form of caching or 
+recursive service, and does not support DNSSEC.
 
 WWW: https://github.com/blblack/gdnsd/

Modified: head/dns/gdnsd/pkg-plist
==============================================================================
--- head/dns/gdnsd/pkg-plist	Mon Sep  2 15:40:12 2013	(r326015)
+++ head/dns/gdnsd/pkg-plist	Mon Sep  2 15:45:53 2013	(r326016)
@@ -1,52 +1,21 @@
 bin/gdnsd_geoip_test
-@unexec if cmp -s %D/%%ETCDIR%%/config-dist %D/%%ETCDIR%%/config; then rm -f %D/%%ETCDIR%%/config; fi
-%%ETCDIR%%/config-dist
-@exec if [ ! -f %D/%%ETCDIR%%/config ] ; then cp -p %D/%F %B/config; fi
-%%ETCDIR%%/example.com
-@dirrmtry %%ETCDIR%%
-include/gdnsd-compiler.h
-include/gdnsd-dmn.h
-include/gdnsd-dname.h
-include/gdnsd-ev.h
-include/gdnsd-log.h
-include/gdnsd-misc.h
-include/gdnsd-monio.h
-include/gdnsd-net.h
-include/gdnsd-plugapi.h
-include/gdnsd-plugin.h
-include/gdnsd-satom.h
-include/gdnsd-vscf.h
-%%DOCSDIR%%/gdnsd-plugin-multifo.pod
-%%DOCSDIR%%/gdnsd-plugin-geoip.pod
-%%DOCSDIR%%/gdnsd-plugin-metafo.txt
-%%DOCSDIR%%/gdnsd_geoip_test.pod
-%%DOCSDIR%%/gdnsd-plugin-simplefo.txt
-%%DOCSDIR%%/gdnsd.zonefile.pod
-%%DOCSDIR%%/COPYING
-%%DOCSDIR%%/gdnsd.config.pod
-%%DOCSDIR%%/gdnsd_manual.pod
-%%DOCSDIR%%/gdnsd.txt
-%%DOCSDIR%%/gdnsd-plugin-api.pod
-%%DOCSDIR%%/gdnsd-plugin-weighted.txt
-%%DOCSDIR%%/AUTHORS
-%%DOCSDIR%%/gdnsd-plugin-simplefo.pod
-%%DOCSDIR%%/README.md
-%%DOCSDIR%%/gdnsd_geoip_test.txt
-%%DOCSDIR%%/gdnsd-plugin-metafo.pod
-%%DOCSDIR%%/gdnsd-plugin-geoip.txt
-%%DOCSDIR%%/gdnsd-plugin-multifo.txt
-%%DOCSDIR%%/config.example
-%%DOCSDIR%%/gdnsd.zonefile.txt
-%%DOCSDIR%%/gdnsd_manual.txt
-%%DOCSDIR%%/gdnsd.config.txt
-%%DOCSDIR%%/example.com
-%%DOCSDIR%%/gdnsd-plugin-api.txt
-%%DOCSDIR%%/ChangeLog
-%%DOCSDIR%%/gdnsd-plugin-weighted.pod
-%%DOCSDIR%%/gdnsd.pod
-%%DOCSDIR%%/INSTALL
+include/gdnsd/compiler.h
+include/gdnsd/dmn.h
+include/gdnsd/dname.h
+include/gdnsd/log.h
+include/gdnsd/misc.h
+include/gdnsd/mon.h
+include/gdnsd/net.h
+include/gdnsd/paths.h
+include/gdnsd/plugapi.h
+include/gdnsd/plugin.h
+include/gdnsd/stats.h
+include/gdnsd/vscf.h
+@dirrm include/gdnsd
 lib/gdnsd/libgdnsd.la
 lib/gdnsd/libgdnsd.so
+lib/gdnsd/plugin_extmon.la
+lib/gdnsd/plugin_extmon.so
 lib/gdnsd/plugin_geoip.la
 lib/gdnsd/plugin_geoip.so
 lib/gdnsd/plugin_http_status.la
@@ -67,11 +36,40 @@ lib/gdnsd/plugin_tcp_connect.la
 lib/gdnsd/plugin_tcp_connect.so
 lib/gdnsd/plugin_weighted.la
 lib/gdnsd/plugin_weighted.so
-@dirrm %%DOCSDIR%%/
 @dirrm lib/gdnsd
+libexec/gdnsd/gdnsd_extmon_helper
+@dirrm libexec/gdnsd
 sbin/gdnsd
-@exec mkdir -p %D/var/gdnsd
-@dirrm var/gdnsd
-@exec mkdir -p %D/etc/gdnsd
+%%DOCSDIR%%/AUTHORS
+%%DOCSDIR%%/COPYING
+%%DOCSDIR%%/INSTALL
+%%DOCSDIR%%/NEWS
+%%DOCSDIR%%/README.md
+%%DOCSDIR%%/gdnsd-plugin-api.pod
+%%DOCSDIR%%/gdnsd-plugin-api.txt
+%%DOCSDIR%%/gdnsd-plugin-extmon.pod
+%%DOCSDIR%%/gdnsd-plugin-extmon.txt
+%%DOCSDIR%%/gdnsd-plugin-geoip.pod
+%%DOCSDIR%%/gdnsd-plugin-geoip.txt
+%%DOCSDIR%%/gdnsd-plugin-metafo.pod
+%%DOCSDIR%%/gdnsd-plugin-metafo.txt
+%%DOCSDIR%%/gdnsd-plugin-multifo.pod
+%%DOCSDIR%%/gdnsd-plugin-multifo.txt
+%%DOCSDIR%%/gdnsd-plugin-simplefo.pod
+%%DOCSDIR%%/gdnsd-plugin-simplefo.txt
+%%DOCSDIR%%/gdnsd-plugin-weighted.pod
+%%DOCSDIR%%/gdnsd-plugin-weighted.txt
+%%DOCSDIR%%/gdnsd.config.pod
+%%DOCSDIR%%/gdnsd.config.txt
+%%DOCSDIR%%/gdnsd.pod
+%%DOCSDIR%%/gdnsd.txt
+%%DOCSDIR%%/gdnsd.zonefile.pod
+%%DOCSDIR%%/gdnsd.zonefile.txt
+%%DOCSDIR%%/gdnsd_geoip_test.pod
+%%DOCSDIR%%/gdnsd_geoip_test.txt
+%%DOCSDIR%%/gdnsd_manual.pod
+%%DOCSDIR%%/gdnsd_manual.txt
+@dirrm %%DOCSDIR%%
+@exec mkdir -p %D/%%ETCDIR%%/gdnsd
 @dirrmtry etc/gdnsd
 @stopdaemon gdnsd
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 9 Felippe de Meirelles Motta freebsd_committer freebsd_triage 2013-09-02 16:46:04 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!