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