community/duo_unix: upgrade to 1.10.3

Plus: fix the libressl patch to align with this upstream PR:
https://github.com/duosecurity/duo_unix/pull/116
This commit is contained in:
Paul Morgan 2018-04-28 12:34:32 +00:00 committed by Francesco Colista
parent 3942934975
commit 16def6e1d9
2 changed files with 5 additions and 5 deletions

View File

@ -1,8 +1,8 @@
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Paul Morgan <jumanjiman@gmail.com>
pkgname=duo_unix
pkgver=1.10.2
pkgrel=1
pkgver=1.10.3
pkgrel=0
pkgdesc="duosecurity.com two-factor authentication"
url="https://duo.com/support/documentation/duounix"
arch="all"
@ -37,5 +37,5 @@ package() {
make DESTDIR="$pkgdir" install
}
sha512sums="9ef9815e02528e5093e97c8ba2aae86676be5a86a838632755e6dffef53d49df101c3a5f67f4c672a2ca0663f0a35440ce377f51203846b270263f4745388165 duo_unix-1.10.2.tar.gz
aceb647dfbeb8a0f159c827b7fbec7703b9d9895adc26d06ad6be91828e1c20569c2a087bbb0d04390a1ec1f9c0217ca3bae3f6fd9f971d754ff0306e5ed88a2 libressl-2.7.patch"
sha512sums="fec222803d483e55823c1d5586852b718774f86565211b946971c8136af09e4902d747f7462e48c61bdb6615fd1327f18c11984bf49bbaefcbe7055cb221f7b2 duo_unix-1.10.3.tar.gz
9311bef67fb1f0260d47f6079ffec037bcbc273e07f5f839ee5cdbee66b933376018027590a015508d7be243507a630944456905ccbe49baf2a993d9f0f5a845 libressl-2.7.patch"

View File

@ -7,7 +7,7 @@ index 33c296a..b526add 100644
* or any version of LibreSSL.
*/
-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER < 0x2070000fL
static HMAC_CTX *
HMAC_CTX_new(void)
{