Index: head/dns/powerdns/Makefile =================================================================== --- head/dns/powerdns/Makefile (revision 408756) +++ head/dns/powerdns/Makefile (revision 408757) @@ -1,170 +1,130 @@ # $FreeBSD$ PORTNAME= powerdns -PORTVERSION= 3.4.7 +PORTVERSION= 3.4.8 CATEGORIES= dns ipv6 MASTER_SITES= http://downloads.powerdns.com/releases/ DISTNAME= pdns-${PORTVERSION} MAINTAINER= tremere@cainites.net COMMENT= Advanced DNS server with multiple backends including SQL LICENSE= GPLv2 LIB_DEPENDS= libboost_serialization.so:${PORTSDIR}/devel/boost-libs USES= cpe gmake libtool lua pkgconfig tar:bzip2 USE_LDCONFIG= YES USE_SUBMAKE= YES GNU_CONFIGURE= YES INSTALL_TARGET= install-strip CXXFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ENV= LUA_CFLAGS="-I${LUA_INCDIR}" \ LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}" 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}" SUB_FILES= pkg-message USE_RC_SUBR= pdns OPTIONS_DEFINE= GEO GEOIP LMDB MYSQL OPENDBX OPENLDAP PGSQL POLARSSL REMOTE SQLITE3 TOOLS OPTIONS_GROUP= DNSSEC EXPERIMENTAL REMOTEOPT OPTIONS_GROUP_DNSSEC= BOTAN110 OPTIONS_GROUP_EXPERIMENTAL= LUA MYDNS TINYDNS OPTIONS_GROUP_REMOTEOPT= ZEROMQ +ZEROMQ_IMPLIES= REMOTE -PGSQL_DESC= PostgreSQL backend -MYSQL_DESC= MySQL backend -OPENDBX_DESC= OpenDBX backend -OPENLDAP_DESC= OpenLDAP backend -SQLITE3_DESC= SQLite 3 backend -GEO_DESC= Geo backend -GEOIP_DESC= GeoIP backend -DNSSEC_DESC= Extra DNSSEC options -BOTAN110_DESC= Faster signing + ECDSA & GOST algorithms -POLARSSL_DESC= Use embedded PolarSSL -LMDB_DESC= LMDB backend -LUA_DESC= Lua backend -MYDNS_DESC= MyDNS backend -REMOTE_DESC= Remote backend -TINYDNS_DESC= TinyDNS backend -TOOLS_DESC= Build extra tools -REMOTEOPT_DESC= Remote backend connectors -ZEROMQ_DESC= Enable ZeroMQ connector - OPTIONS_DEFAULT= PGSQL DNSSEC BOTAN110 POLARSSL +OPTIONS_SUB= yes -OPTIONS_SUB= yes - -# 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 -PGSQL_USES= pgsql - -MYSQL_CONFIGURE_ON= --with-mysql=${LOCALBASE} -MYSQL_CONFIGURE_OFF= --without-mysql -MYSQL_USE= MYSQL=YES - -MYDNS_CONFIGURE_ON= --with-mysql=${LOCALBASE} -MYDNS_USE= MYSQL=YES - -OPENLDAP_CXXFLAGS= -DLDAP_DEPRECATED=1 -OPENLDAP_USE= OPENLDAP=YES - -SQLITE3_USE= SQLITE=3 - -OPENDBX_LIB_DEPENDS= libopendbx.so:${PORTSDIR}/databases/opendbx - 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" +GEO_VARS= MODULES+=geo -LMDB_LIB_DEPENDS= liblmdb.so:${PORTSDIR}/databases/lmdb - GEOIP_LIB_DEPENDS= libyaml-cpp.so:${PORTSDIR}/devel/yaml-cpp \ libGeoIP.so:${PORTSDIR}/net/GeoIP +GEOIP_VARS= MODULES+=geoip -.include +LMDB_LIB_DEPENDS= liblmdb.so:${PORTSDIR}/databases/lmdb +LMDB_VARS= MODULES+=lmdb -.if ${PORT_OPTIONS:MGEO} -MODULES+= geo -.endif +LUA_VARS= MODULES+=lua -.if ${PORT_OPTIONS:MGEOIP} -MODULES+= geoip -.endif +MYDNS_CONFIGURE_ON= --with-mysql=${LOCALBASE} +MYDNS_USE= MYSQL=YES +MYDNS_VARS= MODULES+=mydns -.if ${PORT_OPTIONS:MPGSQL} -MODULES+= gpgsql -.endif +MYSQL_CONFIGURE_ON= --with-mysql=${LOCALBASE} +MYSQL_CONFIGURE_OFF= --without-mysql +MYSQL_USE= MYSQL=YES +MYSQL_VARS= MODULES+=gmysql -.if ${PORT_OPTIONS:MMYSQL} -MODULES+= gmysql -.endif +OPENDBX_LIB_DEPENDS= libopendbx.so:${PORTSDIR}/databases/opendbx +OPENDBX_VARS= MODULES+=opendbx -.if ${PORT_OPTIONS:MOPENLDAP} -MODULES+= ldap -.endif +OPENLDAP_CXXFLAGS= -DLDAP_DEPRECATED=1 +OPENLDAP_USE= OPENLDAP=YES +OPENLDAP_VARS= MODULES+=ldap -.if ${PORT_OPTIONS:MSQLITE3} -MODULES+= gsqlite3 -.endif +PGSQL_CONFIGURE_ON= --with-pgsql=${LOCALBASE} +PGSQL_CONFIGURE_OFF= --without-pgsql +PGSQL_USES= pgsql +PGSQL_VARS= MODULES+=gpgsql -.if ${PORT_OPTIONS:MLMDB} -MODULES+= lmdb -.endif +POLARSSL_CONFIGURE_ARGS= --without-system-polarssl +POLARSSL_LIB_DEPENDS_OFF= libmbedtls.so:${PORTSDIR}/security/polarssl13 -.if ${PORT_OPTIONS:MLUA} -MODULES+= lua -.endif +REMOTE_VARS= MODULES+=remote -.if ${PORT_OPTIONS:MMYDNS} -MODULES+= mydns -.endif +SQLITE3_USE= SQLITE=3 +SQLITE3_VARS= MODULES+=gqlite3 -.if ${PORT_OPTIONS:MREMOTE} -MODULES+= remote -. if ${PORT_OPTIONS:MZEROMQ} -CONFIGURE_ARGS+= --enable-remotebackend-zeromq -LIB_DEPENDS+= libzmq.so:${PORTSDIR}/net/libzmq4 -. endif -.endif +TINYDNS_CONFIGURE_ON= CDB_LIBS="-L${LOCALBASE}/lib -lcdb" CDB_CFLAGS="-I${LOCALBASE}/include" +TINYDNS_LIB_DEPENDS= libcdb.so:${PORTSDIR}/databases/tinycdb +TINYDNS_VARS= MODULES+=tinydns -.if ${PORT_OPTIONS:MTINYDNS} -MODULES+= tinydns -.endif +ZEROMQ_CONFIGURE_ARGS= --enable-remotebackend-zeromq +ZEROMQ_LIB_DEPENDS= libzmq.so:${PORTSDIR}/net/libzmq4 -.if ${PORT_OPTIONS:MOPENDBX} -MODULES+= opendbx -.endif +TOOLS_CONFIGURE_ENABLE= tools -.if ${PORT_OPTIONS:MPOLARSSL} -CONFIGURE_ARGS+= --without-system-polarssl -.else -LIB_DEPENDS+= libmbedtls.so.9:${PORTSDIR}/security/polarssl13 -.endif +PGSQL_DESC= PostgreSQL backend +MYSQL_DESC= MySQL backend +OPENDBX_DESC= OpenDBX backend +OPENLDAP_DESC= OpenLDAP backend +SQLITE3_DESC= SQLite 3 backend +GEO_DESC= Geo backend +GEOIP_DESC= GeoIP backend +DNSSEC_DESC= Extra DNSSEC options +BOTAN110_DESC= Faster signing + ECDSA & GOST algorithms +POLARSSL_DESC= Use embedded PolarSSL +LMDB_DESC= LMDB backend +LUA_DESC= Lua backend +MYDNS_DESC= MyDNS backend +REMOTE_DESC= Remote backend +TINYDNS_DESC= TinyDNS backend +TOOLS_DESC= Build extra tools +REMOTEOPT_DESC= Remote backend connectors +ZEROMQ_DESC= Enable ZeroMQ connector (Implies REMOTE enabled) + +.include post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for i in pdns.conf ${INSTALL_DATA} ${FILESDIR}/$i ${STAGEDIR}${EXAMPLESDIR}/ .endfor .include Index: head/dns/powerdns/distinfo =================================================================== --- head/dns/powerdns/distinfo (revision 408756) +++ head/dns/powerdns/distinfo (revision 408757) @@ -1,2 +1,2 @@ -SHA256 (pdns-3.4.7.tar.bz2) = e17eca86c5e702b54b62b1edebc4741d8e0db748050a7214c778302039f28c4b -SIZE (pdns-3.4.7.tar.bz2) = 1345379 +SHA256 (pdns-3.4.8.tar.bz2) = 4f818fd09bff89625b4317cc7c05445f6e7bd9ea8d21e7eefeaaca07b8b0cd9f +SIZE (pdns-3.4.8.tar.bz2) = 1345728 Index: head/dns/powerdns/files/patch-modules__luabackend__lua_functions.cc =================================================================== --- head/dns/powerdns/files/patch-modules__luabackend__lua_functions.cc (revision 408756) +++ head/dns/powerdns/files/patch-modules__luabackend__lua_functions.cc (nonexistent) @@ -1,18 +0,0 @@ ---- modules/luabackend/lua_functions.cc.orig 2014-09-23 06:27:34 UTC -+++ modules/luabackend/lua_functions.cc -@@ -238,6 +238,7 @@ - return ret; - } - -+#if !(defined( __i386__) && defined(__FreeBSD__)) - bool LUABackend::getValueFromTable(lua_State *lua, const std::string& key, time_t& value) { - lua_pushstring(lua, key.c_str()); - lua_gettable(lua, -2); -@@ -253,6 +254,7 @@ - - return ret; - } -+#endif - - bool LUABackend::getValueFromTable(lua_State *lua, const std::string& key, uint32_t& value) { - lua_pushstring(lua, key.c_str()); Property changes on: head/dns/powerdns/files/patch-modules__luabackend__lua_functions.cc ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/dns/powerdns/files/patch-modules__luabackend__luabackend.hh =================================================================== --- head/dns/powerdns/files/patch-modules__luabackend__luabackend.hh (revision 408756) +++ head/dns/powerdns/files/patch-modules__luabackend__luabackend.hh (nonexistent) @@ -1,12 +0,0 @@ ---- modules/luabackend/luabackend.hh.orig 2014-09-23 06:27:34 UTC -+++ modules/luabackend/luabackend.hh -@@ -155,7 +155,9 @@ - // FUNCTIONS TO THIS BACKEND - bool getValueFromTable(lua_State *lua, const std::string& key, string& value); - bool getValueFromTable(lua_State *lua, uint32_t key, string& value); -+#if !(defined(__i386__) && defined(__FreeBSD__)) - bool getValueFromTable(lua_State *lua, const std::string& key, time_t& value); -+#endif - bool getValueFromTable(lua_State *lua, const std::string& key, uint32_t& value); - bool getValueFromTable(lua_State *lua, const std::string& key, uint16_t& value); - bool getValueFromTable(lua_State *lua, const std::string& key, int& value); Property changes on: head/dns/powerdns/files/patch-modules__luabackend__luabackend.hh ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property