Hello community, here is the log from the commit of package pdns for openSUSE:Factory checked in at 2016-02-05 00:32:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pdns (Old) and /work/SRC/openSUSE:Factory/.pdns.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pdns" Changes: -------- --- /work/SRC/openSUSE:Factory/pdns/pdns.changes 2016-01-01 19:51:21.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.pdns.new/pdns.changes 2016-02-05 00:32:16.000000000 +0100 @@ -1,0 +2,15 @@ +Wed Feb 3 11:05:43 UTC 2016 - [email protected] + +- update to 3.4.8 + * Use AC_SEARCH_LIBS (Ruben Kerkhof) + * Check for inet_aton in libresolv (Ruben Kerkhof) + * Remove hardcoded -lresolv, -lnsl and -lsocket (Ruben Kerkhof) + * pdnssec: don't check disabled records (Pieter Lexis) + * pdnssec: check all records (including disabled ones) + only in verbose mode (Kees Monshouwer) + * traling dot in DNAME content (Kees Monshouwer) + * Fix luabackend compilation on FreeBSD i386 (RvdE) + * silence g++ 6.0 warnings and error (Kees Monshouwer) + * add gcc 5.3 and 6.0 support to boost.m4 (Kees Monshouwer) + +------------------------------------------------------------------- Old: ---- pdns-3.4.7.tar.bz2 New: ---- pdns-3.4.8.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pdns.spec ++++++ --- /var/tmp/diff_new_pack.gy8EE5/_old 2016-02-05 00:32:17.000000000 +0100 +++ /var/tmp/diff_new_pack.gy8EE5/_new 2016-02-05 00:32:17.000000000 +0100 @@ -17,11 +17,11 @@ Name: pdns -Version: 3.4.7 +Version: 3.4.8 Release: 0 # %define pkg_name pdns -%define pkg_version 3.4.7 +%define pkg_version 3.4.8 %define polarssl_version 1.3.2 # %define home %{_var}/lib/pdns ++++++ pdns-3.4.7.tar.bz2 -> pdns-3.4.8.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-3.4.7/build-scripts/redhat/pdns-server-test.spec new/pdns-3.4.8/build-scripts/redhat/pdns-server-test.spec --- old/pdns-3.4.7/build-scripts/redhat/pdns-server-test.spec 2015-11-03 15:36:48.000000000 +0100 +++ new/pdns-3.4.8/build-scripts/redhat/pdns-server-test.spec 2016-02-03 08:45:22.000000000 +0100 @@ -9,7 +9,7 @@ Epoch: 0 License: GPL Group: System/Servers -Source: http://downloads.powerdns.com/releases/pdns-3.4.7.tar.bz2 +Source: http://downloads.powerdns.com/releases/pdns-3.4.8.tar.bz2 BuildRequires: autoconf automake BuildRequires: gcc gcc-c++ @@ -30,7 +30,7 @@ PowerDNS testbuild %prep -%setup -q -n pdns-3.4.7 +%setup -q -n pdns-3.4.8 %build %configure \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-3.4.7/configure new/pdns-3.4.8/configure --- old/pdns-3.4.7/configure 2015-11-03 15:37:00.000000000 +0100 +++ new/pdns-3.4.8/configure 2016-02-03 08:45:33.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for pdns 3.4.7. +# Generated by GNU Autoconf 2.69 for pdns 3.4.8. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -587,8 +587,8 @@ # Identity of this package. PACKAGE_NAME='pdns' PACKAGE_TARNAME='pdns' -PACKAGE_VERSION='3.4.7' -PACKAGE_STRING='pdns 3.4.7' +PACKAGE_VERSION='3.4.8' +PACKAGE_STRING='pdns 3.4.8' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1470,7 +1470,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures pdns 3.4.7 to adapt to many kinds of systems. +\`configure' configures pdns 3.4.8 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1540,7 +1540,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of pdns 3.4.7:";; + short | recursive ) echo "Configuration of pdns 3.4.8:";; esac cat <<\_ACEOF @@ -1740,7 +1740,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -pdns configure 3.4.7 +pdns configure 3.4.8 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1922,73 +1922,6 @@ } # ac_fn_cxx_try_link -# ac_fn_cxx_check_func LINENO FUNC VAR -# ------------------------------------ -# Tests whether FUNC exists, setting the cache variable VAR accordingly -ac_fn_cxx_check_func () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -/* Define $2 to an innocuous variant, in case <limits.h> declares $2. - For example, HP-UX 11i <limits.h> declares gettimeofday. */ -#define $2 innocuous_$2 - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $2 (); below. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include <limits.h> -#else -# include <assert.h> -#endif - -#undef $2 - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char $2 (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_$2 || defined __stub___$2 -choke me -#endif - -int -main () -{ -return $2 (); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_cxx_check_func - # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in @@ -2290,6 +2223,73 @@ } # ac_fn_cxx_check_header_mongrel +# ac_fn_cxx_check_func LINENO FUNC VAR +# ------------------------------------ +# Tests whether FUNC exists, setting the cache variable VAR accordingly +ac_fn_cxx_check_func () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Define $2 to an innocuous variant, in case <limits.h> declares $2. + For example, HP-UX 11i <limits.h> declares gettimeofday. */ +#define $2 innocuous_$2 + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $2 (); below. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + <limits.h> exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include <limits.h> +#else +# include <assert.h> +#endif + +#undef $2 + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $2 (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$2 || defined __stub___$2 +choke me +#endif + +int +main () +{ +return $2 (); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_cxx_check_func + # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES # --------------------------------------------- # Tests whether TYPE exists after having included INCLUDES, setting cache @@ -2347,7 +2347,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by pdns $as_me 3.4.7, which was +It was created by pdns $as_me 3.4.8, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3170,7 +3170,7 @@ # Define the identity of the package. PACKAGE='pdns' - VERSION='3.4.7' + VERSION='3.4.8' cat >>confdefs.h <<_ACEOF @@ -5347,18 +5347,12 @@ fi -ac_fn_cxx_check_func "$LINENO" "socket" "ac_cv_func_socket" -if test "x$ac_cv_func_socket" = xyes; then : - -else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 -$as_echo_n "checking for socket in -lsocket... " >&6; } -if ${ac_cv_lib_socket_socket+:} false; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 +$as_echo_n "checking for library containing socket... " >&6; } +if ${ac_cv_search_socket+:} false; then : $as_echo_n "(cached) " >&6 else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lsocket $LIBS" + ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -5377,37 +5371,100 @@ return 0; } _ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_lib_socket_socket=yes -else - ac_cv_lib_socket_socket=no +for ac_lib in '' socket; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_cxx_try_link "$LINENO"; then : + ac_cv_search_socket=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5 -$as_echo "$ac_cv_lib_socket_socket" >&6; } -if test "x$ac_cv_lib_socket_socket" = xyes; then : - LIBS="-lsocket $LIBS" + conftest$ac_exeext + if ${ac_cv_search_socket+:} false; then : + break fi +done +if ${ac_cv_search_socket+:} false; then : +else + ac_cv_search_socket=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 +$as_echo "$ac_cv_search_socket" >&6; } +ac_res=$ac_cv_search_socket +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostent" >&5 +$as_echo_n "checking for library containing gethostent... " >&6; } +if ${ac_cv_search_gethostent+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -ac_fn_cxx_check_func "$LINENO" "gethostent" "ac_cv_func_gethostent" -if test "x$ac_cv_func_gethostent" = xyes; then : +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char gethostent (); +int +main () +{ +return gethostent (); + ; + return 0; +} +_ACEOF +for ac_lib in '' nsl; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_cxx_try_link "$LINENO"; then : + ac_cv_search_gethostent=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_gethostent+:} false; then : + break +fi +done +if ${ac_cv_search_gethostent+:} false; then : else + ac_cv_search_gethostent=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostent" >&5 +$as_echo "$ac_cv_search_gethostent" >&6; } +ac_res=$ac_cv_search_gethostent +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostent in -lnsl" >&5 -$as_echo_n "checking for gethostent in -lnsl... " >&6; } -if ${ac_cv_lib_nsl_gethostent+:} false; then : +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5 +$as_echo_n "checking for library containing inet_aton... " >&6; } +if ${ac_cv_search_inet_aton+:} false; then : $as_echo_n "(cached) " >&6 else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lnsl $LIBS" + ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -5417,30 +5474,44 @@ #ifdef __cplusplus extern "C" #endif -char gethostent (); +char inet_aton (); int main () { -return gethostent (); +return inet_aton (); ; return 0; } _ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_lib_nsl_gethostent=yes -else - ac_cv_lib_nsl_gethostent=no +for ac_lib in '' resolv; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_cxx_try_link "$LINENO"; then : + ac_cv_search_inet_aton=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostent" >&5 -$as_echo "$ac_cv_lib_nsl_gethostent" >&6; } -if test "x$ac_cv_lib_nsl_gethostent" = xyes; then : - LIBS="-lnsl $LIBS" + conftest$ac_exeext + if ${ac_cv_search_inet_aton+:} false; then : + break fi +done +if ${ac_cv_search_inet_aton+:} false; then : +else + ac_cv_search_inet_aton=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5 +$as_echo "$ac_cv_search_inet_aton" >&6; } +ac_res=$ac_cv_search_inet_aton +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi @@ -16945,6 +17016,14 @@ # I'm not sure about my test for `il' (be careful: Intel's ICC pre-defines # the same defines as GCC's). for i in \ + "defined __GNUC__ && __GNUC__ == 6 && __GNUC_MINOR__ == 0 && !defined __ICC && \ + (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \ + || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw60" \ + "defined __GNUC__ && __GNUC__ == 6 && __GNUC_MINOR__ == 0 && !defined __ICC @ gcc60" \ + "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 3 && !defined __ICC && \ + (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \ + || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw53" \ + "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 3 && !defined __ICC @ gcc53" \ "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 2 && !defined __ICC && \ (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \ || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw52" \ @@ -18206,10 +18285,9 @@ $as_echo "#define HAVE_IPV6 1" >>confdefs.h - LIBS="-lposix4 -lresolv -lnsl -lsocket -lpthread -lrt $LIBS" + LIBS="-lposix4 -lpthread -lrt $LIBS" CXXFLAGS="-D_REENTRANT $CXXFLAGS" ;; - solaris2.8 | solaris2.9 ) $as_echo "#define NEED_POSIX_TYPEDEF /**/" >>confdefs.h @@ -18220,7 +18298,7 @@ $as_echo "#define HAVE_IPV6 1" >>confdefs.h - LIBS="-lposix4 -lresolv -lnsl -lsocket -lpthread $LIBS" + LIBS="-lposix4 -lpthread $LIBS" CXXFLAGS="-D_REENTRANT $CXXFLAGS" ;; solaris2.6 | solaris2.7) @@ -18230,7 +18308,7 @@ $as_echo "#define NEED_INET_NTOP_PROTO /**/" >>confdefs.h - LIBS="-lposix4 -lresolv -lnsl -lsocket -lpthread $LIBS" + LIBS="-lposix4 -lpthread $LIBS" CXXFLAGS="-D_REENTRANT $CXXFLAGS" ;; linux*) @@ -20575,17 +20653,6 @@ if test ${a} = "gpgsql"; then LIBS="$LIBS $LIBCRYPT" - - case "$host_os" in - freebsd*) - ;; - darwin*) - modulelibs="$modulelibs -lresolv" - ;; - *) - modulelibs="$modulelibs -lresolv -lnsl" - ;; - esac fi done @@ -21192,7 +21259,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by pdns $as_me 3.4.7, which was +This file was extended by pdns $as_me 3.4.8, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -21258,7 +21325,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -pdns config.status 3.4.7 +pdns config.status 3.4.8 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-3.4.7/configure.ac new/pdns-3.4.8/configure.ac --- old/pdns-3.4.7/configure.ac 2015-11-03 15:36:48.000000000 +0100 +++ new/pdns-3.4.8/configure.ac 2016-02-03 08:45:22.000000000 +0100 @@ -1,7 +1,7 @@ AC_PREREQ([2.61]) dnl The following lines may be patched by set-version-auth. -AC_INIT([pdns], [3.4.7]) +AC_INIT([pdns], [3.4.8]) AC_SUBST([DIST_HOST], [[email protected]]) dnl End patch area. @@ -41,13 +41,9 @@ AC_LD_RELRO ]) -AC_CHECK_FUNC([socket], [], [ - AC_CHECK_LIB([socket], [socket], [LIBS="-lsocket $LIBS"]) -]) - -AC_CHECK_FUNC([gethostent], [], [ - AC_CHECK_LIB([nsl], [gethostent], [LIBS="-lnsl $LIBS"]) -]) +AC_SEARCH_LIBS([socket], [socket]) +AC_SEARCH_LIBS([gethostent], [nsl]) +AC_SEARCH_LIBS([inet_aton], [resolv]) m4_ifndef([LT_INIT],[ AC_PROG_LIBTOOL([disable-static]) @@ -164,21 +160,20 @@ case "$host_os" in solaris2.10) AC_DEFINE(HAVE_IPV6,1,[If the host operating system understands IPv6]) - LIBS="-lposix4 -lresolv -lnsl -lsocket -lpthread -lrt $LIBS" + LIBS="-lposix4 -lpthread -lrt $LIBS" CXXFLAGS="-D_REENTRANT $CXXFLAGS" ;; - solaris2.8 | solaris2.9 ) AC_DEFINE(NEED_POSIX_TYPEDEF,,[If POSIX typedefs need to be defined]) AC_DEFINE(NEED_INET_NTOP_PROTO,,[If your OS is so broken that it needs an additional prototype]) AC_DEFINE(HAVE_IPV6,1,[If the host operating system understands IPv6]) - LIBS="-lposix4 -lresolv -lnsl -lsocket -lpthread $LIBS" + LIBS="-lposix4 -lpthread $LIBS" CXXFLAGS="-D_REENTRANT $CXXFLAGS" ;; solaris2.6 | solaris2.7) AC_DEFINE(NEED_POSIX_TYPEDEF,,[If POSIX typedefs need to be defined]) AC_DEFINE(NEED_INET_NTOP_PROTO,,[If your OS is so broken that it needs an additional prototype]) - LIBS="-lposix4 -lresolv -lnsl -lsocket -lpthread $LIBS" + LIBS="-lposix4 -lpthread $LIBS" CXXFLAGS="-D_REENTRANT $CXXFLAGS" ;; linux*) @@ -332,17 +327,6 @@ if test ${a} = "gpgsql"; then LIBS="$LIBS $LIBCRYPT" - - case "$host_os" in - freebsd*) - ;; - darwin*) - modulelibs="$modulelibs -lresolv" - ;; - *) - modulelibs="$modulelibs -lresolv -lnsl" - ;; - esac fi done diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-3.4.7/debian-pdns/changelog new/pdns-3.4.8/debian-pdns/changelog --- old/pdns-3.4.7/debian-pdns/changelog 2015-11-03 15:36:48.000000000 +0100 +++ new/pdns-3.4.8/debian-pdns/changelog 2016-02-03 08:45:22.000000000 +0100 @@ -1,4 +1,4 @@ -pdns (3.4.7-1) unstable; urgency=medium +pdns (3.4.8-1) unstable; urgency=medium * fill in the blanks diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-3.4.7/m4/boost.m4 new/pdns-3.4.8/m4/boost.m4 --- old/pdns-3.4.7/m4/boost.m4 2015-08-24 17:50:02.000000000 +0200 +++ new/pdns-3.4.8/m4/boost.m4 2016-02-02 21:31:19.000000000 +0100 @@ -1296,6 +1296,10 @@ # I'm not sure about my test for `il' (be careful: Intel's ICC pre-defines # the same defines as GCC's). for i in \ + _BOOST_mingw_test(6, 0) \ + _BOOST_gcc_test(6, 0) \ + _BOOST_mingw_test(5, 3) \ + _BOOST_gcc_test(5, 3) \ _BOOST_mingw_test(5, 2) \ _BOOST_gcc_test(5, 2) \ _BOOST_mingw_test(5, 1) \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-3.4.7/modules/bindbackend/bindbackend2.cc new/pdns-3.4.8/modules/bindbackend/bindbackend2.cc --- old/pdns-3.4.7/modules/bindbackend/bindbackend2.cc 2015-08-24 11:11:59.000000000 +0200 +++ new/pdns-3.4.8/modules/bindbackend/bindbackend2.cc 2015-12-11 14:31:17.000000000 +0100 @@ -276,6 +276,7 @@ *d_of<<qname<<"\t"<<r.ttl<<"\t"<<r.qtype.getName()<<"\t"<<r.priority<<"\t"<<content<<endl; break; case QType::CNAME: + case QType::DNAME: case QType::NS: if(!stripDomainSuffix(&content, domain)) content=stripDot(content)+"."; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-3.4.7/modules/luabackend/lua_functions.cc new/pdns-3.4.8/modules/luabackend/lua_functions.cc --- old/pdns-3.4.7/modules/luabackend/lua_functions.cc 2015-04-30 10:10:44.000000000 +0200 +++ new/pdns-3.4.8/modules/luabackend/lua_functions.cc 2015-11-05 09:24:34.000000000 +0100 @@ -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()); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-3.4.7/modules/luabackend/luabackend.hh new/pdns-3.4.8/modules/luabackend/luabackend.hh --- old/pdns-3.4.7/modules/luabackend/luabackend.hh 2015-06-09 14:28:58.000000000 +0200 +++ new/pdns-3.4.8/modules/luabackend/luabackend.hh 2015-11-05 09:24:34.000000000 +0100 @@ -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); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-3.4.7/pdns/dnsrecords.cc new/pdns-3.4.8/pdns/dnsrecords.cc --- old/pdns-3.4.7/pdns/dnsrecords.cc 2015-11-02 13:32:28.000000000 +0100 +++ new/pdns-3.4.8/pdns/dnsrecords.cc 2015-12-11 14:31:17.000000000 +0100 @@ -26,7 +26,7 @@ void DNSResourceRecord::setContent(const string &cont) { content = cont; - if(!content.empty() && (qtype==QType::MX || qtype==QType::NS || qtype==QType::CNAME)) + if(!content.empty() && (qtype==QType::MX || qtype==QType::NS || qtype==QType::CNAME || qtype==QType::DNAME)) boost::erase_tail(content, 1); if(qtype.getCode() == QType::MX) { @@ -58,6 +58,7 @@ if (*(content.rbegin()) != '.') ret<<"."; break; case QType::CNAME: + case QType::DNAME: case QType::NS: ret<<content; if (*(content.rbegin()) != '.') ret<<"."; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-3.4.7/pdns/docs/dnstcpbench.1 new/pdns-3.4.8/pdns/docs/dnstcpbench.1 --- old/pdns-3.4.7/pdns/docs/dnstcpbench.1 2015-11-03 15:37:39.000000000 +0100 +++ new/pdns-3.4.8/pdns/docs/dnstcpbench.1 2016-02-03 08:46:28.000000000 +0100 @@ -2,12 +2,12 @@ .\" Title: dnstcpbench .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> -.\" Date: 11/03/2015 +.\" Date: 02/03/2016 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" -.TH "DNSTCPBENCH" "1" "11/03/2015" "\ \&" "\ \&" +.TH "DNSTCPBENCH" "1" "02/03/2016" "\ \&" "\ \&" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-3.4.7/pdns/pdnssec.cc new/pdns-3.4.8/pdns/pdnssec.cc --- old/pdns-3.4.7/pdns/pdnssec.cc 2015-11-02 14:05:07.000000000 +0100 +++ new/pdns-3.4.8/pdns/pdnssec.cc 2016-02-02 21:31:19.000000000 +0100 @@ -446,7 +446,7 @@ ostringstream content; pair<map<string, unsigned int>::iterator,bool> ret; - sd.db->list(zone, sd.domain_id, true); + sd.db->list(zone, sd.domain_id, g_verbose); while(sd.db->get(rr)) { if(!rr.qtype.getCode()) @@ -607,7 +607,7 @@ numerrors++; } - if ( (rr.qtype.getCode() == QType::NS || rr.qtype.getCode() == QType::SRV || rr.qtype.getCode() == QType::MX || rr.qtype.getCode() == QType::CNAME) && + if ( (rr.qtype.getCode() == QType::NS || rr.qtype.getCode() == QType::SRV || rr.qtype.getCode() == QType::MX || rr.qtype.getCode() == QType::CNAME || rr.qtype.getCode() == QType::DNAME) && rr.content[rr.content.size()-1] == '.') { cout<<"[Warning] The record "<<rr.qname<<" with type "<<rr.qtype.getName()<<" has a trailing dot in the content ("<<rr.content<<"). Your backend might not work well with this."<<endl; numwarnings++; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-3.4.7/pdns/resolver.cc new/pdns-3.4.8/pdns/resolver.cc --- old/pdns-3.4.7/pdns/resolver.cc 2015-06-09 14:29:12.000000000 +0200 +++ new/pdns-3.4.8/pdns/resolver.cc 2015-12-11 14:31:17.000000000 +0100 @@ -203,7 +203,7 @@ uint16_t qtype=rr.qtype.getCode(); - if(!rr.content.empty() && (qtype==QType::MX || qtype==QType::NS || qtype==QType::CNAME)) + if(!rr.content.empty() && (qtype==QType::MX || qtype==QType::NS || qtype==QType::CNAME || qtype==QType::DNAME)) boost::erase_tail(rr.content, 1); if(rr.qtype.getCode() == QType::MX) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-3.4.7/pdns/rfc2136handler.cc new/pdns-3.4.8/pdns/rfc2136handler.cc --- old/pdns-3.4.7/pdns/rfc2136handler.cc 2015-11-02 14:05:07.000000000 +0100 +++ new/pdns-3.4.8/pdns/rfc2136handler.cc 2016-02-02 21:31:19.000000000 +0100 @@ -791,7 +791,7 @@ return RCode::FormErr; if (rr->d_class == QClass::IN) { - rrSetKey_t key = make_pair(stripDot(rr->d_label), rr->d_type); + rrSetKey_t key = make_pair(stripDot(rr->d_label), QType(rr->d_type)); rrVector_t *vec = &preReqRRsets[key]; vec->push_back(DNSResourceRecord(*rr)); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-3.4.7/pdns/version.cc new/pdns-3.4.8/pdns/version.cc --- old/pdns-3.4.7/pdns/version.cc 2015-06-09 14:29:13.000000000 +0200 +++ new/pdns-3.4.8/pdns/version.cc 2016-02-02 21:31:19.000000000 +0100 @@ -29,9 +29,9 @@ string compilerVersion() { #if defined(__clang__) - return string("clang "__clang_version__); + return string("clang " __clang_version__); #elif defined(__GNUC__) - return string("gcc "__VERSION__); + return string("gcc " __VERSION__); #else // add other compilers here return string("Unknown compiler"); #endif @@ -61,10 +61,10 @@ void showProductVersion() { - theL()<<Logger::Warning<<productName()<<" "<<PDNS_VERSION<<" ("DIST_HOST") " + theL()<<Logger::Warning<<productName()<<" "<<PDNS_VERSION<< " (" DIST_HOST") " "(C) 2001-2015 PowerDNS.COM BV" << endl; theL()<<Logger::Warning<<"Using "<<(sizeof(unsigned long)*8)<<"-bits mode. " - "Built on "BUILD_DATE" by "BUILD_HOST", "<<compilerVersion()<<"."<<endl; + "Built on " BUILD_DATE" by " BUILD_HOST", "<<compilerVersion()<<"."<<endl; theL()<<Logger::Warning<<"PowerDNS comes with ABSOLUTELY NO WARRANTY. " "This is free software, and you are welcome to redistribute it " "according to the terms of the GPL version 2." << endl; @@ -104,7 +104,7 @@ string fullVersionString() { ostringstream s; - s<<productName()<<" "PDNS_VERSION" ("DIST_HOST" built "BUILD_DATE" "BUILD_HOST")"; + s<<productName()<<" " PDNS_VERSION" (" DIST_HOST" built " BUILD_DATE" " BUILD_HOST")"; return s.str(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-3.4.7/pdns/webserver.cc new/pdns-3.4.8/pdns/webserver.cc --- old/pdns-3.4.7/pdns/webserver.cc 2015-06-09 14:29:13.000000000 +0200 +++ new/pdns-3.4.8/pdns/webserver.cc 2016-02-02 21:31:19.000000000 +0100 @@ -270,7 +270,7 @@ } // always set these headers - resp.headers["Server"] = "PowerDNS/"VERSION; + resp.headers["Server"] = "PowerDNS/" VERSION; resp.headers["Connection"] = "close"; if (req.method == "HEAD") { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-3.4.7/pdns/zoneparser-tng.cc new/pdns-3.4.8/pdns/zoneparser-tng.cc --- old/pdns-3.4.7/pdns/zoneparser-tng.cc 2015-06-09 14:29:14.000000000 +0200 +++ new/pdns-3.4.8/pdns/zoneparser-tng.cc 2016-02-02 15:41:29.000000000 +0100 @@ -428,6 +428,8 @@ case QType::SOA: stringtok(recparts, rr.content); + if(recparts.size() > 7) + throw PDNSException("SOA record contents for "+rr.qname+" contains too many parts"); if(recparts.size() > 1) { recparts[0]=toCanonic(d_zonename, recparts[0]); recparts[1]=toCanonic(d_zonename, recparts[1]); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-3.4.7/pdns.spec new/pdns-3.4.8/pdns.spec --- old/pdns-3.4.7/pdns.spec 2015-11-03 15:36:48.000000000 +0100 +++ new/pdns-3.4.8/pdns.spec 2016-02-03 08:45:22.000000000 +0100 @@ -1,6 +1,6 @@ BuildRoot: /tmp/pdns Name: pdns-static -Version: 3.4.7 +Version: 3.4.8 Release: 1 Summary: extremely powerful and versatile nameserver License: GPL
