isc-dhcp: Update to 4.4.3 18056/head
authorPhilip Prindeville <philipp@redfish-solutions.com>
Sun, 13 Mar 2022 21:14:21 +0000 (15:14 -0600)
committerPhilip Prindeville <philipp@redfish-solutions.com>
Tue, 15 Mar 2022 23:18:24 +0000 (17:18 -0600)
Note that on 32-bit ARM with MUSL we don't have Unwind_GetIP() so
we need to disable backtraces.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
net/isc-dhcp/Makefile
net/isc-dhcp/patches/000-compile.patch [deleted file]
net/isc-dhcp/patches/510-bind-CC.patch
net/isc-dhcp/patches/900-pass-in-bindconfig.patch [new file with mode: 0644]

index 101f581924a5032c62999d727603cf49dc90f0df..9f2b0555ed873717525e6d58ed8f7561ca04a407 100644 (file)
@@ -9,8 +9,8 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=isc-dhcp
 UPSTREAM_NAME:=dhcp
-PKG_VERSION:=4.4.1
-PKG_RELEASE:=20
+PKG_VERSION:=4.4.3
+PKG_RELEASE:=$(AUTORELEASE)
 
 PKG_LICENSE:=BSD-3-Clause
 PKG_LICENSE_FILES:=LICENSE
@@ -21,7 +21,7 @@ PKG_SOURCE:=$(UPSTREAM_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=ftp://ftp.isc.org/isc/dhcp/$(PKG_VERSION) \
                http://ftp.funet.fi/pub/mirrors/ftp.isc.org/isc/dhcp/$(PKG_VERSION) \
                http://ftp.iij.ad.jp/pub/network/isc/dhcp/$(PKG_VERSION)
-PKG_HASH:=2a22508922ab367b4af4664a0472dc220cc9603482cf3c16d9aff14f3a76b608
+PKG_HASH:=0e3ec6b4c2a05ec0148874bcd999a66d05518378d77421f607fb0bc9d0135818
 
 PKG_FIXUP:=autoreconf
 PKG_BUILD_PARALLEL:=1
@@ -193,8 +193,9 @@ endef
 CONFIGURE_ARGS += \
        --enable-paranoia               \
        --disable-dependency-tracking   \
-       --with-randomdev=/dev/urandom \
-       ac_cv_path_AR=$(TARGET_AR) \
+       --with-randomdev=/dev/urandom   \
+       --disable-backtrace             \
+       ac_cv_path_AR=$(TARGET_AR)      \
        ac_cv_file__dev_random=yes
 
 ifeq ($(BUILD_VARIANT),ipv4)
diff --git a/net/isc-dhcp/patches/000-compile.patch b/net/isc-dhcp/patches/000-compile.patch
deleted file mode 100644 (file)
index 664cc63..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
---- a/bind/Makefile.in
-+++ b/bind/Makefile.in
-@@ -116,5 +116,6 @@ uninstall-bind: all
- # Include the following so that this Makefile is happy when the parent
- # tries to use them.
-+install-exec:
- check distdir distclean dvi installcheck:
index a2acec3d5f3539104269d5cf47a08bd04710860f..dcee7593c44fe0792928a067dcbce0c1a58a4453 100644 (file)
@@ -13,4 +13,4 @@
 +                --without-randomdev > ${binddir}/configure.log);       \
        fi
  
- atf:
+ atf: bind1
diff --git a/net/isc-dhcp/patches/900-pass-in-bindconfig.patch b/net/isc-dhcp/patches/900-pass-in-bindconfig.patch
new file mode 100644 (file)
index 0000000..7568378
--- /dev/null
@@ -0,0 +1,16 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -660,6 +660,13 @@ else
+       BINDCONFIG="$BINDCONFIG --with-randomdev=$use_randomdev"
+ fi
++AC_ARG_ENABLE(backtrace,
++      AS_HELP_STRING([--enable-backtrace], [use libunwind backtracing (default is yes)]),
++      want_backtrace="$enableval", want_backtrace="yes")
++if test "$want_backtrace" = "no"; then
++      BINDCONFIG="$BINDCONFIG --disable-backtrace"
++fi
++
+ BINDIOMUX="--disable-kqueue --disable-epoll --disable-devpoll"
+ # check kqueue/epoll/devpoll alternative to select
+ AC_ARG_ENABLE(kqueue,