diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-05-28 23:34:31 -0300 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2019-05-29 21:16:15 +0000 |
commit | 40b74fd34d2d9de305672da065470437c840d3a9 (patch) | |
tree | 3dc647b90cea4a61bdc731b33fc7c9f927ddbb43 /main/gnutls | |
parent | 7af2de0549056a823ebc84d80357a380fb2b0494 (diff) | |
download | aports-40b74fd34d2d9de305672da065470437c840d3a9.tar.bz2 aports-40b74fd34d2d9de305672da065470437c840d3a9.tar.xz |
main/gnutls: upgrade to 3.6.8
Diffstat (limited to 'main/gnutls')
-rw-r--r-- | main/gnutls/APKBUILD | 11 | ||||
-rw-r--r-- | main/gnutls/tests-date-compat.patch | 12 |
2 files changed, 4 insertions, 19 deletions
diff --git a/main/gnutls/APKBUILD b/main/gnutls/APKBUILD index 7e83be5b91..e67f4c705a 100644 --- a/main/gnutls/APKBUILD +++ b/main/gnutls/APKBUILD @@ -2,12 +2,12 @@ # Contributor: Michael Mason <ms13sp@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gnutls -pkgver=3.6.7 +pkgver=3.6.8 pkgrel=0 pkgdesc="A TLS protocol implementation" url="https://www.gnutls.org/" arch="all" -license="GPL" +license="GPL-3.0-or-later" options="!check" # depends on datefudge checkdepends="diffutils" makedepends="nettle-dev zlib-dev libtasn1-dev p11-kit-dev libunistring-dev texinfo" @@ -16,9 +16,7 @@ _v=${pkgver%.*} case $pkgver in *.*.*.*) _v=${_v%.*};; esac -source="https://www.gnupg.org/ftp/gcrypt/gnutls/v${_v}/gnutls-$pkgver.tar.xz - tests-date-compat.patch" -builddir="$srcdir/$pkgname-$pkgver" +source="https://www.gnupg.org/ftp/gcrypt/gnutls/v${_v}/gnutls-$pkgver.tar.xz" # secfixes: # 3.6.7-r0: @@ -67,5 +65,4 @@ xx() { mv "$pkgdir"/usr/lib/lib*xx.so.* "$subpkgdir"/usr/lib/ } -sha512sums="ae9b8996eb9b7269d28213f0aca3a4a17890ba8d47e3dc3b8e754ab8e2b4251e9412aaaa161a8bf56167f04cc169b4cada46f55a7bde92b955eb36cd717a99f3 gnutls-3.6.7.tar.xz -b9aefaca8a894b223b8bcc738524602e36edf6a49f458606235598470033c81b02e876bec18a41ac57760cb9644d44b4c35969be74d4a8120245fff716429531 tests-date-compat.patch" +sha512sums="71f0899de0ffb2a39b25928042114e2bbfde7fbf2029d9f91f60bf60794916d13f544fc97337e4e3282e7faa17e79a8012b0e08f98805bee543c0ba4e5d5a905 gnutls-3.6.8.tar.xz" diff --git a/main/gnutls/tests-date-compat.patch b/main/gnutls/tests-date-compat.patch deleted file mode 100644 index 82e3314d29..0000000000 --- a/main/gnutls/tests-date-compat.patch +++ /dev/null @@ -1,12 +0,0 @@ -Busybox date does not support %N, this is GNU extension. ---- a/tests/scripts/common.sh -+++ b/tests/scripts/common.sh -@@ -61,7 +61,7 @@ - # Find a port number not currently in use. - GETPORT='rc=0; unset myrandom - if test -n "$RANDOM"; then myrandom=$(($RANDOM + $RANDOM)); fi -- if test -z "$myrandom"; then myrandom=$(date +%N | sed s/^0*//); fi -+ if test -z "$myrandom"; then myrandom=$(date +%s | sed s/^0*//); fi - if test -z "$myrandom"; then myrandom=0; fi - while test $rc = 0;do - PORT="$(((($$<<15)|$myrandom) % 63001 + 2000))" |