1 |
pva 10/10/09 13:10:34 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: arptables-0.0.3.4-r2.ebuild |
5 |
Log: |
6 |
Fixed arptables-save, bug #339377, thank Alexey Vlasov for report. Borrowed some additional patches from debian. |
7 |
|
8 |
(Portage version: 2.1.9.14/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.17 net-firewall/arptables/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/arptables/ChangeLog?rev=1.17&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/arptables/ChangeLog?rev=1.17&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/arptables/ChangeLog?r1=1.16&r2=1.17 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-firewall/arptables/ChangeLog,v |
20 |
retrieving revision 1.16 |
21 |
retrieving revision 1.17 |
22 |
diff -u -r1.16 -r1.17 |
23 |
--- ChangeLog 15 Sep 2010 13:51:39 -0000 1.16 |
24 |
+++ ChangeLog 9 Oct 2010 13:10:07 -0000 1.17 |
25 |
@@ -1,6 +1,15 @@ |
26 |
# ChangeLog for net-firewall/arptables |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/arptables/ChangeLog,v 1.16 2010/09/15 13:51:39 pva Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/arptables/ChangeLog,v 1.17 2010/10/09 13:10:07 pva Exp $ |
30 |
+ |
31 |
+*arptables-0.0.3.4-r2 (09 Oct 2010) |
32 |
+ |
33 |
+ 09 Oct 2010; Peter Volkov <pva@g.o> +arptables-0.0.3.4-r2.ebuild, |
34 |
+ +files/arptables-0.0.3.4-arptables_save.patch, |
35 |
+ +files/arptables-0.0.3.4-manpage.patch, |
36 |
+ +files/arptables-0.0.3.4-type.patch: |
37 |
+ Fixed arptables-save, bug #339377, thank Alexey Vlasov for report. |
38 |
+ Borrowed some additional patches from debian. |
39 |
|
40 |
*arptables-0.0.3.4-r1 (15 Sep 2010) |
41 |
|
42 |
|
43 |
|
44 |
|
45 |
1.1 net-firewall/arptables/arptables-0.0.3.4-r2.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/arptables/arptables-0.0.3.4-r2.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/arptables/arptables-0.0.3.4-r2.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: arptables-0.0.3.4-r2.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2010 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/net-firewall/arptables/arptables-0.0.3.4-r2.ebuild,v 1.1 2010/10/09 13:10:15 pva Exp $ |
55 |
|
56 |
EAPI="2" |
57 |
inherit versionator eutils |
58 |
|
59 |
MY_P=${PN}-v$(replace_version_separator 3 - ) |
60 |
|
61 |
DESCRIPTION="set up, maintain, and inspect the tables of ARP rules in the Linux kernel" |
62 |
HOMEPAGE="http://ebtables.sourceforge.net/" |
63 |
SRC_URI="mirror://sourceforge/ebtables/${MY_P}.tar.gz" |
64 |
|
65 |
LICENSE="GPL-2" |
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~ppc ~x86" |
68 |
IUSE="" |
69 |
|
70 |
S=${WORKDIR}/${MY_P} |
71 |
|
72 |
src_prepare() { |
73 |
epatch "${FILESDIR}/${P}-ldflags.patch" |
74 |
epatch "${FILESDIR}/${P}-arptables_save.patch" |
75 |
epatch "${FILESDIR}/${P}-manpage.patch" |
76 |
epatch "${FILESDIR}/${P}-type.patch" |
77 |
} |
78 |
|
79 |
src_compile() { |
80 |
# -O0 does not work and at least -O2 is required, bug #240752 |
81 |
emake CC="$(tc-getCC)" COPT_FLAGS="-O2 ${CFLAGS//-O0/-O2}" || die "make failed" |
82 |
sed -ie 's:__EXEC_PATH__:/sbin:g' arptables-save arptables-restore \ |
83 |
|| die "sed failed" |
84 |
} |
85 |
|
86 |
src_install() { |
87 |
into / |
88 |
dosbin arptables arptables-restore arptables-save || die |
89 |
doman arptables.8 || die |
90 |
} |