summaryrefslogtreecommitdiff
path: root/community/ebtables
diff options
context:
space:
mode:
Diffstat (limited to 'community/ebtables')
-rw-r--r--community/ebtables/PKGBUILD51
-rw-r--r--community/ebtables/ebtables.install9
-rw-r--r--community/ebtables/ebtables.service11
-rw-r--r--community/ebtables/ebtables.systemd21
4 files changed, 0 insertions, 92 deletions
diff --git a/community/ebtables/PKGBUILD b/community/ebtables/PKGBUILD
deleted file mode 100644
index 4bc2b44ba..000000000
--- a/community/ebtables/PKGBUILD
+++ /dev/null
@@ -1,51 +0,0 @@
-# $Id: PKGBUILD 90459 2013-05-12 18:54:00Z seblu $
-# Maintainer: Sébastien Luttringer
-# Contributor: Michal Soltys <soltys@ziu.info>
-
-pkgname=ebtables
-pkgver=2.0.10_4
-pkgrel=4
-pkgdesc='Ethernet bridge filtering utilities'
-arch=('i686' 'x86_64')
-url='http://ebtables.sourceforge.net/'
-depends=('perl' 'bash')
-license=('GPL2')
-backup=("etc/$pkgname.conf")
-# ebtables segfault with --as-needed
-options=('!buildflags')
-install=$pkgname.install
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-v${pkgver/_/-}.tar.gz"
- "$pkgname.systemd"
- "$pkgname.service")
-md5sums=('506742a3d44b9925955425a659c1a8d0'
- 'b4c329060809e5b290ae49fbd0ad61f2'
- 'baf923443c3b16277e50d60d2e68f534')
-
-build() {
- cd $pkgname-v${pkgver/_/-}
- make CFLAGS='-Wunused -Wall -Werror -Wno-error=unused-but-set-variable'
-}
-
-package() {
- pushd $pkgname-v${pkgver/_/-}
- make install \
- DESTDIR="$pkgdir" \
- LIBDIR=/usr/lib \
- MANDIR=/usr/share/man \
- BINDIR=/usr/bin \
- INITDIR=/etc/rc.d \
- SYSCONFIGDIR=/etc
- popd
- # rm package ebtables rc.d scripts
- rm "$pkgdir/etc/ebtables-config"
- rm -r "$pkgdir/etc/rc.d"
- # 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"
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/community/ebtables/ebtables.install b/community/ebtables/ebtables.install
deleted file mode 100644
index 7dd6921ed..000000000
--- a/community/ebtables/ebtables.install
+++ /dev/null
@@ -1,9 +0,0 @@
-## arg 1: the new package version
-## arg 2: the old package version
-post_upgrade() {
- [ $(vercmp "$2" '2.0.10_4-1') -gt 0 ] || cat <<EOF
-Config file have been moved to /etc/ebtables.conf and only support text format.
-EOF
-}
-
-# vim:set ts=2 sw=2 ft=sh et:
diff --git a/community/ebtables/ebtables.service b/community/ebtables/ebtables.service
deleted file mode 100644
index 25e6b76cc..000000000
--- a/community/ebtables/ebtables.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=Ethernet bridge table
-
-[Service]
-Type=oneshot
-RemainAfterExit=yes
-ExecStart=/usr/lib/systemd/scripts/ebtables start
-ExecStop=/usr/lib/systemd/scripts/ebtables stop
-
-[Install]
-WantedBy=multi-user.target
diff --git a/community/ebtables/ebtables.systemd b/community/ebtables/ebtables.systemd
deleted file mode 100644
index 7c21ff967..000000000
--- a/community/ebtables/ebtables.systemd
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-
-CONFIG_FILE='/etc/ebtables.conf'
-
-case $1 in
- start)
- ebtables-restore < "$CONFIG_FILE"
- ;;
- stop)
- ebtables -F
- ;;
- save)
- ebtables-save > "$CONFIG_FILE"
- ;;
- *)
- echo "usage: ${0##*/} {start|stop|save}" >&2
- exit 1
- ;;
-esac
-
-# vim:set ts=2 sw=2 ft=sh et: