Skip to content

Commit

Permalink
Upgrade Unbound to 1.6.2. More to follow.
Browse files Browse the repository at this point in the history
  • Loading branch information
dag-erling committed May 12, 2018
2 parents 3005e0a + 6cacf54 commit 65b390a
Show file tree
Hide file tree
Showing 97 changed files with 8,137 additions and 764 deletions.
513 changes: 311 additions & 202 deletions contrib/unbound/Makefile.in

Large diffs are not rendered by default.

17 changes: 14 additions & 3 deletions contrib/unbound/ac_pkg_swig.m4
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,20 @@ AC_DEFUN([AC_PROG_SWIG],[
if test -z "$available_patch" ; then
[available_patch=0]
fi
if test $available_major -ne $required_major \
-o $available_minor -ne $required_minor \
-o $available_patch -lt $required_patch ; then
[badversion=0]
if test $available_major -lt $required_major ; then
[badversion=1]
fi
if test $available_major -eq $required_major \
-a $available_minor -lt $required_minor ; then
[badversion=1]
fi
if test $available_major -eq $required_major \
-a $available_minor -eq $required_minor \
-a $available_patch -lt $required_patch ; then
[badversion=1]
fi
if test $badversion -eq 1 ; then
AC_MSG_WARN([SWIG version >= $1 is required. You have $swig_version. You should look at http://www.swig.org])
SWIG='echo "Error: SWIG version >= $1 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
else
Expand Down
3 changes: 1 addition & 2 deletions contrib/unbound/acx_python.m4
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ AC_DEFUN([AC_PYTHON_DEVEL],[
# Check if you have distutils, else fail
#
AC_MSG_CHECKING([for the distutils Python package])
ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`
if test -z "$ac_distutils_result"; then
if ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
Expand Down
24 changes: 21 additions & 3 deletions contrib/unbound/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
/* Directory to chroot to */
#define CHROOT_DIR "/var/unbound"

/* Define this to enable client subnet option. */
/* #undef CLIENT_SUBNET */

/* Do sha512 definitions in config.h */
/* #undef COMPAT_SHA512 */

Expand Down Expand Up @@ -386,6 +389,9 @@
/* Define to 1 if you have the `SHA512_Update' function. */
/* #undef HAVE_SHA512_UPDATE */

/* Define to 1 if you have the `shmget' function. */
#define HAVE_SHMGET 1

/* Define to 1 if you have the `sigprocmask' function. */
#define HAVE_SIGPROCMASK 1

Expand Down Expand Up @@ -458,6 +464,9 @@
/* Define to 1 if systemd should be used */
/* #undef HAVE_SYSTEMD */

/* Define to 1 if you have the <sys/ipc.h> header file. */
#define HAVE_SYS_IPC_H 1

/* Define to 1 if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_H 1

Expand All @@ -467,6 +476,9 @@
/* Define to 1 if you have the <sys/sha2.h> header file. */
/* #undef HAVE_SYS_SHA2_H */

/* Define to 1 if you have the <sys/shm.h> header file. */
#define HAVE_SYS_SHM_H 1

/* Define to 1 if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1

Expand Down Expand Up @@ -583,7 +595,7 @@
#define PACKAGE_NAME "unbound"

/* Define to the full name and version of this package. */
#define PACKAGE_STRING "unbound 1.6.1"
#define PACKAGE_STRING "unbound 1.6.2"

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "unbound"
Expand All @@ -592,7 +604,7 @@
#define PACKAGE_URL ""

/* Define to the version of this package. */
#define PACKAGE_VERSION "1.6.1"
#define PACKAGE_VERSION "1.6.2"

/* default pidfile location */
#define PIDFILE "/var/unbound/unbound.pid"
Expand All @@ -611,7 +623,7 @@
#define ROOT_CERT_FILE "/var/unbound/icannbundle.pem"

/* version number for resource files */
#define RSRC_PACKAGE_VERSION 1,6,1,0
#define RSRC_PACKAGE_VERSION 1,6,2,0

/* Directory to chdir to */
#define RUN_DIR "/var/unbound"
Expand Down Expand Up @@ -652,6 +664,9 @@
/* Define to 1 to use cachedb support */
/* #undef USE_CACHEDB */

/* Define to 1 to enable dnscrypt support */
/* #undef USE_DNSCRYPT */

/* Define to 1 to enable dnstap support */
/* #undef USE_DNSTAP */

Expand All @@ -676,6 +691,9 @@
/* Define this to enable client TCP Fast Open. */
/* #undef USE_OSX_MSG_FASTOPEN */

/* Define this to enable SHA1 support. */
#define USE_SHA1 1

/* Define this to enable SHA256 and SHA512 support. */
#define USE_SHA2 1

Expand Down
18 changes: 18 additions & 0 deletions contrib/unbound/config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
/* Directory to chroot to */
#undef CHROOT_DIR

/* Define this to enable client subnet option. */
#undef CLIENT_SUBNET

/* Do sha512 definitions in config.h */
#undef COMPAT_SHA512

Expand Down Expand Up @@ -385,6 +388,9 @@
/* Define to 1 if you have the `SHA512_Update' function. */
#undef HAVE_SHA512_UPDATE

/* Define to 1 if you have the `shmget' function. */
#undef HAVE_SHMGET

/* Define to 1 if you have the `sigprocmask' function. */
#undef HAVE_SIGPROCMASK

Expand Down Expand Up @@ -457,6 +463,9 @@
/* Define to 1 if systemd should be used */
#undef HAVE_SYSTEMD

/* Define to 1 if you have the <sys/ipc.h> header file. */
#undef HAVE_SYS_IPC_H

/* Define to 1 if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_H

Expand All @@ -466,6 +475,9 @@
/* Define to 1 if you have the <sys/sha2.h> header file. */
#undef HAVE_SYS_SHA2_H

/* Define to 1 if you have the <sys/shm.h> header file. */
#undef HAVE_SYS_SHM_H

/* Define to 1 if you have the <sys/socket.h> header file. */
#undef HAVE_SYS_SOCKET_H

Expand Down Expand Up @@ -651,6 +663,9 @@
/* Define to 1 to use cachedb support */
#undef USE_CACHEDB

/* Define to 1 to enable dnscrypt support */
#undef USE_DNSCRYPT

/* Define to 1 to enable dnstap support */
#undef USE_DNSTAP

Expand All @@ -675,6 +690,9 @@
/* Define this to enable client TCP Fast Open. */
#undef USE_OSX_MSG_FASTOPEN

/* Define this to enable SHA1 support. */
#undef USE_SHA1

/* Define this to enable SHA256 and SHA512 support. */
#undef USE_SHA2

Expand Down
Loading

0 comments on commit 65b390a

Please sign in to comment.