main/nghttp2: upgrade to 1.42.0

This commit is contained in:
Leo 2020-11-24 02:11:47 -03:00
parent 274e5993ef
commit d40cc6d1a0

View File

@ -1,7 +1,7 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=nghttp2
pkgver=1.41.0
pkgver=1.42.0
pkgrel=0
pkgdesc="Experimental HTTP/2 client, server and proxy"
url="https://nghttp2.org"
@ -10,10 +10,10 @@ license="MIT"
makedepends_build="autoconf automake libtool"
makedepends_host="libev-dev openssl-dev zlib-dev c-ares-dev cunit-dev"
subpackages="$pkgname-static $pkgname-doc $pkgname-dev $pkgname-libs"
source="https://github.com/nghttp2/$pkgname/releases/download/v$pkgver/nghttp2-$pkgver.tar.xz
remove-mruby-tests.patch
disable-failing-musl-unittest.patch"
builddir="$srcdir"/$pkgname-$pkgver
source="https://github.com/nghttp2/nghttp2/releases/download/v$pkgver/nghttp2-$pkgver.tar.xz
remove-mruby-tests.patch
disable-failing-musl-unittest.patch
"
# secfixes:
# 1.41.0-r0:
@ -23,7 +23,6 @@ builddir="$srcdir"/$pkgname-$pkgver
# - CVE-2019-9513
check() {
cd "$builddir"
make check
# integration tests require go, which is only available
# in community at the moment of writing. Disabling until
@ -34,7 +33,6 @@ check() {
}
build() {
cd "$builddir"
autoreconf -vif
./configure \
--build=$CBUILD \
@ -54,7 +52,6 @@ build() {
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
@ -68,6 +65,6 @@ static() {
done
}
sha512sums="c92e8022ccc876fa311f21bc5bf5af75feff8232efb56a4b2ab198031e974d15b67c16c046188cc76552f75a1b2e7115925d6ce1e42d6f94ae482fe69727466d nghttp2-1.41.0.tar.xz
sha512sums="1d93e6262c5538e26fbf36567230b4a239dbdfee26198b1e1d5862bf4459ae435679674c047407f5c604ddff91d7717d8515532e00bcdb2aa75f27ff97dce60c nghttp2-1.42.0.tar.xz
d3f6a66ad6522babb5ad2b3721d52c1c2af88e57ed2895cf87037da1032ca42dcb95dacc23ea277b9507b4116cec117b5c9a3313759dc56b48199b687b74dd9a remove-mruby-tests.patch
ad9a645e00d33747338cd23d1d0ff7c744ea6abd504b9175e086574d23881b188fd014464b660923ff37a64c0c46c4379c96374ac8997b03eb2350f9ec817740 disable-failing-musl-unittest.patch"