diff --git a/dns/powerdns/Makefile b/dns/powerdns/Makefile index 5b32ca7a6066..0919ec5abed3 100644 --- a/dns/powerdns/Makefile +++ b/dns/powerdns/Makefile @@ -1,132 +1,139 @@ # $FreeBSD$ PORTNAME= powerdns -DISTVERSION= 4.3.0 -PORTREVISION= 3 +DISTVERSION= 4.3.1 CATEGORIES= dns MASTER_SITES= https://downloads.powerdns.com/releases/ DISTNAME= pdns-${DISTVERSION} MAINTAINER= tremere@cainites.net COMMENT= Advanced DNS server with multiple backends including SQL LICENSE= GPLv2 BROKEN_sparc64= Does not compile: error: to_string is not a member of std LIB_DEPENDS= libboost_serialization.so:devel/boost-libs \ libcurl.so:ftp/curl 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 CONFIGURE_ARGS= --disable-static \ --docdir="${PREFIX}/share/doc/powerdns" \ --sysconfdir="${PREFIX}/etc/pdns" \ --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 OPTIONS_DEFINE= DOCS EXAMPLES GEOIP IXFRDIST LMDB LUABACKEND \ - LUAJIT MYSQL OPENLDAP PGSQL PROTOBUF REMOTE \ - SQLITE3 TINYDNS TOOLS UNIXODBC -OPTIONS_DEFAULT= LMDB MYSQL PGSQL SQLITE3 + MYSQL OPENLDAP PGSQL PROTOBUF REMOTE SQLITE3 \ + TINYDNS TOOLS UNIXODBC +OPTIONS_DEFAULT= LMDB LUA MYSQL PGSQL SQLITE3 OPTIONS_GROUP= GEOIPOPT REMOTEOPT OPTIONS_GROUP_REMOTEOPT= ZEROMQ +OPTIONS_SINGLE= EXTLUA +OPTIONS_SINGLE_EXTLUA= LUA LUAJIT LUAJITOR OPTIONS_SUB= yes GEOIPOPT_DESC= GeoIP DB options GEOIP_DESC= GeoIP backend (GeoIP2 DB) IXFRDIST_DESC= Build ixfrdist LMDB_DESC= LMDB backend LUABACKEND_DESC= Lua2 backend -LUAJIT_DESC= Use LuaJIT instead of Lua +LUAJITOR_DESC= Use lang/luajit-openresty +LUAJIT_DESC= Use lang/luajit +LUA_DESC= Use lang/lua MYSQL_DESC= MySQL backend OPENLDAP_DESC= OpenLDAP backend PGSQL_DESC= PostgreSQL backend PROTOBUF_DESC= Protobuf support 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) GEOIP_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb \ libyaml-cpp.so:devel/yaml-cpp GEOIP_VARS= MODULES+=geoip IXFRDIST_CONFIGURE_ENABLE= ixfrdist LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb LMDB_CONFIGURE_ON= --with-lmdb=${LOCALBASE} LMDB_CONFIGURE_OFF= --without-lmdb LMDB_VARS= MODULES+=lmdb LUABACKEND_VARS= MODULES+=lua2 -LUAJIT_LIB_DEPENDS= libluajit-5.1.so.2:lang/luajit-openresty -LUAJIT_USES_OFF= lua +LUAJITOR_LIB_DEPENDS= libluajit-5.1.so.2:lang/luajit-openresty +LUAJITOR_CONFIGURE_ON= --with-lua=luajit + +LUAJIT_LIB_DEPENDS= libluajit-5.1.so.2:lang/luajit LUAJIT_CONFIGURE_ON= --with-lua=luajit +LUA_USES= lua + MYSQL_USES= mysql MYSQL_CONFIGURE_ON= --with-mysql=${LOCALBASE} MYSQL_CONFIGURE_OFF= --without-mysql MYSQL_VARS= MODULES+=gmysql OPENLDAP_USE= OPENLDAP=YES OPENLDAP_CXXFLAGS= -DLDAP_DEPRECATED=1 OPENLDAP_VARS= MODULES+=ldap 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 .include .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && ${SSL_DEFAULT} != openssl CONFIGURE_ARGS+= --with-libdecaf \ --with-libsodium LIB_DEPENDS+= libdecaf.so:security/libdecaf \ libsodium.so:security/libsodium .endif post-install:: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}/var/run/pdns @${STAGEDIR}${PREFIX}/sbin/pdns_server --module-dir=${STAGEDIR}${PREFIX}/lib/pdns --launch="pipe bind ${MODULES}" --config > ${STAGEDIR}${EXAMPLESDIR}/pdns.conf @${REINPLACE_CMD} -e 's;${STAGEDIR};;' -i '' ${STAGEDIR}${EXAMPLESDIR}/pdns.conf .include diff --git a/dns/powerdns/distinfo b/dns/powerdns/distinfo index 4105b4864188..f5215f9d4e11 100644 --- a/dns/powerdns/distinfo +++ b/dns/powerdns/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1588788036 -SHA256 (pdns-4.3.0.tar.bz2) = 6be2e70f100df6f32cb431d5f57ca0aabde1fba6c11d947eccc86d44bdf95d08 -SIZE (pdns-4.3.0.tar.bz2) = 1211536 +TIMESTAMP = 1600815384 +SHA256 (pdns-4.3.1.tar.bz2) = d5146c04098ee94b9377ee491ebb3fd5eb061d7b24262f4a8e1a89f2ed3fc245 +SIZE (pdns-4.3.1.tar.bz2) = 1216876 diff --git a/dns/powerdns/pkg-descr b/dns/powerdns/pkg-descr index 3c33d2a58921..8650b211c41a 100644 --- a/dns/powerdns/pkg-descr +++ b/dns/powerdns/pkg-descr @@ -1,34 +1,33 @@ The PowerDNS Authoritative Server is the only solution that enables -authoritative DNS service from all major databases, including but -not limited to MySQL, PostgreSQL, SQLite3, LDAP and plain text files. +authoritative DNS service from all major databases, including but not limited +to MySQL, PostgreSQL, SQLite3, LDAP and plain text files. -DNS answers can also be fully scripted using a variety of (scripting) -languages such as Lua, Java, Perl, Python, Ruby, C and C++. Such -scripting can be used for dynamic redirection, (spam) filtering or -real time intervention. +DNS answers can also be fully scripted using a variety of (scripting) languages +such as Lua, Java, Perl, Python, Ruby, C and C++. Such scripting can be used +for dynamic redirection, (spam) filtering or real time intervention. In addition, the PowerDNS Authoritative Server is the leading DNSSEC -implementation, hosting the majority of all DNSSEC domains worldwide. -The Authoritative Server hosts at least 30% of all domain names in -Europe, and around 90% of all DNSSEC domains in Europe. +implementation, hosting the majority of all DNSSEC domains worldwide. The +Authoritative Server hosts at least 30% of all domain names in Europe, and +around 90% of all DNSSEC domains in Europe. * IPv4, UDP/TCP * IPv6, UDP/TCP, 100% compliant * Remotely pollable statistics for real time graphing * MySQL, PostgreSQL, Oracle, Sybase, Microsoft SQL Server, LDAP, SQLite3 - Including replication * Near instant start up time * Plain BIND zone files - Brief start up time * Migration tools from legacy DNS platforms (zone2sql) * Internal Lua-based scripted answer generation * External high-performance Script-based answer generation * Geographical load balancing * Full DNSSEC support including all standardized algorithms * TSIG for transaction signatures, AXFR authorization/requests * Master/Slave support * Built-in web server for statistics and limited direct control * API for direct control (pdns_control, pdnssec) - Local and remote access -WWW: https://www.PowerDNS.com/auth.html +WWW: https://www.powerdns.com/auth.html diff --git a/dns/powerdns/pkg-plist b/dns/powerdns/pkg-plist index a1c95264ef94..03c1ed3fc114 100644 --- a/dns/powerdns/pkg-plist +++ b/dns/powerdns/pkg-plist @@ -1,91 +1,93 @@ bin/pdns_control bin/pdnsutil bin/zone2json bin/zone2sql sbin/pdns_server %%PROTOBUF%%bin/dnspcap2protobuf %%TOOLS%%bin/calidns %%TOOLS%%bin/dnsbulktest %%TOOLS%%bin/dnsgram %%TOOLS%%bin/dnspcap2calidns %%TOOLS%%bin/dnsreplay %%TOOLS%%bin/dnsscan %%TOOLS%%bin/dnsscope %%TOOLS%%bin/dnstcpbench %%TOOLS%%bin/dnswasher %%TOOLS%%bin/dumresp %%IXFRDIST%%bin/ixfrdist %%TOOLS%%bin/ixplore %%TOOLS%%bin/nproxy %%TOOLS%%bin/nsec3dig %%TOOLS%%bin/pdns_notify %%TOOLS%%bin/saxfr %%TOOLS%%bin/sdig %%TOOLS%%bin/stubquery lib/pdns/libbindbackend.so lib/pdns/libpipebackend.so %%GEOIP%%lib/pdns/libgeoipbackend.so %%LMDB%%lib/pdns/liblmdbbackend.so %%LUABACKEND%%lib/pdns/liblua2backend.so %%MYSQL%%lib/pdns/libgmysqlbackend.so %%OPENLDAP%%lib/pdns/libldapbackend.so %%OPENLDAP%%bin/zone2ldap %%PGSQL%%lib/pdns/libgpgsqlbackend.so %%REMOTE%%lib/pdns/libremotebackend.so %%SQLITE3%%lib/pdns/libgsqlite3backend.so %%TINYDNS%%lib/pdns/libtinydnsbackend.so %%UNIXODBC%%lib/pdns/libgodbcbackend.so %%TOOLS%%man/man1/calidns.1.gz %%TOOLS%%man/man1/dnsbulktest.1.gz %%TOOLS%%man/man1/dnsgram.1.gz %%TOOLS%%man/man1/dnspcap2calidns.1.gz %%TOOLS%%man/man1/dnsscan.1.gz %%TOOLS%%man/man1/dumresp.1.gz %%IXFRDIST%%man/man1/ixfrdist.1.gz %%TOOLS%%man/man1/ixplore.1.gz %%TOOLS%%man/man1/nproxy.1.gz %%TOOLS%%man/man1/nsec3dig.1.gz %%TOOLS%%man/man1/pdns_notify.1.gz man/man1/pdnsutil.1.gz %%TOOLS%%man/man1/saxfr.1.gz %%TOOLS%%man/man1/sdig.1.gz man/man1/pdns_control.1.gz man/man1/pdns_server.1.gz man/man1/zone2json.1.gz %%OPENLDAP%%man/man1/zone2ldap.1.gz man/man1/zone2sql.1.gz %%PROTOBUF%%man/man1/dnspcap2protobuf.1.gz %%TOOLS%%man/man1/dnstcpbench.1.gz %%TOOLS%%man/man1/dnsreplay.1.gz %%TOOLS%%man/man1/dnsscope.1.gz %%TOOLS%%man/man1/dnswasher.1.gz %%IXFRDIST%%man/man5/ixfrdist.yml.5.gz %%IXFRDIST%%etc/pdns/ixfrdist.example.yml @sample etc/pdns/pdns.conf-dist etc/pdns/pdns.conf %%PORTEXAMPLES%%%%EXAMPLESDIR%%/pdns.conf %%PORTEXAMPLES%%@dir %%EXAMPLESDIR%% %%MYSQL%%%%PORTDOCS%%%%DOCSDIR%%/3.4.0_to_4.1.0_schema.mysql.sql %%PGSQL%%%%PORTDOCS%%%%DOCSDIR%%/3.4.0_to_4.1.0_schema.pgsql.sql %%SQLITE3%%%%PORTDOCS%%%%DOCSDIR%%/3.4.0_to_4.0.0_schema.sqlite3.sql %%UNIXODBC%%%%PORTDOCS%%%%DOCSDIR%%/4.0.0_to_4.2.0_schema.mssql.sql %%SQLITE3%%%%PORTDOCS%%%%DOCSDIR%%/4.0.0_to_4.2.0_schema.sqlite3.sql %%MYSQL%%%%PORTDOCS%%%%DOCSDIR%%/4.1.0_to_4.2.0_schema.mysql.sql %%PGSQL%%%%PORTDOCS%%%%DOCSDIR%%/4.1.0_to_4.2.0_schema.pgsql.sql %%UNIXODBC%%%%PORTDOCS%%%%DOCSDIR%%/4.2.0_to_4.3.0_schema.mssql.sql %%MYSQL%%%%PORTDOCS%%%%DOCSDIR%%/4.2.0_to_4.3.0_schema.mysql.sql %%PGSQL%%%%PORTDOCS%%%%DOCSDIR%%/4.2.0_to_4.3.0_schema.pgsql.sql %%SQLITE3%%%%PORTDOCS%%%%DOCSDIR%%/4.2.0_to_4.3.0_schema.sqlite3.sql +%%SQLITE3%%%%PORTDOCS%%%%DOCSDIR%%/bind-dnssec.4.2.0_to_4.3.0_schema.sqlite3.sql +%%SQLITE3%%%%PORTDOCS%%%%DOCSDIR%%/bind-dnssec.schema.sqlite3.sql %%MYSQL%%%%PORTDOCS%%%%DOCSDIR%%/dnssec-3.x_to_3.4.0_schema.mysql.sql %%PGSQL%%%%PORTDOCS%%%%DOCSDIR%%/dnssec-3.x_to_3.4.0_schema.pgsql.sql %%SQLITE3%%%%PORTDOCS%%%%DOCSDIR%%/dnssec-3.x_to_3.4.0_schema.sqlite3.sql %%MYSQL%%%%PORTDOCS%%%%DOCSDIR%%/enable-foreign-keys.mysql.sql %%MYSQL%%%%PORTDOCS%%%%DOCSDIR%%/nodnssec-3.x_to_3.4.0_schema.mysql.sql %%PGSQL%%%%PORTDOCS%%%%DOCSDIR%%/nodnssec-3.x_to_3.4.0_schema.pgsql.sql %%SQLITE3%%%%PORTDOCS%%%%DOCSDIR%%/nodnssec-3.x_to_3.4.0_schema.sqlite3.sql %%OPENLDAP%%%%PORTDOCS%%%%DOCSDIR%%/dnsdomain2.schema %%OPENLDAP%%%%PORTDOCS%%%%DOCSDIR%%/pdns-domaininfo.schema %%MYSQL%%%%PORTDOCS%%%%DOCSDIR%%/schema.mysql.sql %%PGSQL%%%%PORTDOCS%%%%DOCSDIR%%/schema.pgsql.sql %%SQLITE3%%%%PORTDOCS%%%%DOCSDIR%%/schema.sqlite3.sql %%UNIXODBC%%%%PORTDOCS%%%%DOCSDIR%%/schema.mssql.sql @dir(root,wheel,0755) /var/run/pdns