aboutsummaryrefslogtreecommitdiffstats
path: root/main/ncurses/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-07-19 07:30:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-07-19 08:11:36 +0000
commite3586a1e221047f8b61cfa63eec6f2fc681a1bbb (patch)
tree788fa840f006991d4a1c97c9841365f9958e7229 /main/ncurses/APKBUILD
parent2bb4604c65ea427220f8aeb7bd8ab7e1b3bae7d9 (diff)
downloadaports-e3586a1e221047f8b61cfa63eec6f2fc681a1bbb.tar.gz
aports-e3586a1e221047f8b61cfa63eec6f2fc681a1bbb.tar.bz2
aports-e3586a1e221047f8b61cfa63eec6f2fc681a1bbb.tar.xz
main/ncurses: security upgrade to 6.0_p20170701 (CVE-2017-10684)
Diffstat (limited to 'main/ncurses/APKBUILD')
-rw-r--r--main/ncurses/APKBUILD18
1 files changed, 10 insertions, 8 deletions
diff --git a/main/ncurses/APKBUILD b/main/ncurses/APKBUILD
index 833a1190a8..acadb38ce1 100644
--- a/main/ncurses/APKBUILD
+++ b/main/ncurses/APKBUILD
@@ -1,19 +1,23 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ncurses
-pkgver=6.0
-pkgrel=7
+pkgver=6.0_p20170701
+_ver=${pkgver%_p*}-${pkgver#*_p}
+pkgrel=0
pkgdesc="Console display library"
url="http://www.gnu.org/software/ncurses/"
arch="all"
license=MIT
depends=
makedepends_build="ncurses"
-source="http://ftp.gnu.org/pub/gnu/ncurses/ncurses-${pkgver}.tar.gz
- "
+source="ftp://invisible-island.net/ncurses/current/ncurses-$_ver.tgz"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc
$pkgname-terminfo-base:base $pkgname-terminfo $pkgname-libs"
-builddir="$srcdir"/ncurses-$pkgver
+builddir="$srcdir"/ncurses-$_ver
+
+# secfixes:
+# 6.0_p20170701-r0:
+# - CVE-2017-10684
build() {
cd "$builddir"
@@ -94,6 +98,4 @@ static() {
mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib/
}
-md5sums="ee13d052e1ead260d7c28071f46eefb1 ncurses-6.0.tar.gz"
-sha256sums="f551c24b30ce8bfb6e96d9f59b42fbea30fa3a6123384172f9e7284bcf647260 ncurses-6.0.tar.gz"
-sha512sums="9ec194f4783dae6de8c529cac31b5cfbfcfea212c5d47b1f87cd49df013e38f8580a9e7aa1384918df0921b4ba999d5e73eb6d6362cce2d7287e64308b673963 ncurses-6.0.tar.gz"
+sha512sums="01a30d217a6328db197b68385cd7a16ed45f42589b7fd49271c30c475300ae97cc377811df3dd95fe7d1855c0978291a7ae0c2f5ee9a14a96cc2a6b8972b4ddc ncurses-6.0-20170701.tgz"