diff options
author | Daniel Sabogal <dsabogalcc@gmail.com> | 2016-09-11 15:38:03 -0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-09-21 18:54:45 +0000 |
commit | 2f10cbf0aab5d1439b6c19654a397c84f5bb67bf (patch) | |
tree | d76296ebaa6a0fe3cb91bafac8563a2b5a916678 /main/gnutls/APKBUILD | |
parent | 42dfc526c99d0eac066fbc7516c17ea609928d86 (diff) | |
download | aports-2f10cbf0aab5d1439b6c19654a397c84f5bb67bf.tar.bz2 aports-2f10cbf0aab5d1439b6c19654a397c84f5bb67bf.tar.xz |
main/gnutls: security upgrade to 3.4.15 (GNUTLS-SA-2016-3)
Remove unused patches
Diffstat (limited to 'main/gnutls/APKBUILD')
-rw-r--r-- | main/gnutls/APKBUILD | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/main/gnutls/APKBUILD b/main/gnutls/APKBUILD index e622a4eca8..9e6540979b 100644 --- a/main/gnutls/APKBUILD +++ b/main/gnutls/APKBUILD @@ -2,16 +2,15 @@ # Contributor: Michael Mason <ms13sp@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gnutls -pkgver=3.4.14 -pkgrel=1 +pkgver=3.4.15 +pkgrel=0 pkgdesc="A TLS protocol implementation" url="http://www.gnutls.org/" arch="all" license="GPL" -depends= +depends="" depends_dev="nettle-dev zlib-dev libtasn1-dev p11-kit-dev" makedepends="$depends_dev texinfo" -install= subpackages="$pkgname-dbg $pkgname-doc $pkgname-dev $pkgname-utils $pkgname-c++:xx" _v=${pkgver%.*} case $pkgver in @@ -20,19 +19,10 @@ esac source="ftp://ftp.gnutls.org/gcrypt/gnutls/v${_v}/$pkgname-$pkgver.tar.xz " -_builddir="$srcdir/$pkgname-$pkgver" - -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" LIBS="-lgmp" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -46,12 +36,12 @@ build() { --disable-guile \ --disable-valgrind-tests \ || return 1 - make + make || return 1 } package() { - cd "$_builddir" - make -j1 DESTDIR="$pkgdir" install + make -j1 DESTDIR="$pkgdir" \ + -C "$builddir" install } utils() { @@ -66,6 +56,6 @@ xx() { mv "$pkgdir"/usr/lib/lib*xx.so.* "$subpkgdir"/usr/lib/ } -md5sums="ad3e269a6793424d5d21c9626e1c9ef1 gnutls-3.4.14.tar.xz" -sha256sums="35deddf2779b76ac11057de38bf380b8066c05de21b94263ad5b6dfa75dfbb23 gnutls-3.4.14.tar.xz" -sha512sums="d75f6b4dea2dc742cd7f60ee0ee540d41b69991aaa937ca0138cfdf4a1e0dfaaa3863464303bfa5799e14ee02de252f71c59a7a9e57b96ff8af653e419edfd4e gnutls-3.4.14.tar.xz" +md5sums="4ea5b239bd8bf1b734dda02997b36459 gnutls-3.4.15.tar.xz" +sha256sums="eb2a013905f5f2a0cbf7bcc1d20c85a50065063ee87bd33b496c4e19815e3498 gnutls-3.4.15.tar.xz" +sha512sums="03157f2da22890ecd080ad58144a9aabe933382c0b7e969b7b194a0248bb5e6e25207078c0a92755650d0004970eb1c0cf0140dbdbf2e615808f9978e965a5e5 gnutls-3.4.15.tar.xz" |