summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArturo Borrero Gonzalez <arturo@netfilter.org>2019-01-22 18:41:45 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2019-01-28 10:47:59 +0100
commit86c2ad171a9d25c64ad8e85116909a26f5ec1b5c (patch)
tree35eee54d6c44cdc24ba21ba1ae6bd085def6b6e6
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 <arturo@netfilter.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--ebtables.spec83
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
-URL: http://ebtables.sourceforge.net/
-
-Packager: Bart De Schuymer <bdschuym@pandora.be>
-
-Source: http://dl.sf.net/ebtables/ebtables-v%{version}-%{release}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-
-%description
-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.
-
-%prep
-%setup -n ebtables-v%{version}-%{release}
-
-%build
-%{__make} %{?_smp_mflags} \
- CFLAGS="%{optflags}"
-
-%install
-%{__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
-
-%clean
-%{__rm} -rf %{buildroot}
-
-%post
-/sbin/chkconfig --add ebtables
-
-%preun
-if [ $1 -eq 0 ]; then
- /sbin/service ebtables stop &>/dev/null || :
- /sbin/chkconfig --del ebtables
-fi
-
-%files
-%defattr(-, root, root, 0755)
-%doc ChangeLog COPYING INSTALL THANKS
-%doc %{_mandir}/man8/ebtables.8*
-%config %{_sysconfdir}/ethertypes
-%config %{_mysysconfdir}/ebtables-config
-%config %{_initrddir}/ebtables
-%{_sbindir}/ebtables
-%{_sbindir}/ebtables-save
-%{_sbindir}/ebtables-restore
-%{_libdir}/ebtables/
-
-%changelog
-* Mon Nov 07 2005 Bart De Schuymer <bdschuym@pandora.be> - 2.0.8-rc1
-- Initial package.