diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/gnutls/APKBUILD | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/user/gnutls/APKBUILD b/user/gnutls/APKBUILD index 72e454003..78d9b6fdd 100644 --- a/user/gnutls/APKBUILD +++ b/user/gnutls/APKBUILD @@ -2,7 +2,7 @@ # Contributor: Michael Mason <ms13sp@gmail.com> # Maintainer: pkgname=gnutls -pkgver=3.6.7.1 +pkgver=3.6.8 pkgrel=0 pkgdesc="A TLS protocol implementation" url="http://www.gnutls.org/" @@ -10,10 +10,10 @@ arch="all" options="!check" # https://gitlab.com/gnutls/gnutls/issues/560 license="LGPL-2.1+" makedepends="libtasn1-dev libunistring-dev nettle-dev p11-kit-dev texinfo - zlib-dev" + unbound-dev cmd:which zlib-dev" checkdepends="diffutils" -subpackages="$pkgname-dbg $pkgname-doc $pkgname-dev $pkgname-lang $pkgname-utils - $pkgname-c++:xx" +subpackages="$pkgname-dbg $pkgname-doc $pkgname-dev $pkgname-lang + $pkgname-c++:xx $pkgname-dane $pkgname-utils" _v=${pkgver%.*} _v2=$pkgver case $pkgver in @@ -31,7 +31,6 @@ builddir="$srcdir/$pkgname-$_v2" # - CVE-2017-7507 build() { - cd "$builddir" LIBS="-lgmp" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -49,22 +48,25 @@ build() { --enable-manpages \ --enable-tests \ --disable-full-test-suite \ - --disable-sslv2-support \ - --with-zlib \ --with-p11-kit make } check() { - cd "$builddir" make check } package() { - cd "$builddir" make -j1 DESTDIR="$pkgdir" install } +dane() { + pkgdesc="$pkgdesc (DNS DANE support library)" + mkdir -p "$subpkgdir"/usr/{bin,lib} + mv "$pkgdir"/usr/bin/danetool "$subpkgdir"/usr/bin/ + mv "$pkgdir"/usr/lib/libgnutls-dane* "$subpkgdir"/usr/lib/ +} + utils() { pkgdesc="Command line tools for TLS protocol" mkdir -p "$subpkgdir"/usr/ @@ -77,5 +79,5 @@ xx() { mv "$pkgdir"/usr/lib/lib*xx.so.* "$subpkgdir"/usr/lib/ } -sha512sums="c3c4178c8663e3d1207aaf771ceb43e7e75a9f11b4ea3a26fde9d04a23762b05bac8fe290b74d63b815a354b79fc3557cfc218c196e1f80eb1fbce762948a926 gnutls-3.6.7.1.tar.xz +sha512sums="71f0899de0ffb2a39b25928042114e2bbfde7fbf2029d9f91f60bf60794916d13f544fc97337e4e3282e7faa17e79a8012b0e08f98805bee543c0ba4e5d5a905 gnutls-3.6.8.tar.xz abc24ee59cc67805fe953535b0bae33080fc8b0bf788304377f6d10ec8c162c4cf203a69c98a4ba3483b4c60ed7a204433cc7db9b8190eddb0d68f6fb6dad52d gnulib-tests-dont-require-gpg-passphrase.patch" |