Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-firewall/ebtables: ebtables-2.0.9.1.ebuild ChangeLog ebtables-2.0.8.2.ebuild
Date: Mon, 22 Jun 2009 15:07:06
Message-Id: E1MIl6T-0007Ak-2W@stork.gentoo.org
1 pva 09/06/22 15:06:37
2
3 Modified: ChangeLog
4 Added: ebtables-2.0.9.1.ebuild
5 Removed: ebtables-2.0.8.2.ebuild
6 Log:
7 Version bump, fixes 'invalid size 8 != 4', bug #273693 reported by Joakim Tjernlund.
8 (Portage version: 2.2_rc33/cvs/Linux i686)
9
10 Revision Changes Path
11 1.28 net-firewall/ebtables/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ebtables/ChangeLog?rev=1.28&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ebtables/ChangeLog?rev=1.28&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ebtables/ChangeLog?r1=1.27&r2=1.28
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ChangeLog,v
20 retrieving revision 1.27
21 retrieving revision 1.28
22 diff -u -r1.27 -r1.28
23 --- ChangeLog 4 Jan 2009 15:38:26 -0000 1.27
24 +++ ChangeLog 22 Jun 2009 15:06:36 -0000 1.28
25 @@ -1,6 +1,13 @@
26 # ChangeLog for net-firewall/ebtables
27 -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ChangeLog,v 1.27 2009/01/04 15:38:26 maekke Exp $
29 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ChangeLog,v 1.28 2009/06/22 15:06:36 pva Exp $
31 +
32 +*ebtables-2.0.9.1 (22 Jun 2009)
33 +
34 + 22 Jun 2009; Peter Volkov <pva@g.o>
35 + +files/ebtables-v2.0.9-1-LDFLAGS.diff, +ebtables-2.0.9.1.ebuild:
36 + Version bump, fixes 'invalid size 8 != 4', bug #273693 reported by Joakim
37 + Tjernlund.
38
39 04 Jan 2009; Markus Meier <maekke@g.o> ebtables-2.0.8.2-r2.ebuild:
40 amd64/x86 stable, bug #252658
41
42
43
44 1.1 net-firewall/ebtables/ebtables-2.0.9.1.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ebtables/ebtables-2.0.9.1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ebtables/ebtables-2.0.9.1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: ebtables-2.0.9.1.ebuild
50 ===================================================================
51 # Copyright 1999-2009 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ebtables-2.0.9.1.ebuild,v 1.1 2009/06/22 15:06:36 pva Exp $
54
55 inherit versionator eutils toolchain-funcs multilib flag-o-matic
56
57 MY_PV=$(replace_version_separator 3 '-' )
58 MY_P=${PN}-v${MY_PV}
59
60 DESCRIPTION="Utility that enables basic Ethernet frame filtering on a Linux bridge, MAC NAT and brouting."
61 HOMEPAGE="http://ebtables.sourceforge.net/"
62 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
63
64 KEYWORDS="~amd64 ~ppc ~x86"
65 IUSE=""
66 LICENSE="GPL-2"
67 SLOT="0"
68
69 S=${WORKDIR}/${MY_P}
70
71 src_unpack() {
72 unpack ${A}
73 cd "${S}"
74
75 # Enchance ebtables-save to take table names as parameters bug #189315
76 epatch "${FILESDIR}/${PN}-2.0.8.1-ebt-save.diff"
77 epatch "${FILESDIR}/${PN}-v2.0.9-1-LDFLAGS.diff"
78 epatch "${FILESDIR}/${PN}-v2.0.8-2-ethertype-DESTDIR-mkdir.patch"
79
80 sed -i -e "s,^MANDIR:=.*,MANDIR:=/usr/share/man," \
81 -e "s,^BINDIR:=.*,BINDIR:=/sbin," \
82 -e "s,^INITDIR:=.*,INITDIR:=/usr/share/doc/${PF}," \
83 -e "s,^SYSCONFIGDIR:=.*,SYSCONFIGDIR:=/usr/share/doc/${PF}," \
84 -e "s,^LIBDIR:=.*,LIBDIR:=/$(get_libdir)/\$(PROGNAME)," Makefile
85 sed -i -e "s/^CFLAGS:=/CFLAGS+=/" Makefile
86 sed -i -e "s,^CC:=.*,CC:=$(tc-getCC)," Makefile
87 }
88
89 src_compile() {
90 # This package uses _init functions to initialise extensions. With
91 # --as-needed this will not work.
92 append-ldflags -Wl,--no-as-needed
93 emake || die "emake failed"
94 }
95
96 src_install() {
97 make DESTDIR="${D}" install || die
98 dodoc ChangeLog THANKS || die
99 keepdir /var/lib/ebtables/
100 newinitd "${FILESDIR}"/ebtables.initd ebtables || die
101 newconfd "${FILESDIR}"/ebtables.confd ebtables || die
102 }