Gentoo Archives: gentoo-commits

From: "Constanze Hausner (constanze)" <constanze@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-firewall/shorewall: ChangeLog shorewall-4.4.16.1.ebuild shorewall-4.0-r1.ebuild shorewall-4.4.10.ebuild shorewall-4.4.2.1.ebuild
Date: Sun, 23 Jan 2011 19:22:13
Message-Id: 20110123192204.1B21F20054@flycatcher.gentoo.org
1 constanze 11/01/23 19:22:04
2
3 Modified: ChangeLog
4 Added: shorewall-4.4.16.1.ebuild
5 Removed: shorewall-4.0-r1.ebuild shorewall-4.4.10.ebuild
6 shorewall-4.4.2.1.ebuild
7 Log:
8 Version bump; Cleaned up old versions
9
10 (Portage version: 2.1.9.25/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.174 net-firewall/shorewall/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall/ChangeLog?rev=1.174&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall/ChangeLog?rev=1.174&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall/ChangeLog?r1=1.173&r2=1.174
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/net-firewall/shorewall/ChangeLog,v
22 retrieving revision 1.173
23 retrieving revision 1.174
24 diff -u -r1.173 -r1.174
25 --- ChangeLog 11 Jan 2011 20:10:27 -0000 1.173
26 +++ ChangeLog 23 Jan 2011 19:22:04 -0000 1.174
27 @@ -1,6 +1,11 @@
28 # ChangeLog for net-firewall/shorewall
29 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall/ChangeLog,v 1.173 2011/01/11 20:10:27 constanze Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall/ChangeLog,v 1.174 2011/01/23 19:22:04 constanze Exp $
32 +
33 + 23 Jan 2011; Constanze Hausner <constanze@g.o>
34 + -shorewall-4.0-r1.ebuild, -shorewall-4.4.2.1.ebuild,
35 + -shorewall-4.4.10.ebuild, +shorewall-4.4.16.1.ebuild:
36 + Version bump; Cleaned up old versions
37
38 *shorewall-4.4.15.3 (11 Jan 2011)
39
40
41
42
43 1.1 net-firewall/shorewall/shorewall-4.4.16.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall/shorewall-4.4.16.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall/shorewall-4.4.16.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: shorewall-4.4.16.1.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall/shorewall-4.4.16.1.ebuild,v 1.1 2011/01/23 19:22:04 constanze Exp $
53
54 EAPI="2"
55
56 inherit eutils versionator
57
58 # Select version (stable, RC, Beta):
59 MY_PV_TREE=$(get_version_component_range 1-2) # for devel versions use "development/$(get_version_component_range 1-2)"
60 MY_P_BETA="" # stable or experimental (eg. "-RC1" or "-Beta4")
61 MY_PV_BASE=$(get_version_component_range 1-3)
62
63 MY_P="${PN}-${MY_PV_BASE}${MY_P_BETA}"
64 MY_P_DOCS="${P/${PN}/${PN}-docs-html}"
65
66 DESCRIPTION="Shoreline Firewall is an iptables-based firewall for Linux."
67 HOMEPAGE="http://www.shorewall.net/"
68 SRC_URI="http://www1.shorewall.net/pub/${PN}/${MY_PV_TREE}/${MY_P}/${P}${MY_P_BETA}.tar.bz2
69 doc? ( http://www1.shorewall.net/pub/${PN}/${MY_PV_TREE}/${MY_P}/${MY_P_DOCS}.tar.bz2 )"
70
71 LICENSE="GPL-2"
72 SLOT="0"
73 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
74 IUSE="doc"
75
76 DEPEND=">=net-firewall/iptables-1.2.4
77 sys-apps/iproute2[-minimal]
78 dev-lang/perl
79 !net-firewall/shorewall-common
80 !net-firewall/shorewall-shell
81 !net-firewall/shorewall-perl"
82 RDEPEND="${DEPEND}"
83
84 src_compile() {
85 :;
86 }
87
88 src_install() {
89 keepdir /var/lib/shorewall
90
91 cd "${WORKDIR}/${P}${MY_P_BETA}"
92 PREFIX="${D}" ./install.sh || die "install.sh failed"
93 newinitd "${FILESDIR}"/shorewall.initd shorewall || die "doinitd failed"
94
95 dodoc changelog.txt releasenotes.txt || die
96
97 if use doc; then
98 cd "${WORKDIR}/${MY_P_DOCS}"
99 # install documentation
100 dohtml -r *
101 ## dosym Documentation_Index.html "/usr/share/doc/${PF}/html/index.htm"
102 # install samples
103 cp -pR "${S}${MY_P_BETA}/Samples" "${D}/usr/share/doc/${PF}"
104 fi
105 }
106
107 pkg_postinst() {
108 elog "It is advised to copy the /usr/share/shorewall/configfiles dir to your"
109 elog "own 'export directories'. However, whenever you upgrade Shorewall you"
110 elog "should check for changes in configfiles and manually update your exports."
111 elog "Alternatively, if you only have one Shorewall-Lite system in your network"
112 elog "then you can use the configfiles dir but set CONFIG_PROTECT appropriately"
113 elog "in /etc/make.conf (man make.conf)."
114 elog
115 elog "${PN} now uses Perl only. The shell compiler is obsolete."
116 elog "shorewall-common, shorewall-shell and shorewall-perl have been removed."
117 }