Date: Thu, 22 Sep 2016 10:15:34 +0000 (UTC) From: Bernard Spil <brnrd@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r422595 - in head/dns/powerdns-recursor: . files Message-ID: <201609221015.u8MAFYr1042356@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brnrd Date: Thu Sep 22 10:15:34 2016 New Revision: 422595 URL: https://svnweb.freebsd.org/changeset/ports/422595 Log: dns/powerdns-recursor: Update to 4.0.3 - Update to 4.0.3 - Remove upstreamed LibreSSL patch - Add LUA patch PR: 211148 Submitted by: Ralf van der Enden <tremere@cainites.net> (maintainer) Sponsored by: EuroBSDCon 2016 DevSummit Added: head/dns/powerdns-recursor/files/patch-lua-recursor4.cc (contents, props changed) Deleted: head/dns/powerdns-recursor/files/patch-libressl Modified: head/dns/powerdns-recursor/Makefile head/dns/powerdns-recursor/distinfo Modified: head/dns/powerdns-recursor/Makefile ============================================================================== --- head/dns/powerdns-recursor/Makefile Thu Sep 22 09:26:36 2016 (r422594) +++ head/dns/powerdns-recursor/Makefile Thu Sep 22 10:15:34 2016 (r422595) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= recursor -PORTVERSION= 4.0.1 +PORTVERSION= 4.0.3 CATEGORIES= dns ipv6 MASTER_SITES= http://downloads.powerdns.com/releases/ PKGNAMEPREFIX= powerdns- @@ -14,6 +14,7 @@ COMMENT= Advanced DNS recursor LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs +LIB_DEPENDS= libboost_context.so:devel/boost-libs BROKEN_sparc64= Does not compile on sparc64 BROKEN_FreeBSD_9= linker error Modified: head/dns/powerdns-recursor/distinfo ============================================================================== --- head/dns/powerdns-recursor/distinfo Thu Sep 22 09:26:36 2016 (r422594) +++ head/dns/powerdns-recursor/distinfo Thu Sep 22 10:15:34 2016 (r422595) @@ -1,3 +1,3 @@ -TIMESTAMP = 1470038617 -SHA256 (pdns-recursor-4.0.1.tar.bz2) = 472db541307c8ca83a846d260ecfc854fd8e879c1bb2ce5683a8df5d21e860b0 -SIZE (pdns-recursor-4.0.1.tar.bz2) = 1035584 +TIMESTAMP = 1473284590 +SHA256 (pdns-recursor-4.0.3.tar.bz2) = ae9813a64d13d9ebe4b44e89e8e4e44fc438693b6ce4c3a98e4cab1af22d9627 +SIZE (pdns-recursor-4.0.3.tar.bz2) = 1045041 Added: head/dns/powerdns-recursor/files/patch-lua-recursor4.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/powerdns-recursor/files/patch-lua-recursor4.cc Thu Sep 22 10:15:34 2016 (r422595) @@ -0,0 +1,26 @@ +--- lua-recursor4.cc.orig 2016-09-06 12:50:29 UTC ++++ lua-recursor4.cc +@@ -263,8 +263,8 @@ RecursorLua4::RecursorLua4(const std::st + return DNSName(boost::get<const DNSName>(dom)); + }); + d_lw->registerFunction("isPartOf", &DNSName::isPartOf); +- d_lw->registerFunction("countLabels", &DNSName::countLabels); +- d_lw->registerFunction("wirelength", &DNSName::wirelength); ++ d_lw->registerFunction<unsigned int(DNSName::*)()>("countLabels", [](const DNSName& name) { return name.countLabels(); }); ++ d_lw->registerFunction<size_t(DNSName::*)()>("wirelength", [](const DNSName& name) { return name.wirelength(); }); + d_lw->registerFunction<bool(DNSName::*)(const std::string&)>( + "equal", + [](const DNSName& lhs, const std::string& rhs) { +@@ -285,9 +285,9 @@ RecursorLua4::RecursorLua4(const std::st + } ); + d_lw->registerFunction<bool(ComboAddress::*)()>("isIPv4", [](const ComboAddress& ca) { return ca.sin4.sin_family == AF_INET; }); + d_lw->registerFunction<bool(ComboAddress::*)()>("isIPv6", [](const ComboAddress& ca) { return ca.sin4.sin_family == AF_INET6; }); +- d_lw->registerFunction("isMappedIPv4", &ComboAddress::isMappedIPv4); +- d_lw->registerFunction("mapToIPv4", &ComboAddress::mapToIPv4); +- d_lw->registerFunction("truncate", &ComboAddress::truncate); ++ d_lw->registerFunction<bool(ComboAddress::*)()>("isMappedIPv4", [](const ComboAddress& ca) { return ca.isMappedIPv4(); }); ++ d_lw->registerFunction<ComboAddress(ComboAddress::*)()>("mapToIPv4", [](const ComboAddress& ca) { return ca.mapToIPv4(); }); ++ d_lw->registerFunction<void(ComboAddress::*)(unsigned int)>("truncate", [](ComboAddress& ca, unsigned int bits) { ca.truncate(bits); }); + + d_lw->writeFunction("newCA", [](const std::string& a) { return ComboAddress(a); }); + typedef std::unordered_set<ComboAddress,ComboAddress::addressOnlyHash,ComboAddress::addressOnlyEqual> cas_t;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609221015.u8MAFYr1042356>