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.10.ebuild
Date: Tue, 01 Apr 2008 05:07:23
Message-Id: E1JgYiN-0005AJ-Ot@stork.gentoo.org
1 pva 08/04/01 05:07:19
2
3 Modified: ChangeLog
4 Added: shorewall-common-4.0.10.ebuild
5 Log:
6 Version bump, bug #215548, thank Vieri <rentorbuy AT yahoo.com> for maintaining!
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.12 net-firewall/shorewall-common/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/shorewall-common/ChangeLog?rev=1.12&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/shorewall-common/ChangeLog?rev=1.12&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/shorewall-common/ChangeLog?r1=1.11&r2=1.12
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-firewall/shorewall-common/ChangeLog,v
19 retrieving revision 1.11
20 retrieving revision 1.12
21 diff -u -r1.11 -r1.12
22 --- ChangeLog 25 Feb 2008 18:06:26 -0000 1.11
23 +++ ChangeLog 1 Apr 2008 05:07:19 -0000 1.12
24 @@ -1,6 +1,13 @@
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.11 2008/02/25 18:06:26 pva Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall-common/ChangeLog,v 1.12 2008/04/01 05:07:19 pva Exp $
29 +
30 +*shorewall-common-4.0.10 (01 Apr 2008)
31 +
32 + 01 Apr 2008; Peter Volkov <pva@g.o>
33 + +shorewall-common-4.0.10.ebuild:
34 + Version bump, bug #215548, thank Vieri <rentorbuy AT yahoo.com> for
35 + maintaining!
36
37 25 Feb 2008; <pva@g.o> shorewall-common-4.0.9.ebuild:
38 Don't depend on shorewall-shell by default, bug #211321, thank you Stefan
39
40
41
42 1.1 net-firewall/shorewall-common/shorewall-common-4.0.10.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/shorewall-common/shorewall-common-4.0.10.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/shorewall-common/shorewall-common-4.0.10.ebuild?rev=1.1&content-type=text/plain
46
47 Index: shorewall-common-4.0.10.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall-common/shorewall-common-4.0.10.ebuild,v 1.1 2008/04/01 05:07:19 pva Exp $
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
76 !<net-firewall/shorewall-4.0"
77
78 pkg_setup() {
79 if built_with_use sys-apps/iproute2 minimal; then
80 die "Shorewall requires sys-apps/iproute2 to be built without the \"minimal\" USE flag."
81 fi
82 }
83
84 src_compile() {
85 einfo "Nothing to compile."
86 }
87
88 src_install() {
89 keepdir /var/lib/shorewall
90
91 cd "${WORKDIR}/${P}${MY_P_BETA}"
92 PREFIX="${D}" ./install.sh || die "install.sh failed"
93 newinitd "${FILESDIR}"/shorewall.initd shorewall || die "doinitd failed"
94
95 dodoc changelog.txt releasenotes.txt
96 if use doc; then
97 cd "${WORKDIR}/${MY_P_DOCS}"
98 # install documentation
99 dohtml -r *
100 ## dosym Documentation_Index.html "/usr/share/doc/${PF}/html/index.htm"
101 # install samples
102 cp -pR "${S}${MY_P_BETA}/Samples" "${D}/usr/share/doc/${PF}"
103 fi
104 }
105
106 pkg_postinst() {
107 elog
108 if use doc ; then
109 elog "Documentation is available at /usr/share/doc/${PF}/html."
110 elog "Please read the Release Notes in /usr/share/doc/${PF}."
111 elog "Samples are available at /usr/share/doc/${PF}/Samples."
112 else
113 elog "Documentation is available at http://www.shorewall.net"
114 fi
115 elog "There are man pages for shorewall(8) and for each configuration file."
116 elog
117 elog "Bridging configuration has changed with kernel 2.6.20+."
118 elog "Check the documentation."
119 elog
120 elog "Do not blindly start shorewall, edit the files in /etc/shorewall first"
121 elog "At the very least, you must change 'STARTUP_ENABLED' in shorewall.conf"
122 elog
123 elog "Be aware that version ${MY_PV_TREE} differs substantially from previous releases."
124 elog "Information on upgrading is available at:"
125 elog "http://www.shorewall.net/upgrade_issues.htm"
126 elog
127 elog "There is a 'shorewall compile' command to generate scripts to run"
128 elog "on systems with Shorewall Lite installed."
129 elog "Please refer to http://www.shorewall.net/CompiledPrograms.html"
130 elog "It is advised to copy the /usr/share/shorewall/configfiles dir to your"
131 elog "own 'export directories'. However, whenever you upgrade Shorewall you"
132 elog "should check for changes in configfiles and manually update your exports."
133 elog "Alternatively, if you only have one Shorewall-Lite system in your network"
134 elog "then you can use the configfiles dir but set CONFIG_PROTECT appropriately"
135 elog "in /etc/make.conf (man make.conf)."
136 elog
137 elog "Known problems:"
138 elog "http://shorewall.net/pub/${MY_PN}/${MY_PV_TREE}/${MY_P}/known_problems.txt"
139 elog
140 elog "Whether upgrading or installing you should run shorewall check,"
141 elog "correct any errors found and run shorewall restart|start."
142 elog
143 elog "${PN} requires a compiler."
144 elog "You can choose to emerge shorewall-shell and/or shorewall-perl."
145 }
146
147
148
149 --
150 gentoo-commits@l.g.o mailing list