community/stunnel: upgrade to 5.55

This commit is contained in:
Leo 2019-07-15 15:00:10 -03:00 committed by Sören Tempel
parent e2f593b220
commit 7eefc30b66

View File

@ -3,7 +3,7 @@
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=stunnel
pkgver=5.48
pkgver=5.55
pkgrel=0
pkgdesc="SSL encryption wrapper between network client and server"
url="https://www.stunnel.org"
@ -11,15 +11,13 @@ arch="all"
license="GPL-2.0-or-later with OpenSSL exception"
# support for SO_ORIGINAL_DST will be silently disabled without linux-headers
makedepends="openssl-dev linux-headers"
subpackages="$pkgname-doc"
subpackages="$pkgname-doc $pkgname-openrc"
install="$pkgname.pre-install"
source="https://www.stunnel.org/downloads/archive/${pkgver%.*}.x/stunnel-$pkgver.tar.gz
stunnel.initd
stunnel.conf"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@ -32,11 +30,6 @@ build() {
}
check() {
cd "$builddir"
# our openssl does not have PSK
rm tests/recipes/014_PSK_secrets
# FIXME: those fails for unknown reason
rm tests/recipes/037_failover_prio1
rm tests/recipes/038_failover_prio2
@ -45,8 +38,6 @@ check() {
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm755 "$srcdir"/stunnel.initd "$pkgdir"/etc/init.d/stunnel
@ -57,6 +48,6 @@ package() {
"$pkgdir"/usr/share/doc/$pkgname/examples/
}
sha512sums="5e6669ecd6e9b49aa6ef82b9a4dc6a2193c975eef85262aba70c7f264ef1b4d15dc287a2baa94b71be063deddcd07a20a5347ed5280f044fc6f68c61429a24fa stunnel-5.48.tar.gz
sha512sums="278e39e87e080171d2bed3b193f8f7923b48c12c6d788afeb113a71bfc6077129305e8f93f5e7046b12cc8aa381e89909358756c978ef129d3067ceeb60e112a stunnel-5.55.tar.gz
33e215413e08fdd5783cc76e6ba6a2342fb6d0573f801815c4d3022625e71be6c9739d47a7a61bf7c803f27911b9c92cf6ae3e522add040f83802e1aaeaee000 stunnel.initd
a72bfddeb74787d58c9fd24782d86c0498ce3530a43fbdd4ec4c4b57baa6257b6ef21005aca274b22c4a22cdbbbcee63dd3d841f458af248db9c69e8d59fa56f stunnel.conf"