Fix for FC-6.
This commit is contained in:
parent
ca6da54f98
commit
668cf0e028
10
ebtables-2.0.8-noconfigh.patch
Normal file
10
ebtables-2.0.8-noconfigh.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- ebtables-v2.0.8-rc2/include/linux/netfilter_bridge.h.BAD 2006-09-12 18:06:32.000000000 -0500
|
||||
+++ ebtables-v2.0.8-rc2/include/linux/netfilter_bridge.h 2006-09-12 18:06:54.000000000 -0500
|
||||
@@ -4,7 +4,6 @@
|
||||
/* bridge-specific defines for netfilter.
|
||||
*/
|
||||
|
||||
-#include <linux/config.h>
|
||||
#include <linux/netfilter.h>
|
||||
#if defined(__KERNEL__) && defined(CONFIG_BRIDGE_NETFILTER)
|
||||
#include <asm/atomic.h>
|
@ -2,13 +2,14 @@
|
||||
|
||||
Name: ebtables
|
||||
Version: 2.0.8
|
||||
Release: 0.1.%{prever}%{?dist}
|
||||
Release: 0.2.%{prever}%{?dist}
|
||||
Summary: Ethernet Bridge frame table administration tool
|
||||
License: GPL
|
||||
Group: System Environment/Base
|
||||
URL: http://ebtables.sourceforge.net/
|
||||
Source0: http://dl.sf.net/ebtables/ebtables-v%{version}-%{prever}.tar.gz
|
||||
Source1: ebtables.sysv
|
||||
Patch0: ebtables-2.0.8-noconfigh.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
PreReq: /sbin/chkconfig
|
||||
PreReq: /sbin/service
|
||||
@ -26,6 +27,7 @@ like iptables. There are no known incompatibility issues.
|
||||
|
||||
%prep
|
||||
%setup -q -n ebtables-v%{version}-%{prever}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
MY_CFLAGS=`echo $RPM_OPT_FLAGS -fPIC | sed -e 's/-fstack-protector//g'`
|
||||
@ -76,6 +78,9 @@ fi
|
||||
%ghost %{_sysconfdir}/ebtables.broute
|
||||
|
||||
%changelog
|
||||
* Tue Sep 12 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.8-0.2.rc2
|
||||
- fix for FC-6
|
||||
|
||||
* Mon Apr 24 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.8-0.1.rc2
|
||||
- bump to rc2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user