bind: update to 9.11.9
Fixes CVEs: CVE-2018-5738 CVE-2018-5740 CVE-2018-5743 CVE-2018-5744 CVE-2018-5745 CVE-2019-6465 CVE-2019-6471 Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn> Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com> [mention fixed CVEs;patches: refreshed and removed those which are in upstream now]
This commit is contained in:
parent
01466e76e9
commit
23eeeeadc8
3 changed files with 14 additions and 57 deletions
|
@ -9,7 +9,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=bind
|
PKG_NAME:=bind
|
||||||
PKG_VERSION:=9.11.2-P1
|
PKG_VERSION:=9.11.9
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
USERID:=bind=57:bind=57
|
USERID:=bind=57:bind=57
|
||||||
|
|
||||||
|
@ -18,9 +18,9 @@ PKG_LICENSE := BSD-3-Clause
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:= \
|
PKG_SOURCE_URL:= \
|
||||||
http://www.mirrorservice.org/sites/ftp.isc.org/isc/bind9/$(PKG_VERSION) \
|
https://www.mirrorservice.org/sites/ftp.isc.org/isc/bind9/$(PKG_VERSION) \
|
||||||
http://ftp.isc.org/isc/bind9/$(PKG_VERSION)
|
https://ftp.isc.org/isc/bind9/$(PKG_VERSION)
|
||||||
PKG_HASH:=cec31548832fca3f85d95178d4019b7d702039e8595d4c93914feba337df1212
|
PKG_HASH:=963bf048354795b85b8f3dbe3ff5ba524d3f5b14b86a4cc733fcf971b43ac50e
|
||||||
|
|
||||||
PKG_FIXUP:=autoreconf
|
PKG_FIXUP:=autoreconf
|
||||||
PKG_REMOVE_FILES:=aclocal.m4 libtool.m4
|
PKG_REMOVE_FILES:=aclocal.m4 libtool.m4
|
||||||
|
@ -116,6 +116,7 @@ CONFIGURE_ARGS += \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
--with-randomdev="/dev/urandom" \
|
--with-randomdev="/dev/urandom" \
|
||||||
|
--disable-atomic \
|
||||||
--disable-threads \
|
--disable-threads \
|
||||||
--disable-linux-caps \
|
--disable-linux-caps \
|
||||||
--with-openssl="$(STAGING_DIR)/usr" \
|
--with-openssl="$(STAGING_DIR)/usr" \
|
||||||
|
@ -125,6 +126,8 @@ CONFIGURE_ARGS += \
|
||||||
--with-gost=no \
|
--with-gost=no \
|
||||||
--with-gssapi=no \
|
--with-gssapi=no \
|
||||||
--with-ecdsa=$(if $(CONFIG_OPENSSL_WITH_EC),yes,no) \
|
--with-ecdsa=$(if $(CONFIG_OPENSSL_WITH_EC),yes,no) \
|
||||||
|
--without-eddsa \
|
||||||
|
--without-python \
|
||||||
--with-readline=no \
|
--with-readline=no \
|
||||||
--sysconfdir=/etc/bind
|
--sysconfdir=/etc/bind
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,11 @@
|
||||||
Index: bind-9.10.4-P3/bin/Makefile.in
|
--- a/bin/Makefile.in
|
||||||
===================================================================
|
+++ b/bin/Makefile.in
|
||||||
--- bind-9.10.4-P3.orig/bin/Makefile.in
|
@@ -12,7 +12,7 @@ VPATH = @srcdir@
|
||||||
+++ bind-9.10.4-P3/bin/Makefile.in
|
|
||||||
@@ -10,7 +10,7 @@ srcdir = @srcdir@
|
|
||||||
VPATH = @srcdir@
|
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
|
|
||||||
-SUBDIRS = named rndc dig delv dnssec tools tests nsupdate \
|
SUBDIRS = named rndc dig delv dnssec tools nsupdate check confgen \
|
||||||
+SUBDIRS = named rndc dig delv dnssec tools nsupdate \
|
- @NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@ tests
|
||||||
check confgen @NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@
|
+ @NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@
|
||||||
TARGETS =
|
|
||||||
|
|
||||||
Index: bind-9.10.4-P3/lib/Makefile.in
|
|
||||||
===================================================================
|
|
||||||
--- bind-9.10.4-P3.orig/lib/Makefile.in
|
|
||||||
+++ bind-9.10.4-P3/lib/Makefile.in
|
|
||||||
@@ -14,7 +14,7 @@ top_srcdir = @top_srcdir@
|
|
||||||
# Attempt to disable parallel processing.
|
|
||||||
.NOTPARALLEL:
|
|
||||||
.NO_PARALLEL:
|
|
||||||
-SUBDIRS = isc isccc dns isccfg bind9 lwres irs tests samples
|
|
||||||
+SUBDIRS = isc isccc dns isccfg bind9 lwres irs samples
|
|
||||||
TARGETS =
|
TARGETS =
|
||||||
|
|
||||||
@BIND9_MAKE_RULES@
|
@BIND9_MAKE_RULES@
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
Index: bind-9.10.4-P3/configure.in
|
|
||||||
===================================================================
|
|
||||||
--- bind-9.10.4-P3.orig/configure.in
|
|
||||||
+++ bind-9.10.4-P3/configure.in
|
|
||||||
@@ -157,26 +157,11 @@ esac
|
|
||||||
#
|
|
||||||
AC_CONFIG_FILES([make/rules make/includes])
|
|
||||||
|
|
||||||
-AC_PATH_PROG(AR, ar)
|
|
||||||
-ARFLAGS="cruv"
|
|
||||||
-AC_SUBST(AR)
|
|
||||||
-AC_SUBST(ARFLAGS)
|
|
||||||
-
|
|
||||||
# The POSIX ln(1) program. Non-POSIX systems may substitute
|
|
||||||
# "copy" or something.
|
|
||||||
LN=ln
|
|
||||||
AC_SUBST(LN)
|
|
||||||
|
|
||||||
-case "$AR" in
|
|
||||||
- "")
|
|
||||||
- AC_MSG_ERROR([
|
|
||||||
-ar program not found. Please fix your PATH to include the directory in
|
|
||||||
-which ar resides, or set AR in the environment with the full path to ar.
|
|
||||||
-])
|
|
||||||
-
|
|
||||||
- ;;
|
|
||||||
-esac
|
|
||||||
-
|
|
||||||
#
|
|
||||||
# Etags.
|
|
||||||
#
|
|
Loading…
Reference in a new issue