diff options
author | danilo <danilo@FreeBSD.org> | 2014-01-24 04:12:54 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2014-01-24 04:12:54 +0800 |
commit | 27f4469cdf8eae318092f46737b5a9f0a05d9ca0 (patch) | |
tree | 3dfbccff5e83d80a6248d4c7789c490245bada44 /dns | |
parent | b98e08c5942713697933eb8a25f88fb2443aa3f4 (diff) | |
download | freebsd-ports-gnome-27f4469cdf8eae318092f46737b5a9f0a05d9ca0.tar.gz freebsd-ports-gnome-27f4469cdf8eae318092f46737b5a9f0a05d9ca0.tar.zst freebsd-ports-gnome-27f4469cdf8eae318092f46737b5a9f0a05d9ca0.zip |
- Update from 3.3 to 3.3.1
- Add some experimental backends
while here
- Convert USE_LUA to USES
PR: ports/185824
Submitted by: Ralf van der Enden <tremere@cainites.net> (maintainer)
Diffstat (limited to 'dns')
-rw-r--r-- | dns/powerdns/Makefile | 71 | ||||
-rw-r--r-- | dns/powerdns/distinfo | 4 | ||||
-rw-r--r-- | dns/powerdns/files/patch-pdns__Makefile.in (renamed from dns/powerdns/files/patch-pdns_Makefile_in) | 44 |
3 files changed, 76 insertions, 43 deletions
diff --git a/dns/powerdns/Makefile b/dns/powerdns/Makefile index e3a49ef58fab..27e1573686cf 100644 --- a/dns/powerdns/Makefile +++ b/dns/powerdns/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ PORTNAME= powerdns -PORTVERSION= 3.3 -PORTREVISION?= 1 +PORTVERSION= 3.3.1 +PORTREVISION?= 0 CATEGORIES= dns ipv6 MASTER_SITES= http://downloads.powerdns.com/releases/ DISTNAME= pdns-${PORTVERSION} @@ -14,12 +14,9 @@ LICENSE= GPLv2 LIB_DEPENDS= libboost_serialization.so:${PORTSDIR}/devel/boost-libs -USE_LUA= 5.1 -LUA_COMPS= lua - CONFLICTS= powerdns-devel-[2-3].[0-9]* -USES= pkgconfig gmake +USES= gmake lua:51 pkgconfig USE_SUBMAKE= YES USE_AUTOTOOLS= libtool USE_LDCONFIG= YES @@ -39,10 +36,11 @@ SUB_FILES= pkg-message USE_RC_SUBR= pdns -OPTIONS_DEFINE= PGSQL PGSQL_LOCAL MYSQL MYSQL_LOCAL \ - OPENDBX OPENLDAP OPENLDAP_LOCAL GEO POLARSSL SQLITE3 TOOLS -OPTIONS_MULTI= DNSSEC -OPTIONS_MULTI_DNSSEC= BOTAN110 CRYPTOPP +OPTIONS_DEFINE= GEO MYSQL MYSQL_LOCAL OPENDBX OPENLDAP OPENLDAP_LOCAL \ + PGSQL PGSQL_LOCAL POLARSSL SQLITE3 TOOLS +OPTIONS_GROUP= DNSSEC EXPERIMENTAL +OPTIONS_GROUP_DNSSEC= BOTAN110 CRYPTOPP +OPTIONS_GROUP_EXPERIMENTAL= LUA MYDNS REMOTE REMOTE_HTTP TINYDNS PGSQL_DESC= PostgreSQL backend PGSQL_LOCAL_DESC= RUN_DEPEND on PostgreSQL server @@ -57,13 +55,21 @@ DNSSEC_DESC= Extra DNSSEC options BOTAN110_DESC= Faster signing + ECDSA & GOST algorithms CRYPTOPP_DESC= ECDSA algorithms POLARSSL_DESC= Use embedded PolarSSL +LUA_DESC= Lua backend +MYDNS_DESC= MyDNS backend +REMOTE_DESC= Remote backend +REMOTE_HTTP_DESC= Enable HTTP for the Remote backed +TINYDNS_DESC= TinyDNS backend TOOLS_DESC= Build extra tools OPTIONS_DEFAULT= PGSQL DNSSEC BOTAN110 POLARSSL OPTIONS_SUB= yes -TOOLS_CONFIGURE_ENABLE= tools +# Don't use CONFIGURE_ENABLE, the configure script +# has a bug. The options are being enabled even using --disable- + +TOOLS_CONFIGURE_ON= --enable-tools PGSQL_CONFIGURE_ON= --with-pgsql=${LOCALBASE} PGSQL_CONFIGURE_OFF= --without-pgsql @@ -75,29 +81,41 @@ MYSQL_CONFIGURE_OFF= --without-mysql MYSQL_USE= MYSQL=YES MYSQL_LOCAL_USE= MYSQL=server +MYDNS_CONFIGURE_ON= --with-mysql=${LOCALBASE} +MYDNS_USE= MYSQL=YES +MYDNS_LOCAL_USE= MYSQL=server + OPENLDAP_CXXFLAGS= -DLDAP_DEPRECATED=1 OPENLDAP_USE= OPENLDAP=YES OPENLDAP_LOCAL_RUN_DEPENDS= openldap-server>=0:${PORTSDIR}/net/openldap24-server +REMOTE_HTTP_CONFIGURE_ON= --enable-remotebackend-http +REMOTE_HTTP_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl + +CRYPTOPP_CONFIGURE_ON= --enable-cryptopp + SQLITE3_USE= SQLITE=3 OPENDBX_LIB_DEPENDS= libopendbx.so:${PORTSDIR}/databases/opendbx -BOTAN110_CONFIGURE_ENABLE= botan1.10 +BOTAN110_CONFIGURE_ON= --enable-botan1.10 BOTAN110_LIB_DEPENDS= libbotan-1.10.so:${PORTSDIR}/security/botan110 +TINYDNS_LIB_DEPENDS= libcdb.so:${PORTSDIR}/databases/tinycdb +TINYDNS_CONFIGURE_ON= CDB_LIBS="-L${LOCALBASE}/lib -lcdb" CDB_CFLAGS="-I${LOCALBASE}/include" + .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MGEO} -MODULES+= "geo" +MODULES+= geo .endif .if ${PORT_OPTIONS:MPGSQL} -MODULES+= "gpgsql" +MODULES+= gpgsql .endif .if ${PORT_OPTIONS:MMYSQL} -MODULES+= "gmysql" +MODULES+= gmysql .endif .if ${PORT_OPTIONS:MPGSQL_LOCAL} @@ -113,7 +131,7 @@ SUB_LIST+= MYSQL_REQ= .endif .if ${PORT_OPTIONS:MOPENLDAP} -MODULES+= "ldap" +MODULES+= ldap .endif .if ${PORT_OPTIONS:MOPENLDAP_LOCAL} @@ -123,15 +141,30 @@ SUB_LIST+= SLAPD_REQ= .endif .if ${PORT_OPTIONS:MSQLITE3} -MODULES+= "gsqlite3" +MODULES+= gsqlite3 +.endif + +.if ${PORT_OPTIONS:MLUA} +MODULES+= lua +.endif + +.if ${PORT_OPTIONS:MMYDNS} +MODULES+= mydns +.endif + +.if ${PORT_OPTIONS:MREMOTE} +MODULES+= remote +.endif + +.if ${PORT_OPTIONS:MTINYDNS} +MODULES+= tinydns .endif .if ${PORT_OPTIONS:MOPENDBX} -MODULES+= "opendbx" +MODULES+= opendbx .endif .if ${PORT_OPTIONS:MCRYPTOPP} -CONFIGURE_ARGS+= --enable-cryptopp . if exists(${LOCALBASE}/lib/libcryptopp.so) LIB_DEPENDS+= libcryptopp.so:${PORTSDIR}/security/cryptopp . else diff --git a/dns/powerdns/distinfo b/dns/powerdns/distinfo index 097ae9c2230d..084a8e84b387 100644 --- a/dns/powerdns/distinfo +++ b/dns/powerdns/distinfo @@ -1,2 +1,2 @@ -SHA256 (pdns-3.3.tar.gz) = 93417bb418ccd1eaf85fc98aa9f687ed175de388fa2624a1978b7cd40dc2b0b6 -SIZE (pdns-3.3.tar.gz) = 1360167 +SHA256 (pdns-3.3.1.tar.gz) = feb566994725e049391e9b862c9437ca545f1bb970143d2387e474a6ff645bf3 +SIZE (pdns-3.3.1.tar.gz) = 1403435 diff --git a/dns/powerdns/files/patch-pdns_Makefile_in b/dns/powerdns/files/patch-pdns__Makefile.in index 83b132b4a56d..3d4c6ac0e3ab 100644 --- a/dns/powerdns/files/patch-pdns_Makefile_in +++ b/dns/powerdns/files/patch-pdns__Makefile.in @@ -1,6 +1,6 @@ ---- ./pdns/Makefile.in.orig 2013-07-05 03:30:48.000000000 -0300 -+++ ./pdns/Makefile.in 2013-10-09 16:39:02.000000000 -0300 -@@ -49,7 +49,7 @@ +--- ./pdns/Makefile.in.orig 2013-12-17 14:47:45.000000000 +0100 ++++ ./pdns/Makefile.in 2014-01-16 13:37:09.328942976 +0100 +@@ -66,7 +66,7 @@ nproxy$(EXEEXT) notify$(EXEEXT) pdnssec$(EXEEXT) \ dnsbulktest$(EXEEXT) nsec3dig$(EXEEXT) @BOTAN110_TRUE@am__append_4 = botan110signers.cc botansigners.cc @@ -9,7 +9,7 @@ @BOTAN18_TRUE@am__append_6 = botan18signers.cc botansigners.cc @BOTAN18_TRUE@am__append_7 = $(BOTAN18_LIBS) -lgmp @CRYPTOPP_TRUE@am__append_8 = cryptoppsigners.cc -@@ -57,7 +57,7 @@ +@@ -74,7 +74,7 @@ @SQLITE3_TRUE@am__append_10 = ssqlite3.cc ssqlite3.hh @ORACLE_TRUE@am__append_11 = $(ORACLE_LIBS) @BOTAN110_TRUE@am__append_12 = botan110signers.cc botansigners.cc @@ -18,10 +18,10 @@ @BOTAN18_TRUE@am__append_14 = botan18signers.cc botansigners.cc @BOTAN18_TRUE@am__append_15 = $(BOTAN18_LIBS) -lgmp @CRYPTOPP_TRUE@am__append_16 = cryptoppsigners.cc -@@ -717,8 +717,8 @@ +@@ -750,8 +750,8 @@ + top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ - @HAVE_LIBPOLARSSL_FALSE@AM_CXXFLAGS = -DSYSCONFDIR=\"@sysconfdir@\" -DLIBDIR=\"@libdir@\" -DLOCALSTATEDIR=\"@socketdir@\" -Ibackends/bind @THREADFLAGS@ $(LUA_CFLAGS) $(SQLITE3_CFLAGS) -Iext/polarssl-1.1.2/include -Iext/rapidjson/include - @HAVE_LIBPOLARSSL_TRUE@AM_CXXFLAGS = -DSYSCONFDIR=\"@sysconfdir@\" -DLIBDIR=\"@libdir@\" -DLOCALSTATEDIR=\"@socketdir@\" -Ibackends/bind @THREADFLAGS@ $(LUA_CFLAGS) $(SQLITE3_CFLAGS) -I ext/rapidjson/include + AM_CXXFLAGS = -DSYSCONFDIR=\"@sysconfdir@\" -DLIBDIR=\"@libdir@\" -DLOCALSTATEDIR=\"@socketdir@\" -Ibackends/bind @THREADFLAGS@ $(LUA_CFLAGS) $(SQLITE3_CFLAGS) $(POLARSSL_CFLAGS) -Iext/rapidjson/include -AM_CPPFLAGS = -Ibackends/bind $(BOOST_CPPFLAGS) @THREADFLAGS@ \ - $(LIBCURL_CFLAGS) $(am__append_1) $(am__append_2) +AM_CPPFLAGS = -Ibackends/bind @THREADFLAGS@ \ @@ -29,21 +29,21 @@ EXTRA_DIST = dnslabeltext.rl dnslabeltext.cc mtasker.cc inflighter.cc docs/pdns_control.8 \ docs/pdns_server.8 docs/zone2sql.8 docs/zone2ldap.8 docs/pdnssec.8 \ docs/dnsreplay.8 docs/dnsscope.8 docs/dnswasher.8 docs/pdnssec.8 docs/zone2ldap.8 \ -@@ -766,7 +766,7 @@ - pdns_server_LDFLAGS = @moduleobjects@ @modulelibs@ @DYNLINKFLAGS@ @LIBDL@ @THREADFLAGS@ $(BOOST_SERIALIZATION_LDFLAGS) -rdynamic - pdns_server_LDADD = ext/polarssl-1.1.2/library/libpolarssl.a \ - $(BOOST_SERIALIZATION_LIBS) $(LUA_LIBS) $(SQLITE3_LIBS) \ -- $(LIBCURL_LIBS) $(MYSQL_lib) $(am__append_5) $(am__append_7) \ -+ $(am__append_5) $(am__append_7) \ - $(am__append_9) $(am__append_11) +@@ -797,7 +797,7 @@ + # + pdns_server_LDFLAGS = @moduleobjects@ @modulelibs@ @DYNLINKFLAGS@ @LIBDL@ @THREADFLAGS@ $(BOOST_SERIALIZATION_LDFLAGS) -rdynamic + pdns_server_LDADD = $(POLARSSL_LIBS) $(BOOST_SERIALIZATION_LIBS) \ +- $(LUA_LIBS) $(SQLITE3_LIBS) $(LIBCURL_LIBS) $(am__append_5) \ ++ $(LUA_LIBS) $(SQLITE3_LIBS) $(am__append_5) \ + $(am__append_7) $(am__append_9) $(am__append_11) pdnssec_SOURCES = pdnssec.cc dbdnsseckeeper.cc sstuff.hh dnsparser.cc \ dnsparser.hh dnsrecords.cc dnswriter.cc dnswriter.hh misc.cc \ -@@ -789,7 +789,7 @@ - pdnssec_LDFLAGS = @moduleobjects@ @modulelibs@ @DYNLINKFLAGS@ @LIBDL@ @THREADFLAGS@ $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS) - pdnssec_LDADD = ext/polarssl-1.1.2/library/libpolarssl.a \ - $(BOOST_PROGRAM_OPTIONS_LIBS) $(BOOST_SERIALIZATION_LIBS) \ -- $(SQLITE3_LIBS) $(LIBCURL_LIBS) $(MYSQL_lib) $(am__append_13) \ -+ $(SQLITE3_LIBS) $(am__append_13) \ - $(am__append_15) $(am__append_17) $(am__append_19) +@@ -819,7 +819,7 @@ + $(am__append_18) + pdnssec_LDFLAGS = @moduleobjects@ @modulelibs@ @DYNLINKFLAGS@ @LIBDL@ @THREADFLAGS@ $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS) + pdnssec_LDADD = $(POLARSSL_LIBS) $(BOOST_PROGRAM_OPTIONS_LIBS) \ +- $(BOOST_SERIALIZATION_LIBS) $(SQLITE3_LIBS) $(LIBCURL_LIBS) \ ++ $(BOOST_SERIALIZATION_LIBS) $(SQLITE3_LIBS) \ + $(am__append_13) $(am__append_15) $(am__append_17) \ + $(am__append_19) sdig_SOURCES = sdig.cc sstuff.hh dnsparser.cc dnsparser.hh dnsrecords.cc dnswriter.cc dnslabeltext.cc dnswriter.hh \ - misc.cc misc.hh rcpgenerator.cc rcpgenerator.hh base64.cc base64.hh unix_utility.cc \ |