bind: update to 9.12.3-P1 and other
authorDeng Qingfang <dengqf6@mail2.sysu.edu.cn>
Wed, 23 Jan 2019 16:21:10 +0000 (00:21 +0800)
committerNoah Meyerhans <frodo@morgul.net>
Sun, 3 Feb 2019 20:25:52 +0000 (12:25 -0800)
Refresh patches
Remove --enable-static and --enable-dynamic because they're enabled by default
Enable parallel compilation
Fix compile without IPv6

Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
net/bind/Makefile
net/bind/patches/001-no-tests.patch
net/bind/patches/002-autoconf-ar-fix.patch

index 52f203dc01c0832750b53d3de88303e88d801481..81585a0c4b64a75d18749d92187aadf3e736d4cf 100644 (file)
@@ -9,7 +9,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=bind
-PKG_VERSION:=9.11.5-P1
+PKG_VERSION:=9.12.3-P1
 PKG_RELEASE:=1
 USERID:=bind=57:bind=57
 
@@ -20,13 +20,14 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:= \
        https://www.mirrorservice.org/sites/ftp.isc.org/isc/bind9/$(PKG_VERSION) \
        https://ftp.isc.org/isc/bind9/$(PKG_VERSION)
-PKG_HASH:=6cd6dbf016569f12d4a0ed629e44e895d9ed41c6908274ed2e617666c5491928
+PKG_HASH:=6cb79389d787368af27f01c65a9fa09be1fd062eda37c94819a1a0178d5ded73
 
 PKG_FIXUP:=autoreconf
 PKG_REMOVE_FILES:=aclocal.m4 libtool.m4
 
 PKG_INSTALL:=1
 PKG_USE_MIPS16:=0
+PKG_BUILD_PARALLEL:=1
 
 PKG_CONFIG_DEPENDS := \
        CONFIG_BIND_ENABLE_FILTER_AAAA \
@@ -118,8 +119,7 @@ endef
 export BUILD_CC="$(TARGET_CC)"
 
 CONFIGURE_ARGS += \
-       --enable-shared \
-       --enable-static \
+       --enable-ipv6=$(if $(CONFIG_IPV6),yes,no) \
        --with-randomdev="/dev/urandom" \
        --disable-threads \
        --disable-linux-caps \
index 4a4fa44e81699ea0afdb2e2ecac6acf7bd385fe5..02049fd32e5c47a5679176f735e3be9711f294ea 100644 (file)
@@ -1,7 +1,5 @@
-Index: bind-9.11.5/bin/Makefile.in
-===================================================================
---- bind-9.11.5.orig/bin/Makefile.in
-+++ bind-9.11.5/bin/Makefile.in
+--- a/bin/Makefile.in
++++ b/bin/Makefile.in
 @@ -12,7 +12,7 @@ VPATH =              @srcdir@
  top_srcdir =  @top_srcdir@
  
index 9d47bf2052c546df4296756c82f696bf657f5fc2..1bf444c8d4bfe31fbcd5a1835a128d877b80f46d 100644 (file)
@@ -1,8 +1,6 @@
-Index: bind-9.11.5/configure.in
-===================================================================
---- bind-9.11.5.orig/configure.in
-+++ bind-9.11.5/configure.in
-@@ -181,26 +181,11 @@ esac
+--- a/configure.in
++++ b/configure.in
+@@ -182,26 +182,11 @@ esac
  #
  AC_CONFIG_FILES([make/rules make/includes])