Gentoo Archives: gentoo-commits

From: "Bernard Cafarelli (voyageur)" <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/gateway6: gateway6-6.0.ebuild ChangeLog gateway6-5.1.ebuild metadata.xml
Date: Wed, 03 Jun 2009 15:06:37
Message-Id: E1MBs30-0005Vj-OM@stork.gentoo.org
1 voyageur 09/06/03 15:06:34
2
3 Added: gateway6-6.0.ebuild ChangeLog gateway6-5.1.ebuild
4 metadata.xml
5 Log:
6 Package move from freenet6 to gateway6, bug #267107
7 (Portage version: 2.2_rc33/cvs/Linux x86_64, RepoMan options: --force)
8
9 Revision Changes Path
10 1.1 net-misc/gateway6/gateway6-6.0.ebuild
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/gateway6/gateway6-6.0.ebuild?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/gateway6/gateway6-6.0.ebuild?rev=1.1&content-type=text/plain
14
15 Index: gateway6-6.0.ebuild
16 ===================================================================
17 # Copyright 1999-2009 Gentoo Foundation
18 # Distributed under the terms of the GNU General Public License v2
19 # $Header: /var/cvsroot/gentoo-x86/net-misc/gateway6/gateway6-6.0.ebuild,v 1.1 2009/06/03 15:06:34 voyageur Exp $
20
21 inherit eutils versionator toolchain-funcs
22
23 MY_P=gw6c-$(replace_all_version_separators "_")
24 MY_P=${MY_P/_beta/-BETA}
25
26 DESCRIPTION="Client to connect to a tunnel broker using the TSP protocol (freenet6 for example)"
27 HOMEPAGE="http://go6.net/4105/application.asp"
28 SRC_URI="http://go6.net/4105/file.asp?file_id=158&file=/${MY_P}.tar.gz"
29
30 LICENSE="VPL-1.0"
31 SLOT="0"
32 KEYWORDS="~amd64 ~hppa ~sparc ~x86"
33 IUSE="radvd"
34
35 DEPEND="dev-libs/openssl
36 sys-apps/iproute2
37 radvd? ( net-misc/radvd )"
38 RDEPEND="${DEPEND}"
39
40 S="${WORKDIR}/${MY_P}-RELEASE"
41
42 src_unpack() {
43 unpack ${A}
44 cd "${S}"
45
46 epatch "${FILESDIR}"/${PN}-6.0_beta4-no-template-validation.patch
47
48 for i in gw6c-config gw6c-messaging ; do
49 sed -i -e "s/-O2//" \
50 -e "s/CXXFLAGS=/CXXFLAGS+=/" \
51 -e "s/CFLAGS=/CFLAGS+=/" \
52 -e "s/LDFAGS=/LDFLAGS+=/" \
53 ${i}/Makefile || die "sed failed in ${i}"
54 done
55
56 cd tspc-advanced
57 for i in platform/linux platform/unix-common src/lib src/net src/tsp src/xml ; do
58 sed -i -e "s/-O2//" \
59 -e "s/CXXFLAGS=/CXXFLAGS+=/" \
60 -e "s/CFLAGS=/CFLAGS+=/" \
61 -e "s/LDFAGS=/LDFLAGS+=/" \
62 ${i}/Makefile || die "sed failed in ${i}"
63 done
64 }
65
66 src_compile() {
67 # Parallel compilation broken
68 emake -j1\
69 AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" \
70 CC="$(tc-getCC)" CXX="$(tc-getCXX)" \
71 all configdir=/etc/gateway6 target=linux || die "Build Failed"
72 }
73
74 src_install() {
75 cd "${S}"/tspc-advanced
76 dosbin bin/gw6c
77
78 insopts -m 600
79 insinto /etc/gateway6
80 doins "${FILESDIR}"/gw6c.conf
81 exeinto /etc/gateway6/template
82 doexe template/linux.sh
83
84 newinitd "${FILESDIR}"/gw6c.rc gw6c
85
86 doman man/{man5/gw6c.conf.5,man8/gw6c.8}
87 dodir /var/lib/gateway6
88
89 dodoc "${S}"/*.pdf
90 }
91
92 pkg_postinst() {
93 elog "To add support for a TSP IPv6 connection at startup,"
94 elog "remember to run:"
95 elog "# rc-update add gw6c default"
96 }
97
98
99
100 1.1 net-misc/gateway6/ChangeLog
101
102 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/gateway6/ChangeLog?rev=1.1&view=markup
103 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/gateway6/ChangeLog?rev=1.1&content-type=text/plain
104
105 Index: ChangeLog
106 ===================================================================
107 # ChangeLog for net-misc/gateway6
108 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
109 # $Header: /var/cvsroot/gentoo-x86/net-misc/gateway6/ChangeLog,v 1.1 2009/06/03 15:06:34 voyageur Exp $
110
111 *gateway6-6.0 (03 Jun 2009)
112 *gateway6-5.1 (03 Jun 2009)
113
114 03 Jun 2009; Bernard Cafarelli <voyageur@g.o>
115 +files/gateway6-5.1-gcc43.patch, +files/gw6c.rc, +gateway6-5.1.ebuild,
116 +gateway6-6.0.ebuild,
117 +files/gateway6-6.0_beta4-no-template-validation.patch, +files/gw6c.conf,
118 +metadata.xml:
119 Package move from freenet6 to gateway6, bug #267107
120
121 03 Jun 2009; Bernard Cafarelli <voyageur@g.o> -freenet6-5.0.ebuild,
122 -freenet6-6.0_beta4.ebuild:
123 Remove old 5.0 and beta 6.0
124
125 07 Apr 2009; Bernard Cafarelli <voyageur@g.o> freenet6-6.0.ebuild:
126 Commit the correct ebuild this time, fixes bug #265115
127
128 *freenet6-6.0 (06 Apr 2009)
129
130 06 Apr 2009; Bernard Cafarelli <voyageur@g.o> +freenet6-6.0.ebuild:
131 Version bump, thanks to Dmitry S. Kulyabov <yamadharma@×××××.com> in bug
132 #264350
133
134 30 Dec 2008; Bernard Cafarelli <voyageur@g.o> files/gw6c.rc:
135 Stopping the tunnel needs SIGHUP, thanks Christian Limberg
136 <barneyman@×××.de> in bug #252186
137
138 14 Dec 2008; Friedrich Oslage <bluebird@g.o> freenet6-5.1.ebuild:
139 Stable on sparc, bug #245871
140
141 *freenet6-6.0_beta4 (28 Nov 2008)
142
143 28 Nov 2008; Bernard Cafarelli <voyageur@g.o>
144 -files/freenet6-4.2.2-noretry.patch,
145 +files/freenet6-6.0_beta4-no-template-validation.patch, files/gw6c.conf,
146 +freenet6-6.0_beta4.ebuild:
147 Bump to 6.0 beta (connection stability fixes), ebuild cleanup thanks to
148 Flameeyes and Alexandre Hamelin <alexandre.hamelin@×××××.com>. Closes bugs
149 #241064 and #246577
150
151 22 Nov 2008; Jeroen Roovers <jer@g.o> freenet6-5.1.ebuild:
152 Stable for HPPA (bug #245871).
153
154 08 Nov 2008; Markus Meier <maekke@g.o> freenet6-5.1.ebuild:
155 amd64/x86 stable, bug #245871
156
157 16 Jun 2008; Bernard Cafarelli <voyageur@g.o>
158 +files/freenet6-5.1-gcc43.patch, -freenet6-4.2.2.ebuild,
159 freenet6-5.1.ebuild:
160 gcc 4.3 compilation fix, thanks to Marek Miller <mlm@××××××.pl>
161 Fixes bug #226663. Also remove last 4.2 version
162
163 15 Jun 2008; Zac Medico <zmedico@g.o> freenet6-4.2.2.ebuild,
164 freenet6-5.0.ebuild, freenet6-5.1.ebuild:
165 Bug #226505 - For compatibility with phase execution order in
166 >=portage-2.1.5, call has_version inside pkg_preinst instead of
167 pkg_postinst.
168
169 29 Apr 2008; Raúl Porcel <armin76@g.o> freenet6-5.0.ebuild:
170 sparc stable wrt #211360
171
172 27 Apr 2008; Markus Meier <maekke@g.o> freenet6-5.0.ebuild:
173 amd64 stable, bug #211360
174
175 29 Feb 2008; <cla@g.o> freenet6-5.0.ebuild:
176 Stable on x86 (bug #211360)
177
178 27 Feb 2008; Jeroen Roovers <jer@g.o> freenet6-5.0.ebuild:
179 Stable for HPPA (bug #211360).
180
181 27 Feb 2008; Bernard Cafarelli <voyageur@g.o> files/gw6c.rc:
182 Add tun module detection/load to init script, patch provided by jakub
183
184 27 Feb 2008; Bernard Cafarelli <voyageur@g.o> freenet6-5.1.ebuild:
185 Honor C[XX]FLAGS+LDFLAGS, many thanks to jakub in bug #211581
186
187 *freenet6-5.1 (26 Feb 2008)
188
189 26 Feb 2008; Bernard Cafarelli <voyageur@g.o> files/gw6c.rc,
190 freenet6-5.0.ebuild, +freenet6-5.1.ebuild:
191 Make initscript depend on bootmisc, as the daemon writes in /tmp.
192 Thanks jakub in bug #211358
193 Also version bump to 5.1, and fix quoting
194
195 16 Jun 2007; Christoph Mende <angelos@g.o> freenet6-4.2.2.ebuild:
196 Stable on amd64 wrt bug 180450
197
198 03 Jun 2007; Bernard Cafarelli <voyageur@g.o> -files/gentoo.sh,
199 -files/tspc.conf, -files/tspc.rc, -freenet6-1.0.0.ebuild:
200 Remove old version
201
202 02 Jun 2007; Markus Ullmann <jokey@g.o> freenet6-4.2.2.ebuild:
203 Stable on x86 wrt bug #180450
204
205 *freenet6-5.0 (31 May 2007)
206
207 31 May 2007; Bernard Cafarelli <voyageur@g.o> +freenet6-5.0.ebuild:
208 Version bump
209
210 30 May 2007; Gustavo Zacarias <gustavoz@g.o> freenet6-4.2.2.ebuild:
211 Stable on sparc
212
213 12 May 2007; Bernard Cafarelli <voyageur@g.o> metadata.xml:
214 Added no-herd to metadata.xml
215
216 11 May 2007; Jeroen Roovers <jer@g.o> freenet6-4.2.2.ebuild:
217 Marked ~hppa (bug #174840).
218
219 28 Apr 2007; Sven Wegener <swegener@g.o> freenet6-1.0.0.ebuild,
220 freenet6-4.2.2.ebuild:
221 Fix *initd, *confd and *envd calls (#17388, #174266)
222
223 18 Apr 2007; Gustavo Zacarias <gustavoz@g.o> freenet6-4.2.2.ebuild:
224 Keyworded ~sparc wrt #174840
225
226 *freenet6-4.2.2 (16 Apr 2007)
227
228 16 Apr 2007; Bernard Cafarelli <voyageur@g.o> +files/gw6c.conf,
229 +files/freenet6-4.2.2-noretry.patch, +files/gw6c.rc,
230 +freenet6-4.2.2.ebuild:
231 Version bump, fixes bugs #32779, #63710, #102947 and #166210
232
233 15 Apr 2007; Bernard Cafarelli <voyageur@g.o>
234 -files/freenet6-0.9.2.diff, metadata.xml, -freenet6-0.9.7.ebuild:
235 Remove old version. Also fixes bug #169209
236
237 28 Jun 2006; Chris Gianelloni <wolf31o2@g.o> files/gentoo.sh:
238 Added a patch from Steve Egbert <s.egbert@×××××××××.net> to fix bug #118942.
239
240 28 Jun 2006; Chris Gianelloni <wolf31o2@g.o> freenet6-1.0.0.ebuild:
241 Add tspc to the DESCRIPTION so it shows up in searches. Closing bug #94283.
242
243 09 May 2006; Diego Pettenò <flameeyes@g.o> freenet6-1.0.0.ebuild:
244 Add changes to build on Gentoo/*BSD (from Kiko, bug #132553) and respect
245 CC/CFLAGS/LDFLAGS.
246
247 01 May 2005; Michael Hanselmann <hansmi@g.o> freenet6-1.0.0.ebuild:
248 Stable on ppc.
249
250 29 Dec 2004; Ciaran McCreesh <ciaranm@g.o> :
251 Change encoding to UTF-8 for GLEP 31 compliance
252
253 02 Oct 2004; Markus Nigbur <pyrania@g.o> freenet6-0.9.7.ebuild:
254 hooray for epatch!
255
256 07 Jun 2004; Bryan Østergaard <kloeri@g.o> freenet6-1.0.0.ebuild:
257 Stable on alpha.
258
259 *freenet6-1.0.0 (7 Dec 2003)
260
261 07 Dec 2003; Guy Martin <gmsoft@g.o> files/tspc.rc,
262 files/tspc.conf, freenet6-1.0.0.ebuild :
263 Updated version. Marking stable on x86 because old version
264 does not connect anymore. Other arches are still unstable.
265
266 11 Jun 2003; Peter Johanson <latexer@g.o> files/tspc.rc:
267 missing #!/sbin/runscript
268
269 10 Jun 2003; Peter Johanson <latexer@g.o> freenet6-0.9.7.ebuild,
270 files/gentoo.sh:
271 Added a gentoo.sh script which matches gentoo's placement of things. bug #21865
272
273 *freenet6-0.9.7 (28 May 2003)
274
275 28 May 2003; Peter Johanson <latexer@g.o> freenet6-0.9.7.ebuild,
276 files/freenet6-0.9.2.diff, files/tspc.conf, files/tspc.rc:
277 Initial import. bug#9020
278
279
280
281
282 1.1 net-misc/gateway6/gateway6-5.1.ebuild
283
284 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/gateway6/gateway6-5.1.ebuild?rev=1.1&view=markup
285 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/gateway6/gateway6-5.1.ebuild?rev=1.1&content-type=text/plain
286
287 Index: gateway6-5.1.ebuild
288 ===================================================================
289 # Copyright 1999-2009 Gentoo Foundation
290 # Distributed under the terms of the GNU General Public License v2
291 # $Header: /var/cvsroot/gentoo-x86/net-misc/gateway6/gateway6-5.1.ebuild,v 1.1 2009/06/03 15:06:34 voyageur Exp $
292
293 inherit eutils versionator toolchain-funcs
294
295 MY_PV=$(replace_all_version_separators "_")
296 DESCRIPTION="Client to connect to a tunnel broker using the TSP protocol (freenet6 for example)"
297 HOMEPAGE="http://go6.net/4105/application.asp"
298 SRC_URI="mirror://gentoo/gw6c-${MY_PV}-RELEASE-src.tar.gz"
299
300 LICENSE="VPL-1.0"
301 SLOT="0"
302 KEYWORDS="amd64 hppa sparc x86"
303 IUSE=""
304
305 DEPEND="dev-libs/openssl"
306 RDEPEND="${DEPEND}"
307
308 S="${WORKDIR}/tspc-advanced"
309
310 src_unpack() {
311 unpack ${A}
312 cd "${WORKDIR}"
313
314 epatch "${FILESDIR}"/${P}-gcc43.patch
315
316 for i in gw6c-config gw6c-messaging ; do
317 sed -i -e "/ARCHIVER=/s:ar:$(tc-getAR):" \
318 -e "/COMPILER=/s:g++:$(tc-getCXX):" \
319 -e "/C_COMPILER=/s:gcc:$(tc-getCC):" \
320 -e "/CPP_FLAGS=/s:-I.:${CXXFLAGS} -I.:" \
321 -e "/C_FLAGS=/s:-I.:${CFLAGS} -I.:" \
322 -e "/C_LINKER=/s:gcc:$(tc-getCC):" \
323 -e "/LD_FLAGS=/s:-O2::" \
324 -e "/LD_FLAGS=/s:-L:${LDFLAGS} -L:" \
325 -e "/LINKER=/s:g++:$(tc-getCXX):" \
326 -e "/RANLIB=/s:ranlib:$(tc-getRANLIB):" \
327 ${i}/Makefile || die "sed failed in ${i}"
328 done
329
330 cd "${S}"
331 for i in platform/linux platform/unix-common src/lib src/net src/tsp src/xml ; do
332 sed -i -e "/CC=/s:gcc:$(tc-getCC):" \
333 -e "/CFLAGS=/s:-O2:${CFLAGS}:" \
334 -e "/LDFLAGS=/s:-L..:${LDFLAGS} -L..:" \
335 ${i}/Makefile || die "sed failed in ${i}"
336 done
337 }
338
339 src_compile() {
340 emake all configdir=/etc/gateway6 target=linux || die "Build Failed"
341 sed -i "s#tsp-#/tmp/tsp-#" bin/gw6c.conf.sample
342 }
343
344 src_install() {
345 dosbin bin/gw6c
346
347 insopts -m 600
348 insinto /etc/gateway6
349 newins bin/gw6c.conf.sample gw6c.conf
350 exeinto /etc/gateway6/template
351 doexe template/linux.sh
352
353 newinitd "${FILESDIR}"/gw6c.rc gw6c
354
355 doman man/{man5/gw6c.conf.5,man8/gw6c.8}
356 }
357
358 pkg_postinst() {
359 elog "To add support for a TSP IPv6 connection at startup,"
360 elog "remember to run:"
361 elog "# rc-update add gw6c default"
362 }
363
364
365
366 1.1 net-misc/gateway6/metadata.xml
367
368 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/gateway6/metadata.xml?rev=1.1&view=markup
369 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/gateway6/metadata.xml?rev=1.1&content-type=text/plain
370
371 Index: metadata.xml
372 ===================================================================
373 <?xml version="1.0" encoding="UTF-8"?>
374 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
375 <pkgmetadata>
376 <herd>no-herd</herd>
377 <maintainer>
378 <email>voyageur@g.o</email>
379 <name>Bernard Cafarelli</name>
380 </maintainer>
381 <longdescription>TSP is a control protocol used to establish and maintain static tunnels. The Gateway6 client is used on the host computer to connect to a tunnel broker using the TSP protocol and to get the information for its tunnel. When it receives the information for the tunnel, the Gateway6 client creates the static tunnel on its operating system</longdescription>
382 <use>
383 <flag name="radvd">Enable support for <pkg>net-misc/radvd</pkg></flag>
384 </use>
385 </pkgmetadata>