From 02e3e6814c3c74050c9cdca48523a2496772bc4a Mon Sep 17 00:00:00 2001 From: Michael Lippautz Date: Mon, 18 Apr 2011 20:12:13 +0200 Subject: [PATCH] wget: Add version 1.11.4 * Changes from org.oe.dev: ssl autodetection uses staging dirs Signed-off-by: Michael Lippautz --- meta-oe/recipes-connectivity/wget/wget.inc | 30 +++++++++++++++++++ .../recipes-connectivity/wget/wget_1.11.4.bb | 7 +++++ 2 files changed, 37 insertions(+) create mode 100644 meta-oe/recipes-connectivity/wget/wget.inc create mode 100644 meta-oe/recipes-connectivity/wget/wget_1.11.4.bb diff --git a/meta-oe/recipes-connectivity/wget/wget.inc b/meta-oe/recipes-connectivity/wget/wget.inc new file mode 100644 index 0000000000..8903fee36b --- /dev/null +++ b/meta-oe/recipes-connectivity/wget/wget.inc @@ -0,0 +1,30 @@ +DESCRIPTION = "A console URL download utility featuring HTTP, FTP, and more." +SECTION = "console/network" +LICENSE = "GPL" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" +INC_PR = "r10" + +S = "${WORKDIR}/wget-${PV}" + +inherit autotools gettext + +EXTRA_OECONF = " \ + --enable-ipv6 + --with-libssl-prefix=${STAGING_DIR}${HOST_SYS}" + +# The unslung kernel does not support ipv6 +EXTRA_OECONF_unslung = "--without-ssl" +# SlugOS kernels do not support ipv6. Can be loaded as a module. +EXTRA_OECONF_slugos = "--without-ssl" + +do_install_append () { + mv ${D}${bindir}/wget ${D}${bindir}/wget.${PN} +} + +pkg_postinst_${PN} () { + update-alternatives --install ${bindir}/wget wget wget.${PN} 100 +} + +pkg_prerm_${PN} () { + update-alternatives --remove wget wget.${PN} +} diff --git a/meta-oe/recipes-connectivity/wget/wget_1.11.4.bb b/meta-oe/recipes-connectivity/wget/wget_1.11.4.bb new file mode 100644 index 0000000000..b9f27f87d8 --- /dev/null +++ b/meta-oe/recipes-connectivity/wget/wget_1.11.4.bb @@ -0,0 +1,7 @@ +PR="${INC_PR}.0" + +SRC_URI = "${GNU_MIRROR}/wget/wget-${PV}.tar.gz" +SRC_URI[md5sum] = "69e8a7296c0e12c53bd9ffd786462e87" +SRC_URI[sha256sum] = "7315963b6eefb7530b4a4f63a5d5ccdab30078784cf41ccb5297873f9adea2f3" + +require wget.inc