summaryrefslogtreecommitdiff
path: root/legacy/wget
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-25 19:13:44 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-25 19:13:44 -0500
commit27293c6164c44d7f2f053c470b59838a32d057da (patch)
treeae205b1030c7e7752e084405bd95c83220a6a257 /legacy/wget
parentb234299e70c50f6cab203a11ab62be733726770b (diff)
downloadpackages-27293c6164c44d7f2f053c470b59838a32d057da.tar.gz
packages-27293c6164c44d7f2f053c470b59838a32d057da.tar.bz2
packages-27293c6164c44d7f2f053c470b59838a32d057da.tar.xz
packages-27293c6164c44d7f2f053c470b59838a32d057da.zip
user/wget: bump to 1.19.5, move to legacy/ [BROKEN]
Diffstat (limited to 'legacy/wget')
-rw-r--r--legacy/wget/APKBUILD50
1 files changed, 50 insertions, 0 deletions
diff --git a/legacy/wget/APKBUILD b/legacy/wget/APKBUILD
new file mode 100644
index 000000000..6852b453c
--- /dev/null
+++ b/legacy/wget/APKBUILD
@@ -0,0 +1,50 @@
+# Contributor: Sergei Lukin <sergej.lukin@gmail.com>
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
+pkgname=wget
+pkgver=1.19.5
+pkgrel=0
+pkgdesc="Utility to retrieve files from the Web"
+url="https://www.gnu.org/software/wget/wget.html"
+arch="none"
+license="GPL-3.0+"
+depends=""
+makedepends="openssl-dev perl"
+checkdepends="perl-http-daemon"
+subpackages="$pkgname-doc $pkgname-lang"
+source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz "
+
+# secfixes:
+# 1.19.1-r1:
+# - CVE-2017-6508
+# 1.19.2-r0:
+# - CVE-2017-13090
+# 1.19.5-r0:
+# - CVE-2018-0494
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --with-ssl=openssl
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+
+ rm -rf "$pkgdir"/usr/lib
+}
+
+sha512sums="0d4964e0f5adb0c023edc831bde9c9f13f3222f6efc1ce93250d234ab937e92b53921624532fb0e6586151ddfdee6df9a7ca91a2a99b3d16e2e68401c625301b wget-1.19.5.tar.gz"