From f2f3e930d572e47ffba50ca7cba91451cb7c6579 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Fri, 23 Nov 2018 21:24:41 +0100 Subject: [PATCH] keyutils: fix location of libkeyutils.pc --- keyutils/.footprint | 4 ++-- keyutils/.signature | 4 ++-- keyutils/Pkgfile | 5 ++++- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/keyutils/.footprint b/keyutils/.footprint index e03b474..b8ff86c 100644 --- a/keyutils/.footprint +++ b/keyutils/.footprint @@ -6,8 +6,6 @@ drwxr-xr-x root/root etc/request-key.d/ drwxr-xr-x root/root lib/ lrwxrwxrwx root/root lib/libkeyutils.so.1 -> libkeyutils.so.1.8 -rwxr-xr-x root/root lib/libkeyutils.so.1.8 -drwxr-xr-x root/root lib/pkgconfig/ --rwxr-xr-x root/root lib/pkgconfig/libkeyutils.pc drwxr-xr-x root/root sbin/ -rwxr-xr-x root/root sbin/key.dns_resolver -rwxr-xr-x root/root sbin/request-key @@ -17,6 +15,8 @@ drwxr-xr-x root/root usr/include/ drwxr-xr-x root/root usr/lib/ -rw-r--r-- root/root usr/lib/libkeyutils.a lrwxrwxrwx root/root usr/lib/libkeyutils.so -> /lib/libkeyutils.so.1 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libkeyutils.pc drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root usr/share/keyutils/ -rwxr-xr-x root/root usr/share/keyutils/request-key-debug.sh diff --git a/keyutils/.signature b/keyutils/.signature index 45cbea2..ef59c11 100644 --- a/keyutils/.signature +++ b/keyutils/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/opt-arm.pub -RWQh9Dk2FlLauOBKaAQv5brAqokxwpC+z4OrLe0uIDEvorihUJ78eNDWU7mCIbB0JMkmFQYACp8VRSUTAME9qrVImTxKRlDcug4= -SHA256 (Pkgfile) = 33c3c22f4499c7366e0a7332bac5de021717eb36df5608d64a2e9c2d0e1b7b12 +RWQh9Dk2FlLauH+pHEfqoseJIBl10xkHIeWuBX+zv0pW3lcFTic/Truf5iEv1K3UoEdMPeKJCLwD2xI55Xo/WYXqv62Q57UpcAk= +SHA256 (Pkgfile) = f4b02376a7375cccc099d3c647bbb48fdff741b8709b28d7c8cd728e6689afac SHA256 (.footprint) = 6ab9c9ab9bed28ccea02579a7c9d9ce7c4a78d4229f9860fa28a46a632579853 SHA256 (keyutils-1.6.tar.bz2) = d3aef20cec0005c0fa6b4be40079885567473185b1a57b629b030e67942c7115 diff --git a/keyutils/Pkgfile b/keyutils/Pkgfile index ba57b31..ea74781 100644 --- a/keyutils/Pkgfile +++ b/keyutils/Pkgfile @@ -6,7 +6,7 @@ name=keyutils version=1.6 -release=1 +release=2 source=(http://people.redhat.com/~dhowells/$name/$name-$version.tar.bz2) build () { @@ -18,4 +18,7 @@ build () { sed -i "/^CFLAGS/s/-g/$CFLAGS/" Makefile make make install DESTDIR=$PKG USRLIBDIR=/usr/lib LIBDIR=/lib + + mv $PKG/lib/pkgconfig $PKG/usr/lib + chmod 0644 $PKG/usr/lib/pkgconfig/libkeyutils.pc } -- 2.26.2