1 |
constanze 13/08/28 16:59:04 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: shorewall6-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.84 net-firewall/shorewall6/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall6/ChangeLog?rev=1.84&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall6/ChangeLog?rev=1.84&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall6/ChangeLog?r1=1.83&r2=1.84 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-firewall/shorewall6/ChangeLog,v |
20 |
retrieving revision 1.83 |
21 |
retrieving revision 1.84 |
22 |
diff -u -r1.83 -r1.84 |
23 |
--- ChangeLog 28 Aug 2013 15:18:49 -0000 1.83 |
24 |
+++ ChangeLog 28 Aug 2013 16:59:04 -0000 1.84 |
25 |
@@ -1,6 +1,15 @@ |
26 |
# ChangeLog for net-firewall/shorewall6 |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall6/ChangeLog,v 1.83 2013/08/28 15:18:49 constanze Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall6/ChangeLog,v 1.84 2013/08/28 16:59:04 constanze Exp $ |
30 |
+ |
31 |
+*shorewall6-4.5.19 (28 Aug 2013) |
32 |
+ |
33 |
+ 28 Aug 2013; Constanze Hausner <constanze@g.o> |
34 |
+ +files/4.5.19/shorewall6.conf-SUBSYSLOCK.patch, |
35 |
+ +files/4.5.19/shorewall6.confd, +files/4.5.19/shorewall6.initd, |
36 |
+ +files/4.5.19/shorewall6.systemd, +files/4.5.19/shorewallrc, |
37 |
+ +shorewall6-4.5.19.ebuild: |
38 |
+ Version bump; Add new files/ structure |
39 |
|
40 |
28 Aug 2013; Constanze Hausner <constanze@g.o> |
41 |
-shorewall6-4.5.15.ebuild, -shorewall6-4.5.17.ebuild: |
42 |
|
43 |
|
44 |
|
45 |
1.1 net-firewall/shorewall6/shorewall6-4.5.19.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall6/shorewall6-4.5.19.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/shorewall6/shorewall6-4.5.19.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: shorewall6-4.5.19.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2013 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall6/shorewall6-4.5.19.ebuild,v 1.1 2013/08/28 16:59:04 constanze Exp $ |
55 |
|
56 |
EAPI="5" |
57 |
|
58 |
inherit eutils linux-info prefix systemd versionator |
59 |
|
60 |
MY_URL_PREFIX= |
61 |
case ${P} in |
62 |
*_beta* | \ |
63 |
*_rc*) |
64 |
MY_URL_PREFIX='development/' |
65 |
;; |
66 |
esac |
67 |
|
68 |
MY_PV=${PV/_rc/-RC} |
69 |
MY_PV=${MY_PV/_beta/-Beta} |
70 |
MY_P=${PN}-${MY_PV} |
71 |
MY_P_DOCS=shorewall-docs-html-${MY_PV} |
72 |
|
73 |
MY_MAJORMINOR=$(get_version_component_range 1-2) |
74 |
|
75 |
DESCRIPTION='The Shoreline Firewall, commonly known as Shorewall, with' |
76 |
DESCRIPTION+=' IPv6 support.' |
77 |
HOMEPAGE="http://www.shorewall.net/" |
78 |
SRC_URI=" |
79 |
http://www.shorewall.net/pub/shorewall/${MY_URL_PREFIX}${MY_MAJORMINOR}/shorewall-${MY_PV}/${MY_P}.tar.bz2 |
80 |
doc? ( http://www.shorewall.net/pub/shorewall/${MY_URL_PREFIX}${MY_MAJORMINOR}/shorewall-${MY_PV}/${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="=net-firewall/shorewall-${PV}" |
89 |
RDEPEND=" |
90 |
${DEPEND} |
91 |
>=net-firewall/iptables-1.4.20[ipv6] |
92 |
sys-apps/iproute2[-minimal] |
93 |
dev-perl/Socket6 |
94 |
" |
95 |
|
96 |
S=${WORKDIR}/${MY_P} |
97 |
|
98 |
pkg_pretend() { |
99 |
local CONFIG_CHECK="~NF_CONNTRACK ~NF_CONNTRACK_IPV6" |
100 |
|
101 |
local WARNING_CONNTRACK="Without NF_CONNTRACK support, you will be unable" |
102 |
local WARNING_CONNTRACK+=" to run ${PN} on the local system." |
103 |
|
104 |
local WARNING_CONNTRACK_IPV6="Without NF_CONNTRACK_IPV6 support, you will" |
105 |
local WARNING_CONNTRACK_IPV6+=" be unable to run ${PN} on the local system." |
106 |
|
107 |
check_extra_config |
108 |
} |
109 |
|
110 |
src_prepare() { |
111 |
cp "${FILESDIR}"/${PV}/shorewallrc "${S}"/shorewallrc.gentoo || die "Copying shorewallrc_new failed" |
112 |
eprefixify "${S}"/shorewallrc.gentoo |
113 |
|
114 |
cp "${FILESDIR}"/${PV}/${PN}.confd "${S}"/default.gentoo || die "Copying shorewall.confd failed" |
115 |
cp "${FILESDIR}"/${PV}/${PN}.initd "${S}"/init.gentoo.sh || die "Copying shorewall.initd failed" |
116 |
|
117 |
epatch "${FILESDIR}"/${PV}/shorewall6.conf-SUBSYSLOCK.patch |
118 |
epatch_user |
119 |
} |
120 |
|
121 |
src_configure() { |
122 |
:; |
123 |
} |
124 |
|
125 |
src_compile() { |
126 |
:; |
127 |
} |
128 |
|
129 |
src_install() { |
130 |
keepdir /var/lib/${PN} |
131 |
|
132 |
DESTDIR="${D}" ./install.sh shorewallrc.gentoo || die "install.sh failed" |
133 |
systemd_newunit "${FILESDIR}"/${PV}/${PN}.systemd ${PN}.service |
134 |
|
135 |
# Currently, install.sh from upstream is broken and will always |
136 |
# default.debian so have to do it on our own: |
137 |
newconfd "${FILESDIR}"/${PV}/${PN}.confd ${PN} |
138 |
|
139 |
dodoc changelog.txt releasenotes.txt |
140 |
if use doc; then |
141 |
dodoc -r Samples6 |
142 |
cd "${WORKDIR}"/${MY_P_DOCS} |
143 |
dohtml -r * |
144 |
fi |
145 |
} |
146 |
|
147 |
pkg_postinst() { |
148 |
if [[ -z "${REPLACING_VERSIONS}" ]]; then |
149 |
# This is a new installation |
150 |
elog "Before you can use ${PN}, you need to edit its configuration in:" |
151 |
elog "" |
152 |
elog " ${EPREFIX}/etc/${PN}/${PN}.conf" |
153 |
elog "" |
154 |
elog "To activate ${PN} on system start, please add ${PN} to your default runlevel:" |
155 |
elog "" |
156 |
elog " # rc-update add ${PN} default" |
157 |
fi |
158 |
} |