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: ChangeLog ebtables-2.0.8.2.ebuild ebtables-2.0.6-r1.ebuild ebtables-2.0.8.1-r1.ebuild
Date: Fri, 28 Sep 2007 19:30:55
Message-Id: E1IbLPi-0001Nc-57@stork.gentoo.org
1 pva 07/09/28 19:22:14
2
3 Modified: ChangeLog
4 Added: ebtables-2.0.8.2.ebuild
5 Removed: ebtables-2.0.6-r1.ebuild ebtables-2.0.8.1-r1.ebuild
6 Log:
7 Version bump. Finally init script works, thank Lech Perczak <lech.perczak AT multivision.pl>, bug #189315. Remove old.
8 (Portage version: 2.1.3.10)
9
10 Revision Changes Path
11 1.19 net-firewall/ebtables/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ebtables/ChangeLog?rev=1.19&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ebtables/ChangeLog?rev=1.19&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ebtables/ChangeLog?r1=1.18&r2=1.19
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ChangeLog,v
20 retrieving revision 1.18
21 retrieving revision 1.19
22 diff -u -r1.18 -r1.19
23 --- ChangeLog 10 Sep 2007 19:20:49 -0000 1.18
24 +++ ChangeLog 28 Sep 2007 19:22:13 -0000 1.19
25 @@ -1,6 +1,16 @@
26 # ChangeLog for net-firewall/ebtables
27 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ChangeLog,v 1.18 2007/09/10 19:20:49 maekke Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ChangeLog,v 1.19 2007/09/28 19:22:13 pva Exp $
30 +
31 +*ebtables-2.0.8.2 (28 Sep 2007)
32 +
33 + 28 Sep 2007; <pva@g.o> -files/ebtables-2.0.6-gcc34.patch,
34 + -files/ebtables-2.0.6-gcc4.patch, +files/ebtables-2.0.8.1-ebt-save.diff,
35 + -files/README.gentoo.init, files/ebtables.confd, files/ebtables.initd,
36 + -ebtables-2.0.6-r1.ebuild, -ebtables-2.0.8.1-r1.ebuild,
37 + +ebtables-2.0.8.2.ebuild:
38 + Version bump. Finally init script works, thank Lech Perczak <lech.perczak AT
39 + multivision.pl>, bug #189315. Remove old.
40
41 10 Sep 2007; Markus Meier <maekke@g.o> ebtables-2.0.8.1.ebuild:
42 stable on x86, wrt bug #191127
43
44
45
46 1.1 net-firewall/ebtables/ebtables-2.0.8.2.ebuild
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ebtables/ebtables-2.0.8.2.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ebtables/ebtables-2.0.8.2.ebuild?rev=1.1&content-type=text/plain
50
51 Index: ebtables-2.0.8.2.ebuild
52 ===================================================================
53 # Copyright 1999-2007 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ebtables-2.0.8.2.ebuild,v 1.1 2007/09/28 19:22:13 pva Exp $
56
57 inherit versionator eutils toolchain-funcs multilib
58
59 MY_PV=$(replace_version_separator 3 '-' )
60 MY_P="${PN}-v${MY_PV}"
61
62 DESCRIPTION="Utility that enables basic Ethernet frame filtering on a Linux bridge, MAC NAT and brouting."
63 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
64 HOMEPAGE="http://ebtables.sourceforge.net/"
65 KEYWORDS="~amd64 ~ppc ~x86"
66 IUSE=""
67 LICENSE="GPL-2"
68 SLOT="0"
69
70 S=${WORKDIR}/${MY_P}
71
72 src_unpack() {
73 unpack ${A}
74 cd "${S}"
75
76 # Enchance ebtables-save to take table names as parameters bug #189315
77 epatch "${FILESDIR}"/${PN}-2.0.8.1-ebt-save.diff
78
79 sed -i -e "s,^MANDIR:=.*,MANDIR:=/usr/share/man," \
80 -e "s,^BINDIR:=.*,BINDIR:=/sbin," \
81 -e "s,^INITDIR:=.*,INITDIR:=/usr/share/doc/${PF}," \
82 -e "s,^SYSCONFIGDIR:=.*,SYSCONFIGDIR:=/usr/share/doc/${PF}," \
83 -e "s,^LIBDIR:=.*,LIBDIR:=/$(get_libdir)/\$(PROGNAME)," Makefile
84 }
85
86 src_compile() {
87 emake CC="$(tc-getCC)" || die "emake failed"
88 }
89
90 src_install() {
91 dodoc ChangeLog THANKS
92 make DESTDIR="${D}" install || die
93 keepdir /var/lib/ebtables/
94
95 newinitd "${FILESDIR}"/ebtables.initd ebtables
96 newconfd "${FILESDIR}"/ebtables.confd ebtables
97 }
98
99 pkg_postinst() {
100 echo
101 einfo "If you are interested in gentoo init script for ebtables, please,"
102 einfo "read the following file:"
103 einfo "/usr/share/doc/${PF}/init-scripts/README.gentoo.init"
104 echo
105 }
106
107
108
109 --
110 gentoo-commits@g.o mailing list