diff options
author | allanjude <allanjude@FreeBSD.org> | 2014-05-27 02:50:59 +0800 |
---|---|---|
committer | allanjude <allanjude@FreeBSD.org> | 2014-05-27 02:50:59 +0800 |
commit | a3c9e779388ccdaac837a9b5afed41306a9c0494 (patch) | |
tree | c51b8918bac9b8991411e982243c9509eb95f0c0 /dns | |
parent | 37d21c10fdf77b199eea94c2e678e60653dec810 (diff) | |
download | freebsd-ports-gnome-a3c9e779388ccdaac837a9b5afed41306a9c0494.tar.gz freebsd-ports-gnome-a3c9e779388ccdaac837a9b5afed41306a9c0494.tar.zst freebsd-ports-gnome-a3c9e779388ccdaac837a9b5afed41306a9c0494.zip |
- 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)
Diffstat (limited to 'dns')
-rw-r--r-- | dns/gdnsd/Makefile | 32 | ||||
-rw-r--r-- | dns/gdnsd/distinfo | 4 | ||||
-rw-r--r-- | dns/gdnsd/pkg-plist | 22 |
3 files changed, 31 insertions, 27 deletions
diff --git a/dns/gdnsd/Makefile b/dns/gdnsd/Makefile index 48682d8cd088..6df5c6262271 100644 --- a/dns/gdnsd/Makefile +++ b/dns/gdnsd/Makefile @@ -1,27 +1,25 @@ -# Created by: Allan Jude <ports@scaleengine.com> +# Created by: Allan Jude <allanjude@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@scaleengine.com +MAINTAINER= allanjude@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 (Faster Zone Parsing) 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> diff --git a/dns/gdnsd/distinfo b/dns/gdnsd/distinfo index 2d58455b87f5..3fee550acf57 100644 --- a/dns/gdnsd/distinfo +++ b/dns/gdnsd/distinfo @@ -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 diff --git a/dns/gdnsd/pkg-plist b/dns/gdnsd/pkg-plist index cc61453bde0a..a1d683f7a6a0 100644 --- a/dns/gdnsd/pkg-plist +++ b/dns/gdnsd/pkg-plist @@ -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 +@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 |