wok view wget/receipt @ rev 19377
linux: CVE-2016-5696 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 13 10:23:10 2016 +0200 (2016-08-13) |
parents | 3b127f92c057 |
children | 427e7751c594 |
line source
1 # SliTaz package receipt.
3 PACKAGE="wget"
4 VERSION="1.18"
5 CATEGORY="network"
6 SHORT_DESC="GNU Wget - non-interactive download of files from the Web"
7 MAINTAINER="sygne@ombres.eu"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.gnu.org/software/wget/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
13 CONFIG_FILES="/etc/wgetrc"
15 DEPENDS="libssl libidn pcre util-linux-uuid zlib"
16 BUILD_DEPENDS="openssl-dev libidn-dev flex util-linux-uuid-dev"
18 # Handle cross compilation
19 case "$ARCH" in
20 arm) ARCH_ARGS="--with-libssl-prefix=/cross/$ARCH/sysroot/usr/lib" ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --with-ssl=openssl \
28 --with-openssl \
29 --sysconfdir=/etc \
30 $CONFIGURE_ARGS $ARCH_ARGS &&
31 make DESTDIR=$DESTDIR install
33 gzip -9 $install/usr/share/man/man1/wget.1
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/* $fs
40 rm -r $fs/usr/share/info $fs/usr/share/locale
41 }
43 post_remove()
44 {
45 ln -s /bin/busybox "$1/usr/bin/wget"
46 }