ebtables: deleted unmaintained port

This commit is contained in:
Tim Biermann 2021-03-08 19:51:48 +00:00
parent d883d69f02
commit c373d28e4e
Signed by: tb
GPG Key ID: 42F8B4E30B673606
7 changed files with 0 additions and 138 deletions

View File

@ -1,18 +0,0 @@
drwxr-xr-x root/root etc/
-rw-r--r-- root/root etc/ethertypes
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
-rwxr-xr-x root/root usr/lib/libebtc.la
lrwxrwxrwx root/root usr/lib/libebtc.so -> libebtc.so.0.0.0
lrwxrwxrwx root/root usr/lib/libebtc.so.0 -> libebtc.so.0.0.0
-rwxr-xr-x root/root usr/lib/libebtc.so.0.0.0
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/ebtables-legacy
-rwxr-xr-x root/root usr/sbin/ebtables-legacy-restore
-rwxr-xr-x root/root usr/sbin/ebtables-legacy-save
-rwxr-xr-x root/root usr/sbin/ebtablesd
-rwxr-xr-x root/root usr/sbin/ebtablesu
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man8/
-rw-r--r-- root/root usr/share/man/man8/ebtables-legacy.8.gz

View File

@ -1,8 +0,0 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF30BTCsOw7z5fSyNOEa7iVaFxPx/oyRR0F2fcD3FFDYCCFDfBIVeeYIX1HlqRkC3d0d9OcmX3N6bFt9NAmBraIAA=
SHA256 (Pkgfile) = bca5f449c790f9a8cd7dfac84c9e01c58a786017e3b2836666fe8dde3ceb44f8
SHA256 (.footprint) = c8de5015026a5419b9db034053323e98d0a388307ceff669989b82d44f3f9235
SHA256 (ebtables-2.0.11.tar.gz) = b71f654784a726329f88b412ef7b96b4e5d786ed2bd28193ed7b4c0d677dfd2a
SHA256 (ebtables-2.0.11-ebt-save.patch) = 27294013cd08ccda647cdf2bb3b54a87fb44f2b2bd7bc11cdece4a37e376f58e
SHA256 (ebtables-2.0.11-makefile.patch) = c6ec7f21c421b8df28decb6e43a5e6cdb7202a7d628917aacaaa392e98995383
SHA256 (ebtables-2.0.11-remove-stray-atsign.patch) = c9f03364d94d5191400381868ff5f6cb2112d3e3fbdd79d805de0bb8e7c820a9

View File

@ -1,30 +0,0 @@
# Description: A firewalling tool to transparently filter network traffic passing a bridge
# URL: https://ebtables.netfilter.org
# Maintainer: Thomas Penteker, tek at serverop dot de
# Packager: Mikhail Kolesnik, mike at openbunker dot org
name=ebtables
version=2.0.11
release=1
source=(http://ftp.netfilter.org/pub/ebtables/$name-$version.tar.gz
# https://gitweb.gentoo.org/repo/gentoo.git/tree/net-firewall/ebtables/files
ebtables-2.0.11-ebt-save.patch ebtables-2.0.11-makefile.patch
ebtables-2.0.11-remove-stray-atsign.patch)
build() {
cd $name-$version
patch -Np1 -i $SRC/ebtables-2.0.11-ebt-save.patch
patch -Np1 -i $SRC/ebtables-2.0.11-makefile.patch
patch -Np1 -i $SRC/ebtables-2.0.11-remove-stray-atsign.patch
./autogen.sh
./configure --prefix=/usr \
--sysconfdir=/etc
mkdir -p $PKG/usr/sbin
make
make DESTDIR=$PKG install
rm -rf $PKG/etc/{rc.d,sysconfig}
}

View File

@ -1,11 +0,0 @@
README for ebtables
REQUIREMENTS
PRE-INSTALL
POST-INSTALL
RESOURCES
Some info on the kernel configuration is available at:
http://ebtables.sourceforge.net/download.html

View File

@ -1,26 +0,0 @@
diff --git a/ebtables-save.in b/ebtables-save.in
index 17924a2..c7a64c3 100644
--- a/ebtables-save.in
+++ b/ebtables-save.in
@@ -12,6 +12,7 @@ my $ebtables = "@sbindir@/ebtables";
my $cnt = "";
my $version = "1.0";
my $table_name;
+my @table_names;
# ========================================================
# Process filter table
@@ -49,6 +50,13 @@ sub process_table {
}
# ========================================================
+if ($#ARGV + 1 == 0) {
+ @table_names =split("\n", `grep -E '^ebtable_' /proc/modules | cut -f1 -d' ' | sed s/ebtable_//`);
+}
+else {
+ @table_names = @ARGV;
+}
+# ========================================================
unless (-x $ebtables) { exit -1 };
print "# Generated by ebtables-save v$version (legacy) on " . `date`;
if (defined($ENV{'EBTABLES_SAVE_COUNTER'}) && $ENV{'EBTABLES_SAVE_COUNTER'} eq "yes") {

View File

@ -1,13 +0,0 @@
diff --git a/Makefile.am b/Makefile.am
index 6181003..de01139 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -50,7 +50,7 @@ ebtables_legacy_LDADD = libebtc.la
ebtablesd_LDADD = libebtc.la
ebtables_legacy_restore_SOURCES = ebtables-restore.c
ebtables_legacy_restore_LDADD = libebtc.la
-static_SOURCES = ebtables.c
+static_SOURCES = ebtables.c ebtables-standalone.c
static_LDFLAGS = -static
static_LDADD = libebtc.la
examples_ulog_test_ulog_SOURCES = examples/ulog/test_ulog.c getethertype.c

View File

@ -1,32 +0,0 @@
From 7d00e58157bc61168a057cde91a6e5b54dca573b Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Mon, 2 Dec 2019 20:52:04 +0100
Subject: build: remove stray @ sign in manpage
Because the sed command was not matching the trailing @, it
was left in the manpage, leading to
NAME
ebtables-legacy (2.0.11@) - Ethernet bridge frame table administration (legacy)
Signed-off-by: Jan Engelhardt <jengelh@inai.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index b879941..6181003 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -64,6 +64,6 @@ ebtables-legacy-save: ebtables-save.in ${top_builddir}/config.status
${AM_V_GEN}sed -e 's![@]sbindir@!${sbindir}!g' <$< >$@
ebtables-legacy.8: ebtables-legacy.8.in ${top_builddir}/config.status
- ${AM_V_GEN}sed -e 's![@]PACKAGE_VERSION!${PACKAGE_VERSION}!g' \
+ ${AM_V_GEN}sed -e 's![@]PACKAGE_VERSION@!${PACKAGE_VERSION}!g' \
-e 's![@]PACKAGE_DATE@!${PROGDATE}!g' \
-e 's![@]LOCKFILE@!${LOCKFILE}!g' <$< >$@
--
cgit v1.2.1