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.27-r1.ebuild shorewall-4.4.22.1.ebuild shorewall-4.4.22.3.ebuild shorewall-4.4.24.1.ebuild shorewall-4.4.15.1.ebuild
Date: Mon, 27 Feb 2012 17:45:44
Message-Id: 20120227174534.7D1312004B@flycatcher.gentoo.org
1 constanze 12/02/27 17:45:34
2
3 Modified: ChangeLog
4 Added: shorewall-4.4.27-r1.ebuild
5 Removed: shorewall-4.4.22.1.ebuild shorewall-4.4.22.3.ebuild
6 shorewall-4.4.24.1.ebuild shorewall-4.4.15.1.ebuild
7 Log:
8 Cleaned up old versions and added anti-dep for shorewall-core to unstable versions < 4.5
9
10 (Portage version: 2.1.10.44/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.203 net-firewall/shorewall/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall/ChangeLog?rev=1.203&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall/ChangeLog?rev=1.203&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall/ChangeLog?r1=1.202&r2=1.203
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/net-firewall/shorewall/ChangeLog,v
22 retrieving revision 1.202
23 retrieving revision 1.203
24 diff -u -r1.202 -r1.203
25 --- ChangeLog 24 Feb 2012 18:51:52 -0000 1.202
26 +++ ChangeLog 27 Feb 2012 17:45:34 -0000 1.203
27 @@ -1,6 +1,15 @@
28 # ChangeLog for net-firewall/shorewall
29 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall/ChangeLog,v 1.202 2012/02/24 18:51:52 constanze Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall/ChangeLog,v 1.203 2012/02/27 17:45:34 constanze Exp $
32 +
33 +*shorewall-4.4.27-r1 (27 Feb 2012)
34 +
35 + 27 Feb 2012; Constanze Hausner <constanze@g.o>
36 + -shorewall-4.4.15.1.ebuild, -shorewall-4.4.22.1.ebuild,
37 + -shorewall-4.4.22.3.ebuild, -shorewall-4.4.24.1.ebuild,
38 + +shorewall-4.4.27-r1.ebuild:
39 + Cleaned up old versions and added anti-dep for shorewall-core to unstable
40 + versions < 4.5
41
42 *shorewall-4.5.0.1 (24 Feb 2012)
43
44
45
46
47 1.1 net-firewall/shorewall/shorewall-4.4.27-r1.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall/shorewall-4.4.27-r1.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall/shorewall-4.4.27-r1.ebuild?rev=1.1&content-type=text/plain
51
52 Index: shorewall-4.4.27-r1.ebuild
53 ===================================================================
54 # Copyright 1999-2012 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall/shorewall-4.4.27-r1.ebuild,v 1.1 2012/02/27 17:45:34 constanze Exp $
57
58 EAPI="4"
59
60 inherit eutils versionator
61
62 # Select version (stable, RC, Beta):
63 MY_PV_TREE=$(get_version_component_range 1-2) # for devel versions use "development/$(get_version_component_range 1-2)"
64 MY_PV_BASE=$(get_version_component_range 1-3)
65
66 MY_P="${PN}-${MY_PV_BASE}"
67 MY_P_DOCS="${P/${PN}/${PN}-docs-html}"
68
69 DESCRIPTION="Shoreline Firewall is an iptables-based firewall for Linux."
70 HOMEPAGE="http://www.shorewall.net/"
71 SRC_URI="http://www1.shorewall.net/pub/${PN}/${MY_PV_TREE}/${MY_P}/${P}.tar.bz2
72 doc? ( http://www1.shorewall.net/pub/${PN}/${MY_PV_TREE}/${MY_P}/${MY_P_DOCS}.tar.bz2 )"
73
74 LICENSE="GPL-2"
75 SLOT="0"
76 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
77 IUSE="doc"
78
79 DEPEND=">=net-firewall/iptables-1.2.4
80 sys-apps/iproute2[-minimal]
81 dev-lang/perl
82 !net-firewall/shorewall-core"
83 RDEPEND="${DEPEND}"
84
85 src_compile() {
86 :;
87 }
88
89 src_install() {
90 keepdir /var/lib/shorewall
91
92 cd "${WORKDIR}/${P}"
93 PREFIX="${D}" ./install.sh || die "install.sh failed"
94 newinitd "${FILESDIR}"/shorewall.initd shorewall
95
96 dodoc changelog.txt releasenotes.txt
97 if use doc; then
98 dodoc -r Samples
99 cd "${WORKDIR}/${MY_P_DOCS}"
100 dohtml -r *
101 fi
102 dodir /var/lock/subsys
103 }
104
105 pkg_postinst() {
106 elog "It is advised to copy the /usr/share/shorewall/configfiles dir to your"
107 elog "own 'export directories'. However, whenever you upgrade Shorewall you"
108 elog "should check for changes in configfiles and manually update your exports."
109 elog "Alternatively, if you only have one Shorewall-Lite system in your network"
110 elog "then you can use the configfiles dir but set CONFIG_PROTECT appropriately"
111 elog "in /etc/make.conf (man make.conf)."
112 }