Compare commits

...

14 Commits
master ... el4

Author SHA1 Message Date
Fedora Release Engineering bb97f1b2e6 dist-git conversion 2010-07-28 13:24:24 +00:00
Bill Nottingham 42d26cf548 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:20:09 +00:00
Tom Callaway bc8fd92bf4 Lots of fixes. License fix. buildid. 2007-08-23 14:49:16 +00:00
Tom Callaway 4e863eab71 2.0.8 final 2007-07-02 20:41:32 +00:00
Tom Callaway d61efe173f EL versions 2007-04-23 16:32:29 +00:00
Warren Togami 6c6ea5e6c1 Initialize branch EL-4 for ebtables 2007-04-23 16:25:57 +00:00
Tom Callaway 2f1557b8f4 ebtables bump to rc2 2006-04-25 02:19:32 +00:00
Tom Callaway c86c85e3dd Fix stupid mistake. 2006-04-03 02:21:05 +00:00
Tom Callaway 8f0d6c6f84 Package up shared libs too 2006-04-03 01:54:08 +00:00
Tom Callaway 3a564adfb7 ebtables gets hung up on -fstack-protector, needs -fPIC 2006-03-29 21:42:10 +00:00
Tom Callaway a427072586 v2.0.8-rc1 2006-01-10 16:03:38 +00:00
Tom Callaway 7dd24b0c4c Buildsystem error requires release increment. 2005-07-04 17:09:41 +00:00
Tom Callaway e2e5d5ed91 Fix ghosted files. 2005-07-04 15:09:44 +00:00
Tom Callaway 3ef3dc672f Resolve blockers that Chris Ricker pointed out. 2005-07-01 16:27:10 +00:00
5 changed files with 88 additions and 38 deletions

View File

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: ebtables
# $Id$
NAME := ebtables
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View File

@ -1,44 +1,53 @@
Name: ebtables
Version: 2.0.6
Release: 4%{?dist}
Version: 2.0.8
Release: 1%{?dist}
Summary: Ethernet Bridge frame table administration tool
License: GPL
License: GPLv2+
Group: System Environment/Base
URL: http://ebtables.sourceforge.net/
Source0: http://dl.sf.net/ebtables/ebtables-v%{version}.tar.gz
Source0: http://dl.sf.net/ebtables/ebtables-v%{version}-1.tar.gz
Source1: ebtables.sysv
Patch0: ebtables-2.0.6-gcc34.patch
Patch1: ebtables-2.0.6-gcc4.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
PreReq: /sbin/chkconfig
PreReq: /sbin/service
%description
Ethernet bridge tables is a firewalling tool to transparantly filter network
Ethernet bridge tables is 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.
This tool is the userspace control for the bridge and ebtables kernel
components (built by default in Fedora Core kernels).
The ebtables tool can be used together with the other Linux filtering tools,
like iptables. There are no known incompatibility issues.
%prep
%setup -n ebtables-v%{version}
%patch0 -p1
%patch1 -p1
%setup -q -n ebtables-v%{version}-1
%build
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
MY_CFLAGS=`echo $RPM_OPT_FLAGS -fPIC | sed -e 's/-fstack-protector//g'`
make %{?_smp_mflags} CFLAGS="$MY_CFLAGS"
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_libdir}
install -m0755 extensions/*.so $RPM_BUILD_ROOT%{_libdir}
install -m0755 *.so $RPM_BUILD_ROOT%{_libdir}
install -D -m0755 ebtables $RPM_BUILD_ROOT/sbin/ebtables
install -D -m0755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/ebtables
install -D -m0644 ethertypes $RPM_BUILD_ROOT%{_sysconfdir}/ethertypes
install -D -m0644 ebtables.8 $RPM_BUILD_ROOT%{_mandir}/man8/ebtables.8
touch $RPM_BUILD_ROOT%{_sysconfdir}/ebtables.filter
touch $RPM_BUILD_ROOT%{_sysconfdir}/ebtables.nat
touch $RPM_BUILD_ROOT%{_sysconfdir}/ebtables.broute
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/chkconfig --add ebtables
/sbin/ldconfig
%preun
if [ $1 -eq 0 ]; then
@ -47,7 +56,10 @@ if [ $1 -eq 0 ]; then
fi
%postun
/sbin/service ebtables condrestart &>/dev/null || :
if [ $1 -ge 1 ]; then
/sbin/service ebtables condrestart &> /dev/null || :
fi
/sbin/ldconfig
%files
%defattr(-, root, root, 0755)
@ -55,11 +67,67 @@ fi
%doc %{_mandir}/man8/ebtables.8*
%config(noreplace) %{_sysconfdir}/ethertypes
%{_initrddir}/ebtables
%{_libdir}/libebt*.so
/sbin/ebtables
%ghost %{_sysconfdir}/ebtables.filter
%ghost %{_sysconfdir}/ebtables.nat
%ghost %{_sysconfdir}/ebtables.broute
%changelog
* Mon Jul 2 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.8-1
- final 2.0.8 release
* Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.8-0.8.rc3
- fix release order
* Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.8-0.1.rc3
- bump to rc3
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 2.0.8-0.7.rc2
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
* Mon Sep 18 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.8-0.6.rc2
- fix versioning
* Thu Sep 14 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.8-0.3.rc2
- fix bugzilla 206257
* 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
* Sun Apr 2 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.8-0.5.rc1
- learn to use "install" correctly. :/
* Sun Apr 2 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.8-0.4.rc1
- package up the shared libs too
* Wed Mar 29 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.8-0.3.rc1
- use -fPIC
* Wed Mar 29 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.8-0.2.rc1
- broken tagging
* Tue Jan 10 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.8-0.1.rc1
- bump to 2.0.8-rc1
* Mon Jul 4 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.6-7
- buildsystem error requires artificial release bump
* Mon Jul 4 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.6-6
- actually touch ghosted files
* Fri Jul 1 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.6-5
- fix sysv file
* Fri Jul 1 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.6-4
- remove INSTALL file
- add some text to description, correct typos
- fix %postun
- add PreReqs
- add %ghost config files
* Tue May 31 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.6-3
- reworked for Fedora Extras

View File

@ -10,7 +10,7 @@
#
# config: /etc/sysconfig/ebtables.filter
# config: /etc/sysconfig/ebtables.nat
# config: /etc/sysconfig/ebtables.route
# config: /etc/sysconfig/ebtables.broute
source /etc/init.d/functions
source /etc/sysconfig/network
@ -27,6 +27,8 @@ RETVAL_BROUTE=0
prog="ebtables"
desc="Ethernet bridge filtering"
lockfile=/var/lock/subsys/$prog
initialize() {
# Initialize $TYPE tables
echo -n $" $TYPE tables: "
@ -68,7 +70,7 @@ start() {
RETVAL=`expr $RETVAL_BROUTE + $RETVAL_NAT + $RETVAL_FILTER`
if [ $RETVAL -eq 0 ]; then
rm -f /var/lock/subsys/$prog
touch $lockfile
fi
echo
@ -87,7 +89,7 @@ stop() {
if [ $RETVAL -eq 0 ]; then
success "$prog shutdown"
rm -f /var/lock/subsys/$prog
rm -f $lockfile
else
failure "$prog shutdown"
fi
@ -126,7 +128,7 @@ case "$1" in
restart
;;
condrestart)
[ -e /var/lock/subsys/$prog ] && restart
[ -e $lockfile ] && restart
RETVAL=$?
;;
save)

View File

@ -1 +1,2 @@
c4559af2366c764c6c42a3fdd40d60d3 ebtables-v2.0.6.tar.gz
92f0dd5107b92a744e104f50f9b2dd2d ebtables-v2.0.8-rc3.tar.gz
216e5d20fbd0e56dbe7e56b0d07b1909 ebtables-v2.0.8-1.tar.gz