aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2011-03-14 16:39:37 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-03-14 16:39:37 -0500
commit2d5f1998b47a1966bd3d727ac4749a5fee8a7954 (patch)
tree8c27a0d629c7b7ce00ee0218ae45005987fb4500 /network
parenteeca7fb55839ad61119099d12c940e49c5091f0c (diff)
network/arptables: Removed (unmaintained)
Reference: http://lists.slackbuilds.org/pipermail/slackbuilds-users/2010-October/006570.html Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/arptables/README12
-rw-r--r--network/arptables/arptables.SlackBuild95
-rw-r--r--network/arptables/arptables.info10
-rw-r--r--network/arptables/doinst.sh29
-rw-r--r--network/arptables/slack-desc19
5 files changed, 0 insertions, 165 deletions
diff --git a/network/arptables/README b/network/arptables/README
deleted file mode 100644
index f0c803b1c35a1..0000000000000
--- a/network/arptables/README
+++ /dev/null
@@ -1,12 +0,0 @@
-Arptables is used to set up, maintain, and inspect the tables of ARP rules
-in the Linux kernel. It is analogous to iptables, but operates at the ARP
-layer rather than the IP layer.
-
-Currently, only support for specifying hardware addresses for Ethernet
-is available. This tool is not luser-proof: you can specify an Ethernet
-source address and set hardware length to something different than 6, f.e.
-
-Arptables Frequently (and less frequently) Asked Questions:
-http://ebtables.sourceforge.net/arptables-faq.html
-
-Note: an /etc/rc.d/init.d/arptables sysv-style script is included.
diff --git a/network/arptables/arptables.SlackBuild b/network/arptables/arptables.SlackBuild
deleted file mode 100644
index b2bd78c23cc2a..0000000000000
--- a/network/arptables/arptables.SlackBuild
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for arptables
-# Written by Menno Duursma
-# Modified by the SlackBuilds.org project
-
-# 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=arptables
-VERSION=0.0.3
-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}
-
-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 # exit on most errors
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-v$VERSION-4
-tar xvf $CWD/$PRGNAM-v$VERSION-4.tar.gz
-cd $PRGNAM-v$VERSION-4
-
-chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -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 {} \;
-
-mkdir -p $PKG/usr/{man,sbin}
-mkdir -p $PKG/etc/{sysconfig,rc.d/init.d}
-
-make \
- COPT_FLAGS="$SLKCFLAGS" \
- PREFIX=/usr \
- BINDIR=/usr/sbin \
- SYSCONFIGDIR=/etc
-
-make install \
- PREFIX=/usr \
- BINDIR=/usr/sbin \
- SYSCONFIGDIR=/etc \
- DESTDIR=$PKG
-
-# Move the init script to .new and let doinst.sh handle it
-( cd $PKG/etc/rc.d/init.d
- mv -v $PRGNAM $PRGNAM.new
-)
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-if [ -d $PKG/usr/man ]; then
- gzip -9 $PKG/usr/man/man?/*
-fi
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README$TAG
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/arptables/arptables.info b/network/arptables/arptables.info
deleted file mode 100644
index 608492a1e322f..0000000000000
--- a/network/arptables/arptables.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="arptables"
-VERSION="0.0.3"
-HOMEPAGE="http://ebtables.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/ebtables/arptables-v0.0.3-4.tar.gz"
-MD5SUM="1d4ab05761f063b0751645d8f2b8f8e5"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-MAINTAINER="Menno Duursma"
-EMAIL="druiloor@zonnet.nl"
-APPROVED="Erik Hanson"
diff --git a/network/arptables/doinst.sh b/network/arptables/doinst.sh
deleted file mode 100644
index e2658e2fe1f40..0000000000000
--- a/network/arptables/doinst.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-# Keep same permissions on rc files:
-if [ -e etc/rc.d/init.d/arptables ]; then
- cp -a etc/rc.d/init.d/arptables etc/rc.d/init.d/arptables.new.incoming
- cat etc/rc.d/init.d/arptables.new > etc/rc.d/init.d/arptables.new.incoming
- mv etc/rc.d/init.d/arptables.new.incoming etc/rc.d/init.d/arptables.new
-fi
-config etc/rc.d/init.d/arptables.new
-
-# Make sure we have the sysv-style configs
-if [ ! -e etc/sysconfig/network ]; then
- touch etc/sysconfig/network
-fi
-if [ ! -e etc/sysconfig/arptables ]; then
- touch etc/sysconfig/arptables
-fi
-
diff --git a/network/arptables/slack-desc b/network/arptables/slack-desc
deleted file mode 100644
index 46fdfca714982..0000000000000
--- a/network/arptables/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------------------------------------------------------|
-arptables: arptables (ARP filter table administration)
-arptables:
-arptables: arptables is a user space tool used to set up and maintain
-arptables: tables of ARP filter rules in the Linux kernel.
-arptables:
-arptables: Only support for specifying hardware addresses for
-arptables: Ethernet is currently available.
-arptables:
-arptables:
-arptables:
-arptables: