svn commit: r355428 - head/dns/gdnsd
Allan Jude
allanjude at FreeBSD.org
Mon May 26 18:51:00 UTC 2014
Author: allanjude (doc committer)
Date: Mon May 26 18:50:59 2014
New Revision: 355428
URL: http://svnweb.freebsd.org/changeset/ports/355428
QAT: https://qat.redports.org/buildarchive/r355428/
Log:
- Update to version 1.11.3
- turn GeoIP on by default
- portlint and staging cleanups
- update maintainer email address
PR: ports/190192
Reviewed by: swills
Approved by: eadler (mentor)
Modified:
head/dns/gdnsd/Makefile
head/dns/gdnsd/distinfo
head/dns/gdnsd/pkg-plist
Modified: head/dns/gdnsd/Makefile
==============================================================================
--- head/dns/gdnsd/Makefile Mon May 26 18:30:11 2014 (r355427)
+++ head/dns/gdnsd/Makefile Mon May 26 18:50:59 2014 (r355428)
@@ -1,27 +1,25 @@
-# Created by: Allan Jude <ports at scaleengine.com>
+# Created by: Allan Jude <allanjude at freebsd.org>
# $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 at scaleengine.com
+MAINTAINER= allanjude at freebsd.org
COMMENT= Authoritative-only GeoIP-aware DNS server
LICENSE= GPLv3
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 @@ USERS?= gdnsd
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_DESC= Read-Copy-Update Support (Fa
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 <bsd.port.mk>
Modified: head/dns/gdnsd/distinfo
==============================================================================
--- head/dns/gdnsd/distinfo Mon May 26 18:30:11 2014 (r355427)
+++ head/dns/gdnsd/distinfo Mon May 26 18:50:59 2014 (r355428)
@@ -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
Modified: head/dns/gdnsd/pkg-plist
==============================================================================
--- head/dns/gdnsd/pkg-plist Mon May 26 18:30:11 2014 (r355427)
+++ head/dns/gdnsd/pkg-plist Mon May 26 18:50:59 2014 (r355428)
@@ -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/plugapi.h
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 @@ sbin/gdnsd
%%PORTDOCS%%%%DOCSDIR%%/gdnsd_geoip_test.txt
%%PORTDOCS%%%%DOCSDIR%%/gdnsd_manual.pod
%%PORTDOCS%%%%DOCSDIR%%/gdnsd_manual.txt
+ at exec mkdir -p %%ETCDIR%%/geoip
@exec mkdir -p %%ETCDIR%%/zones
@unexec rmdir "/var/run/gdnsd" >/dev/null 2>&1 || :
-%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
+ at dirrmtry %%ETCDIR%%/geoip
+ at dirrmtry %%ETCDIR%%/zones
+ at dirrmtry %%ETCDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrmtry libexec/gdnsd
@dirrmtry lib/gdnsd
@dirrmtry include/gdnsd
- at dirrmtry etc/gdnsd/zones
- at dirrmtry etc/gdnsd/geoip
- at dirrmtry etc/gdnsd
More information about the svn-ports-head
mailing list