diff options
-rw-r--r-- | libraries/libcap-ng/README | 4 | ||||
-rw-r--r-- | libraries/libcap-ng/libcap-ng.SlackBuild | 14 | ||||
-rw-r--r-- | libraries/libcap-ng/libcap-ng.info | 6 |
3 files changed, 9 insertions, 15 deletions
diff --git a/libraries/libcap-ng/README b/libraries/libcap-ng/README index e21cdd31282fd..6894b21e5d741 100644 --- a/libraries/libcap-ng/README +++ b/libraries/libcap-ng/README @@ -1,9 +1,9 @@ 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 +utilities that can analyse all currently running applications, print out any capabilities and whether or not it has an open ended bounding set. The included utilities are designed to let admins and developers spot apps -from various ways that may be running with too much privilege. +in various ways that may be running with too much privilege. As of the 0.6 release, you can use libcap-ng in python. diff --git a/libraries/libcap-ng/libcap-ng.SlackBuild b/libraries/libcap-ng/libcap-ng.SlackBuild index abaf5e655bf4d..15bfb939d318f 100644 --- a/libraries/libcap-ng/libcap-ng.SlackBuild +++ b/libraries/libcap-ng/libcap-ng.SlackBuild @@ -8,16 +8,14 @@ # http://sam.zoy.org/wtfpl/COPYING for more details. PRGNAM=libcap-ng -VERSION=${VERSION:-0.6.2} +VERSION=${VERSION:-0.6.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -80,11 +78,8 @@ rm -vf $PKG//usr/lib${LIBDIRSUFFIX}/libcap-ng.a rm -vf $PKG//usr/lib${LIBDIRSUFFIX}/python?.?/site-packages/_capng.a rm -vf $PKG//usr/lib${LIBDIRSUFFIX}/python?.?/site-packages/_capng.la - -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING.LIB INSTALL README COPYING ChangeLog NEWS \ @@ -95,5 +90,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz - +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/libcap-ng/libcap-ng.info b/libraries/libcap-ng/libcap-ng.info index ff7fab7685140..3468f19088f14 100644 --- a/libraries/libcap-ng/libcap-ng.info +++ b/libraries/libcap-ng/libcap-ng.info @@ -1,8 +1,8 @@ PRGNAM="libcap-ng" -VERSION="0.6.2" +VERSION="0.6.4" HOMEPAGE="http://people.redhat.com/sgrubb/libcap-ng/" -DOWNLOAD="http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-0.6.2.tar.gz" -MD5SUM="f9af01f4ec602506da717632b94354fd" +DOWNLOAD="http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-0.6.4.tar.gz" +MD5SUM="ae817cd585ca11db257330b392003ed6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Menno Duursma" |