summaryrefslogtreecommitdiff
path: root/community/arptables
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
committerroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
commitdee9f17b595ea903a982d31d1124b302bb17e2ff (patch)
tree295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/arptables
parent380530d02a5449fdef97b63b394a6743c3de0092 (diff)
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/arptables')
-rw-r--r--community/arptables/PKGBUILD49
-rw-r--r--community/arptables/arptables.service11
-rw-r--r--community/arptables/arptables.systemd21
3 files changed, 0 insertions, 81 deletions
diff --git a/community/arptables/PKGBUILD b/community/arptables/PKGBUILD
deleted file mode 100644
index edc4066e8..000000000
--- a/community/arptables/PKGBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id: PKGBUILD 90489 2013-05-12 22:21:54Z seblu $
-# Maintainer: Sébastien Luttringer
-# Contributor: Daniel Micay <danielmicay@gmail.com>
-# Contributor: Michal Soltys <soltys@ziu.info>
-
-pkgname=arptables
-pkgver=0.0.4
-pkgrel=2
-pkgdesc='ARP filtering utility'
-arch=('i686' 'x86_64')
-url='http://ebtables.sourceforge.net/'
-depends=('glibc' 'perl' 'bash')
-license=('GPL')
-backup=("etc/$pkgname.conf")
-source=("http://downloads.sourceforge.net/ebtables/$pkgname-v${pkgver//_/-}.tar.gz"
- "$pkgname.systemd"
- "$pkgname.service")
-md5sums=('c2e99c3aa9d78c9dfa30710ca3168182'
- 'e54342a833c52b2bc67e7985e8f8fdfd'
- 'b26771191e52905d8aea6333c26cb1c3')
-
-build() {
- cd $pkgname-v${pkgver//_/-}
- make
-}
-
-package() {
- pushd $pkgname-v${pkgver//_/-}
- make install \
- DESTDIR="$pkgdir" \
- PREFIX=/usr \
- LIBDIR=/usr/lib/arptables \
- BINDIR=/usr/bin \
- MANDIR=/usr/share/man \
- INITDIR=/etc/rc.d \
- SYSCONFIGDIR=/etc
- popd
- # systemd
- install -Dm 755 $pkgname.systemd \
- "$pkgdir/usr/lib/systemd/scripts/$pkgname"
- install -Dm 644 $pkgname.service \
- "$pkgdir/usr/lib/systemd/system/$pkgname.service"
- # default config file
- install -Dm 644 /dev/null "$pkgdir/etc/$pkgname.conf"
- # remove upstream rc
- rm -rf "$pkgdir/etc/rc.d"
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/community/arptables/arptables.service b/community/arptables/arptables.service
deleted file mode 100644
index 4fc11f17d..000000000
--- a/community/arptables/arptables.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=ARP Tables
-
-[Service]
-Type=oneshot
-RemainAfterExit=yes
-ExecStart=/usr/lib/systemd/scripts/arptables start
-ExecStop=/usr/lib/systemd/scripts/arptables stop
-
-[Install]
-WantedBy=multi-user.target
diff --git a/community/arptables/arptables.systemd b/community/arptables/arptables.systemd
deleted file mode 100644
index 6a4019257..000000000
--- a/community/arptables/arptables.systemd
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-
-CONFIG_FILE='/etc/arptables.conf'
-
-case $1 in
- start)
- arptables-restore < "$CONFIG_FILE"
- ;;
- stop)
- arptables-restore < /dev/null
- ;;
- save)
- arptables-save > "$CONFIG_FILE"
- ;;
- *)
- echo "usage: ${0##*/} {start|stop|save}" >&2
- exit 1
- ;;
-esac
-
-# vim:set ts=2 sw=2 ft=sh et: