1 |
constanze 13/08/28 17:02:21 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: shorewall6-lite-4.5.19.ebuild |
5 |
Log: |
6 |
Version bump; Add new files/ structure |
7 |
|
8 |
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key BB80F419010E3EC3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.63 net-firewall/shorewall6-lite/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall6-lite/ChangeLog?rev=1.63&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall6-lite/ChangeLog?rev=1.63&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall6-lite/ChangeLog?r1=1.62&r2=1.63 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-firewall/shorewall6-lite/ChangeLog,v |
20 |
retrieving revision 1.62 |
21 |
retrieving revision 1.63 |
22 |
diff -u -r1.62 -r1.63 |
23 |
--- ChangeLog 28 Aug 2013 15:15:11 -0000 1.62 |
24 |
+++ ChangeLog 28 Aug 2013 17:02:21 -0000 1.63 |
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.62 2013/08/28 15:15:11 constanze Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall6-lite/ChangeLog,v 1.63 2013/08/28 17:02:21 constanze Exp $ |
30 |
+ |
31 |
+*shorewall6-lite-4.5.19 (28 Aug 2013) |
32 |
+ |
33 |
+ 28 Aug 2013; Constanze Hausner <constanze@g.o> |
34 |
+ +files/4.5.19/shorewall6-lite.confd, +files/4.5.19/shorewall6-lite.initd, |
35 |
+ +files/4.5.19/shorewallrc, +shorewall6-lite-4.5.19.ebuild, |
36 |
+ +files/4.5.19/shorewall6-lite.systemd: |
37 |
+ Version bump; Add new files/ structure |
38 |
|
39 |
28 Aug 2013; Constanze Hausner <constanze@g.o> |
40 |
-shorewall6-lite-4.5.15.ebuild, -shorewall6-lite-4.5.17.ebuild: |
41 |
|
42 |
|
43 |
|
44 |
1.1 net-firewall/shorewall6-lite/shorewall6-lite-4.5.19.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall6-lite/shorewall6-lite-4.5.19.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall6-lite/shorewall6-lite-4.5.19.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: shorewall6-lite-4.5.19.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.19.ebuild,v 1.1 2013/08/28 17:02:21 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_MAJORMINOR=$(get_version_component_range 1-2) |
73 |
|
74 |
DESCRIPTION="An iptables-based firewall whose config is handled by a normal Shorewall6." |
75 |
HOMEPAGE="http://www.shorewall.net/" |
76 |
SRC_URI=" |
77 |
http://www.shorewall.net/pub/shorewall/${MY_URL_PREFIX}${MY_MAJORMINOR}/shorewall-${MY_PV}/${MY_P}.tar.bz2 |
78 |
doc? ( http://www.shorewall.net/pub/shorewall/${MY_URL_PREFIX}${MY_MAJORMINOR}/shorewall-${MY_PV}/${MY_P_DOCS}.tar.bz2 ) |
79 |
" |
80 |
|
81 |
LICENSE="GPL-2" |
82 |
SLOT="0" |
83 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
84 |
IUSE="doc" |
85 |
|
86 |
DEPEND="=net-firewall/shorewall-core-${PV}" |
87 |
RDEPEND=" |
88 |
${DEPEND} |
89 |
>=net-firewall/iptables-1.4.20[ipv6] |
90 |
sys-apps/iproute2[-minimal] |
91 |
dev-perl/Socket6 |
92 |
" |
93 |
|
94 |
S=${WORKDIR}/${MY_P} |
95 |
|
96 |
pkg_pretend() { |
97 |
local CONFIG_CHECK="~NF_CONNTRACK ~NF_CONNTRACK_IPV6" |
98 |
|
99 |
local ERROR_CONNTRACK="${PN} requires NF_CONNTRACK support." |
100 |
|
101 |
local ERROR_CONNTRACK_IPV6="${PN} requires NF_CONNTRACK_IPV6 support." |
102 |
|
103 |
check_extra_config |
104 |
} |
105 |
|
106 |
src_prepare() { |
107 |
cp "${FILESDIR}"/${PV}/shorewallrc "${S}"/shorewallrc.gentoo || die "Copying shorewallrc_new failed" |
108 |
eprefixify "${S}"/shorewallrc.gentoo |
109 |
|
110 |
cp "${FILESDIR}"/${PV}/${PN}.confd "${S}"/default.gentoo || die "Copying shorewall.confd failed" |
111 |
cp "${FILESDIR}"/${PV}/${PN}.initd "${S}"/init.gentoo.sh || die "Copying shorewall.initd failed" |
112 |
|
113 |
epatch_user |
114 |
} |
115 |
|
116 |
src_configure() { |
117 |
:; |
118 |
} |
119 |
|
120 |
src_compile() { |
121 |
:; |
122 |
} |
123 |
|
124 |
src_install() { |
125 |
keepdir /var/lib/${PN} |
126 |
|
127 |
DESTDIR="${D}" ./install.sh shorewallrc.gentoo || die "install.sh failed" |
128 |
systemd_newunit "${FILESDIR}"/${PV}/shorewall6-lite.systemd ${PN}.service |
129 |
|
130 |
# Currently, install.sh from upstream is broken and will always |
131 |
# default.debian so have to do it on our own: |
132 |
newconfd "${FILESDIR}"/${PV}/${PN}.confd ${PN} |
133 |
|
134 |
dodoc changelog.txt releasenotes.txt |
135 |
if use doc; then |
136 |
cd "${WORKDIR}/${MY_P_DOCS}" |
137 |
dohtml -r * |
138 |
fi |
139 |
} |
140 |
|
141 |
pkg_postinst() { |
142 |
if [[ -z "${REPLACING_VERSIONS}" ]]; then |
143 |
# This is a new installation |
144 |
elog "Before you can use ${PN}, you need to provide a configuration, which you can" |
145 |
elog "create using ${CATEGORY}/shorewall6 (the full version, including the compiler)." |
146 |
elog "" |
147 |
elog "To activate ${PN} on system start, please add ${PN} to your default runlevel:" |
148 |
elog "" |
149 |
elog " # rc-update add ${PN} default" |
150 |
fi |
151 |
} |