1 |
pva 08/10/30 19:44:34 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: shorewall-common-4.2.0.ebuild |
5 |
Log: |
6 |
Version bump, bug #240596, thank Vieri for all the work. |
7 |
(Portage version: 2.2_rc12/cvs/Linux 2.6.26-openvz.git-35f41f1 i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.19 net-firewall/shorewall-common/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/shorewall-common/ChangeLog?rev=1.19&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/shorewall-common/ChangeLog?rev=1.19&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/shorewall-common/ChangeLog?r1=1.18&r2=1.19 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-firewall/shorewall-common/ChangeLog,v |
19 |
retrieving revision 1.18 |
20 |
retrieving revision 1.19 |
21 |
diff -u -r1.18 -r1.19 |
22 |
--- ChangeLog 5 Oct 2008 11:03:58 -0000 1.18 |
23 |
+++ ChangeLog 30 Oct 2008 19:44:33 -0000 1.19 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for net-firewall/shorewall-common |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall-common/ChangeLog,v 1.18 2008/10/05 11:03:58 pva Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall-common/ChangeLog,v 1.19 2008/10/30 19:44:33 pva Exp $ |
29 |
+ |
30 |
+*shorewall-common-4.2.0 (30 Oct 2008) |
31 |
+ |
32 |
+ 30 Oct 2008; Peter Volkov <pva@g.o> +shorewall-common-4.2.0.ebuild: |
33 |
+ Version bump, bug #240596, thank Vieri for all the work. |
34 |
|
35 |
05 Oct 2008; Peter Volkov <pva@g.o> -shorewall-common-4.0.3.ebuild, |
36 |
-shorewall-common-4.0.8.ebuild, -shorewall-common-4.0.9.ebuild, |
37 |
|
38 |
|
39 |
|
40 |
1.1 net-firewall/shorewall-common/shorewall-common-4.2.0.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/shorewall-common/shorewall-common-4.2.0.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/shorewall-common/shorewall-common-4.2.0.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: shorewall-common-4.2.0.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/shorewall-common/shorewall-common-4.2.0.ebuild,v 1.1 2008/10/30 19:44:33 pva Exp $ |
50 |
|
51 |
inherit eutils versionator |
52 |
|
53 |
# Select version (stable, RC, Beta): |
54 |
MY_PV_TREE=$(get_version_component_range 1-2) # for devel versions use "development/$(get_version_component_range 1-2)" |
55 |
MY_P_BETA="" # stable or experimental (eg. "-RC1" or "-Beta4") |
56 |
MY_PV_BASE=$(get_version_component_range 1-3) |
57 |
|
58 |
MY_PN="${PN/-common/}" |
59 |
MY_P="${MY_PN}-${MY_PV_BASE}${MY_P_BETA}" |
60 |
MY_P_DOCS="${MY_P/${MY_PN}/${MY_PN}-docs-html}" |
61 |
|
62 |
DESCRIPTION="Shoreline Firewall is an iptables-based firewall for Linux." |
63 |
HOMEPAGE="http://www.shorewall.net/" |
64 |
SRC_URI="http://www1.shorewall.net/pub/${MY_PN}/${MY_PV_TREE}/${MY_P}/${P}${MY_P_BETA}.tar.bz2 |
65 |
doc? ( http://www1.shorewall.net/pub/${MY_PN}/${MY_PV_TREE}/${MY_P}/${MY_P_DOCS}.tar.bz2 )" |
66 |
|
67 |
LICENSE="GPL-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
70 |
IUSE="doc" |
71 |
|
72 |
DEPEND=">=net-firewall/iptables-1.2.4 |
73 |
sys-apps/iproute2 |
74 |
!<net-firewall/shorewall-4.0" |
75 |
|
76 |
pkg_setup() { |
77 |
if built_with_use sys-apps/iproute2 minimal; then |
78 |
die "Shorewall requires sys-apps/iproute2 to be built without the \"minimal\" USE flag." |
79 |
fi |
80 |
} |
81 |
|
82 |
src_compile() { |
83 |
einfo "Nothing to compile." |
84 |
} |
85 |
|
86 |
src_install() { |
87 |
keepdir /var/lib/shorewall |
88 |
|
89 |
cd "${WORKDIR}/${P}${MY_P_BETA}" |
90 |
PREFIX="${D}" ./install.sh || die "install.sh failed" |
91 |
newinitd "${FILESDIR}"/shorewall.initd shorewall || die "doinitd failed" |
92 |
|
93 |
dodoc changelog.txt releasenotes.txt |
94 |
if use doc; then |
95 |
cd "${WORKDIR}/${MY_P_DOCS}" |
96 |
# install documentation |
97 |
dohtml -r * |
98 |
## dosym Documentation_Index.html "/usr/share/doc/${PF}/html/index.htm" |
99 |
# install samples |
100 |
cp -pR "${S}${MY_P_BETA}/Samples" "${D}/usr/share/doc/${PF}" |
101 |
fi |
102 |
} |
103 |
|
104 |
pkg_postinst() { |
105 |
elog |
106 |
if use doc ; then |
107 |
elog "Documentation is available at /usr/share/doc/${PF}/html." |
108 |
elog "Please read the Release Notes in /usr/share/doc/${PF}." |
109 |
elog "Samples are available at /usr/share/doc/${PF}/Samples." |
110 |
else |
111 |
elog "Documentation is available at http://www.shorewall.net" |
112 |
fi |
113 |
elog "There are man pages for shorewall(8) and for each configuration file." |
114 |
elog |
115 |
elog "Bridging configuration has changed with kernel 2.6.20+." |
116 |
elog "Check the documentation." |
117 |
elog |
118 |
elog "Do not blindly start shorewall, edit the files in /etc/shorewall first" |
119 |
elog "At the very least, you must change 'STARTUP_ENABLED' in shorewall.conf" |
120 |
elog |
121 |
elog "Be aware that version ${MY_PV_TREE} differs substantially from previous releases." |
122 |
elog "Information on upgrading is available at:" |
123 |
elog "http://www.shorewall.net/upgrade_issues.htm" |
124 |
elog |
125 |
elog "There is a 'shorewall compile' command to generate scripts to run" |
126 |
elog "on systems with Shorewall Lite installed." |
127 |
elog "Please refer to http://www.shorewall.net/CompiledPrograms.html" |
128 |
elog "It is advised to copy the /usr/share/shorewall/configfiles dir to your" |
129 |
elog "own 'export directories'. However, whenever you upgrade Shorewall you" |
130 |
elog "should check for changes in configfiles and manually update your exports." |
131 |
elog "Alternatively, if you only have one Shorewall-Lite system in your network" |
132 |
elog "then you can use the configfiles dir but set CONFIG_PROTECT appropriately" |
133 |
elog "in /etc/make.conf (man make.conf)." |
134 |
elog |
135 |
elog "Known problems:" |
136 |
elog "http://shorewall.net/pub/${MY_PN}/${MY_PV_TREE}/${MY_P}/known_problems.txt" |
137 |
elog |
138 |
elog "Whether upgrading or installing you should run shorewall check," |
139 |
elog "correct any errors found and run shorewall restart|start." |
140 |
elog |
141 |
elog "${PN} requires a compiler." |
142 |
elog "You can choose to emerge shorewall-shell and/or shorewall-perl." |
143 |
} |