# Contributor: Sergei Lukin # Contributor: Carlo Landmeter # Maintainer: Carlo Landmeter pkgname=wget pkgver=1.20 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.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="2e50b9e83c22cb342d85981f89253d9c72bb1a48152c17c4c0b6315683890075f60ad2783e4fa8c2a6d15c53820d9ecb8d0c4b81cfcef4fcc66126ed1cb7ff54 wget-1.20.tar.gz"