aboutsummaryrefslogtreecommitdiffstats
path: root/main/p11-kit
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-04-22 08:22:20 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-04-22 08:34:06 +0000
commit9ee81970fe1ceba62e840ff7d0b2db93adb3467b (patch)
tree9c77788bcb45ba03b0bae628145a4ffaac0a0ab7 /main/p11-kit
parente22c381bb9c5f14bbd59f316b63b136a7bb841be (diff)
downloadaports-9ee81970fe1ceba62e840ff7d0b2db93adb3467b.tar.bz2
aports-9ee81970fe1ceba62e840ff7d0b2db93adb3467b.tar.xz
main/p11-kit: upgrade to 0.18.0
Diffstat (limited to 'main/p11-kit')
-rw-r--r--main/p11-kit/APKBUILD26
1 files changed, 21 insertions, 5 deletions
diff --git a/main/p11-kit/APKBUILD b/main/p11-kit/APKBUILD
index fde0b7ae2f..a3b237f3bc 100644
--- a/main/p11-kit/APKBUILD
+++ b/main/p11-kit/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=p11-kit
-pkgver=0.13
+pkgver=0.18.0
pkgrel=0
pkgdesc="Library for loading and sharing PKCS#11 modules"
url="http://p11-glue.freedesktop.org/"
@@ -9,9 +9,9 @@ arch="all"
license="BSD"
depends=""
depends_dev=""
-makedepends=""
+makedepends="libtasn1-dev"
install=""
-subpackages="$pkgname-dev $pkgname-doc"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-trust"
source="http://p11-glue.freedesktop.org/releases/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
@@ -37,7 +37,23 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
- rm -f "$pkgdir"/usr/lib/*.la
+ rm -f "$pkgdir"/usr/lib/*.la \
+ "$pkgdir"/usr/lib/pkcs11/*.la
}
-md5sums="3892bc07ff54b1b391aad4628911801d p11-kit-0.13.tar.gz"
+trust() {
+ pkgdesc="System trust module from $pkgname"
+ mkdir -p "$subpkgdir"/usr/share/p11-kit/modules \
+ "$subpkgdir"/usr/lib/pkcs11
+
+ mv "$pkgdir"/usr/share/p11-kit/p11-kit-extract-trust \
+ "$subpkgdir"/usr/share/p11-kit/ || return 1
+ mv "$pkgdir"/usr/share/p11-kit/modules/p11-kit-trust.module \
+ "$subpkgdir"/usr/share/p11-kit/modules/ || return 1
+ mv "$pkgdir"/usr/lib/pkcs11/p11-kit-trust.so \
+ "$subpkgdir"/usr/lib/pkcs11/ || return 1
+}
+
+md5sums="abb4683c7f193df6e48dbfad443ec9a8 p11-kit-0.18.0.tar.gz"
+sha256sums="9ebcdcf57b7686b92146cf475cb2b66cdf3757f6e62d8e77c39dae89ffb43e31 p11-kit-0.18.0.tar.gz"
+sha512sums="4738595e74b7086bade0db5d7c21b39f5360885c56dd0b7ca3eca4014bcab64d99231d7a12d03ab1691fdfc01f2667fd657936cb23cf656e61260210dac4c287 p11-kit-0.18.0.tar.gz"