diff options
author | Juergen Daubert <jue@jue.li> | 2020-01-06 15:47:46 +0100 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2020-01-06 15:47:46 +0100 |
commit | 390516055e55de1bbc40fcdf58df17818470f436 (patch) | |
tree | 816a520d5538d2555b14b40008659519eb92f99d /libcap | |
parent | b4ddb31bf83377b18d79463a896f5000a5ee4c02 (diff) | |
download | core-390516055e55de1bbc40fcdf58df17818470f436.tar.gz core-390516055e55de1bbc40fcdf58df17818470f436.tar.xz |
libcap: move libpsx.a into /usr/lib, fix pkgconfig files
Diffstat (limited to 'libcap')
-rw-r--r-- | libcap/.footprint | 2 | ||||
-rw-r--r-- | libcap/.signature | 6 | ||||
-rw-r--r-- | libcap/Pkgfile | 6 |
3 files changed, 8 insertions, 6 deletions
diff --git a/libcap/.footprint b/libcap/.footprint index 233d8605..e2f29e6a 100644 --- a/libcap/.footprint +++ b/libcap/.footprint @@ -1,7 +1,6 @@ drwxr-xr-x root/root lib/ lrwxrwxrwx root/root lib/libcap.so.2 -> libcap.so.2.30 -rw-r--r-- root/root lib/libcap.so.2.30 --rw-r--r-- root/root lib/libpsx.a drwxr-xr-x root/root lib/security/ -rwxr-xr-x root/root lib/security/pam_cap.so drwxr-xr-x root/root sbin/ @@ -17,6 +16,7 @@ drwxr-xr-x root/root usr/include/sys/ drwxr-xr-x root/root usr/lib/ -rw-r--r-- root/root usr/lib/libcap.a lrwxrwxrwx root/root usr/lib/libcap.so -> ../../lib/libcap.so.2.30 +-rw-r--r-- root/root usr/lib/libpsx.a drwxr-xr-x root/root usr/lib/pkgconfig/ -rw-r--r-- root/root usr/lib/pkgconfig/libcap.pc -rw-r--r-- root/root usr/lib/pkgconfig/libpsx.pc diff --git a/libcap/.signature b/libcap/.signature index ed762776..413ac55f 100644 --- a/libcap/.signature +++ b/libcap/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/core.pub -RWRJc1FUaeVeqqq2Jl+Hg2znUD7733Si/TbxmLDY1lZ13o+UHs4EGtSvNzApCX7AFh4apjmDHTmb1Fn2eGgv+FtI0uN2HjGUkAc= -SHA256 (Pkgfile) = 99bc0f28161b31360752650482d4e5ac25345bdfa50f0d0173d1ad96235cb595 -SHA256 (.footprint) = 864d11f62e04081fa7ce834391b99ffb591339038c10f7283bdc739d73826289 +RWRJc1FUaeVeqrFp7sgmtQWXOIJM/MQ16YgYAPkD9O1ghFzoNQp62ejaGuiFeKAs6UNt9+NYjdz5BFeLOwMTZ+kbC5bmBthojgw= +SHA256 (Pkgfile) = ef33baf3f46d43b8199751a3763da3062db11aa7d705593d6703603b520bdcb7 +SHA256 (.footprint) = 8c2db3dec4aa658ff0b49f8b4833fe4da5360b5194c488fa74a84783d0fdc75e SHA256 (libcap-2.30.tar.xz) = a287bae0b0d95e5230a1c4177b835c70774511b631f87c7bd29e91a03e027f11 diff --git a/libcap/Pkgfile b/libcap/Pkgfile index a00ea3c1..4c227692 100644 --- a/libcap/Pkgfile +++ b/libcap/Pkgfile @@ -5,7 +5,7 @@ name=libcap version=2.30 -release=1 +release=2 source=(https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$name-$version.tar.xz) build () { @@ -16,7 +16,9 @@ build () { make GOLANG=no RAISE_SETFCAP=no DESTDIR=$PKG install install -d $PKG/usr/lib - mv $PKG/lib/libcap.a $PKG/usr/lib + mv $PKG/lib/lib{cap,psx}.a $PKG/usr/lib rm $PKG/lib/libcap.so ln -s ../../lib/libcap.so.$version $PKG/usr/lib/libcap.so + + sed '/^libdir/s|/lib|/usr/lib|' -i $PKG/usr/lib/pkgconfig/*.pc } |