Date: Tue, 25 Jun 2013 22:36:29 GMT From: Alexandre Biancalana <ale@biancalanas.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/179987: port-update: dns/gdnsd Message-ID: <201306252236.r5PMaTHN070596@oldred.freebsd.org> Resent-Message-ID: <201306252240.r5PMe0m5035919@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 179987 >Category: ports >Synopsis: port-update: dns/gdnsd >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Jun 25 22:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Alexandre Biancalana >Release: 9.1-RELEASE >Organization: >Environment: >Description: 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: >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN /usr/ports/dns/gdnsd/Makefile dns/gdnsd/Makefile --- /usr/ports/dns/gdnsd/Makefile 2012-11-17 03:57:09.000000000 -0200 +++ dns/gdnsd/Makefile 2013-06-25 01:16:58.000000000 -0300 @@ -1,14 +1,10 @@ -# New ports collection makefile for: gdnsd -# Date created: Tue May 15, 2012 -# Whom: Stefan Caunter <stef@scaleengine.com> -# -# $FreeBSD: ports/dns/gdnsd/Makefile,v 1.3 2012/11/17 05:57:09 svnexp Exp $ -# +# Created by: Stefan Caunter <stef@scaleengine.com> +# $FreeBSD$ PORTNAME= gdnsd -PORTVERSION= 1.6.8 +PORTVERSION= 1.8.3 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,33 +12,45 @@ LICENSE= GPLv3 +LIB_DEPENDS= ev:${PORTSDIR}/devel/libev +BUILD_DEPENDS= ragel:${PORTSDIR}/devel/ragel + OPTIONS_DEFINE= GEOIP GNU_CONFIGURE= yes MAKE_JOBS_SAFE= yes +USE_AUTOTOOLS= autoconf automake libtool 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 +pre-configure: + cd ${WRKSRC} && ./autogen.sh +#post-install: +#.if ${PORT_OPTIONS:MDOCS} +# ${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 +#.endif .include <bsd.port.mk> diff -ruN /usr/ports/dns/gdnsd/distinfo dns/gdnsd/distinfo --- /usr/ports/dns/gdnsd/distinfo 2012-09-13 09:09:21.000000000 -0300 +++ dns/gdnsd/distinfo 2013-06-24 18:20:26.000000000 -0300 @@ -1,2 +1,2 @@ -SHA256 (gdnsd-1.6.8.tar.gz) = fcc55db9bfa68bfab083648bcee7e997c394360ce4d5bc8459dc655ce520a65f -SIZE (gdnsd-1.6.8.tar.gz) = 953675 +SHA256 (gdnsd-1.8.3.tar.xz) = a2e00fb1118ed8c655ecca611001e15652a367c49a38623b57927ea254f1a9a4 +SIZE (gdnsd-1.8.3.tar.xz) = 620216 diff -ruN /usr/ports/dns/gdnsd/files/patch-docs-config.example dns/gdnsd/files/patch-docs-config.example --- /usr/ports/dns/gdnsd/files/patch-docs-config.example 2012-06-09 12:47:57.000000000 -0300 +++ dns/gdnsd/files/patch-docs-config.example 1969-12-31 21:00:00.000000000 -0300 @@ -1,19 +0,0 @@ ---- config.example.orig 2012-05-06 20:26:34.000000000 +0000 -+++ docs/config.example 2012-05-25 20:13:28.000000000 +0000 -@@ -1,4 +1,14 @@ -- - # For more information on configuration, see "man gdnsd.config" --options => { zones_default_ttl = 43200 } -+ -+options => { -+ username = gdnsd -+ zones_default_ttl = 3600 -+ http_port = 13506 -+ tcp_clients_per_socket = 256 -+ tcp_timeout = 8 -+ max_http_clients = 32 -+ priority = 0 -+ listen = 127.0.0.1 -+ http_listen = 127.0.0.1 -+} - zones => { example.com => { default_ttl = 86400 } } diff -ruN /usr/ports/dns/gdnsd/pkg-descr dns/gdnsd/pkg-descr --- /usr/ports/dns/gdnsd/pkg-descr 2012-09-13 09:09:21.000000000 -0300 +++ dns/gdnsd/pkg-descr 2013-06-21 12:12:08.000000000 -0300 @@ -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/ diff -ruN /usr/ports/dns/gdnsd/pkg-plist dns/gdnsd/pkg-plist --- /usr/ports/dns/gdnsd/pkg-plist 2012-09-13 09:09:21.000000000 -0300 +++ dns/gdnsd/pkg-plist 2013-06-25 01:57:51.000000000 -0300 @@ -1,21 +1,18 @@ 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 +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 +@dirrmtry include/gdnsd %%DOCSDIR%%/gdnsd-plugin-multifo.pod %%DOCSDIR%%/gdnsd-plugin-geoip.pod %%DOCSDIR%%/gdnsd-plugin-metafo.txt @@ -35,16 +32,16 @@ %%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-plugin-extmon.txt +%%DOCSDIR%%/gdnsd-plugin-extmon.pod %%DOCSDIR%%/gdnsd.pod %%DOCSDIR%%/INSTALL +%%DOCSDIR%%/NEWS lib/gdnsd/libgdnsd.la lib/gdnsd/libgdnsd.so lib/gdnsd/plugin_geoip.la @@ -67,11 +64,13 @@ lib/gdnsd/plugin_tcp_connect.so lib/gdnsd/plugin_weighted.la lib/gdnsd/plugin_weighted.so +lib/gdnsd/plugin_extmon.so +lib/gdnsd/plugin_extmon.la +libexec/gdnsd/gdnsd_extmon_helper +@dirrm libexec/gdnsd @dirrm %%DOCSDIR%%/ @dirrm lib/gdnsd sbin/gdnsd -@exec mkdir -p %D/var/gdnsd -@dirrm var/gdnsd @exec mkdir -p %D/etc/gdnsd @dirrmtry etc/gdnsd @stopdaemon gdnsd >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306252236.r5PMaTHN070596>