summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-firewall/ebtables/ChangeLog6
-rw-r--r--net-firewall/ebtables/ebtables-2.0.6.ebuild15
-rw-r--r--net-firewall/ebtables/files/ebtables-2.0.6-gcc34.patch11
3 files changed, 29 insertions, 3 deletions
diff --git a/net-firewall/ebtables/ChangeLog b/net-firewall/ebtables/ChangeLog
index 5aa40a0e6406..b41a3c8e4c02 100644
--- a/net-firewall/ebtables/ChangeLog
+++ b/net-firewall/ebtables/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-firewall/ebtables
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ChangeLog,v 1.4 2004/07/01 22:14:06 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ChangeLog,v 1.5 2004/07/20 02:45:13 lv Exp $
+
+ 19 Jul 2004; Travis Tilley <lv@gentoo.org>
+ +files/ebtables-2.0.6-gcc34.patch, ebtables-2.0.6.ebuild:
+ added 'inherit eutils', fixed compiling with gcc 3.4, and added ~amd64 keyword
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
ebtables-2.0.6.ebuild:
diff --git a/net-firewall/ebtables/ebtables-2.0.6.ebuild b/net-firewall/ebtables/ebtables-2.0.6.ebuild
index c5f9e057ae9e..19c1fb808f96 100644
--- a/net-firewall/ebtables/ebtables-2.0.6.ebuild
+++ b/net-firewall/ebtables/ebtables-2.0.6.ebuild
@@ -1,19 +1,30 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ebtables-2.0.6.ebuild,v 1.6 2004/07/14 23:40:39 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ebtables-2.0.6.ebuild,v 1.7 2004/07/20 02:45:13 lv Exp $
DESCRIPTION="Utility that enables basic Ethernet frame filtering on a Linux bridge, MAC NAT and brouting."
SRC_URI="mirror://sourceforge/${PN}/${PN}-v${PV}.tar.gz"
HOMEPAGE="http://${PN}.sourceforge.net/"
-KEYWORDS="~x86 ~ppc"
+KEYWORDS="~x86 ~ppc ~amd64"
IUSE=""
LICENSE="GPL-2"
SLOT="0"
+inherit eutils
+
S=${WORKDIR}/${PN}-v${PV}/
DEPEND="virtual/libc"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # fix a silly little "label at end of compound statement" error that
+ # prevents ebtables from being compilable with gcc 3.4
+ epatch ${FILESDIR}/ebtables-2.0.6-gcc34.patch
+}
+
src_install() {
dodir /sbin/
einstall MANDIR=${D}/usr/share/man ETHERTYPESPATH=${D}/etc/ BINPATH=${D}/sbin/ || die
diff --git a/net-firewall/ebtables/files/ebtables-2.0.6-gcc34.patch b/net-firewall/ebtables/files/ebtables-2.0.6-gcc34.patch
new file mode 100644
index 000000000000..33ff9a4e0b03
--- /dev/null
+++ b/net-firewall/ebtables/files/ebtables-2.0.6-gcc34.patch
@@ -0,0 +1,11 @@
+--- ebtables-v2.0.6.old/ebtables.c 2004-07-19 22:38:16.955817128 -0400
++++ ebtables-v2.0.6/ebtables.c 2004-07-19 22:38:55.241996744 -0400
+@@ -1170,7 +1170,7 @@
+ if (!t->compare(t->t, u_e->t))
+ continue;
+ return i;
+-letscontinue:
++letscontinue:;
+ }
+ return -1;
+ }