mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
dns/powerdns: update to 4.1.10
PR: 238705 Submitted by: Ralf van der Enden <tremere@cainites.net> (maintainer) MFH: 2019Q2 Security: 1c21f6a3-9415-11e9-95ec-6805ca2fa271
This commit is contained in:
parent
fb94128728
commit
4fca2f66e7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=505486
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= powerdns
|
||||
DISTVERSION= 4.1.8
|
||||
DISTVERSION= 4.1.9
|
||||
CATEGORIES= dns ipv6
|
||||
MASTER_SITES= http://downloads.powerdns.com/releases/
|
||||
DISTNAME= pdns-${DISTVERSION}
|
||||
@ -12,94 +12,42 @@ COMMENT= Advanced DNS server with multiple backends including SQL
|
||||
LICENSE= GPLv2
|
||||
|
||||
BROKEN_powerpc64= Does not build: undefined reference to std::__throw_out_of_range_fmt
|
||||
BROKEN_sparc64= Does not compile: error: to_string is not a member of std
|
||||
BROKEN_sparc64= Does not compile: error: to_string is not a member of std
|
||||
|
||||
LIB_DEPENDS= libboost_serialization.so:devel/boost-libs
|
||||
|
||||
USES= compiler:c++11-lib cpe gmake libtool localbase:ldflags pathfix pkgconfig ssl \
|
||||
tar:bzip2
|
||||
USES= compiler:c++11-lib cpe gmake libtool localbase:ldflags pathfix \
|
||||
pkgconfig ssl tar:bzip2
|
||||
|
||||
USE_LDCONFIG= YES
|
||||
USE_RC_SUBR= pdns
|
||||
USE_SUBMAKE= YES
|
||||
|
||||
GNU_CONFIGURE= YES
|
||||
INSTALL_TARGET= install-strip
|
||||
CONFIGURE_ARGS= --disable-static \
|
||||
--with-modules="" \
|
||||
--with-dynmodules="pipe bind ${MODULES}" \
|
||||
--docdir="${PREFIX}/share/doc/powerdns" \
|
||||
--sysconfdir="${PREFIX}/etc/pdns" \
|
||||
--with-boost="${LOCALBASE}"
|
||||
SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
|
||||
CURDIR2="${.CURDIR}" \
|
||||
MKDIR="${MKDIR}" \
|
||||
DISTNAME="${DISTNAME}" \
|
||||
POWERDNS_OPTIONS="${POWERDNS_OPTIONS}"
|
||||
--with-boost="${LOCALBASE}" \
|
||||
--with-dynmodules="pipe bind ${MODULES}" \
|
||||
--with-modules=""
|
||||
|
||||
INSTALL_TARGET= install-strip
|
||||
SCRIPTS_ENV= CURDIR2="${.CURDIR}" DISTNAME="${DISTNAME}" MKDIR="${MKDIR}" \
|
||||
POWERDNS_OPTIONS="${POWERDNS_OPTIONS}" \
|
||||
WRKDIRPREFIX="${WRKDIRPREFIX}"
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
USE_RC_SUBR= pdns
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES LUAJIT MYDNS MYSQL OPENDBX OPENLDAP \
|
||||
OPTALGO PGSQL PROTOBUF REMOTE SQLITE3 TINYDNS TOOLS \
|
||||
UNIXODBC
|
||||
OPTIONS_DEFAULT= MYSQL PGSQL SQLITE3
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES LUAJIT MYDNS MYSQL OPENDBX OPENLDAP OPTALGO PGSQL PROTOBUF REMOTE SQLITE3 TINYDNS TOOLS UNIXODBC
|
||||
OPTIONS_GROUP= EXPERIMENTAL REMOTEOPT
|
||||
OPTIONS_GROUP= EXPERIMENTAL REMOTEOPT
|
||||
OPTIONS_GROUP_EXPERIMENTAL= LUABACKEND
|
||||
OPTIONS_GROUP_REMOTEOPT= ZEROMQ
|
||||
ZEROMQ_IMPLIES= REMOTE
|
||||
|
||||
OPTIONS_DEFAULT= MYSQL PGSQL SQLITE3
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
LUABACKEND_VARS= MODULES+=lua
|
||||
|
||||
LUAJIT_CONFIGURE_WITH= luajit
|
||||
LUAJIT_LIB_DEPENDS= libluajit-5.1.so.2:lang/luajit
|
||||
LUAJIT_USES_OFF= lua
|
||||
|
||||
MYDNS_CONFIGURE_ON= --with-mysql=${LOCALBASE}
|
||||
MYDNS_USES= mysql
|
||||
MYDNS_VARS= MODULES+=mydns
|
||||
|
||||
MYSQL_CONFIGURE_ON= --with-mysql=${LOCALBASE}
|
||||
MYSQL_CONFIGURE_OFF= --without-mysql
|
||||
MYSQL_USES= mysql
|
||||
MYSQL_VARS= MODULES+=gmysql
|
||||
|
||||
OPENDBX_LIB_DEPENDS= libopendbx.so:databases/opendbx
|
||||
OPENDBX_VARS= MODULES+=opendbx
|
||||
|
||||
OPENLDAP_CXXFLAGS= -DLDAP_DEPRECATED=1
|
||||
OPENLDAP_USE= OPENLDAP=YES
|
||||
OPENLDAP_VARS= MODULES+=ldap
|
||||
|
||||
OPTALGO_CONFIGURE_ON= --enable-botan \
|
||||
--enable-libdecaf \
|
||||
--enable-libsodium
|
||||
OPTALGO_LIB_DEPENDS= libbotan-2.so:security/botan2 \
|
||||
libdecaf.so:security/libdecaf \
|
||||
libsodium.so:security/libsodium
|
||||
|
||||
PGSQL_CONFIGURE_ON= --with-pg-config=${LOCALBASE}/bin/pg_config
|
||||
PGSQL_USES= pgsql
|
||||
PGSQL_VARS= MODULES+=gpgsql
|
||||
|
||||
PROTOBUF_CONFIGURE_WITH= protobuf
|
||||
PROTOBUF_LIB_DEPENDS= libprotobuf.so:devel/protobuf
|
||||
|
||||
REMOTE_VARS= MODULES+=remote
|
||||
|
||||
SQLITE3_USES= sqlite:3
|
||||
SQLITE3_VARS= MODULES+=gsqlite3
|
||||
|
||||
TINYDNS_CONFIGURE_ON= CDB_LIBS="-L${LOCALBASE}/lib -lcdb" CDB_CFLAGS="-I${LOCALBASE}/include"
|
||||
TINYDNS_LIB_DEPENDS= libcdb.so:databases/tinycdb
|
||||
TINYDNS_VARS= MODULES+=tinydns
|
||||
|
||||
TOOLS_CONFIGURE_ENABLE= tools
|
||||
|
||||
UNIXODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC
|
||||
UNIXODBC_VARS= MODULES+=godbc
|
||||
|
||||
ZEROMQ_CONFIGURE_ARGS= --enable-remotebackend-zeromq
|
||||
ZEROMQ_LIB_DEPENDS= libzmq.so:net/libzmq4
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
LUABACKEND_DESC= Lua backend
|
||||
LUAJIT_DESC= Use LuaJIT instead of Lua
|
||||
@ -110,13 +58,68 @@ OPENLDAP_DESC= OpenLDAP backend
|
||||
OPTALGO_DESC= Enable optional algorithms (12, 15 & 16)
|
||||
PGSQL_DESC= PostgreSQL backend
|
||||
PROTOBUF_DESC= Protobuf support
|
||||
REMOTE_DESC= Remote backend
|
||||
REMOTEOPT_DESC= Remote backend connectors
|
||||
REMOTE_DESC= Remote backend
|
||||
SQLITE3_DESC= SQLite 3 backend
|
||||
TINYDNS_DESC= TinyDNS backend
|
||||
TOOLS_DESC= Build extra tools
|
||||
ZEROMQ_DESC= Enable ZeroMQ connector (Implies REMOTE enabled)
|
||||
|
||||
LUABACKEND_VARS= MODULES+=lua
|
||||
|
||||
LUAJIT_LIB_DEPENDS= libluajit-5.1.so.2:lang/luajit
|
||||
LUAJIT_USES_OFF= lua
|
||||
LUAJIT_CONFIGURE_WITH= luajit
|
||||
|
||||
MYDNS_USES= mysql
|
||||
MYDNS_CONFIGURE_ON= --with-mysql=${LOCALBASE}
|
||||
MYDNS_VARS= MODULES+=mydns
|
||||
|
||||
MYSQL_USES= mysql
|
||||
MYSQL_CONFIGURE_OFF= --without-mysql
|
||||
MYSQL_CONFIGURE_ON= --with-mysql=${LOCALBASE}
|
||||
MYSQL_VARS= MODULES+=gmysql
|
||||
|
||||
OPENDBX_LIB_DEPENDS= libopendbx.so:databases/opendbx
|
||||
OPENDBX_VARS= MODULES+=opendbx
|
||||
|
||||
OPENLDAP_USE= OPENLDAP=YES
|
||||
OPENLDAP_CXXFLAGS= -DLDAP_DEPRECATED=1
|
||||
OPENLDAP_VARS= MODULES+=ldap
|
||||
|
||||
OPTALGO_LIB_DEPENDS= libbotan-2.so:security/botan2 \
|
||||
libdecaf.so:security/libdecaf \
|
||||
libsodium.so:security/libsodium
|
||||
OPTALGO_CONFIGURE_ON= --enable-botan \
|
||||
--enable-libdecaf \
|
||||
--enable-libsodium
|
||||
|
||||
PGSQL_USES= pgsql
|
||||
PGSQL_CONFIGURE_ON= --with-pg-config=${LOCALBASE}/bin/pg_config
|
||||
PGSQL_VARS= MODULES+=gpgsql
|
||||
|
||||
PROTOBUF_LIB_DEPENDS= libprotobuf.so:devel/protobuf
|
||||
PROTOBUF_CONFIGURE_WITH= protobuf
|
||||
|
||||
REMOTE_VARS= MODULES+=remote
|
||||
|
||||
SQLITE3_USES= sqlite:3
|
||||
SQLITE3_VARS= MODULES+=gsqlite3
|
||||
|
||||
TINYDNS_LIB_DEPENDS= libcdb.so:databases/tinycdb
|
||||
TINYDNS_CONFIGURE_ON= CDB_CFLAGS="-I${LOCALBASE}/include" \
|
||||
CDB_LIBS="-L${LOCALBASE}/lib -lcdb"
|
||||
TINYDNS_VARS= MODULES+=tinydns
|
||||
|
||||
TOOLS_CONFIGURE_ENABLE= tools
|
||||
|
||||
UNIXODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC
|
||||
UNIXODBC_VARS= MODULES+=godbc
|
||||
|
||||
ZEROMQ_IMPLIES= REMOTE
|
||||
ZEROMQ_LIB_DEPENDS= libzmq.so:net/libzmq4
|
||||
ZEROMQ_CONFIGURE_ON= --enable-remotebackend-zeromq
|
||||
|
||||
post-install::
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
@${STAGEDIR}${LOCALBASE}/sbin/pdns_server --module-dir=${STAGEDIR}${LOCALBASE}/lib/pdns --launch="pipe bind ${MODULES}" --config > ${STAGEDIR}${EXAMPLESDIR}/pdns.conf
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1553266828
|
||||
SHA256 (pdns-4.1.8.tar.bz2) = 94561132f46c08f646399511b680ce8cda150fd2b8e3d38c0b90b4187163e617
|
||||
SIZE (pdns-4.1.8.tar.bz2) = 1116996
|
||||
TIMESTAMP = 1560855838
|
||||
SHA256 (pdns-4.1.9.tar.bz2) = d352f7ddd510a7d21421289950a0e4a90e6e19d7274b63029e0c9ff7fb19bdb6
|
||||
SIZE (pdns-4.1.9.tar.bz2) = 1117241
|
||||
|
Loading…
Reference in New Issue
Block a user