summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/wget
diff options
context:
space:
mode:
authorDexuan Cui <dexuan.cui@intel.com>2011-12-19 13:10:20 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-22 13:13:45 +0000
commitbb6f2fbe7b59db3ddd3169a2c2c60dd61f8546f9 (patch)
tree9c346cc9380a2f358eaedc4e56e713b4d861cb7b /meta/recipes-extended/wget
parent7bde933974d8ebabd6b0e4bff851f3f3508ddab7 (diff)
downloadpoky-bb6f2fbe7b59db3ddd3169a2c2c60dd61f8546f9.tar.gz
wget: fix a host intrusion issue introduced by adding --with-ssl=openssl.
On my x86-64 Ubuntu 11.04, with MACHINE=qemux86, "bitbake wget" fails. The config.log shows: configure:30072: i586-poky-linux-gcc -m32 -march=i586 --sysroot=/distro/dcui/1212/p1/build/tmp/sysroots/qemux86 -o conftest -O2 -pipe -g -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -ldl -lz /usr/lib/libssl.so /usr/lib/libcrypto.so -lz >&5 /usr/lib/libssl.so: could not read symbols: File in wrong format The patch fixes the issue by specifying libssl-prefix. (From OE-Core rev: 5f9851f609f503aec098778ef59c27e5f5dd9579) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/wget')
-rw-r--r--meta/recipes-extended/wget/wget.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/wget/wget.inc b/meta/recipes-extended/wget/wget.inc
index 7083569959..25f36c80c4 100644
--- a/meta/recipes-extended/wget/wget.inc
+++ b/meta/recipes-extended/wget/wget.inc
@@ -4,11 +4,11 @@ LICENSE = "GPL"
4LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 4LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
5DEPENDS = "openssl" 5DEPENDS = "openssl"
6 6
7INC_PR = "r12" 7INC_PR = "r13"
8 8
9inherit autotools gettext update-alternatives 9inherit autotools gettext update-alternatives
10 10
11EXTRA_OECONF = "--with-libc --enable-ipv6 --with-ssl=openssl" 11EXTRA_OECONF = "--with-libc --enable-ipv6 --with-libssl-prefix=${STAGING_DIR_HOST} --with-ssl=openssl"
12 12
13do_install_append () { 13do_install_append () {
14 mv ${D}${bindir}/wget ${D}${bindir}/wget.${PN} 14 mv ${D}${bindir}/wget ${D}${bindir}/wget.${PN}