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