# HG changeset patch # User Hans-G?nter Theisgen # Date 1647337900 -3600 # Node ID b36efb4387b72efd49a8d4577643becdbaa9c891 # Parent 49fea33051336caaed1f0dd1aad98cc0bb83890f updated libcap-ng and libcap-ng-dev (0.7.9 -> 0.8.2) diff -r 49fea3305133 -r b36efb4387b7 libcap-ng-dev/receipt --- a/libcap-ng-dev/receipt Tue Mar 15 10:34:20 2022 +0100 +++ b/libcap-ng-dev/receipt Tue Mar 15 10:51:40 2022 +0100 @@ -1,17 +1,17 @@ # SliTaz package receipt. PACKAGE="libcap-ng-dev" -VERSION="0.7.9" +VERSION="0.8.2" CATEGORY="security" SHORT_DESC="Libcap-ng development files." MAINTAINER="erjo@slitaz.org" LICENSE="GPL2 LGPL2.1" WEB_SITE="https://people.redhat.com/sgrubb/libcap-ng/" -WANTED="libcap-ng" -DEPENDS="libcap pkg-config" PROVIDE="libcap-dev" SUGGESTED="libcap-ng" +DEPENDS="libcap pkg-config" +WANTED="libcap-ng" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() diff -r 49fea3305133 -r b36efb4387b7 libcap-ng/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libcap-ng/description.txt Tue Mar 15 10:51:40 2022 +0100 @@ -0,0 +1,15 @@ +The libcap-ng library is intended to make programming with posix +capabilities much easier than the traditional libcap library. +It includes utilities that can analyse all currently running +applications and print out any capabilities and whether or not it +has an open ended bounding set. An open bounding set without the +securebits "NOROOT" flag will allow full capabilities escalation +for applications retaining uid 0 simply by calling execve. + +The included utilities are designed to let administrators and +developers spot applications from various ways that may be running +with too much privilege. For example, any investigation should +start with network facing applications since they would be prime +targets for intrusion. +The netcap program will check all running applications and display +the results. diff -r 49fea3305133 -r b36efb4387b7 libcap-ng/receipt --- a/libcap-ng/receipt Tue Mar 15 10:34:20 2022 +0100 +++ b/libcap-ng/receipt Tue Mar 15 10:51:40 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="libcap-ng" -VERSION="0.7.9" +VERSION="0.8.2" CATEGORY="security" SHORT_DESC="New generation libcap library." MAINTAINER="erjo@slitaz.org" @@ -11,9 +11,9 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="${WEB_SITE}$TARBALL" +PROVIDE="libcap" DEPENDS="" -BUILD_DEPENDS="python" -PROVIDE="libcap" +BUILD_DEPENDS="autoconf automake coreutils libtool python" # What is the latest version available today? current_version() @@ -25,16 +25,15 @@ # Rules to configure and make the package. compile_rules() { + ./autogen.sh && ./configure $CONFIGURE_ARGS && - make -j 1 && + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/bin $fs/usr + cook_copy_folders bin + cook_copy_files *.so* }