Skip to content

Commit

Permalink
Upgraded libcap to 2.45
Browse files Browse the repository at this point in the history
  • Loading branch information
dslm4515 committed Dec 9, 2020
1 parent dca9fd6 commit cdc773c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions doc/3-Chroot/029-Final_System-Libcap
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Final System: Libcap
# Source: https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.44.tar.xz
# Source: https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.45.tar.xz
# This section is done in Chroot environment

sed -i '/install.*STALIBNAME/d' libcap/Makefile
sed -i '/install -m.*STA/d' libcap/Makefile
make lib=lib

make lib=lib prefix=/usr RAISE_SETFCAP=no \
make lib=lib \
PKGCONFIGDIR=/usr/lib/pkgconfig install

chmod -v 755 /lib/libcap.so.2.44
mv -v /lib/libpsx.a /usr/lib
rm -v /lib/libcap.so
ln -sfv ../../lib/libcap.so.2 /usr/lib/libcap.so

for libname in cap psx; do
chmod -v 755 /lib/lib${libname}.so.2.45
rm -v /lib/lib${libname}.so
ln -sfv ../../lib/lib${libname}.so.2 /usr/lib/lib${libname}.so
done
2 changes: 1 addition & 1 deletion sources.list
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ https://github.com/shadow-maint/shadow/releases/download/4.8.1/shadow-4.8.1.tar.
http://isl.gforge.inria.fr/isl-0.19.tar.xz
https://distfiles.dereferenced.org/pkgconf/pkgconf-1.7.3.tar.xz
http://download.savannah.gnu.org/releases/attr/attr-2.4.48.tar.gz
https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.44.tar.xz
https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.45.tar.xz
https://github.com/Mic92/iana-etc/releases/download/20201012/iana-etc-20201012.tar.gz
https://sourceforge.net/projects/psmisc/files/psmisc/psmisc-23.3.tar.xz
https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion sources.md5sum
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ c9b3719c964ea5d265f216dd00251d76 iana-etc-20201012.tar.gz
ac7ec9cedad48f4c279251cddc72008a kbd-2.3.0.tar.xz
3973a74786670d3062d89a827e266581 kmod-27.tar.xz
4ad4408b06d7a6626a055cb453f36819 less-551.tar.gz
46ab71759e17a07efa920692ac2f714d libcap-2.44.tar.xz
e4d4c04ad28a3b601e374c0367113236 libcap-2.45.tar.xz
6313289e32f1d38a9df4770b014a2ca7 libffi-3.3.tar.gz
dad443d0911cf9f0f1bd90a334bc9004 libpipeline-1.5.3.tar.gz
d2f6cc43c6155e834228256a27d80163 libressl-3.2.1.tar.gz
Expand Down

0 comments on commit cdc773c

Please sign in to comment.