summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMenno Duursma <druiloor@zonnet.nl>2010-07-15 19:49:04 -0500
committerErik Hanson <erik@slackbuilds.org>2010-07-15 20:12:36 -0500
commit09643b0e63fb5202634d9c0478c7c0fb3ae66856 (patch)
treeba5326680ead6f1a31bd2df0af2f642d9bf17fb5
parent260509cfecb4395783c2f144759649d31b753831 (diff)
downloadslackbuilds-09643b0e63fb5202634d9c0478c7c0fb3ae66856.tar.gz
libraries/libcap-ng: Updated for version 0.6.4.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
-rw-r--r--libraries/libcap-ng/README4
-rw-r--r--libraries/libcap-ng/libcap-ng.SlackBuild14
-rw-r--r--libraries/libcap-ng/libcap-ng.info6
3 files changed, 9 insertions, 15 deletions
diff --git a/libraries/libcap-ng/README b/libraries/libcap-ng/README
index e21cdd3128..6894b21e5d 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 abaf5e655b..15bfb939d3 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 ff7fab7685..3468f19088 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"