1 |
commit: 9581cdd6bf9ba6b2e996979bea55e6329cf97fbb |
2 |
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 25 15:18:03 2015 +0000 |
4 |
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 25 17:48:01 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9581cdd6 |
7 |
|
8 |
net-firewall/firehol - cleanup |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
net-firewall/firehol/Manifest | 2 - |
13 |
net-firewall/firehol/firehol-1.273-r3.ebuild | 78 ---------------------------- |
14 |
net-firewall/firehol/firehol-2.0.2.ebuild | 61 ---------------------- |
15 |
3 files changed, 141 deletions(-) |
16 |
|
17 |
diff --git a/net-firewall/firehol/Manifest b/net-firewall/firehol/Manifest |
18 |
index 4edadeb..8989966 100644 |
19 |
--- a/net-firewall/firehol/Manifest |
20 |
+++ b/net-firewall/firehol/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
-DIST firehol-1.273.tar.bz2 128128 SHA256 e8d3b4ac3e54097c0e0f14bfab773a75d43b522fa123a42088b7f23f13495ea2 SHA512 dbb311fb9d4fa8861480bae1fac449ce85f52612264ec21658946d87be02027c37af13b754acd791ad454964c588897f8187ec8ce80de3b3ed8a888429bfd708 WHIRLPOOL 0fa7f7644d7bf0268bfc6e817eeb95e7c1784cefa6d4a930c2fec6644774347c28e7a4d39c55df7a4e0f7a0c4697ce6b3c4bafdf6e2124bd478c097b9a6cfb27 |
23 |
-DIST firehol-2.0.2.tar.xz 918860 SHA256 8778d0fc891676777b55e68d852a765205a995029f6e9f599c0090a14ca8ee7c SHA512 d125c4ca7d60494afde04f806bb0fc44ebdb12d7bf59e027c441a087082d9c326d009ba568ef640b01409abdecc3c192a9ae6db6c7370ad0221a19cb3a706902 WHIRLPOOL 10b6edee6a4db07a217e7d13eea4dc5ba02d7f3a44ba1955a5b138a09aa41aea6e39acbcdb04e0ee80d22f3f1d9fc1f061d26d7a10a9d1a7f02230ca21efe514 |
24 |
DIST firehol-2.0.3.tar.xz 898248 SHA256 4bcc2d19ee7d41377f19c3bcd3ae882ba10dd3ebed6eac2deedbce202d1a3d72 SHA512 fab1ddea6d60d5cb91eacc73f79549f454abc7d581c696463f4396465257a708af175f18da7aa2c6ddc3dddc68b21528edb043a3fe539d16f5057e4f0c0db0b6 WHIRLPOOL 50556da7e392575ef2e36a489e544295f909c8621be5e7c91ad8b00f99879d1eebe59076948d8e58839869771547e85c425262438eb5f79d4b2bd8f2bb0009f8 |
25 |
|
26 |
diff --git a/net-firewall/firehol/firehol-1.273-r3.ebuild b/net-firewall/firehol/firehol-1.273-r3.ebuild |
27 |
deleted file mode 100644 |
28 |
index d5f5d8b..0000000 |
29 |
--- a/net-firewall/firehol/firehol-1.273-r3.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,78 +0,0 @@ |
32 |
-# Copyright 1999-2012 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
-# $Id$ |
35 |
- |
36 |
-EAPI=4 |
37 |
-inherit eutils linux-info |
38 |
- |
39 |
-DESCRIPTION="iptables firewall generator" |
40 |
-HOMEPAGE="http://firehol.sourceforge.net/" |
41 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
42 |
- |
43 |
-LICENSE="GPL-2" |
44 |
-SLOT="0" |
45 |
-IUSE="" |
46 |
-KEYWORDS="amd64 ~ppc ~sparc x86" |
47 |
- |
48 |
-DEPEND="sys-apps/iproute2" |
49 |
-RDEPEND="net-firewall/iptables |
50 |
- sys-apps/iproute2[-minimal] |
51 |
- virtual/modutils |
52 |
- || ( |
53 |
- net-misc/wget |
54 |
- net-misc/curl |
55 |
- )" |
56 |
- |
57 |
-src_prepare() { |
58 |
- epatch "${FILESDIR}"/${P}-CVE-2008-4953.patch |
59 |
- epatch "${FILESDIR}"/${P}-log-output.patch #332507 |
60 |
-} |
61 |
- |
62 |
-pkg_setup() { |
63 |
- local KCONFIG_OPTS="~NF_CONNTRACK_IPV4 ~NF_CONNTRACK_MARK ~NF_NAT ~NF_NAT_FTP ~NF_NAT_IRC \ |
64 |
- ~IP_NF_IPTABLES ~IP_NF_FILTER ~IP_NF_TARGET_REJECT ~IP_NF_TARGET_LOG ~IP_NF_TARGET_ULOG \ |
65 |
- ~IP_NF_TARGET_MASQUERADE ~IP_NF_TARGET_REDIRECT ~IP_NF_MANGLE \ |
66 |
- ~NETFILTER_XT_MATCH_LIMIT ~NETFILTER_XT_MATCH_STATE ~NETFILTER_XT_MATCH_OWNER" |
67 |
- |
68 |
- get_version |
69 |
- if [ ${KV_PATCH} -ge 25 ]; then |
70 |
- CONFIG_CHECK="~NF_CONNTRACK ${KCONFIG_OPTS}" |
71 |
- else |
72 |
- CONFIG_CHECK="~NF_CONNTRACK_ENABLED ${KCONFIG_OPTS}" |
73 |
- fi |
74 |
- linux-info_pkg_setup |
75 |
-} |
76 |
- |
77 |
-src_install() { |
78 |
- newsbin firehol.sh firehol |
79 |
- |
80 |
- dodir /etc/firehol /etc/firehol/examples /etc/firehol/services |
81 |
- insinto /etc/firehol/examples |
82 |
- doins examples/* || die |
83 |
- |
84 |
- newconfd "${FILESDIR}"/firehol.conf.d firehol |
85 |
- newinitd "${FILESDIR}"/firehol.initrd.1 firehol |
86 |
- |
87 |
- dodoc ChangeLog README TODO WhatIsNew |
88 |
- dohtml doc/*.html doc/*.css |
89 |
- |
90 |
- docinto scripts |
91 |
- dodoc get-iana.sh adblock.sh |
92 |
- |
93 |
- doman man/*.1 man/*.5 |
94 |
- |
95 |
- # Install this RESERVED_IPS as discussed in bug #332135 |
96 |
- insinto /etc/firehol |
97 |
- doins "${FILESDIR}"/RESERVED_IPS |
98 |
-} |
99 |
- |
100 |
-pkg_postinst() { |
101 |
- elog "The default path to firehol's configuration file is /etc/firehol/firehol.conf" |
102 |
- elog "See /etc/firehol/examples for configuration examples." |
103 |
- # |
104 |
- # Install a default configuration if none is available yet |
105 |
- if [[ ! -e "${ROOT}/etc/firehol/firehol.conf" ]]; then |
106 |
- einfo "Installing a sample configuration as ${ROOT}/etc/firehol/firehol.conf" |
107 |
- cp "${ROOT}/etc/firehol/examples/client-all.conf" "${ROOT}/etc/firehol/firehol.conf" |
108 |
- fi |
109 |
-} |
110 |
|
111 |
diff --git a/net-firewall/firehol/firehol-2.0.2.ebuild b/net-firewall/firehol/firehol-2.0.2.ebuild |
112 |
deleted file mode 100644 |
113 |
index f39413c..0000000 |
114 |
--- a/net-firewall/firehol/firehol-2.0.2.ebuild |
115 |
+++ /dev/null |
116 |
@@ -1,61 +0,0 @@ |
117 |
-# Copyright 1999-2015 Gentoo Foundation |
118 |
-# Distributed under the terms of the GNU General Public License v2 |
119 |
-# $Id$ |
120 |
- |
121 |
-EAPI=5 |
122 |
-inherit eutils linux-info |
123 |
- |
124 |
-DESCRIPTION="iptables firewall generator" |
125 |
-HOMEPAGE="http://firehol.sourceforge.net/" |
126 |
-SRC_URI="http://firehol.org/download/releases/v${PV}/${P}.tar.xz" |
127 |
- |
128 |
-LICENSE="GPL-2" |
129 |
-SLOT="0" |
130 |
-IUSE="doc" |
131 |
-KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
132 |
- |
133 |
-RDEPEND="net-firewall/iptables |
134 |
- sys-apps/iproute2[-minimal] |
135 |
- virtual/modutils |
136 |
- app-arch/gzip" |
137 |
-DEPEND="${RDEPEND}" |
138 |
- |
139 |
-pkg_setup() { |
140 |
- local KCONFIG_OPTS="~NF_CONNTRACK_IPV4 ~NF_CONNTRACK_MARK ~NF_NAT ~NF_NAT_FTP ~NF_NAT_IRC \ |
141 |
- ~IP_NF_IPTABLES ~IP_NF_FILTER ~IP_NF_TARGET_REJECT ~IP_NF_TARGET_LOG ~IP_NF_TARGET_ULOG \ |
142 |
- ~IP_NF_TARGET_MASQUERADE ~IP_NF_TARGET_REDIRECT ~IP_NF_MANGLE \ |
143 |
- ~NETFILTER_XT_MATCH_LIMIT ~NETFILTER_XT_MATCH_STATE ~NETFILTER_XT_MATCH_OWNER" |
144 |
- |
145 |
- get_version |
146 |
- if [ ${KV_PATCH} -ge 25 ]; then |
147 |
- CONFIG_CHECK="~NF_CONNTRACK ${KCONFIG_OPTS}" |
148 |
- else |
149 |
- CONFIG_CHECK="~NF_CONNTRACK_ENABLED ${KCONFIG_OPTS}" |
150 |
- fi |
151 |
- linux-info_pkg_setup |
152 |
-} |
153 |
- |
154 |
-src_prepare() { |
155 |
- epatch "${FILESDIR}/${P}-autosave.patch" |
156 |
-} |
157 |
- |
158 |
-src_configure() { |
159 |
- # removing IP6TABLES_CMD has no effect and enable build |
160 |
- # without ipv6 available |
161 |
- econf \ |
162 |
- --docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
163 |
- --with-autosave="${EPREFIX}/var/lib/iptables/rules-save" \ |
164 |
- --with-autosave6="${EPREFIX}/var/lib/ip6tables/rules-save" \ |
165 |
- $(use_enable doc) \ |
166 |
- IP6TABLES_CMD=/bin/false \ |
167 |
- IP6TABLES_SAVE_CMD=/bin/false |
168 |
-} |
169 |
- |
170 |
-src_install() { |
171 |
- default |
172 |
- |
173 |
- newconfd "${FILESDIR}"/firehol.conf.d firehol |
174 |
- newinitd "${FILESDIR}"/firehol.initrd.1 firehol |
175 |
- newconfd "${FILESDIR}"/fireqos.conf.d fireqos |
176 |
- newinitd "${FILESDIR}"/fireqos.initrd fireqos |
177 |
-} |