1 |
commit: 8c518f84bc1ed8bb944e10e072d5cd092be8819e |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 28 23:42:43 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 28 23:42:48 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c518f84 |
7 |
|
8 |
net-firewall/sanewall: remove sanewall-1.1.6-r1 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
net-firewall/sanewall/sanewall-1.1.6-r1.ebuild | 57 -------------------------- |
13 |
1 file changed, 57 deletions(-) |
14 |
|
15 |
diff --git a/net-firewall/sanewall/sanewall-1.1.6-r1.ebuild b/net-firewall/sanewall/sanewall-1.1.6-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 93ebfa5..0000000 |
18 |
--- a/net-firewall/sanewall/sanewall-1.1.6-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,57 +0,0 @@ |
21 |
-# Copyright 1999-2014 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-inherit linux-info |
28 |
- |
29 |
-DESCRIPTION="iptables firewall generator (fork of firehol)" |
30 |
-HOMEPAGE="http://www.sanewall.org/" |
31 |
-SRC_URI="http://download.sanewall.org/releases/${PV}/${P}.tar.xz" |
32 |
- |
33 |
-LICENSE="GPL-2+" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="~amd64 ~x86" |
36 |
- |
37 |
-DEPEND="app-arch/xz-utils" |
38 |
-RDEPEND="net-firewall/iptables[ipv6] |
39 |
- sys-apps/iproute2[-minimal] |
40 |
- virtual/modutils |
41 |
- || ( |
42 |
- net-misc/wget |
43 |
- net-misc/curl |
44 |
- )" |
45 |
- |
46 |
-pkg_setup() { |
47 |
- local KCONFIG_OPTS="~NF_CONNTRACK_IPV4 ~NF_CONNTRACK_MARK ~NF_NAT ~NF_NAT_FTP ~NF_NAT_IRC \ |
48 |
- ~IP_NF_IPTABLES ~IP_NF_FILTER ~IP_NF_TARGET_REJECT ~IP_NF_TARGET_LOG ~IP_NF_TARGET_ULOG \ |
49 |
- ~IP_NF_TARGET_MASQUERADE ~IP_NF_TARGET_REDIRECT ~IP_NF_MANGLE \ |
50 |
- ~NETFILTER_XT_MATCH_LIMIT ~NETFILTER_XT_MATCH_STATE ~NETFILTER_XT_MATCH_OWNER" |
51 |
- |
52 |
- get_version |
53 |
- if [[ ${KV_PATCH} -ge 25 ]] ; then |
54 |
- CONFIG_CHECK="~NF_CONNTRACK ${KCONFIG_OPTS}" |
55 |
- else |
56 |
- CONFIG_CHECK="~NF_CONNTRACK_ENABLED ${KCONFIG_OPTS}" |
57 |
- fi |
58 |
- linux-info_pkg_setup |
59 |
-} |
60 |
- |
61 |
-src_configure() { |
62 |
- econf --docdir="/usr/share/doc/${PF}" |
63 |
-} |
64 |
- |
65 |
-src_install() { |
66 |
- default |
67 |
- newconfd "${FILESDIR}"/${PN}.confd ${PN} |
68 |
- newinitd "${FILESDIR}"/${PN}.initd ${PN} |
69 |
-} |
70 |
- |
71 |
-pkg_postinst() { |
72 |
- # install default configuration if it doesn't exist |
73 |
- if [[ ! -e "${ROOT}"/etc/${PN}/${PN}.conf ]] ; then |
74 |
- einfo "Installing a sample configuration to ${ROOT}/etc/${PN}/${PN}.conf" |
75 |
- cp "${ROOT}"/etc/${PN}/${PN}.conf.example "${ROOT}"/etc/${PN}/${PN}.conf || die |
76 |
- fi |
77 |
-} |