community/duo_unix: upgrade to 1.10.0

Remove libressl patch because it's in upstream duo_unix as of
https://github.com/duosecurity/duo_unix/commit/c539ba7aa3ec064
This commit is contained in:
Paul Morgan 2017-06-22 10:59:08 +00:00 committed by Leonardo Arena
parent b820ad148a
commit 6f61db13e5
2 changed files with 3 additions and 12 deletions

View File

@ -1,7 +1,7 @@
# Contributor: Alan Lacerda <alacerda@alpinelinux.org> # Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Paul Morgan <jumanjiman@gmail.com> # Maintainer: Paul Morgan <jumanjiman@gmail.com>
pkgname=duo_unix pkgname=duo_unix
pkgver=1.9.21 pkgver=1.10.0
pkgrel=0 pkgrel=0
pkgdesc="duosecurity.com two-factor authentication" pkgdesc="duosecurity.com two-factor authentication"
url="https://duo.com/support/documentation/duounix" url="https://duo.com/support/documentation/duounix"
@ -12,8 +12,7 @@ depends_dev="libressl-dev zlib-dev"
makedepends="$depends_dev" makedepends="$depends_dev"
options="suid" options="suid"
subpackages="$pkgname-dev $pkgname-doc" subpackages="$pkgname-dev $pkgname-doc"
source="https://dl.duosecurity.com/$pkgname-$pkgver.tar.gz source="https://dl.duosecurity.com/$pkgname-$pkgver.tar.gz"
libressl.patch"
builddir="$srcdir"/$pkgname-$pkgver builddir="$srcdir"/$pkgname-$pkgver
build() { build() {
@ -33,5 +32,4 @@ package() {
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
} }
sha512sums="8caf1b9dea266662d2e221fa120be1989622828ba346f874f77090ed0f91431e250da2cfe335bc9ff0b8a6336a20458851e715342c5f90151cf4514e76b04fa9 duo_unix-1.9.21.tar.gz sha512sums="d73bcc645084e98fda755476b8e7e4dd086741b48a62efd3905757e759259a06d725471fb258e34d37d0c3d799a1c0c73eb5f651270f2e211b32273a058f9ba3 duo_unix-1.10.0.tar.gz"
4e078c876baaedeffb4b8790f713e4bd486a71ef8a8cccade9262ea56dc7ada4ec65f467850d6d2311899b4d93afc95e21d0b585a446a3ca0a36498ada37ec67 libressl.patch"

View File

@ -1,7 +0,0 @@
diff --git a/lib/https.c b/lib/https.c
index b64e03a..b900924 100644
--- a/lib/https.c
+++ b/lib/https.c
@@ -356 +356 @@ _establish_connection(struct https_request * const req,
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)