diff options
-rw-r--r-- | libraries/libcap-ng/README | 10 | ||||
-rw-r--r-- | libraries/libcap-ng/libcap-ng.SlackBuild | 100 | ||||
-rw-r--r-- | libraries/libcap-ng/libcap-ng.info | 10 | ||||
-rw-r--r-- | libraries/libcap-ng/slack-desc | 19 |
4 files changed, 0 insertions, 139 deletions
diff --git a/libraries/libcap-ng/README b/libraries/libcap-ng/README deleted file mode 100644 index 9eb5a8d1751a8..0000000000000 --- a/libraries/libcap-ng/README +++ /dev/null @@ -1,10 +0,0 @@ -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, 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 -in various ways that may be running with too much privilege. - -As of the 0.6 release, libcap-ng includes python bindings. If you do not -want to build them, pass WITH_PYTHON=no when running the build script. diff --git a/libraries/libcap-ng/libcap-ng.SlackBuild b/libraries/libcap-ng/libcap-ng.SlackBuild deleted file mode 100644 index 7388fdc2d3b64..0000000000000 --- a/libraries/libcap-ng/libcap-ng.SlackBuild +++ /dev/null @@ -1,100 +0,0 @@ -#!/bin/sh - -# Slackware build script for libcap-ng -# Written by Menno Duursma <druiloor@zonnet.nl> -# Maintaned by Ozan Türkıylmaz <ozan.turkyilmaz@gmail.com> - -# This program is free software. It comes without any warranty. -# Granted WTFPL, Version 2, as published by Sam Hocevar. See -# http://sam.zoy.org/wtfpl/COPYING for more details. - -PRGNAM=libcap-ng -VERSION=${VERSION:-0.7.3} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -WITH_PYTHON=${WITH_PYTHON:-yes} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -if [ ! "$WITH_PYTHON" = "yes" ]; then - do_python_bindings="without-python" -else - do_python_bindings="with-python" -fi - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --${do_python_bindings} \ - --build=$ARCH-slackware-linux - -# This only works if our kernel-headers match the kernel, which is a horrible assumption -# make check - -make -make install-strip DESTDIR=$PKG - -# Remove a couple things so they don't get picked up -rm -vf $PKG//usr/lib${LIBDIRSUFFIX}/libcap-ng.{a,la} -rm -vf $PKG//usr/lib${LIBDIRSUFFIX}/python?.?/site-packages/_capng.{a,la} - -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 \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -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.${PKGTYPE:-tgz} diff --git a/libraries/libcap-ng/libcap-ng.info b/libraries/libcap-ng/libcap-ng.info deleted file mode 100644 index ab156ee7eaf9f..0000000000000 --- a/libraries/libcap-ng/libcap-ng.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="libcap-ng" -VERSION="0.7.3" -HOMEPAGE="http://people.redhat.com/sgrubb/libcap-ng/" -DOWNLOAD="http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-0.7.3.tar.gz" -MD5SUM="610afb774f80a8032b711281df126283" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Ozan Türkyılmaz" -EMAIL="ozan.turkyilmaz@gmail.com" diff --git a/libraries/libcap-ng/slack-desc b/libraries/libcap-ng/slack-desc deleted file mode 100644 index dc2026edb0672..0000000000000 --- a/libraries/libcap-ng/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -libcap-ng: libcap-ng (capabilities library and utilities) -libcap-ng: -libcap-ng: The libcap-ng library is intended to make programming with posix -libcap-ng: capabilities easier. The library has some utilities to help you -libcap-ng: analyse a system for apps that may have too much privileges. -libcap-ng: -libcap-ng: libcap-ng was written and is maintained by Steve Grubb -libcap-ng: -libcap-ng: -libcap-ng: -libcap-ng: |