1 |
commit: 4b3c4d93cb24b19cbd514839c648a9b9d11b9ba7 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 2 11:58:37 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 2 11:58:46 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b3c4d93 |
7 |
|
8 |
net-firewall/arptables: Bump to version 0.0.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
net-firewall/arptables/Manifest | 1 + |
13 |
net-firewall/arptables/arptables-0.0.4.ebuild | 32 +++++++++++++++++++++++++++ |
14 |
2 files changed, 33 insertions(+) |
15 |
|
16 |
diff --git a/net-firewall/arptables/Manifest b/net-firewall/arptables/Manifest |
17 |
index 1ffc750253c..73450610497 100644 |
18 |
--- a/net-firewall/arptables/Manifest |
19 |
+++ b/net-firewall/arptables/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST arptables-v0.0.3-4.tar.gz 44335 SHA256 e529fd465c67d69ad335299a043516e6b38cdcd337a5ed21718413e96073f928 SHA512 a566b6df5c4b22c9c15d22c3801763e640f15b76043123c4ca8db1cc753a20a99b8b7b6dae2f0d9277cc6c49bcb269ba481958bcff3f6a516c7c9d8b553d35b5 WHIRLPOOL a045489531c2eec53cc57b18639291d38fa443a9b4e4539e096fa2afbaaa8585bfa387c4759e0a02d407d76ef0ed87f602b4f847edd49d3be9c1113264e69996 |
22 |
+DIST arptables-v0.0.4.tar.gz 45380 SHA256 277985e29ecd93bd759a58242cad0e02ba9d4a6e1b7795235e3b507661bc0049 SHA512 bd84e93ab5e0a038753aa17dae9e1f48364f2d2b1492dce2edac117e21edd5aa912be7b9e21bf4fb3698031d2f765a75fa067fe10ce20a1c8951ae7efcc5dbbd WHIRLPOOL 6209b2837e22fa1a3ef9d8d090210a8dda7b6199ec58cbdd565e646f24eb499ae4e3d36175e3ed215eb47783f33ae4a02a50e0b7df5aec78a82a6b5e2c7b1660 |
23 |
|
24 |
diff --git a/net-firewall/arptables/arptables-0.0.4.ebuild b/net-firewall/arptables/arptables-0.0.4.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..23c063983b0 |
27 |
--- /dev/null |
28 |
+++ b/net-firewall/arptables/arptables-0.0.4.ebuild |
29 |
@@ -0,0 +1,32 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+inherit toolchain-funcs |
36 |
+ |
37 |
+MY_P="${PN}-v${PV}" |
38 |
+ |
39 |
+DESCRIPTION="set up, maintain, and inspect the tables of ARP rules in the Linux kernel" |
40 |
+HOMEPAGE="http://ebtables.sourceforge.net/" |
41 |
+SRC_URI="ftp://ftp.netfilter.org/pub/${PN}/${MY_P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~ppc ~x86" |
46 |
+IUSE="" |
47 |
+ |
48 |
+S="${WORKDIR}/${MY_P}" |
49 |
+ |
50 |
+src_compile() { |
51 |
+ # -O0 does not work and at least -O2 is required, bug #240752 |
52 |
+ emake CC="$(tc-getCC)" COPT_FLAGS="-O2 ${CFLAGS//-O0/-O2}" |
53 |
+ sed -ie 's:__EXEC_PATH__:/sbin:g' arptables-save arptables-restore \ |
54 |
+ || die "sed failed" |
55 |
+} |
56 |
+ |
57 |
+src_install() { |
58 |
+ into / |
59 |
+ dosbin arptables arptables-restore arptables-save |
60 |
+ doman arptables.8 |
61 |
+} |