81 lines
2.1 KiB
RPMSpec
81 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package ebtables (Version v2.0.6)
|
|
#
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: ebtables
|
|
License: GPL v2 or later
|
|
Group: Productivity/Networking/Security
|
|
Autoreqprov: on
|
|
Version: v2.0.6
|
|
Release: 68
|
|
Summary: Ethernet Bridge Tables
|
|
Source: %{name}-%{version}.tar.bz2
|
|
Patch: %{name}-%{version}-makefile.diff
|
|
Patch1: %{name}-%{version}-gcc.diff
|
|
URL: http://ebtables.sourceforge.net/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
A firewalling tool to transparently 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.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Bart De Schuymer <bdschuym@pandora.be>
|
|
Nick Fedchik <nick@fedchik.org.ua>
|
|
Grzegorz Borowiak <grzes@gnu.univ.gda.pl>
|
|
|
|
%prep
|
|
%setup
|
|
%patch
|
|
%patch1
|
|
|
|
%build
|
|
rm -rf include/linux/
|
|
make CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \
|
|
BINPATH=%{_prefix}/sbin/ \
|
|
MANDIR=%{_mandir} \
|
|
ETHERTYPESPATH=/etc
|
|
|
|
%install
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_prefix}/sbin
|
|
install -d -m 755 $RPM_BUILD_ROOT/etc
|
|
make BINPATH=$RPM_BUILD_ROOT%{_prefix}/sbin/ \
|
|
MANDIR=$RPM_BUILD_ROOT%{_mandir} \
|
|
ETHERTYPESPATH=$RPM_BUILD_ROOT/etc \
|
|
install
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc %{_mandir}/man8/ebtables.8*
|
|
%{_prefix}/sbin/ebtables
|
|
%config(noreplace) /etc/ethertypes
|
|
|
|
%changelog
|
|
* Thu Aug 09 2007 - olh@suse.de
|
|
- remove private include/linux/ files
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Wed Jun 29 2005 - meissner@suse.de
|
|
- use RPM_OPT_FLAGS.
|
|
* Thu Apr 21 2005 - postadal@suse.cz
|
|
- fixed for gcc 4.0
|
|
* Fri Jun 18 2004 - postadal@suse.cz
|
|
- new package v2.0.6
|