diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2016-01-02 02:40:31 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | f76811f8fa7df8a12f5614e80dc9d3fae99c68f6 (patch) | |
tree | 6c31889405ba97831ee5b84a45e4572bbf72af11 | |
parent | 4d14303ffcfe04bc6348c6279ea8c3adde861f72 (diff) |
network/libnftnl: Removed (included in Slackware 14.2)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | network/libnftnl/README | 8 | ||||
-rw-r--r-- | network/libnftnl/libnftnl.SlackBuild | 97 | ||||
-rw-r--r-- | network/libnftnl/libnftnl.info | 10 | ||||
-rw-r--r-- | network/libnftnl/slack-desc | 19 |
4 files changed, 0 insertions, 134 deletions
diff --git a/network/libnftnl/README b/network/libnftnl/README deleted file mode 100644 index acc52c6eced57..0000000000000 --- a/network/libnftnl/README +++ /dev/null @@ -1,8 +0,0 @@ -libnftnl (pre-requisite for nftables) - -libnftnl is a userspace library providing a low-level netlink interface (API) to -the in-kernel nf_tables subsystem. The library libnftnl has been previously -known as libnftables. This library is currently used by nftables. - -To benefit from libnftnl (but not to build it), you need a kernel that includes -the nf_tables subsystem (initial support >= 3.14). diff --git a/network/libnftnl/libnftnl.SlackBuild b/network/libnftnl/libnftnl.SlackBuild deleted file mode 100644 index d8be93ab1fbdf..0000000000000 --- a/network/libnftnl/libnftnl.SlackBuild +++ /dev/null @@ -1,97 +0,0 @@ -#!/bin/sh - -# Slackware build script for libnftnl - -# Copyright 2014,2015 Duncan Roe Melbourne, Australia -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -PRGNAM=libnftnl -VERSION=${VERSION:-1.0.5} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -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} - -DOCUMENTATION="COPYING" -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.bz2 -cd $PRGNAM-$VERSION -chown -R root:root . -chmod -R a-s,u+w,go+r-w . - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -# libnftnl doesn't have man pages - -DOCSDIR=$PKG/usr/doc/$PRGNAM-$VERSION -mkdir -p $DOCSDIR -cp -l $DOCUMENTATION $DOCSDIR -cat $CWD/$PRGNAM.SlackBuild > $DOCSDIR/$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/network/libnftnl/libnftnl.info b/network/libnftnl/libnftnl.info deleted file mode 100644 index 8a66dbb634d5f..0000000000000 --- a/network/libnftnl/libnftnl.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="libnftnl" -VERSION="1.0.5" -HOMEPAGE="http://www.netfilter.org/projects/libnftnl/" -DOWNLOAD="http://www.netfilter.org/projects/libnftnl/files/libnftnl-1.0.5.tar.bz2" -MD5SUM="af0c62ce6bbd7a7d39def0996c1c17c9" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Duncan Roe" -EMAIL="duncan_roe@acslink.net.au" diff --git a/network/libnftnl/slack-desc b/network/libnftnl/slack-desc deleted file mode 100644 index a398990b90906..0000000000000 --- a/network/libnftnl/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 ':'. - - |-----handy-ruler------------------------------------------------------| -libnftnl: libnftnl (pre-requisite for nftables) -libnftnl: -libnftnl: libnftnl is a userspace library providing a low-level netlink -libnftnl: interface (API) to the in-kernel nf_tables subsystem. The library -libnftnl: libnftnl has been previously known as libnftables. This library is -libnftnl: currently used by nftables. -libnftnl: -libnftnl: To actually use libnftnl needs a kernel that includes the nf_tables -libnftnl: subsystem (initial support >= 3.14). -libnftnl: -libnftnl: Homepage: http://www.netfilter.org/projects/libnftnl/ |