diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2018-01-05 13:36:38 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2018-01-05 13:36:38 +0000 |
commit | 48618eb748ee1f5f69d7d36a8cf247f48b45a141 (patch) | |
tree | 4f080f2ffde07cc8ec6d2ddaf63c7e9d7811d0d7 /main/awstats/APKBUILD | |
parent | 1f189f77e6f221b9cc0d610eba7e3148f4c99e47 (diff) | |
download | aports-48618eb748ee1f5f69d7d36a8cf247f48b45a141.tar.bz2 aports-48618eb748ee1f5f69d7d36a8cf247f48b45a141.tar.xz |
main/awstats: security fix (CVE-2017-1000501)
Fixes #8371
Diffstat (limited to 'main/awstats/APKBUILD')
-rw-r--r-- | main/awstats/APKBUILD | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/main/awstats/APKBUILD b/main/awstats/APKBUILD index 2a41a20684..168d9dcbd3 100644 --- a/main/awstats/APKBUILD +++ b/main/awstats/APKBUILD @@ -2,19 +2,27 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=awstats pkgver=7.6 -pkgrel=1 +pkgrel=2 pkgdesc="Free real-time logfile analyzer to get advanced statistics" url="http://awstats.sourceforge.net/" arch="noarch" license="GPL-3.0-or-later" depends="perl perl-uri" subpackages="$pkgname-doc" -source="https://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" +options="!check" # no testsuite +source="https://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz + CVE-2017-1000501-1.patch + CVE-2017-1000501-2.patch + " builddir="$srcdir/$pkgname-$pkgver" +# secfixes: +# 7.6-r2 +# - CVE-2017-1000501 + prepare() { local file - cd "$builddir" + default_prepare for file in tools/* wwwroot/cgi-bin/*; do [ -f "${file}" ] || continue sed -e "s:/usr/local/$pkgname/wwwroot:/usr/lib/$pkgname:g" \ @@ -54,6 +62,6 @@ package() { "$pkgdir"/usr/lib/$pkgname/cgi-bin/plugins/example } -md5sums="c69977f938be594b81fdb5e065846d31 awstats-7.6.tar.gz" -sha256sums="4045501319bf99e223bdb492a68a8f08b8e814b0f144a008726d7bd59114167a awstats-7.6.tar.gz" -sha512sums="ebce29dcbdc1f0eef68f1faf6a511212daba3e3621db682dce692dffa584e0c456fb260b9f8e1b7ac25a2a7d5d2bea5034692d2395d4e56a16fa5a36844c79d5 awstats-7.6.tar.gz" +sha512sums="ebce29dcbdc1f0eef68f1faf6a511212daba3e3621db682dce692dffa584e0c456fb260b9f8e1b7ac25a2a7d5d2bea5034692d2395d4e56a16fa5a36844c79d5 awstats-7.6.tar.gz +0f5c3f3581c1ca2731f65180d898cf15ffd8fc21d490d54c773efdf310f87dd0dde83be4c3892474924e7c77bad5f0981d15be9ba740ecf146b1d8e6c8091544 CVE-2017-1000501-1.patch +7230907b6184bdcc6f1c971236a91a7053d7340dad848daea82ff2bdaf78c1e1ef882c706955e93221036dca0faf9aa333a9f0231d6b20ad65df915c72900a4d CVE-2017-1000501-2.patch" |