1 |
constanze 13/10/26 18:37:26 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: shorewall-4.5.21.2.ebuild |
5 |
Log: |
6 |
Version bump; Thanks to Thomas D. |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key BB80F419010E3EC3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.249 net-firewall/shorewall/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall/ChangeLog?rev=1.249&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall/ChangeLog?rev=1.249&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall/ChangeLog?r1=1.248&r2=1.249 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-firewall/shorewall/ChangeLog,v |
20 |
retrieving revision 1.248 |
21 |
retrieving revision 1.249 |
22 |
diff -u -r1.248 -r1.249 |
23 |
--- ChangeLog 21 Oct 2013 12:57:11 -0000 1.248 |
24 |
+++ ChangeLog 26 Oct 2013 18:37:26 -0000 1.249 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for net-firewall/shorewall |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall/ChangeLog,v 1.248 2013/10/21 12:57:11 nimiux Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall/ChangeLog,v 1.249 2013/10/26 18:37:26 constanze Exp $ |
30 |
+ |
31 |
+*shorewall-4.5.21.2 (26 Oct 2013) |
32 |
+ |
33 |
+ 26 Oct 2013; Constanze Hausner <constanze@g.o> |
34 |
+ +files/4.5.21.2/shorewall.confd, +files/4.5.21.2/shorewall.initd, |
35 |
+ +files/4.5.21.2/shorewallrc, +shorewall-4.5.21.2.ebuild, |
36 |
+ +files/4.5.21.2/shorewall.systemd: |
37 |
+ Version bump; Thanks to Thomas D. |
38 |
|
39 |
21 Oct 2013; Chema Alonso <nimiux@g.o> shorewall-4.5.18-r1.ebuild: |
40 |
Stable for amd64 wrt bug #487690 |
41 |
|
42 |
|
43 |
|
44 |
1.1 net-firewall/shorewall/shorewall-4.5.21.2.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall/shorewall-4.5.21.2.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall/shorewall-4.5.21.2.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: shorewall-4.5.21.2.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2013 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall/shorewall-4.5.21.2.ebuild,v 1.1 2013/10/26 18:37:26 constanze Exp $ |
54 |
|
55 |
EAPI="5" |
56 |
|
57 |
inherit eutils linux-info prefix systemd versionator |
58 |
|
59 |
MY_URL_PREFIX= |
60 |
case ${P} in |
61 |
*_beta* | \ |
62 |
*_rc*) |
63 |
MY_URL_PREFIX='development/' |
64 |
;; |
65 |
esac |
66 |
|
67 |
MY_PV=${PV/_rc/-RC} |
68 |
MY_PV=${MY_PV/_beta/-Beta} |
69 |
MY_P=${PN}-${MY_PV} |
70 |
MY_P_DOCS=shorewall-docs-html-${MY_PV} |
71 |
|
72 |
MY_MAJOR_RELEASE_NUMBER=$(get_version_component_range 1-2) |
73 |
MY_MAJORMINOR_RELEASE_NUMBER=$(get_version_component_range 1-3) |
74 |
|
75 |
DESCRIPTION='The Shoreline Firewall, commonly known as Shorewall, is' |
76 |
DESCRIPTION+=' a high-level tool for configuring Netfilter.' |
77 |
HOMEPAGE="http://www.shorewall.net/" |
78 |
SRC_URI=" |
79 |
http://www1.shorewall.net/pub/shorewall/${MY_URL_PREFIX}${MY_MAJOR_RELEASE_NUMBER}/shorewall-${MY_MAJORMINOR_RELEASE_NUMBER}/${MY_P}.tar.bz2 |
80 |
doc? ( http://www1.shorewall.net/pub/shorewall/${MY_URL_PREFIX}${MY_MAJOR_RELEASE_NUMBER}/shorewall-${MY_MAJORMINOR_RELEASE_NUMBER}/${MY_P_DOCS}.tar.bz2 ) |
81 |
" |
82 |
|
83 |
LICENSE="GPL-2" |
84 |
SLOT="0" |
85 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
86 |
IUSE="doc" |
87 |
|
88 |
DEPEND=" |
89 |
>=dev-lang/perl-5.10 |
90 |
virtual/perl-Digest-SHA |
91 |
=net-firewall/shorewall-core-${PVR} |
92 |
" |
93 |
RDEPEND=" |
94 |
${DEPEND} |
95 |
>=net-firewall/iptables-1.4.20 |
96 |
sys-apps/iproute2[-minimal] |
97 |
sys-devel/bc |
98 |
" |
99 |
|
100 |
S=${WORKDIR}/${MY_P} |
101 |
|
102 |
pkg_pretend() { |
103 |
local CONFIG_CHECK="~NF_CONNTRACK ~NF_CONNTRACK_IPV4" |
104 |
|
105 |
local WARNING_CONNTRACK="Without NF_CONNTRACK support, you will be unable" |
106 |
local WARNING_CONNTRACK+=" to run ${PN} on the local system." |
107 |
|
108 |
local WARNING_CONNTRACK_IPV4="Without NF_CONNTRACK_IPV4 support, you will" |
109 |
local WARNING_CONNTRACK_IPV4+=" be unable to run ${PN} on the local system." |
110 |
|
111 |
check_extra_config |
112 |
} |
113 |
|
114 |
src_prepare() { |
115 |
cp "${FILESDIR}"/${PVR}/shorewallrc "${S}"/shorewallrc.gentoo || die "Copying shorewallrc failed" |
116 |
eprefixify "${S}"/shorewallrc.gentoo |
117 |
|
118 |
cp "${FILESDIR}"/${PVR}/${PN}.confd "${S}"/default.gentoo || die "Copying ${PN}.confd failed" |
119 |
cp "${FILESDIR}"/${PVR}/${PN}.initd "${S}"/init.gentoo.sh || die "Copying ${PN}.initd failed" |
120 |
cp "${FILESDIR}"/${PVR}/${PN}.systemd "${S}"/gentoo.service || die "Copying ${PN}.systemd failed" |
121 |
|
122 |
epatch_user |
123 |
} |
124 |
|
125 |
src_configure() { |
126 |
:; |
127 |
} |
128 |
|
129 |
src_compile() { |
130 |
:; |
131 |
} |
132 |
|
133 |
src_install() { |
134 |
keepdir /var/lib/${PN} |
135 |
|
136 |
DESTDIR="${D}" ./install.sh shorewallrc.gentoo || die "install.sh failed" |
137 |
|
138 |
dodoc changelog.txt releasenotes.txt |
139 |
if use doc; then |
140 |
dodoc -r Samples |
141 |
cd "${WORKDIR}"/${MY_P_DOCS} |
142 |
dohtml -r * |
143 |
fi |
144 |
} |
145 |
|
146 |
pkg_postinst() { |
147 |
if [[ -z "${REPLACING_VERSIONS}" ]]; then |
148 |
# This is a new installation |
149 |
elog "Before you can use ${PN}, you need to edit its configuration in:" |
150 |
elog "" |
151 |
elog " ${EPREFIX}/etc/${PN}/${PN}.conf" |
152 |
elog "" |
153 |
elog "To activate ${PN} on system start, please add ${PN} to your default runlevel:" |
154 |
elog "" |
155 |
elog " # rc-update add ${PN} default" |
156 |
fi |
157 |
|
158 |
if ! has_version ${CATEGORY}/shorewall-init; then |
159 |
elog "" |
160 |
elog "Starting with shorewall-4.5.21.2, Gentoo also offers ${CATEGORY}/shorewall-init," |
161 |
elog "which we recommend to install, to protect your firewall at system boot." |
162 |
elog "" |
163 |
elog "To read more about shorewall-init, please visit" |
164 |
elog " http://www.shorewall.net/Shorewall-init.html" |
165 |
fi |
166 |
} |