From: Armin Kuster <akus...@mvista.com> New License (mpl-2.0) and LICESE file.
New features in bind 9.11 see: https://www.isc.org/wp-content/uploads/2016/09/BIND9.11NewFeatures.pdf add zlib PACKAGECONF Signed-off-by: Armin Kuster <akus...@mvista.com> --- meta/recipes-connectivity/bind/bind/dont-test-on-host.patch | 13 ++++++++----- .../bind/{bind_9.10.6.bb => bind_9.11.2.bb} | 10 +++++----- 2 files changed, 13 insertions(+), 10 deletions(-) rename meta/recipes-connectivity/bind/{bind_9.10.6.bb => bind_9.11.2.bb} (92%) diff --git a/meta/recipes-connectivity/bind/bind/dont-test-on-host.patch b/meta/recipes-connectivity/bind/bind/dont-test-on-host.patch index b02ecb1..7fbd1f5 100644 --- a/meta/recipes-connectivity/bind/bind/dont-test-on-host.patch +++ b/meta/recipes-connectivity/bind/bind/dont-test-on-host.patch @@ -2,16 +2,19 @@ Upstream-Status: Pending Signed-off-by: Saul Wold <s...@linux.intel.com> -Index: bind-9.9.5/bin/Makefile.in +refactored for 9.11 +Signed-off-by: Armin Kuster <akus...@mvista.com> + +Index: bind-9.11.2/bin/Makefile.in =================================================================== ---- bind-9.9.5.orig/bin/Makefile.in -+++ bind-9.9.5/bin/Makefile.in -@@ -19,7 +19,7 @@ srcdir = @srcdir@ +--- bind-9.11.2.orig/bin/Makefile.in ++++ bind-9.11.2/bin/Makefile.in +@@ -10,7 +10,7 @@ srcdir = @srcdir@ VPATH = @srcdir@ top_srcdir = @top_srcdir@ -SUBDIRS = named rndc dig delv dnssec tools tests nsupdate \ +SUBDIRS = named rndc dig delv dnssec tools nsupdate \ - check confgen @PYTHON_TOOLS@ @PKCS11_TOOLS@ + check confgen @NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@ TARGETS = diff --git a/meta/recipes-connectivity/bind/bind_9.10.6.bb b/meta/recipes-connectivity/bind/bind_9.11.2.bb similarity index 92% rename from meta/recipes-connectivity/bind/bind_9.10.6.bb rename to meta/recipes-connectivity/bind/bind_9.11.2.bb index 8b8835b..0bbc4df 100644 --- a/meta/recipes-connectivity/bind/bind_9.10.6.bb +++ b/meta/recipes-connectivity/bind/bind_9.11.2.bb @@ -2,8 +2,8 @@ SUMMARY = "ISC Internet Domain Name Server" HOMEPAGE = "http://www.isc.org/sw/bind/" SECTION = "console/network" -LICENSE = "ISC & BSD" -LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=dba46507446198119bcde32a4feaab43" +LICENSE = "ISC & MPL-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=f27a50d2e878867827842f2c60e30bfc" DEPENDS = "openssl libcap" @@ -23,8 +23,8 @@ SRC_URI = "https://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.gz \ file://use-python3-and-fix-install-lib-path.patch \ " -SRC_URI[md5sum] = "84e663284b17aee0df1ce6f248b137d7" -SRC_URI[sha256sum] = "17bbcd2bd7b1d32f5ba4b30d5dbe8a39bce200079048073d1e0d050fdf47e69d" +SRC_URI[md5sum] = "efca7e5a63a07efba264da9be2fbb57f" +SRC_URI[sha256sum] = "7f46ad8620f7c3b0ac375d7a5211b15677708fda84ce25d7aeb7222fe2e3c77a" UPSTREAM_CHECK_URI = "https://ftp.isc.org/isc/bind9/" UPSTREAM_CHECK_REGEX = "(?P<pver>9(\.\d+)+(-P\d+)*)/" @@ -48,6 +48,7 @@ PACKAGECONFIG[httpstats] = "--with-libxml2,--without-libxml2,libxml2" PACKAGECONFIG[readline] = "--with-readline=-lreadline,,readline" PACKAGECONFIG[libedit] = "--with-readline=-ledit,,libedit" PACKAGECONFIG[urandom] = "--with-randomdev=/dev/urandom,--with-randomdev=/dev/random,," +PACKAGECONFIG[zlib] = "--with-zlib=${STAGING_LIBDIR}/.., --without-zlib, zlib, zlib" USERADD_PACKAGES = "${PN}" USERADD_PARAM_${PN} = "--system --home ${localstatedir}/cache/bind --no-create-home \ @@ -88,7 +89,6 @@ do_install_append() { install -d "${D}${sysconfdir}/init.d" install -m 644 ${S}/conf/* "${D}${sysconfdir}/bind/" install -m 755 "${S}/init.d" "${D}${sysconfdir}/init.d/bind" - sed -i -e '1s,#!.*python3,#! /usr/bin/python3,' ${D}${sbindir}/dnssec-coverage ${D}${sbindir}/dnssec-checkds # Install systemd related files install -d ${D}${sbindir} -- 2.7.4 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core