Gentoo Archives: gentoo-commits

From: "Gordon Malm (gengor)" <gengor@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-firewall/firehol: ChangeLog firehol-1.273.ebuild
Date: Mon, 13 Oct 2008 00:54:40
Message-Id: E1KpBhm-0003Sf-4d@stork.gentoo.org
1 gengor 08/10/13 00:54:38
2
3 Modified: ChangeLog
4 Added: firehol-1.273.ebuild
5 Log:
6 Bump to version 1.273.
7 (Portage version: 2.2_rc12/cvs/Linux 2.6.26-hardened-r2-rc3-2008091301 i686)
8
9 Revision Changes Path
10 1.38 net-firewall/firehol/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/firehol/ChangeLog?rev=1.38&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/firehol/ChangeLog?rev=1.38&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/firehol/ChangeLog?r1=1.37&r2=1.38
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-firewall/firehol/ChangeLog,v
19 retrieving revision 1.37
20 retrieving revision 1.38
21 diff -u -r1.37 -r1.38
22 --- ChangeLog 27 Sep 2008 13:37:48 -0000 1.37
23 +++ ChangeLog 13 Oct 2008 00:54:38 -0000 1.38
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-firewall/firehol
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/firehol/ChangeLog,v 1.37 2008/09/27 13:37:48 betelgeuse Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/firehol/ChangeLog,v 1.38 2008/10/13 00:54:38 gengor Exp $
29 +
30 +*firehol-1.273 (13 Oct 2008)
31 +
32 + 13 Oct 2008; Gordon Malm <gengor@g.o> +firehol-1.273.ebuild:
33 + Version bump. Thanks to Syed Amer Gilani and Kerin Millar in bug #233787.
34
35 27 Sep 2008; Petteri Räty <betelgeuse@g.o>
36 firehol-1.256-r1.ebuild:
37
38
39
40 1.1 net-firewall/firehol/firehol-1.273.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/firehol/firehol-1.273.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/firehol/firehol-1.273.ebuild?rev=1.1&content-type=text/plain
44
45 Index: firehol-1.273.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/net-firewall/firehol/firehol-1.273.ebuild,v 1.1 2008/10/13 00:54:38 gengor Exp $
50
51 EAPI=2
52
53 inherit eutils linux-info
54
55 DESCRIPTION="iptables firewall generator"
56 HOMEPAGE="http://firehol.sourceforge.net/"
57 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 IUSE=""
62 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
63
64 DEPEND="sys-apps/iproute2"
65 RDEPEND="net-firewall/iptables
66 sys-apps/iproute2[-minimal]
67 virtual/modutils
68 || (
69 net-misc/wget
70 net-misc/curl
71 )"
72
73 pkg_setup() {
74 # perform checks for kernel config from eclass linux-info
75 # for now we just print warnings as I am not sure if these
76 # are required always...
77 local KCONFIG_OPTS="~NF_CONNTRACK_IPV4 ~NF_CONNTRACK_MARK \
78 ~IP_NF_IPTABLES ~IP_NF_FILTER ~IP_NF_TARGET_REJECT \
79 ~IP_NF_TARGET_LOG ~IP_NF_TARGET_ULOG ~NF_NAT \
80 ~IP_NF_TARGET_MASQUERADE ~IP_NF_TARGET_REDIRECT ~IP_NF_MANGLE"
81 get_version
82 if [ ${KV_PATCH} -ge 25 ]; then
83 CONFIG_CHECK="~NF_CONNTRACK ${KCONFIG_OPTS}"
84 else
85 CONFIG_CHECK="~NF_CONNTRACK_ENABLED ${KCONFIG_OPTS}"
86 fi
87 linux-info_pkg_setup
88 }
89
90 src_install() {
91 newsbin firehol.sh firehol
92
93 dodir /etc/firehol /etc/firehol/examples /etc/firehol/services
94 insinto /etc/firehol/examples
95 doins examples/* || die
96
97 newconfd "${FILESDIR}/firehol.conf.d" firehol || die
98
99 dodoc ChangeLog README TODO WhatIsNew || die
100 dohtml doc/*.html doc/*.css || die
101
102 docinto scripts
103 dodoc get-iana.sh adblock.sh || die
104
105 doman man/*.1 man/*.5 || die
106
107 newinitd "${FILESDIR}/firehol.initrd" firehol || die
108 }
109
110 pkg_postinst() {
111 elog "The default path to firehol's configuration file is /etc/firehol/firehol.conf"
112 elog "See /etc/firehol/examples for configuration examples."
113 #
114 # Install a default configuration if none is available yet
115 if [[ ! -e "${ROOT}/etc/firehol/firehol.conf" ]]; then
116 einfo "Installing a sample configuration as ${ROOT}/etc/firehol/firehol.conf"
117 cp "${ROOT}/etc/firehol/examples/client-all.conf" "${ROOT}/etc/firehol/firehol.conf"
118 fi
119 }