1 |
constanze 13/12/02 20:06:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: shorewall6-lite-4.5.21.4.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.69 net-firewall/shorewall6-lite/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall6-lite/ChangeLog?rev=1.69&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall6-lite/ChangeLog?rev=1.69&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall6-lite/ChangeLog?r1=1.68&r2=1.69 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-firewall/shorewall6-lite/ChangeLog,v |
20 |
retrieving revision 1.68 |
21 |
retrieving revision 1.69 |
22 |
diff -u -r1.68 -r1.69 |
23 |
--- ChangeLog 10 Nov 2013 17:37:51 -0000 1.68 |
24 |
+++ ChangeLog 2 Dec 2013 20:06:45 -0000 1.69 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for net-firewall/shorewall6-lite |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall6-lite/ChangeLog,v 1.68 2013/11/10 17:37:51 constanze Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall6-lite/ChangeLog,v 1.69 2013/12/02 20:06:45 constanze Exp $ |
30 |
+ |
31 |
+*shorewall6-lite-4.5.21.4 (02 Dec 2013) |
32 |
+ |
33 |
+ 02 Dec 2013; Constanze Hausner <constanze@g.o> |
34 |
+ +files/4.5.21.4/shorewall6-lite.confd, +files/4.5.21.4/shorewall6-lite.initd, |
35 |
+ +files/4.5.21.4/shorewallrc, +shorewall6-lite-4.5.21.4.ebuild, |
36 |
+ +files/4.5.21.4/shorewall6-lite.systemd: |
37 |
+ Version Bump; Thanks to Thomas D. |
38 |
|
39 |
*shorewall6-lite-4.5.21.2 (10 Nov 2013) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 net-firewall/shorewall6-lite/shorewall6-lite-4.5.21.4.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall6-lite/shorewall6-lite-4.5.21.4.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall6-lite/shorewall6-lite-4.5.21.4.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: shorewall6-lite-4.5.21.4.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/shorewall6-lite/shorewall6-lite-4.5.21.4.ebuild,v 1.1 2013/12/02 20:06:45 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="An iptables-based firewall whose config is handled by a normal Shorewall6." |
76 |
HOMEPAGE="http://www.shorewall.net/" |
77 |
SRC_URI=" |
78 |
http://www1.shorewall.net/pub/shorewall/${MY_URL_PREFIX}${MY_MAJOR_RELEASE_NUMBER}/shorewall-${MY_MAJORMINOR_RELEASE_NUMBER}/${MY_P}.tar.bz2 |
79 |
doc? ( http://www1.shorewall.net/pub/shorewall/${MY_URL_PREFIX}${MY_MAJOR_RELEASE_NUMBER}/shorewall-${MY_MAJORMINOR_RELEASE_NUMBER}/${MY_P_DOCS}.tar.bz2 ) |
80 |
" |
81 |
|
82 |
LICENSE="GPL-2" |
83 |
SLOT="0" |
84 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
85 |
IUSE="doc" |
86 |
|
87 |
DEPEND="=net-firewall/shorewall-core-${PVR}" |
88 |
RDEPEND=" |
89 |
${DEPEND} |
90 |
>=net-firewall/iptables-1.4.20[ipv6] |
91 |
sys-apps/iproute2[-minimal] |
92 |
dev-perl/Socket6 |
93 |
" |
94 |
|
95 |
S=${WORKDIR}/${MY_P} |
96 |
|
97 |
pkg_pretend() { |
98 |
local CONFIG_CHECK="~NF_CONNTRACK ~NF_CONNTRACK_IPV6" |
99 |
|
100 |
local ERROR_CONNTRACK="${PN} requires NF_CONNTRACK support." |
101 |
|
102 |
local ERROR_CONNTRACK_IPV6="${PN} requires NF_CONNTRACK_IPV6 support." |
103 |
|
104 |
check_extra_config |
105 |
} |
106 |
|
107 |
src_prepare() { |
108 |
cp "${FILESDIR}"/${PVR}/shorewallrc "${S}"/shorewallrc.gentoo || die "Copying shorewallrc failed" |
109 |
eprefixify "${S}"/shorewallrc.gentoo |
110 |
|
111 |
cp "${FILESDIR}"/${PVR}/${PN}.confd "${S}"/default.gentoo || die "Copying ${PN}.confd failed" |
112 |
cp "${FILESDIR}"/${PVR}/${PN}.initd "${S}"/init.gentoo.sh || die "Copying ${PN}.initd failed" |
113 |
cp "${FILESDIR}"/${PVR}/${PN}.systemd "${S}"/gentoo.service || die "Copying ${PN}.systemd failed" |
114 |
|
115 |
epatch_user |
116 |
} |
117 |
|
118 |
src_configure() { |
119 |
:; |
120 |
} |
121 |
|
122 |
src_compile() { |
123 |
:; |
124 |
} |
125 |
|
126 |
src_install() { |
127 |
keepdir /var/lib/${PN} |
128 |
|
129 |
DESTDIR="${D}" ./install.sh shorewallrc.gentoo || die "install.sh failed" |
130 |
|
131 |
dodoc changelog.txt releasenotes.txt |
132 |
if use doc; then |
133 |
cd "${WORKDIR}/${MY_P_DOCS}" |
134 |
dohtml -r * |
135 |
fi |
136 |
} |
137 |
|
138 |
pkg_postinst() { |
139 |
if [[ -z "${REPLACING_VERSIONS}" ]]; then |
140 |
# This is a new installation |
141 |
elog "Before you can use ${PN}, you need to provide a configuration, which you can" |
142 |
elog "create using ${CATEGORY}/shorewall6 (the full version, including the compiler)." |
143 |
elog "" |
144 |
elog "To activate ${PN} on system start, please add ${PN} to your default runlevel:" |
145 |
elog "" |
146 |
elog " # rc-update add ${PN} default" |
147 |
fi |
148 |
|
149 |
if ! has_version ${CATEGORY}/shorewall-init; then |
150 |
elog "" |
151 |
elog "Starting with shorewall6-lite-4.5.21.2, Gentoo also offers ${CATEGORY}/shorewall-init," |
152 |
elog "which we recommend to install, to protect your firewall at system boot." |
153 |
elog "" |
154 |
elog "To read more about shorewall-init, please visit" |
155 |
elog " http://www.shorewall.net/Shorewall-init.html" |
156 |
fi |
157 |
} |