View | Details | Raw Unified | Return to bug 196889 | Differences between
and this patch

Collapse All | Expand All

(-)b/dns/powerdns/Makefile (-6 / +15 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	powerdns
3
PORTNAME=	powerdns
4
PORTVERSION=	3.4.1
4
PORTVERSION=	3.4.2
5
CATEGORIES=	dns ipv6
5
CATEGORIES=	dns ipv6
6
MASTER_SITES=	http://downloads.powerdns.com/releases/
6
MASTER_SITES=	http://downloads.powerdns.com/releases/
7
DISTNAME=	pdns-${PORTVERSION}
7
DISTNAME=	pdns-${PORTVERSION}
Lines 15-27 LIB_DEPENDS= libboost_serialization.so:${PORTSDIR}/devel/boost-libs Link Here
15
15
16
CONFLICTS=	powerdns-devel-[2-3].[0-9]*
16
CONFLICTS=	powerdns-devel-[2-3].[0-9]*
17
17
18
USES=		gmake libtool lua:51 pkgconfig tar:bzip2
18
USES=		gmake libtool lua pkgconfig tar:bzip2
19
USE_LDCONFIG=	YES
19
USE_LDCONFIG=	YES
20
USE_SUBMAKE=	YES
20
USE_SUBMAKE=	YES
21
GNU_CONFIGURE=	YES
21
GNU_CONFIGURE=	YES
22
INSTALL_TARGET=	install-strip
22
INSTALL_TARGET=	install-strip
23
CXXFLAGS+=	-I${LOCALBASE}/include
23
CXXFLAGS+=	-I${LOCALBASE}/include
24
LDFLAGS+=	-L${LOCALBASE}/lib
24
LDFLAGS+=	-L${LOCALBASE}/lib
25
CONFIGURE_ENV=	LUA_CFLAGS="-I${LUA_INCDIR}" \
26
		LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}"
25
CONFIGURE_ARGS=	--disable-static \
27
CONFIGURE_ARGS=	--disable-static \
26
		--with-modules="" \
28
		--with-modules="" \
27
		--with-dynmodules="pipe bind ${MODULES}" \
29
		--with-dynmodules="pipe bind ${MODULES}" \
Lines 38-47 SUB_FILES= pkg-message Link Here
38
40
39
USE_RC_SUBR=	pdns
41
USE_RC_SUBR=	pdns
40
42
41
OPTIONS_DEFINE=	GEO MYSQL OPENDBX OPENLDAP PGSQL POLARSSL REMOTE SQLITE3 TOOLS
43
OPTIONS_DEFINE=	GEO GEOIP LMDB MYSQL OPENDBX OPENLDAP PGSQL POLARSSL REMOTE SQLITE3 TOOLS
42
OPTIONS_GROUP=	DNSSEC EXPERIMENTAL
44
OPTIONS_GROUP=	DNSSEC EXPERIMENTAL REMOTEOPT
43
OPTIONS_GROUP_DNSSEC=	BOTAN110
45
OPTIONS_GROUP_DNSSEC=		BOTAN110
44
OPTIONS_GROUP_EXPERIMENTAL=	GEOIP LMDB LUA MYDNS TINYDNS
46
OPTIONS_GROUP_EXPERIMENTAL=	LUA MYDNS TINYDNS
47
OPTIONS_GROUP_REMOTEOPT=	ZEROMQ	
45
48
46
PGSQL_DESC=		PostgreSQL backend
49
PGSQL_DESC=		PostgreSQL backend
47
MYSQL_DESC=		MySQL backend
50
MYSQL_DESC=		MySQL backend
Lines 59-64 MYDNS_DESC= MyDNS backend Link Here
59
REMOTE_DESC=		Remote backend
62
REMOTE_DESC=		Remote backend
60
TINYDNS_DESC=		TinyDNS backend
63
TINYDNS_DESC=		TinyDNS backend
61
TOOLS_DESC=		Build extra tools
64
TOOLS_DESC=		Build extra tools
65
REMOTEOPT_DESC=		Remote backend connectors
66
ZEROMQ_DESC=		Enable ZeroMQ connector
62
67
63
OPTIONS_DEFAULT=	PGSQL DNSSEC BOTAN110 POLARSSL
68
OPTIONS_DEFAULT=	PGSQL DNSSEC BOTAN110 POLARSSL
64
69
Lines 138-143 MODULES+= mydns Link Here
138
143
139
.if ${PORT_OPTIONS:MREMOTE}
144
.if ${PORT_OPTIONS:MREMOTE}
140
MODULES+=	remote
145
MODULES+=	remote
146
.	if ${PORT_OPTIONS:MZEROMQ}
147
CONFIGURE_ARGS+=	--enable-remotebackend-zeromq
148
LIB_DEPENDS+=		libzmq.so:${PORTSDIR}/net/libzmq4	
149
.	endif
141
.endif
150
.endif
142
151
143
.if ${PORT_OPTIONS:MTINYDNS}
152
.if ${PORT_OPTIONS:MTINYDNS}
(-)b/dns/powerdns/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (pdns-3.4.1.tar.bz2) = 13e32a31759e7fd341b98c89fe551723a5c6a768350b3609c576f70602deb24a
1
SHA256 (pdns-3.4.2.tar.bz2) = a6ab05459a0118cb921092deee06362722c45fa69ed0166ebc3696d526014b5b
2
SIZE (pdns-3.4.1.tar.bz2) = 1237002
2
SIZE (pdns-3.4.2.tar.bz2) = 1331062
(-)b/dns/powerdns/files/pdns.in (+1 lines)
Lines 27-32 command=%%PREFIX%%/sbin/pdns_server Link Here
27
27
28
pdns_enable=${pdns_enable:-"NO"}
28
pdns_enable=${pdns_enable:-"NO"}
29
pdns_conf=${pdns_conf:-"%%PREFIX%%/etc/pdns/pdns.conf"}
29
pdns_conf=${pdns_conf:-"%%PREFIX%%/etc/pdns/pdns.conf"}
30
pdns_flags=${pdns_flags:-"--daemon=yes --guardian=yes"}
30
31
31
load_rc_config ${name}
32
load_rc_config ${name}
32
33
(-)b/dns/powerdns/pkg-plist (-8 / +8 lines)
Lines 31-44 lib/pdns/libbindbackend.so Link Here
31
lib/pdns/libpipebackend.so
31
lib/pdns/libpipebackend.so
32
%%TOOLS%%man/man1/dnsdist.1.gz
32
%%TOOLS%%man/man1/dnsdist.1.gz
33
%%TOOLS%%man/man1/dnstcpbench.1.gz
33
%%TOOLS%%man/man1/dnstcpbench.1.gz
34
%%TOOLS%%man/man8/dnsreplay.8.gz
34
%%TOOLS%%man/man1/dnsreplay.1.gz
35
%%TOOLS%%man/man8/dnsscope.8.gz
35
%%TOOLS%%man/man1/dnsscope.1.gz
36
%%TOOLS%%man/man8/dnswasher.8.gz
36
%%TOOLS%%man/man1/dnswasher.1.gz
37
man/man8/pdns_control.8.gz
37
man/man1/pdns_control.1.gz
38
man/man8/pdns_server.8.gz
38
man/man1/pdns_server.1.gz
39
man/man8/pdnssec.8.gz
39
man/man1/pdnssec.1.gz
40
man/man8/zone2ldap.8.gz
40
man/man1/zone2ldap.1.gz
41
man/man8/zone2sql.8.gz
41
man/man1/zone2sql.1.gz
42
@unexec if cmp -s %D/etc/pdns/pdns.conf %D/etc/pdns/pdns.conf-dist; then rm -f %D/etc/pdns/pdns.conf; fi
42
@unexec if cmp -s %D/etc/pdns/pdns.conf %D/etc/pdns/pdns.conf-dist; then rm -f %D/etc/pdns/pdns.conf; fi
43
etc/pdns/pdns.conf-dist
43
etc/pdns/pdns.conf-dist
44
@exec [ -f %B/pdns.conf ] || cp %B/%f %B/pdns.conf
44
@exec [ -f %B/pdns.conf ] || cp %B/%f %B/pdns.conf

Return to bug 196889