diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-connectivity/bind/bind/0001-build-use-pkg-config-to-find-libxml2.patch | 20 | ||||
-rw-r--r-- | meta/recipes-connectivity/bind/bind_9.10.3-P2.bb (renamed from meta/recipes-connectivity/bind/bind_9.10.2-P4.bb) | 9 |
2 files changed, 20 insertions, 9 deletions
diff --git a/meta/recipes-connectivity/bind/bind/0001-build-use-pkg-config-to-find-libxml2.patch b/meta/recipes-connectivity/bind/bind/0001-build-use-pkg-config-to-find-libxml2.patch index cb5251d159..805cbb3315 100644 --- a/meta/recipes-connectivity/bind/bind/0001-build-use-pkg-config-to-find-libxml2.patch +++ b/meta/recipes-connectivity/bind/bind/0001-build-use-pkg-config-to-find-libxml2.patch | |||
@@ -4,15 +4,18 @@ libxml2. | |||
4 | Upstream-Status: Inappropriate | 4 | Upstream-Status: Inappropriate |
5 | Signed-off-by: Ross Burton <ross.burton@intel.com> | 5 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
6 | 6 | ||
7 | Update context for version 9.10.3-P2. | ||
8 | |||
9 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
7 | --- | 10 | --- |
8 | configure.in | 18 +++--------------- | 11 | configure.in | 23 +++-------------------- |
9 | 1 file changed, 3 insertions(+), 15 deletions(-) | 12 | 1 file changed, 3 insertions(+), 20 deletions(-) |
10 | 13 | ||
11 | diff --git a/configure.in b/configure.in | 14 | diff --git a/configure.in b/configure.in |
12 | index d566e1c..c9ef3a6 100644 | 15 | index 0db826d..75819eb 100644 |
13 | --- a/configure.in | 16 | --- a/configure.in |
14 | +++ b/configure.in | 17 | +++ b/configure.in |
15 | @@ -2102,21 +2102,9 @@ case "$use_libxml2" in | 18 | @@ -2107,26 +2107,9 @@ case "$use_libxml2" in |
16 | DST_LIBXML2_INC="" | 19 | DST_LIBXML2_INC="" |
17 | ;; | 20 | ;; |
18 | auto|yes) | 21 | auto|yes) |
@@ -22,8 +25,13 @@ index d566e1c..c9ef3a6 100644 | |||
22 | - libxml2_cflags=`xml2-config --cflags` | 25 | - libxml2_cflags=`xml2-config --cflags` |
23 | - ;; | 26 | - ;; |
24 | - *) | 27 | - *) |
25 | - libxml2_libs= | 28 | - if test "$use_libxml2" = "yes" ; then |
26 | - libxml2_cflags= | 29 | - AC_MSG_RESULT(no) |
30 | - AC_MSG_ERROR(required libxml2 version not available) | ||
31 | - else | ||
32 | - libxml2_libs= | ||
33 | - libxml2_cflags= | ||
34 | - fi | ||
27 | - ;; | 35 | - ;; |
28 | - esac | 36 | - esac |
29 | - ;; | 37 | - ;; |
diff --git a/meta/recipes-connectivity/bind/bind_9.10.2-P4.bb b/meta/recipes-connectivity/bind/bind_9.10.3-P2.bb index 1e1e7262fe..875a0c8f80 100644 --- a/meta/recipes-connectivity/bind/bind_9.10.2-P4.bb +++ b/meta/recipes-connectivity/bind/bind_9.10.3-P2.bb | |||
@@ -23,8 +23,8 @@ SRC_URI = "ftp://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.gz \ | |||
23 | file://0001-lib-dns-gen.c-fix-too-long-error.patch \ | 23 | file://0001-lib-dns-gen.c-fix-too-long-error.patch \ |
24 | " | 24 | " |
25 | 25 | ||
26 | SRC_URI[md5sum] = "8b1f5064837756c938eadc1537dec5c7" | 26 | SRC_URI[md5sum] = "672dd3c2796b12ac8440f55bcaecfa82" |
27 | SRC_URI[sha256sum] = "c00b21ec1def212957f28efe9d10aac52d6ec515e84fbf2c42143f5d71429cb8" | 27 | SRC_URI[sha256sum] = "4a6c1911ac0d4b6be635b63de3429b6c168ea244043f12bbc8a4eb3368fd6ecd" |
28 | 28 | ||
29 | ENABLE_IPV6 = "--enable-ipv6=${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)}" | 29 | ENABLE_IPV6 = "--enable-ipv6=${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)}" |
30 | EXTRA_OECONF = " ${ENABLE_IPV6} --with-randomdev=/dev/random --disable-threads \ | 30 | EXTRA_OECONF = " ${ENABLE_IPV6} --with-randomdev=/dev/random --disable-threads \ |
@@ -35,8 +35,11 @@ EXTRA_OECONF = " ${ENABLE_IPV6} --with-randomdev=/dev/random --disable-threads \ | |||
35 | " | 35 | " |
36 | inherit autotools update-rc.d systemd useradd pkgconfig | 36 | inherit autotools update-rc.d systemd useradd pkgconfig |
37 | 37 | ||
38 | PACKAGECONFIG ?= "" | 38 | # PACKAGECONFIGs readline and libedit should NOT be set at same time |
39 | PACKAGECONFIG ?= "readline" | ||
39 | PACKAGECONFIG[httpstats] = "--with-libxml2,--without-libxml2,libxml2" | 40 | PACKAGECONFIG[httpstats] = "--with-libxml2,--without-libxml2,libxml2" |
41 | PACKAGECONFIG[readline] = "--with-readline=-lreadline,,readline" | ||
42 | PACKAGECONFIG[libedit] = "--with-readline=-ledit,,libedit" | ||
40 | 43 | ||
41 | USERADD_PACKAGES = "${PN}" | 44 | USERADD_PACKAGES = "${PN}" |
42 | USERADD_PARAM_${PN} = "--system --home /var/cache/bind --no-create-home \ | 45 | USERADD_PARAM_${PN} = "--system --home /var/cache/bind --no-create-home \ |