summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Tilley <lv@gentoo.org>2004-07-20 02:45:13 +0000
committerTravis Tilley <lv@gentoo.org>2004-07-20 02:45:13 +0000
commit60171616873c7d57921e07feabaf18c7bc3b2030 (patch)
tree4f5f593f2867fa8f3be204e691910f1985fbcb75 /net-firewall/ebtables
parentInitial import for app-sci/embassy-meme (diff)
downloadhistorical-60171616873c7d57921e07feabaf18c7bc3b2030.tar.gz
historical-60171616873c7d57921e07feabaf18c7bc3b2030.tar.bz2
historical-60171616873c7d57921e07feabaf18c7bc3b2030.zip
added 'inherit eutils', fixed compiling with gcc 3.4, and added ~amd64 keyword
Diffstat (limited to 'net-firewall/ebtables')
-rw-r--r--net-firewall/ebtables/ChangeLog6
-rw-r--r--net-firewall/ebtables/Manifest5
-rw-r--r--net-firewall/ebtables/ebtables-2.0.6.ebuild15
-rw-r--r--net-firewall/ebtables/files/ebtables-2.0.6-gcc34.patch11
4 files changed, 32 insertions, 5 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/Manifest b/net-firewall/ebtables/Manifest
index e54424591285..6df2f7c4899a 100644
--- a/net-firewall/ebtables/Manifest
+++ b/net-firewall/ebtables/Manifest
@@ -1,4 +1,5 @@
-MD5 a12fbc5c9beade1d940a30ff9336eca8 ebtables-2.0.6.ebuild 658
-MD5 b05e162f0e79aef7027876491b6da549 ChangeLog 657
+MD5 6ff19dcd094e51888d00c2e30901a29f ebtables-2.0.6.ebuild 889
+MD5 3ef42339c38417be25b0bd10fad9409a ChangeLog 836
MD5 3eaf375e87551d0b332db3a82109c9d7 metadata.xml 221
MD5 72232fd4c734d316f9f588216d3228f2 files/digest-ebtables-2.0.6 66
+MD5 0488ef6b4eb8aa41352527597cb5d2ad files/ebtables-2.0.6-gcc34.patch 272
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;
+ }