mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
- 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)
This commit is contained in:
parent
5bbbc39c45
commit
453b4b8883
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355428
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user