# Contributor: Sergei Lukin # Contributor: Carlo Landmeter # Maintainer: Carlo Landmeter pkgname=wget pkgver=1.20.1 pkgrel=0 pkgdesc="A network utility to retrieve files from the Web" url="https://www.gnu.org/software/wget/wget.html" arch="all" license="GPL-3.0-or-later" depends="" makedepends="openssl-dev perl" checkdepends="perl-http-daemon" subpackages="$pkgname-doc" install="" source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" # secfixes: # 1.20.1-r0: # - CVE-2018-20483 # 1.19.5-r0: # - CVE-2018-0494 # 1.19.1-r1: # - CVE-2017-6508 # 1.19.2-r0: # - CVE-2017-13090 build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --with-ssl=openssl \ --disable-nls make } check() { cd "$builddir" # FIXME: We're not running top-level "check" to skip fuzz tests that # are currently broken. make -C tests check } package() { cd "$builddir" make DESTDIR="$pkgdir" install rm -rf "$pkgdir"/usr/lib } sha512sums="855c7e3c45f9020a9fdb30e286ee6a0bdcaa780be3d0dda9ffdae73b562ae1012d4550242f66240407a28076a7054328d4f08a469a0da227a9e3410b8d5f46dc wget-1.20.1.tar.gz"