summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2017-07-03 13:02:38 +0000
committerjoerg <joerg@pkgsrc.org>2017-07-03 13:02:38 +0000
commit1dda012b4fcc48b5f8c22f5a241aaa99119aaaed (patch)
tree5c43d85a2d3e543cef9627ac95336d50094c9ac6 /net
parentc3e0c4c8f0348511b2c7bd4574aee58aa909d4e5 (diff)
downloadpkgsrc-1dda012b4fcc48b5f8c22f5a241aaa99119aaaed.tar.gz
Make Bart write "I will not ignore autoconf warnings" a thousand times.
While here, don't include the configure arguments in the binary to avoid the wrkdir references.
Diffstat (limited to 'net')
-rw-r--r--net/powerdns-recursor/distinfo5
-rw-r--r--net/powerdns-recursor/patches/patch-configure60
-rw-r--r--net/powerdns-recursor/patches/patch-m4_pdns__check__os.m420
-rw-r--r--net/powerdns-recursor/patches/patch-version.cc20
4 files changed, 104 insertions, 1 deletions
diff --git a/net/powerdns-recursor/distinfo b/net/powerdns-recursor/distinfo
index 7ca708728a5..3ba83c4b7cc 100644
--- a/net/powerdns-recursor/distinfo
+++ b/net/powerdns-recursor/distinfo
@@ -1,11 +1,14 @@
-$NetBSD: distinfo,v 1.19 2017/06/15 07:15:57 fhajny Exp $
+$NetBSD: distinfo,v 1.20 2017/07/03 13:02:38 joerg Exp $
SHA1 (pdns-recursor-4.0.5.tar.bz2) = 2f9fcab4a759ed4f21f8f1233b91ad6ef8b5545e
RMD160 (pdns-recursor-4.0.5.tar.bz2) = 3cf3594ab6ede39a1400cb21e2905217d735bc4e
SHA512 (pdns-recursor-4.0.5.tar.bz2) = 30d41033d4650a496b2a699b03c8cb5adb3e803420330f09159cf7ca2ce1bab4818f4a9c9ce7a99d2676e31b1e30289198af1f049cd1f309b93f6aa1a05d4cb5
Size (pdns-recursor-4.0.5.tar.bz2) = 1066145 bytes
+SHA1 (patch-configure) = f6984cae95786514c9fa19884755374f1c97df11
SHA1 (patch-dns.hh) = 7e9c1b10a066a605b74ebdbee2d894aed50f6c68
SHA1 (patch-ext_json11_json11.cpp) = 2de8ea8b51556bd3e3c1a88f681697eff239ab1a
SHA1 (patch-iputils.hh) = 9de7c58db7468da9fd2a175464becdbe339fac9d
SHA1 (patch-kqueuemplexer.cc) = 87b3b6670393ee60fc96cf91c5acf575adfd06c0
+SHA1 (patch-m4_pdns__check__os.m4) = 04ed7580d9cff6456c3ebcc5bc78a603af1d59a4
SHA1 (patch-qtype.hh) = f14eb9ad7efc7dd4a0ce220c1f93044ef69e99c2
+SHA1 (patch-version.cc) = 117d440f16c9095c03e28b305b85e03ea6e65c8a
diff --git a/net/powerdns-recursor/patches/patch-configure b/net/powerdns-recursor/patches/patch-configure
new file mode 100644
index 00000000000..29cd8e60e72
--- /dev/null
+++ b/net/powerdns-recursor/patches/patch-configure
@@ -0,0 +1,60 @@
+$NetBSD: patch-configure,v 1.1 2017/07/03 13:02:38 joerg Exp $
+
+Regenerate for PDNS_CHECK_OS fix.
+
+--- configure.orig 2017-07-02 23:26:02.024754888 +0000
++++ 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,24 +15905,23 @@ 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 :
++ LDFLAGS="-latomic $LDFLAGS"
++ as_fn_error $? "Unable to link against libatomic, cannot continue" "$LINENO" 5
+ else
+- as_fn_error $? "Unable to link against libatomic
++ :
+ fi
+
+- LDFLAGS="-latomic $LDFLAGS"
+ ;;
+ esac
+
diff --git a/net/powerdns-recursor/patches/patch-m4_pdns__check__os.m4 b/net/powerdns-recursor/patches/patch-m4_pdns__check__os.m4
new file mode 100644
index 00000000000..14637539589
--- /dev/null
+++ b/net/powerdns-recursor/patches/patch-m4_pdns__check__os.m4
@@ -0,0 +1,20 @@
+$NetBSD: patch-m4_pdns__check__os.m4,v 1.1 2017/07/03 13:02:38 joerg Exp $
+
+Third argument is a instruction list.
+
+--- m4/pdns_check_os.m4.orig 2017-06-13 09:58:51.000000000 +0000
++++ m4/pdns_check_os.m4
+@@ -37,11 +37,8 @@ AC_DEFUN([PDNS_CHECK_OS],[
+
+ case "$host" in
+ mips* | powerpc* )
+- AX_CHECK_LINK_FLAG([-latomic],
+- [ : ],
+- AC_MSG_ERROR([Unable to link against libatomic, cannot continue])
+- )
+- LDFLAGS="-latomic $LDFLAGS"
++ AX_CHECK_LINK_FLAG([-latomic],[LDFLAGS="-latomic $LDFLAGS"]
++ [AC_MSG_ERROR([Unable to link against libatomic, cannot continue])])
+ ;;
+ esac
+
diff --git a/net/powerdns-recursor/patches/patch-version.cc b/net/powerdns-recursor/patches/patch-version.cc
new file mode 100644
index 00000000000..37e3e11b877
--- /dev/null
+++ b/net/powerdns-recursor/patches/patch-version.cc
@@ -0,0 +1,20 @@
+$NetBSD: patch-version.cc,v 1.1 2017/07/03 13:02:38 joerg Exp $
+
+Don't include build time noise.
+
+--- version.cc.orig 2017-07-03 00:20:50.928274609 +0000
++++ version.cc
+@@ -108,13 +108,6 @@ void showBuildConfiguration()
+ // Auth only
+ theL()<<Logger::Warning<<"Built-in modules: "<<PDNS_MODULES<<endl;
+ #endif
+-#ifdef PDNS_CONFIG_ARGS
+-#define double_escape(s) #s
+-#define escape_quotes(s) double_escape(s)
+- theL()<<Logger::Warning<<"Configured with: "<<escape_quotes(PDNS_CONFIG_ARGS)<<endl;
+-#undef escape_quotes
+-#undef double_escape
+-#endif
+ }
+
+ string fullVersionString()