Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-firewall/shorewall-common: ChangeLog shorewall-common-4.0.15.ebuild shorewall-common-4.2.4.ebuild
Date: Thu, 22 Jan 2009 08:17:48
Message-Id: E1LPukz-0006SI-7n@stork.gentoo.org
1 pva 09/01/22 08:17:45
2
3 Modified: ChangeLog
4 Added: shorewall-common-4.0.15.ebuild
5 shorewall-common-4.2.4.ebuild
6 Log:
7 Version bump, bug #255437, thank Vieri for all work.
8 (Portage version: 2.2_rc23/cvs/Linux i686)
9
10 Revision Changes Path
11 1.21 net-firewall/shorewall-common/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/shorewall-common/ChangeLog?rev=1.21&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/shorewall-common/ChangeLog?rev=1.21&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/shorewall-common/ChangeLog?r1=1.20&r2=1.21
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-firewall/shorewall-common/ChangeLog,v
20 retrieving revision 1.20
21 retrieving revision 1.21
22 diff -u -r1.20 -r1.21
23 --- ChangeLog 21 Nov 2008 11:27:33 -0000 1.20
24 +++ ChangeLog 22 Jan 2009 08:17:45 -0000 1.21
25 @@ -1,6 +1,13 @@
26 # ChangeLog for net-firewall/shorewall-common
27 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall-common/ChangeLog,v 1.20 2008/11/21 11:27:33 pva Exp $
29 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall-common/ChangeLog,v 1.21 2009/01/22 08:17:45 pva Exp $
31 +
32 +*shorewall-common-4.2.4 (22 Jan 2009)
33 +*shorewall-common-4.0.15 (22 Jan 2009)
34 +
35 + 22 Jan 2009; Peter Volkov <pva@g.o>
36 + +shorewall-common-4.0.15.ebuild, +shorewall-common-4.2.4.ebuild:
37 + Version bump, bug #255437, thank Vieri for all work.
38
39 *shorewall-common-4.2.1 (21 Nov 2008)
40 *shorewall-common-4.0.14.2 (21 Nov 2008)
41
42
43
44 1.1 net-firewall/shorewall-common/shorewall-common-4.0.15.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/shorewall-common/shorewall-common-4.0.15.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/shorewall-common/shorewall-common-4.0.15.ebuild?rev=1.1&content-type=text/plain
48
49 Index: shorewall-common-4.0.15.ebuild
50 ===================================================================
51 # Copyright 1999-2009 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall-common/shorewall-common-4.0.15.ebuild,v 1.1 2009/01/22 08:17:45 pva Exp $
54
55 inherit eutils versionator
56
57 # Select version (stable, RC, Beta):
58 MY_PV_TREE=$(get_version_component_range 1-2) # for devel versions use "development/$(get_version_component_range 1-2)"
59 MY_P_BETA="" # stable or experimental (eg. "-RC1" or "-Beta4")
60 MY_PV_BASE=$(get_version_component_range 1-3)
61
62 MY_PN="${PN/-common/}"
63 MY_P="${MY_PN}-${MY_PV_BASE}${MY_P_BETA}"
64 MY_P_DOCS="${MY_P/${MY_PN}/${MY_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/${MY_PN}/${MY_PV_TREE}/${MY_P}/${P}${MY_P_BETA}.tar.bz2
69 doc? ( http://www1.shorewall.net/pub/${MY_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
78 !<net-firewall/shorewall-4.0"
79
80 pkg_setup() {
81 if built_with_use sys-apps/iproute2 minimal; then
82 die "Shorewall requires sys-apps/iproute2 to be built without the \"minimal\" USE flag."
83 fi
84 }
85
86 src_compile() {
87 einfo "Nothing to compile."
88 }
89
90 src_install() {
91 keepdir /var/lib/shorewall
92
93 cd "${WORKDIR}/${P}${MY_P_BETA}"
94 PREFIX="${D}" ./install.sh || die "install.sh failed"
95 newinitd "${FILESDIR}"/shorewall.initd shorewall || die "doinitd failed"
96
97 dodoc changelog.txt releasenotes.txt
98 if use doc; then
99 cd "${WORKDIR}/${MY_P_DOCS}"
100 # install documentation
101 dohtml -r *
102 ## dosym Documentation_Index.html "/usr/share/doc/${PF}/html/index.htm"
103 # install samples
104 cp -pR "${S}${MY_P_BETA}/Samples" "${D}/usr/share/doc/${PF}"
105 fi
106 }
107
108 pkg_postinst() {
109 elog
110 if use doc ; then
111 elog "Documentation is available at /usr/share/doc/${PF}/html."
112 elog "Please read the Release Notes in /usr/share/doc/${PF}."
113 elog "Samples are available at /usr/share/doc/${PF}/Samples."
114 else
115 elog "Documentation is available at http://www.shorewall.net"
116 fi
117 elog "There are man pages for shorewall(8) and for each configuration file."
118 elog
119 elog "Bridging configuration has changed with kernel 2.6.20+."
120 elog "Check the documentation."
121 elog
122 elog "Do not blindly start shorewall, edit the files in /etc/shorewall first"
123 elog "At the very least, you must change 'STARTUP_ENABLED' in shorewall.conf"
124 elog
125 elog "Be aware that version ${MY_PV_TREE} differs substantially from previous releases."
126 elog "Information on upgrading is available at:"
127 elog "http://www.shorewall.net/upgrade_issues.htm"
128 elog
129 elog "There is a 'shorewall compile' command to generate scripts to run"
130 elog "on systems with Shorewall Lite installed."
131 elog "Please refer to http://www.shorewall.net/CompiledPrograms.html"
132 elog "It is advised to copy the /usr/share/shorewall/configfiles dir to your"
133 elog "own 'export directories'. However, whenever you upgrade Shorewall you"
134 elog "should check for changes in configfiles and manually update your exports."
135 elog "Alternatively, if you only have one Shorewall-Lite system in your network"
136 elog "then you can use the configfiles dir but set CONFIG_PROTECT appropriately"
137 elog "in /etc/make.conf (man make.conf)."
138 elog
139 elog "Known problems:"
140 elog "http://shorewall.net/pub/${MY_PN}/${MY_PV_TREE}/${MY_P}/known_problems.txt"
141 elog
142 elog "Whether upgrading or installing you should run shorewall check,"
143 elog "correct any errors found and run shorewall restart|start."
144 elog
145 elog "${PN} requires a compiler."
146 elog "You can choose to emerge shorewall-shell and/or shorewall-perl."
147 }
148
149
150
151 1.1 net-firewall/shorewall-common/shorewall-common-4.2.4.ebuild
152
153 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/shorewall-common/shorewall-common-4.2.4.ebuild?rev=1.1&view=markup
154 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/shorewall-common/shorewall-common-4.2.4.ebuild?rev=1.1&content-type=text/plain
155
156 Index: shorewall-common-4.2.4.ebuild
157 ===================================================================
158 # Copyright 1999-2009 Gentoo Foundation
159 # Distributed under the terms of the GNU General Public License v2
160 # $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall-common/shorewall-common-4.2.4.ebuild,v 1.1 2009/01/22 08:17:45 pva Exp $
161
162 inherit eutils versionator
163
164 # Select version (stable, RC, Beta):
165 MY_PV_TREE=$(get_version_component_range 1-2) # for devel versions use "development/$(get_version_component_range 1-2)"
166 MY_P_BETA="" # stable or experimental (eg. "-RC1" or "-Beta4")
167 MY_PV_BASE=$(get_version_component_range 1-3)
168
169 MY_PN="${PN/-common/}"
170 MY_P="${MY_PN}-${MY_PV_BASE}${MY_P_BETA}"
171 MY_P_DOCS="${MY_P/${MY_PN}/${MY_PN}-docs-html}"
172
173 DESCRIPTION="Shoreline Firewall is an iptables-based firewall for Linux."
174 HOMEPAGE="http://www.shorewall.net/"
175 SRC_URI="http://www1.shorewall.net/pub/${MY_PN}/${MY_PV_TREE}/${MY_P}/${P}${MY_P_BETA}.tar.bz2
176 doc? ( http://www1.shorewall.net/pub/${MY_PN}/${MY_PV_TREE}/${MY_P}/${MY_P_DOCS}.tar.bz2 )"
177
178 LICENSE="GPL-2"
179 SLOT="0"
180 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
181 IUSE="doc"
182
183 DEPEND=">=net-firewall/iptables-1.2.4
184 sys-apps/iproute2
185 !<net-firewall/shorewall-4.0"
186 RDEPEND="${DEPEND}"
187
188 pkg_setup() {
189 if built_with_use sys-apps/iproute2 minimal; then
190 die "Shorewall requires sys-apps/iproute2 to be built without the \"minimal\" USE flag."
191 fi
192 }
193
194 src_compile() {
195 einfo "Nothing to compile."
196 }
197
198 src_install() {
199 keepdir /var/lib/shorewall
200
201 cd "${WORKDIR}/${P}${MY_P_BETA}"
202 PREFIX="${D}" ./install.sh || die "install.sh failed"
203 newinitd "${FILESDIR}"/shorewall.initd shorewall || die "doinitd failed"
204
205 dodoc changelog.txt releasenotes.txt
206 if use doc; then
207 cd "${WORKDIR}/${MY_P_DOCS}"
208 # install documentation
209 dohtml -r *
210 ## dosym Documentation_Index.html "/usr/share/doc/${PF}/html/index.htm"
211 # install samples
212 cp -pR "${S}${MY_P_BETA}/Samples" "${D}/usr/share/doc/${PF}"
213 fi
214 }
215
216 pkg_postinst() {
217 elog
218 if use doc ; then
219 elog "Documentation is available at /usr/share/doc/${PF}/html."
220 elog "Please read the Release Notes in /usr/share/doc/${PF}."
221 elog "Samples are available at /usr/share/doc/${PF}/Samples."
222 else
223 elog "Documentation is available at http://www.shorewall.net"
224 fi
225 elog "There are man pages for shorewall(8) and for each configuration file."
226 elog
227 elog "Bridging configuration has changed with kernel 2.6.20+."
228 elog "Check the documentation."
229 elog
230 elog "Do not blindly start shorewall, edit the files in /etc/shorewall first"
231 elog "At the very least, you must change 'STARTUP_ENABLED' in shorewall.conf"
232 elog
233 elog "Be aware that version ${MY_PV_TREE} differs substantially from previous releases."
234 elog "Information on upgrading is available at:"
235 elog "http://www.shorewall.net/upgrade_issues.htm"
236 elog
237 elog "There is a 'shorewall compile' command to generate scripts to run"
238 elog "on systems with Shorewall Lite installed."
239 elog "Please refer to http://www.shorewall.net/CompiledPrograms.html"
240 elog "It is advised to copy the /usr/share/shorewall/configfiles dir to your"
241 elog "own 'export directories'. However, whenever you upgrade Shorewall you"
242 elog "should check for changes in configfiles and manually update your exports."
243 elog "Alternatively, if you only have one Shorewall-Lite system in your network"
244 elog "then you can use the configfiles dir but set CONFIG_PROTECT appropriately"
245 elog "in /etc/make.conf (man make.conf)."
246 elog
247 elog "Known problems:"
248 elog "http://shorewall.net/pub/${MY_PN}/${MY_PV_TREE}/${MY_P}/known_problems.txt"
249 elog
250 elog "Whether upgrading or installing you should run shorewall check,"
251 elog "correct any errors found and run shorewall restart|start."
252 elog
253 elog "${PN} requires a compiler."
254 elog "You can choose to emerge shorewall-shell and/or shorewall-perl."
255 }