diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-06 22:27:21 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-20 10:01:08 +0000 |
commit | 7ce733325baec4abb4b61a54e95dc8bd86577991 (patch) | |
tree | b46a8f29148e53d0ba0e68dec6ce02b9a7057883 | |
parent | e5c50b5df0c7e3687d0d3f4a63403b70ec51ebd6 (diff) | |
download | aports-7ce733325baec4abb4b61a54e95dc8bd86577991.tar.bz2 aports-7ce733325baec4abb4b61a54e95dc8bd86577991.tar.xz |
main/libtasn1: modernise, add test suite
-rw-r--r-- | main/libtasn1/APKBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/main/libtasn1/APKBUILD b/main/libtasn1/APKBUILD index 2284d1cac3..087c41b5e1 100644 --- a/main/libtasn1/APKBUILD +++ b/main/libtasn1/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libtasn1 pkgver=4.12 -pkgrel=1 +pkgrel=2 pkgdesc="The ASN.1 library used in GNUTLS" url="http://www.gnu.org/software/gnutls/" arch="all" @@ -26,14 +26,18 @@ build() { --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --localstatedir=/var \ - || return 1 - make -j1 || return 1 + --localstatedir=/var + make -j1 +} + +check() { + cd "$builddir" + make check } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } sha512sums="6c551670949881193e39122f72948e4999ff1ba377f9ee5963d0a4ad1b84256e4fe42e9f6d6a2aa9f7d4ef7acc0e5174fb5cc3df5298524cdeda92f4b8c104f7 libtasn1-4.12.tar.gz 8e9dad0a1ee7cb7a8ed3d2a60c1c1bcb3e1ef689dbd2879992d4098f36edbae3bb962b9c87a0a9a77335e83abf10fd72bd78bde99989421c35f4434a9e1d08cc CVE-2017-10790.patch" |