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

Collapse All | Expand All

(-)Makefile (-50 / +53 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	powerdns
3
PORTNAME=	powerdns
4
DISTVERSION=	4.1.8
4
DISTVERSION=	4.1.9
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-${DISTVERSION}
7
DISTNAME=	pdns-${DISTVERSION}
Lines 12-96 Link Here
12
LICENSE=	GPLv2
12
LICENSE=	GPLv2
13
13
14
BROKEN_powerpc64=	Does not build: undefined reference to std::__throw_out_of_range_fmt
14
BROKEN_powerpc64=	Does not build: undefined reference to std::__throw_out_of_range_fmt
15
BROKEN_sparc64=		Does not compile: error: to_string is not a member of std
15
BROKEN_sparc64=	Does not compile: error: to_string is not a member of std
16
16
17
LIB_DEPENDS=	libboost_serialization.so:devel/boost-libs
17
LIB_DEPENDS=	libboost_serialization.so:devel/boost-libs
18
18
19
USES=		compiler:c++11-lib cpe gmake libtool localbase:ldflags pathfix pkgconfig ssl \
19
USES=		compiler:c++11-lib cpe gmake libtool localbase:ldflags pathfix \
20
		tar:bzip2
20
		pkgconfig ssl tar:bzip2
21
21
22
USE_LDCONFIG=	YES
22
USE_LDCONFIG=	YES
23
USE_RC_SUBR=	pdns
23
USE_SUBMAKE=	YES
24
USE_SUBMAKE=	YES
25
24
GNU_CONFIGURE=	YES
26
GNU_CONFIGURE=	YES
25
INSTALL_TARGET=	install-strip
26
CONFIGURE_ARGS=	--disable-static \
27
CONFIGURE_ARGS=	--disable-static \
27
		--with-modules="" \
28
		--with-dynmodules="pipe bind ${MODULES}" \
29
		--docdir="${PREFIX}/share/doc/powerdns" \
28
		--docdir="${PREFIX}/share/doc/powerdns" \
30
		--sysconfdir="${PREFIX}/etc/pdns" \
29
		--sysconfdir="${PREFIX}/etc/pdns" \
31
		--with-boost="${LOCALBASE}"
30
		--with-boost="${LOCALBASE}" \
32
SCRIPTS_ENV=	WRKDIRPREFIX="${WRKDIRPREFIX}" \
31
		--with-dynmodules="pipe bind ${MODULES}" \
33
		CURDIR2="${.CURDIR}" \
32
		--with-modules=""
34
		MKDIR="${MKDIR}" \
35
		DISTNAME="${DISTNAME}" \
36
		POWERDNS_OPTIONS="${POWERDNS_OPTIONS}"
37
33
34
INSTALL_TARGET=	install-strip
35
SCRIPTS_ENV=	CURDIR2="${.CURDIR}" DISTNAME="${DISTNAME}" MKDIR="${MKDIR}" \
36
		POWERDNS_OPTIONS="${POWERDNS_OPTIONS}" \
37
		WRKDIRPREFIX="${WRKDIRPREFIX}"
38
38
SUB_FILES=	pkg-message
39
SUB_FILES=	pkg-message
39
40
40
USE_RC_SUBR=	pdns
41
OPTIONS_DEFINE=		DOCS EXAMPLES LUAJIT MYDNS MYSQL OPENDBX OPENLDAP \
42
			OPTALGO PGSQL PROTOBUF REMOTE SQLITE3 TINYDNS TOOLS \
43
			UNIXODBC
44
OPTIONS_DEFAULT=	MYSQL PGSQL SQLITE3
41
45
42
OPTIONS_DEFINE=	DOCS EXAMPLES LUAJIT MYDNS MYSQL OPENDBX OPENLDAP OPTALGO PGSQL PROTOBUF REMOTE SQLITE3 TINYDNS TOOLS UNIXODBC
46
OPTIONS_GROUP=			EXPERIMENTAL REMOTEOPT
43
OPTIONS_GROUP=	EXPERIMENTAL REMOTEOPT
44
OPTIONS_GROUP_EXPERIMENTAL=	LUABACKEND
47
OPTIONS_GROUP_EXPERIMENTAL=	LUABACKEND
45
OPTIONS_GROUP_REMOTEOPT=	ZEROMQ
48
OPTIONS_GROUP_REMOTEOPT=	ZEROMQ
46
ZEROMQ_IMPLIES=			REMOTE
47
49
48
OPTIONS_DEFAULT=	MYSQL PGSQL SQLITE3
50
OPTIONS_SUB=	yes
49
OPTIONS_SUB=		yes
50
51
52
LUABACKEND_DESC=	Lua backend
53
LUAJIT_DESC=		Use LuaJIT instead of Lua
54
MYDNS_DESC=		MyDNS backend
55
MYSQL_DESC=		MySQL backend
56
OPENDBX_DESC=		OpenDBX backend
57
OPENLDAP_DESC=		OpenLDAP backend
58
OPTALGO_DESC=		Enable optional algorithms (12, 15 & 16)
59
PGSQL_DESC=		PostgreSQL backend
60
PROTOBUF_DESC=		Protobuf support
61
REMOTEOPT_DESC=		Remote backend connectors
62
REMOTE_DESC=		Remote backend
63
SQLITE3_DESC=		SQLite 3 backend
64
TINYDNS_DESC=		TinyDNS backend
65
TOOLS_DESC=		Build extra tools
66
ZEROMQ_DESC=		Enable ZeroMQ connector (Implies REMOTE enabled)
67
51
LUABACKEND_VARS=	MODULES+=lua
68
LUABACKEND_VARS=	MODULES+=lua
52
69
53
LUAJIT_CONFIGURE_WITH=	luajit
54
LUAJIT_LIB_DEPENDS=	libluajit-5.1.so.2:lang/luajit
70
LUAJIT_LIB_DEPENDS=	libluajit-5.1.so.2:lang/luajit
55
LUAJIT_USES_OFF=	lua
71
LUAJIT_USES_OFF=	lua
72
LUAJIT_CONFIGURE_WITH=	luajit
56
73
74
MYDNS_USES=		mysql
57
MYDNS_CONFIGURE_ON=	--with-mysql=${LOCALBASE}
75
MYDNS_CONFIGURE_ON=	--with-mysql=${LOCALBASE}
58
MYDNS_USES=		mysql
59
MYDNS_VARS=		MODULES+=mydns
76
MYDNS_VARS=		MODULES+=mydns
60
77
78
MYSQL_USES=		mysql
79
MYSQL_CONFIGURE_OFF=	--without-mysql
61
MYSQL_CONFIGURE_ON=	--with-mysql=${LOCALBASE}
80
MYSQL_CONFIGURE_ON=	--with-mysql=${LOCALBASE}
62
MYSQL_CONFIGURE_OFF=	--without-mysql
63
MYSQL_USES=		mysql
64
MYSQL_VARS=		MODULES+=gmysql
81
MYSQL_VARS=		MODULES+=gmysql
65
82
66
OPENDBX_LIB_DEPENDS=	libopendbx.so:databases/opendbx
83
OPENDBX_LIB_DEPENDS=	libopendbx.so:databases/opendbx
67
OPENDBX_VARS=		MODULES+=opendbx
84
OPENDBX_VARS=		MODULES+=opendbx
68
85
86
OPENLDAP_USE=		OPENLDAP=YES
69
OPENLDAP_CXXFLAGS=	-DLDAP_DEPRECATED=1
87
OPENLDAP_CXXFLAGS=	-DLDAP_DEPRECATED=1
70
OPENLDAP_USE=		OPENLDAP=YES
71
OPENLDAP_VARS=		MODULES+=ldap
88
OPENLDAP_VARS=		MODULES+=ldap
72
89
90
OPTALGO_LIB_DEPENDS=	libbotan-2.so:security/botan2 \
91
			libdecaf.so:security/libdecaf \
92
			libsodium.so:security/libsodium
73
OPTALGO_CONFIGURE_ON=	--enable-botan \
93
OPTALGO_CONFIGURE_ON=	--enable-botan \
74
			--enable-libdecaf \
94
			--enable-libdecaf \
75
			--enable-libsodium
95
			--enable-libsodium
76
OPTALGO_LIB_DEPENDS=	libbotan-2.so:security/botan2 \
77
			libdecaf.so:security/libdecaf \
78
			libsodium.so:security/libsodium
79
96
97
PGSQL_USES=		pgsql
80
PGSQL_CONFIGURE_ON=	--with-pg-config=${LOCALBASE}/bin/pg_config
98
PGSQL_CONFIGURE_ON=	--with-pg-config=${LOCALBASE}/bin/pg_config
81
PGSQL_USES=		pgsql
82
PGSQL_VARS=		MODULES+=gpgsql
99
PGSQL_VARS=		MODULES+=gpgsql
83
100
101
PROTOBUF_LIB_DEPENDS=		libprotobuf.so:devel/protobuf
84
PROTOBUF_CONFIGURE_WITH=	protobuf
102
PROTOBUF_CONFIGURE_WITH=	protobuf
85
PROTOBUF_LIB_DEPENDS=	libprotobuf.so:devel/protobuf
86
103
87
REMOTE_VARS=		MODULES+=remote
104
REMOTE_VARS=	MODULES+=remote
88
105
89
SQLITE3_USES=		sqlite:3
106
SQLITE3_USES=	sqlite:3
90
SQLITE3_VARS=		MODULES+=gsqlite3
107
SQLITE3_VARS=	MODULES+=gsqlite3
91
108
92
TINYDNS_CONFIGURE_ON=	CDB_LIBS="-L${LOCALBASE}/lib -lcdb" CDB_CFLAGS="-I${LOCALBASE}/include"
93
TINYDNS_LIB_DEPENDS=	libcdb.so:databases/tinycdb
109
TINYDNS_LIB_DEPENDS=	libcdb.so:databases/tinycdb
110
TINYDNS_CONFIGURE_ON=	CDB_CFLAGS="-I${LOCALBASE}/include" \
111
			CDB_LIBS="-L${LOCALBASE}/lib -lcdb"
94
TINYDNS_VARS=		MODULES+=tinydns
112
TINYDNS_VARS=		MODULES+=tinydns
95
113
96
TOOLS_CONFIGURE_ENABLE=	tools
114
TOOLS_CONFIGURE_ENABLE=	tools
Lines 98-122 Link Here
98
UNIXODBC_LIB_DEPENDS=	libodbc.so:databases/unixODBC
116
UNIXODBC_LIB_DEPENDS=	libodbc.so:databases/unixODBC
99
UNIXODBC_VARS=		MODULES+=godbc
117
UNIXODBC_VARS=		MODULES+=godbc
100
118
101
ZEROMQ_CONFIGURE_ARGS=	--enable-remotebackend-zeromq
119
ZEROMQ_IMPLIES=		REMOTE
102
ZEROMQ_LIB_DEPENDS=	libzmq.so:net/libzmq4
120
ZEROMQ_LIB_DEPENDS=	libzmq.so:net/libzmq4
121
ZEROMQ_CONFIGURE_ON=	--enable-remotebackend-zeromq
103
122
104
LUABACKEND_DESC=	Lua backend
105
LUAJIT_DESC=		Use LuaJIT instead of Lua
106
MYDNS_DESC=		MyDNS backend
107
MYSQL_DESC=		MySQL backend
108
OPENDBX_DESC=		OpenDBX backend
109
OPENLDAP_DESC=		OpenLDAP backend
110
OPTALGO_DESC=		Enable optional algorithms (12, 15 & 16)
111
PGSQL_DESC=		PostgreSQL backend
112
PROTOBUF_DESC=		Protobuf support
113
REMOTE_DESC=		Remote backend
114
REMOTEOPT_DESC=		Remote backend connectors
115
SQLITE3_DESC=		SQLite 3 backend
116
TINYDNS_DESC=		TinyDNS backend
117
TOOLS_DESC=		Build extra tools
118
ZEROMQ_DESC=		Enable ZeroMQ connector (Implies REMOTE enabled)
119
120
post-install::
123
post-install::
121
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
124
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
122
	@${STAGEDIR}${LOCALBASE}/sbin/pdns_server --module-dir=${STAGEDIR}${LOCALBASE}/lib/pdns --launch="pipe bind ${MODULES}" --config > ${STAGEDIR}${EXAMPLESDIR}/pdns.conf
125
	@${STAGEDIR}${LOCALBASE}/sbin/pdns_server --module-dir=${STAGEDIR}${LOCALBASE}/lib/pdns --launch="pipe bind ${MODULES}" --config > ${STAGEDIR}${EXAMPLESDIR}/pdns.conf
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1553266828
1
TIMESTAMP = 1560855838
2
SHA256 (pdns-4.1.8.tar.bz2) = 94561132f46c08f646399511b680ce8cda150fd2b8e3d38c0b90b4187163e617
2
SHA256 (pdns-4.1.9.tar.bz2) = d352f7ddd510a7d21421289950a0e4a90e6e19d7274b63029e0c9ff7fb19bdb6
3
SIZE (pdns-4.1.8.tar.bz2) = 1116996
3
SIZE (pdns-4.1.9.tar.bz2) = 1117241

Return to bug 238705