From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 25 03:20:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8F7A098F for ; Sun, 25 May 2014 03:20:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 69DE82688 for ; Sun, 25 May 2014 03:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4P3K02A087598 for ; Sun, 25 May 2014 03:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4P3K0uu087597; Sun, 25 May 2014 03:20:00 GMT (envelope-from gnats) Resent-Date: Sun, 25 May 2014 03:20:00 GMT Resent-Message-Id: <201405250320.s4P3K0uu087597@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Allan Jude Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9B74F94E for ; Sun, 25 May 2014 03:13:51 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7B4072666 for ; Sun, 25 May 2014 03:13:51 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4P3Dpom075778 for ; Sun, 25 May 2014 03:13:51 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4P3DptM075770; Sun, 25 May 2014 03:13:51 GMT (envelope-from nobody) Message-Id: <201405250313.s4P3DptM075770@cgiserv.freebsd.org> Date: Sun, 25 May 2014 03:13:51 GMT From: Allan Jude To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/190192: [patch] [maintainer] upgrade dns/gdnsd to 1.11.3 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 May 2014 03:20:00 -0000 >Number: 190192 >Category: ports >Synopsis: [patch] [maintainer] upgrade dns/gdnsd to 1.11.3 >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: Sun May 25 03:20:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Allan Jude >Release: 9.2-RELEASE-p5 >Organization: ScaleEngine Inc. >Environment: 9.2-RELEASE-p5 >Description: Update dns/gdnsd to 1.11.3 (resolves a few minor memory leaks) turn GeoIP on by default (gdnsd is not very useful without it) many portlint and staging fixes update maintainer email address >How-To-Repeat: >Fix: Patch attached with submission follows: Index: dns/gdnsd/Makefile =================================================================== --- dns/gdnsd/Makefile (revision 355075) +++ dns/gdnsd/Makefile (working copy) @@ -1,16 +1,13 @@ -# Created by: Allan Jude +# Created by: Allan Jude # $FreeBSD$ PORTNAME= gdnsd -PORTVERSION= 1.11.1 -PORTREVISION= 1 +PORTVERSION= 1.11.3 CATEGORIES= dns MASTER_SITES= https://github.com/blblack/gdnsd/releases/download/v${PORTVERSION}/ \ http://gdnsd.scaleengine.net/gdnsd/ -FETCH_ARGS= -Fpr - -MAINTAINER= ports@scaleengine.com +MAINTAINER= allanjude@freebsd.org COMMENT= Authoritative-only GeoIP-aware DNS server LICENSE= GPLv3 @@ -17,11 +14,12 @@ LIB_DEPENDS= libev.so:${PORTSDIR}/devel/libev +FETCH_ARGS= -Fpr + GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var --with-rootdir=${LOCALBASE}/etc/gdnsd USE_LDCONFIG= yes -USE_XZ= yes -USES= pkgconfig +USES= pkgconfig libtool tar:xz CPPFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib USE_RC_SUBR= gdnsd @@ -30,6 +28,7 @@ GROUPS?= gdnsd OPTIONS_DEFINE= DOCS GEOIP URCU +OPTIONS_DEFAULT= GEOIP GEOIP_DESC= Enable GeoIP Support GEOIP_RUN_DEPENDS= ${LOCALBASE}/share/GeoIP/GeoIP.dat:${PORTSDIR}/net/GeoIP @@ -38,4 +37,21 @@ URCU_CONFIGURE_WITH= urcu URCU_LIB_DEPENDS= liburcu.so:${PORTSDIR}/sysutils/liburcu +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/libgdnsd.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/plugin_extmon.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/plugin_geoip.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/plugin_http_status.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/plugin_metafo.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/plugin_multifo.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/plugin_null.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/plugin_reflect.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/plugin_simplefo.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/plugin_static.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/plugin_tcp_connect.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/plugin_weighted.so + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/gdnsd/geoip + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/gdnsd/zones + ${MKDIR} ${STAGEDIR}/var/run/gdnsd + .include Index: dns/gdnsd/distinfo =================================================================== --- dns/gdnsd/distinfo (revision 355075) +++ dns/gdnsd/distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (gdnsd-1.11.1.tar.xz) = 5c560753e9c07631904fad84b422797e520079b989f6b5d912057bc2ca81e7e5 -SIZE (gdnsd-1.11.1.tar.xz) = 629060 +SHA256 (gdnsd-1.11.3.tar.xz) = 43bdf602e042a969158d040b26131f880453efa69dc771dc26596c311d9f8e39 +SIZE (gdnsd-1.11.3.tar.xz) = 634156 Index: dns/gdnsd/pkg-plist =================================================================== --- dns/gdnsd/pkg-plist (revision 355075) +++ dns/gdnsd/pkg-plist (working copy) @@ -1,5 +1,4 @@ bin/gdnsd_geoip_test -etc/rc.d/gdnsd include/gdnsd/compiler.h include/gdnsd/dmn.h include/gdnsd/dname.h @@ -12,29 +11,17 @@ include/gdnsd/plugin.h include/gdnsd/stats.h include/gdnsd/vscf.h -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 lib/gdnsd/plugin_http_status.so -lib/gdnsd/plugin_metafo.la lib/gdnsd/plugin_metafo.so -lib/gdnsd/plugin_multifo.la lib/gdnsd/plugin_multifo.so -lib/gdnsd/plugin_null.la lib/gdnsd/plugin_null.so -lib/gdnsd/plugin_reflect.la lib/gdnsd/plugin_reflect.so -lib/gdnsd/plugin_simplefo.la lib/gdnsd/plugin_simplefo.so -lib/gdnsd/plugin_static.la lib/gdnsd/plugin_static.so -lib/gdnsd/plugin_tcp_connect.la lib/gdnsd/plugin_tcp_connect.so -lib/gdnsd/plugin_weighted.la lib/gdnsd/plugin_weighted.so libexec/gdnsd/gdnsd_extmon_helper man/man1/gdnsd_geoip_test.1.gz @@ -78,12 +65,13 @@ %%PORTDOCS%%%%DOCSDIR%%/gdnsd_geoip_test.txt %%PORTDOCS%%%%DOCSDIR%%/gdnsd_manual.pod %%PORTDOCS%%%%DOCSDIR%%/gdnsd_manual.txt +@exec mkdir -p %%ETCDIR%%/geoip @exec mkdir -p %%ETCDIR%%/zones @unexec rmdir "/var/run/gdnsd" >/dev/null 2>&1 || : -%%PORTDOCS%%@dirrmtry %%DOCSDIR%% +@dirrmtry %%ETCDIR%%/geoip +@dirrmtry %%ETCDIR%%/zones +@dirrmtry %%ETCDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrmtry libexec/gdnsd @dirrmtry lib/gdnsd @dirrmtry include/gdnsd -@dirrmtry etc/gdnsd/zones -@dirrmtry etc/gdnsd/geoip -@dirrmtry etc/gdnsd >Release-Note: >Audit-Trail: >Unformatted: