FreeBSD Bugzilla – Attachment 183966 Details for
Bug 220289
dns/powerdns-recursor: Update to latest version (v4.0.5)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
powerdns-recursor.diff
powerdns-recursor.diff (text/plain), 6.28 KB, created by
Richard Gallamore
on 2017-06-30 21:42:31 UTC
(
hide
)
Description:
powerdns-recursor.diff
Filename:
MIME Type:
Creator:
Richard Gallamore
Created:
2017-06-30 21:42:31 UTC
Size:
6.28 KB
patch
obsolete
>Index: dns/powerdns-recursor/Makefile >=================================================================== >--- dns/powerdns-recursor/Makefile (revision 444769) >+++ dns/powerdns-recursor/Makefile (working copy) >@@ -2,8 +2,7 @@ > # $FreeBSD$ > > PORTNAME= recursor >-PORTVERSION= 4.0.4 >-PORTREVISION= 3 >+PORTVERSION= 4.0.5 > CATEGORIES= dns ipv6 > MASTER_SITES= http://downloads.powerdns.com/releases/ > PKGNAMEPREFIX= powerdns- >@@ -14,19 +13,22 @@ > > LICENSE= GPLv2 > >-BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs >-LIB_DEPENDS= libboost_context.so:devel/boost-libs >- > BROKEN_armv6= fails to compile: use of overloaded operator << is ambiguous > BROKEN_sparc64= fails to compile: json11.cpp: undefined reference to std::__throw_out_of_range_fmt > BROKEN_powerpc64= fails to compile: dnslabeltext.cc: undefined reference to std::__cxx11::basic_string > >+BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs >+LIB_DEPENDS= libboost_context.so:devel/boost-libs >+ > USES= compiler:c++11-lib cpe gmake localbase pkgconfig ssl tar:bzip2 > GNU_CONFIGURE= YES > CXXFLAGS+= -D_GLIBCXX_USE_C99 >+CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc/pdns > > CPE_VENDOR= powerdns > >+USE_RC_SUBR+= pdns-recursor >+ > OPTIONS_DEFINE= SETUID > OPTIONS_DEFAULT= LUA SETUID > OPTIONS_RADIO= LUA_RG >@@ -35,10 +37,6 @@ > LUA_RG_DESC= Lua Engine > SETUID_DESC= Run as pdns_recursor user > >-CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc/pdns >- >-SUB_FILES= pkg-message >- > LUA_CONFIGURE_WITH= lua > LUA_USES= lua > >@@ -47,7 +45,7 @@ > > SETUID_EXTRA_PATCHES= ${PATCHDIR}/extrapatch-setuid > >-USE_RC_SUBR+= pdns-recursor >+SUB_FILES= pkg-message > > .include <bsd.port.options.mk> > >Index: dns/powerdns-recursor/distinfo >=================================================================== >--- dns/powerdns-recursor/distinfo (revision 444769) >+++ dns/powerdns-recursor/distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1484621032 >-SHA256 (pdns-recursor-4.0.4.tar.bz2) = 2338778f49ccd03401e65f6f4b39047890e691c8ff6d810ecee45321fb4f1e4d >-SIZE (pdns-recursor-4.0.4.tar.bz2) = 1050596 >+TIMESTAMP = 1497513533 >+SHA256 (pdns-recursor-4.0.5.tar.bz2) = ba43ce4280b3a06afebe58c5d63680f51dd525c63d1de7f3b229b380e6b1b7af >+SIZE (pdns-recursor-4.0.5.tar.bz2) = 1066145 >Index: dns/powerdns-recursor/files/patch-configure >=================================================================== >--- dns/powerdns-recursor/files/patch-configure (nonexistent) >+++ dns/powerdns-recursor/files/patch-configure (working copy) >@@ -0,0 +1,52 @@ >+--- configure.orig 2017-06-13 09:59:12 UTC >++++ configure >+@@ -15885,17 +15885,14 @@ fi >+ >+ case "$host" in >+ mips* | powerpc* ) >+- as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_cannot continue" "$LINENO" 5 >+- _-latomic" | $as_tr_sh` >+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -latomic" >&5 >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -latomic" >&5 >+ $as_echo_n "checking whether the linker accepts -latomic... " >&6; } >+-if eval \${$as_CACHEVAR+:} false; then : >++if ${ax_cv_check_ldflags___latomic+:} false; then : >+ $as_echo_n "(cached) " >&6 >+ else >+ >+ ax_check_save_flags=$LDFLAGS >+- LDFLAGS="$LDFLAGS cannot continue" "$LINENO" 5 >+- -latomic" >++ LDFLAGS="$LDFLAGS -latomic" >+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+@@ -15908,21 +15905,21 @@ main () >+ } >+ _ACEOF >+ if ac_fn_cxx_try_link "$LINENO"; then : >+- eval "$as_CACHEVAR=yes" >++ ax_cv_check_ldflags___latomic=yes >+ else >+- eval "$as_CACHEVAR=no" >++ ax_cv_check_ldflags___latomic=no >+ fi >+ rm -f core conftest.err conftest.$ac_objext \ >+ conftest$ac_exeext conftest.$ac_ext >+ LDFLAGS=$ax_check_save_flags >+ fi >+-eval ac_res=\$$as_CACHEVAR >+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 >+-$as_echo "$ac_res" >&6; } >+-if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___latomic" >&5 >++$as_echo "$ax_cv_check_ldflags___latomic" >&6; } >++if test "x$ax_cv_check_ldflags___latomic" = xyes; then : >+ : >+ else >+- as_fn_error $? "Unable to link against libatomic >++ as_fn_error $? "Unable to link against libatomic, cannot continue" "$LINENO" 5 >++ >+ fi >+ >+ LDFLAGS="-latomic $LDFLAGS" > >Property changes on: dns/powerdns-recursor/files/patch-configure >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: dns/powerdns-recursor/files/patch-ext_json11_json11.cpp >=================================================================== >--- dns/powerdns-recursor/files/patch-ext_json11_json11.cpp (revision 444769) >+++ dns/powerdns-recursor/files/patch-ext_json11_json11.cpp (nonexistent) >@@ -1,37 +0,0 @@ >---- ext/json11/json11.cpp.orig 2017-01-18 18:06:37 UTC >-+++ ext/json11/json11.cpp >-@@ -37,11 +37,21 @@ using std::make_shared; >- using std::initializer_list; >- using std::move; >- >-+/* Helper for representing null - just a do-nothing struct, plus comparison >-+ * operators so the helpers in JsonValue work. We can't use nullptr_t because >-+ * it may not be orderable. >-+*/ >-+ >-+struct NullStruct { >-+ bool operator==(NullStruct) const { return true; } >-+ bool operator<(NullStruct) const { return false; } >-+}; >-+ >- /* * * * * * * * * * * * * * * * * * * * >- * Serialization >- */ >- >--static void dump(std::nullptr_t, string &out) { >-+static void dump(NullStruct, string &out) { >- out += "null"; >- } >- >-@@ -204,9 +214,9 @@ public: >- explicit JsonObject(Json::object &&value) : Value(move(value)) {} >- }; >- >--class JsonNull final : public Value<Json::NUL, std::nullptr_t> { >-+class JsonNull final : public Value<Json::NUL, NullStruct> { >- public: >-- JsonNull() : Value(nullptr) {} >-+ JsonNull() : Value({}) {} >- }; >- >- /* * * * * * * * * * * * * * * * * * * * > >Property changes on: dns/powerdns-recursor/files/patch-ext_json11_json11.cpp >___________________________________________________________________ >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
tremere
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 220289
:
183813
|
183824
| 183966