aboutsummaryrefslogtreecommitdiffstats
path: root/main/keyutils
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-07-17 05:26:17 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-07-17 08:35:31 +0000
commiteb1cc1abfecfc1e1759f3fa6135e5cbd07bcfce6 (patch)
treeeabcf645f5ce8c9c5abefbdde261aba4ca732b42 /main/keyutils
parentf94c1b1a6a2989f17d967841cd686686346a032f (diff)
downloadaports-eb1cc1abfecfc1e1759f3fa6135e5cbd07bcfce6.tar.bz2
aports-eb1cc1abfecfc1e1759f3fa6135e5cbd07bcfce6.tar.xz
main/keyutils: link libkeyutils.so to ../../lib/libkeyutils.so.1
Fixes https://gitlab.alpinelinux.org/alpine/aports/issues/10662
Diffstat (limited to 'main/keyutils')
-rw-r--r--main/keyutils/APKBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/main/keyutils/APKBUILD b/main/keyutils/APKBUILD
index a1f1de7294..ad3a7dc4c9 100644
--- a/main/keyutils/APKBUILD
+++ b/main/keyutils/APKBUILD
@@ -2,16 +2,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=keyutils
pkgver=1.6
-pkgrel=0
+pkgrel=1
pkgdesc="Linux Key Management Utilities"
url="http://people.redhat.com/~dhowells/keyutils/"
arch="all"
options="!check" # Test suite requires RPM.
license="GPL-2.0-or-later LGPL-2.0-or-later"
-depends=""
makedepends="file linux-headers"
-install=""
-subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
+subpackages="$pkgname-dev:_dev $pkgname-doc $pkgname-libs"
source="https://people.redhat.com/~dhowells/keyutils/keyutils-$pkgver.tar.bz2"
build() {
@@ -40,4 +38,10 @@ libs() {
mv "$pkgdir"/lib "$subpkgdir"/
}
+_dev() {
+ # Fix for #10662
+ ln -fs ../../lib/libkeyutils.so.1 "$pkgdir"/usr/lib/libkeyutils.so
+ default_dev
+}
+
sha512sums="ee50da165099ea26904066d24b27c5165cb1eb78df6768cba3a534aa318a5c8d926ec6e5322a38c8cedaa768cd79bdcb26ef918aa8447df2e5dfbbe7b8f200ff keyutils-1.6.tar.bz2"