diff options
authorArturo Borrero Gonzalez <>2019-01-22 18:41:45 +0100
committerPablo Neira Ayuso <>2019-01-28 10:47:59 +0100
commit86c2ad171a9d25c64ad8e85116909a26f5ec1b5c (patch)
parent6218f812d894fdd733d95c3c86b385f6f223a36a (diff)
ebtables: drop .spec file
This file is for packging in th RPM format. Clearly don't belong here. Also, it is unmaintained. Signed-off-by: Arturo Borrero Gonzalez <> Signed-off-by: Pablo Neira Ayuso <>
1 files changed, 0 insertions, 83 deletions
diff --git a/ebtables.spec b/ebtables.spec
deleted file mode 100644
index c57fbde..0000000
--- a/ebtables.spec
+++ /dev/null
@@ -1,83 +0,0 @@
-# spec file originally from Dag Wieers, altered by Bart De Schuymer
-%define _sbindir /usr/local/sbin
-%define _mysysconfdir %{_sysconfdir}/sysconfig
-Summary: Ethernet Bridge frame table administration tool
-Name: ebtables
-Version: $(VERSION)
-Release: $(RELEASE)
-License: GPL
-Group: System Environment/Base
-Packager: Bart De Schuymer <>
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-Ethernet bridge tables is a firewalling tool to transparantly filter network
-traffic passing a bridge. The filtering possibilities are limited to link
-layer filtering and some basic filtering on higher network layers.
-The ebtables tool can be used together with the other Linux filtering tools,
-like iptables. There are no incompatibility issues.
-%setup -n ebtables-v%{version}-%{release}
-%{__make} %{?_smp_mflags} \
- CFLAGS="%{optflags}"
-%{__rm} -rf %{buildroot}
-%{__install} -D -m0755 ebtables %{buildroot}%{_sbindir}/ebtables
-%{__install} -D -m0755 ebtables-restore %{buildroot}%{_sbindir}/ebtables-restore
-%{__install} -D -m0644 ethertypes %{buildroot}%{_sysconfdir}/ethertypes
-%{__install} -D -m0644 ebtables.8 %{buildroot}%{_mandir}/man8/ebtables.8
-%{__mkdir} -p %{buildroot}%{_libdir}/ebtables/
-%{__mkdir} -p %{buildroot}%{_sbindir}
-%{__mkdir} -p %{buildroot}%{_initrddir}
-%{__mkdir} -p %{buildroot}%{_mysysconfdir}
-%{__install} -m0755 extensions/*.so %{buildroot}%{_libdir}/ebtables/
-%{__install} -m0755 *.so %{buildroot}%{_libdir}/ebtables/
-export __iets=`printf %{_sbindir} | sed 's/\\//\\\\\\//g'`
-export __iets2=`printf %{_mysysconfdir} | sed 's/\\//\\\\\\//g'`
-sed -i "s/__EXEC_PATH__/$__iets/g" ebtables-save
-%{__install} -m 0755 -o root -g root ebtables-save %{buildroot}%{_sbindir}/ebtables-save
-sed -i "s/__EXEC_PATH__/$__iets/g" ebtables.sysv; sed -i "s/__SYSCONFIG__/$__iets2/g" ebtables.sysv
-%{__install} -m 0755 -o root -g root ebtables.sysv %{buildroot}%{_initrddir}/ebtables
-sed -i "s/__SYSCONFIG__/$__iets2/g" ebtables-config
-%{__install} -m 0600 -o root -g root ebtables-config %{buildroot}%{_mysysconfdir}/ebtables-config
-unset __iets
-unset __iets2
-%{__rm} -rf %{buildroot}
-/sbin/chkconfig --add ebtables
-if [ $1 -eq 0 ]; then
- /sbin/service ebtables stop &>/dev/null || :
- /sbin/chkconfig --del ebtables
-%defattr(-, root, root, 0755)
-%doc %{_mandir}/man8/ebtables.8*
-%config %{_sysconfdir}/ethertypes
-%config %{_mysysconfdir}/ebtables-config
-%config %{_initrddir}/ebtables
-* Mon Nov 07 2005 Bart De Schuymer <> - 2.0.8-rc1
-- Initial package.