summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/bind/bind_9.9.5.bb
diff options
context:
space:
mode:
authorNoor <noor_ahsan@mentor.com>2015-01-07 18:51:18 +0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-08 09:24:50 +0000
commitcbb4f578009535322f0f81c1173e32567be5e6f3 (patch)
tree95220e1822a9eae67a4e0018fc3c7d9cf8bac6f8 /meta/recipes-connectivity/bind/bind_9.9.5.bb
parent33f823660b30d304156e2022029808a15eaa08bf (diff)
downloadpoky-cbb4f578009535322f0f81c1173e32567be5e6f3.tar.gz
bind: Update libxml2 check to make it deterministic.
* Firstly configure scritp was testing files from bin folder. In our case we don't copy bin folder to sysroot for target recipes. So added extra check to validate .pc file from lib folder via a patch to configure.in file. * Secondly linxml2 dependency was missing. So added PACKAGECONFIG for libxml2. (From OE-Core rev: b61a2acc321489c3427f0afa3059486dc144a13b) Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/bind/bind_9.9.5.bb')
-rw-r--r--meta/recipes-connectivity/bind/bind_9.9.5.bb9
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/bind/bind_9.9.5.bb b/meta/recipes-connectivity/bind/bind_9.9.5.bb
index 8e04f8a040..eacb23ffb8 100644
--- a/meta/recipes-connectivity/bind/bind_9.9.5.bb
+++ b/meta/recipes-connectivity/bind/bind_9.9.5.bb
@@ -18,6 +18,7 @@ SRC_URI = "ftp://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.gz \
18 file://bind9 \ 18 file://bind9 \
19 file://init.d-add-support-for-read-only-rootfs.patch \ 19 file://init.d-add-support-for-read-only-rootfs.patch \
20 file://bind9_9_5-CVE-2014-8500.patch \ 20 file://bind9_9_5-CVE-2014-8500.patch \
21 file://bind-add-crosscripts-search-path-for-xml2-config.patch \
21 " 22 "
22 23
23SRC_URI[md5sum] = "e676c65cad5234617ee22f48e328c24e" 24SRC_URI[md5sum] = "e676c65cad5234617ee22f48e328c24e"
@@ -29,10 +30,14 @@ EXTRA_OECONF = " ${ENABLE_IPV6} --with-randomdev=/dev/random --disable-threads \
29 --disable-devpoll --disable-epoll --with-gost=no \ 30 --disable-devpoll --disable-epoll --with-gost=no \
30 --with-gssapi=no --with-ecdsa=yes \ 31 --with-gssapi=no --with-ecdsa=yes \
31 --sysconfdir=${sysconfdir}/bind \ 32 --sysconfdir=${sysconfdir}/bind \
32 --with-openssl=${STAGING_LIBDIR}/.. --with-libxml2=${STAGING_LIBDIR}/.. \ 33 --with-openssl=${STAGING_LIBDIR}/.. \
33 --enable-exportlib --with-export-includedir=${includedir} --with-export-libdir=${libdir} \ 34 --enable-exportlib --with-export-includedir=${includedir} --with-export-libdir=${libdir} \
34 " 35 "
35inherit autotools-brokensep update-rc.d systemd useradd 36inherit autotools-brokensep update-rc.d systemd useradd pkgconfig
37
38PACKAGECONFIG ?= "libxml2"
39
40PACKAGECONFIG[libxml2] = "--with-libxml2=${STAGING_LIBDIR}/..,--with-libxml2=no,libxml2"
36 41
37USERADD_PACKAGES = "${PN}" 42USERADD_PACKAGES = "${PN}"
38USERADD_PARAM_${PN} = "--system --home /var/cache/bind --no-create-home \ 43USERADD_PARAM_${PN} = "--system --home /var/cache/bind --no-create-home \