Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/gogoc/files/, net-misc/gogoc/, profiles/
Date: Mon, 05 Sep 2016 13:54:22
Message-Id: 1473083628.859b54162a1e45fcac82b3eab491dcf56d5cd9bb.mgorny@gentoo
1 commit: 859b54162a1e45fcac82b3eab491dcf56d5cd9bb
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 5 13:38:17 2016 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 5 13:53:48 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=859b5416
7
8 net-misc/gogoc: Remove last-rited pkg, #589760
9
10 net-misc/gogoc/Manifest | 1 -
11 net-misc/gogoc/files/gogoc-1.2+gcc-4.6.patch | 26 -------
12 net-misc/gogoc/files/gogoc-1.2-overflow.patch | 35 ----------
13 net-misc/gogoc/files/gogoc.rc | 42 ------------
14 net-misc/gogoc/files/gogoc.service | 12 ----
15 net-misc/gogoc/gogoc-1.2-r2.ebuild | 96 --------------------------
16 net-misc/gogoc/gogoc-1.2-r3.ebuild | 97 ---------------------------
17 net-misc/gogoc/metadata.xml | 14 ----
18 profiles/package.mask | 5 --
19 9 files changed, 328 deletions(-)
20
21 diff --git a/net-misc/gogoc/Manifest b/net-misc/gogoc/Manifest
22 deleted file mode 100644
23 index 867480b..00000000
24 --- a/net-misc/gogoc/Manifest
25 +++ /dev/null
26 @@ -1 +0,0 @@
27 -DIST gogoc-1_2-RELEASE.tar.gz 249286 SHA256 a0ef45c0bd1fc9964dc8ac059b7d78c12674bf67ef641740554e166fa99a2f49 SHA512 4ca4de23f81d3c08b514514c6f29bba0eb7dc34dda0fb82de1721b87ab337db018a90808f412de0f38a85baa0808d6f27e6e08b42e120634ff7d483e16793829 WHIRLPOOL b6228e23e5b7aa4f33c84cafcf92218986379b275c7a1945eba0b667fcc810dda06bc5f73ea3e095f66cceb6211bb2f023b4e065f1b68633e557972381c57346
28
29 diff --git a/net-misc/gogoc/files/gogoc-1.2+gcc-4.6.patch b/net-misc/gogoc/files/gogoc-1.2+gcc-4.6.patch
30 deleted file mode 100644
31 index 94582d9..00000000
32 --- a/net-misc/gogoc/files/gogoc-1.2+gcc-4.6.patch
33 +++ /dev/null
34 @@ -1,26 +0,0 @@
35 -Index: gogoc-1_2-RELEASE/gogoc-messaging/src/clientmsgsender.cc
36 -===================================================================
37 ---- gogoc-1_2-RELEASE.orig/gogoc-messaging/src/clientmsgsender.cc
38 -+++ gogoc-1_2-RELEASE/gogoc-messaging/src/clientmsgsender.cc
39 -@@ -15,7 +15,7 @@
40 - // **************************************************************************
41 - #include <gogocmessaging/clientmsgsender.h>
42 - #include <assert.h>
43 --
44 -+#include <cstddef>
45 -
46 - namespace gogocmessaging
47 - {
48 -Index: gogoc-1_2-RELEASE/gogoc-messaging/src/servermsgsender.cc
49 -===================================================================
50 ---- gogoc-1_2-RELEASE.orig/gogoc-messaging/src/servermsgsender.cc
51 -+++ gogoc-1_2-RELEASE/gogoc-messaging/src/servermsgsender.cc
52 -@@ -15,7 +15,7 @@
53 - // **************************************************************************
54 - #include <gogocmessaging/servermsgsender.h>
55 - #include <assert.h>
56 --
57 -+#include <cstddef>
58 -
59 - namespace gogocmessaging
60 - {
61
62 diff --git a/net-misc/gogoc/files/gogoc-1.2-overflow.patch b/net-misc/gogoc/files/gogoc-1.2-overflow.patch
63 deleted file mode 100644
64 index ddc414c..00000000
65 --- a/net-misc/gogoc/files/gogoc-1.2-overflow.patch
66 +++ /dev/null
67 @@ -1,35 +0,0 @@
68 -Index: gogoc-1_2-RELEASE/gogoc-config/src/gogocvalidation.cc
69 -===================================================================
70 ---- gogoc-1_2-RELEASE.orig/gogoc-config/src/gogocvalidation.cc
71 -+++ gogoc-1_2-RELEASE/gogoc-config/src/gogocvalidation.cc
72 -@@ -512,7 +512,7 @@ bool Validate_ClientV4( const string& sC
73 - if( sClientV4 != STR_AUTO )
74 - {
75 - struct in_addr address;
76 -- unsigned long net;
77 -+ in_addr_t net;
78 -
79 - net = inet_addr( sClientV4.c_str() );
80 - memcpy(&address, &net, sizeof(net));
81 -@@ -535,7 +535,7 @@ bool Validate_DSLite( const string& sDSL
82 -
83 - {
84 - struct in_addr address;
85 -- unsigned long net;
86 -+ in_addr_t net;
87 -
88 - net = inet_addr( sDSLite.c_str() );
89 - memcpy(&address, &net, sizeof(net));
90 -Index: gogoc-1_2-RELEASE/gogoc-config/src/haccessdevicemappingconfig.cc
91 -===================================================================
92 ---- gogoc-1_2-RELEASE.orig/gogoc-config/src/haccessdevicemappingconfig.cc
93 -+++ gogoc-1_2-RELEASE/gogoc-config/src/haccessdevicemappingconfig.cc
94 -@@ -265,7 +265,7 @@ bool HACCESSDeviceMappingConfig::Validat
95 - // Check if IPv4 or IPv6 address
96 - struct in6_addr addressv6;
97 - struct in_addr addressv4;
98 -- unsigned long net;
99 -+ in_addr_t net;
100 -
101 - net = inet_addr( aIPAddress.c_str() );
102 - memcpy(&addressv4, &net, sizeof(net));
103
104 diff --git a/net-misc/gogoc/files/gogoc.rc b/net-misc/gogoc/files/gogoc.rc
105 deleted file mode 100644
106 index bb639a1..00000000
107 --- a/net-misc/gogoc/files/gogoc.rc
108 +++ /dev/null
109 @@ -1,42 +0,0 @@
110 -#!/sbin/openrc-run
111 -# Copyright 1999-2012 Gentoo Foundation
112 -# Distributed under the terms of the GNU General Public License v2
113 -# $Id$
114 -
115 -depend() {
116 - need net localmount
117 - after bootmisc
118 - use dns logger
119 -}
120 -
121 -checktun() {
122 - [ $(uname -s) = "Linux" ] || return 0
123 - [ -e /dev/net/tun ] && return 0
124 - modprobe tun && return 0
125 -
126 - eerror "TUN/TAP support is not available in the running kernel"
127 - return 1
128 -}
129 -
130 -checkconfig() {
131 - if ! [ -f /etc/gogoc/gogoc.conf ]; then
132 - eerror "Unable to find configuration file /etc/gogoc/gogoc.conf"
133 - return 1
134 - fi
135 -}
136 -
137 -start() {
138 - checktun || return 1
139 - checkconfig || return 1
140 -
141 - ebegin "Starting gogoCLIENT"
142 - start-stop-daemon --start --exec /usr/sbin/gogoc \
143 - --chdir /var/lib/gogoc -- -f /etc/gogoc/gogoc.conf -y
144 - eend $?
145 -}
146 -
147 -stop() {
148 - ebegin "Stopping gogoCLIENT"
149 - start-stop-daemon --stop --exec /usr/sbin/gogoc
150 - eend $?
151 -}
152
153 diff --git a/net-misc/gogoc/files/gogoc.service b/net-misc/gogoc/files/gogoc.service
154 deleted file mode 100644
155 index fe7b31e..00000000
156 --- a/net-misc/gogoc/files/gogoc.service
157 +++ /dev/null
158 @@ -1,12 +0,0 @@
159 -[Unit]
160 -Description=Client to connect to a tunnel broker using the TSP protocol (freenet6 for example)
161 -
162 -[Service]
163 -ExecStart=/usr/sbin/gogoc -y -f /etc/gogoc/gogoc.conf
164 -ExecReload=/bin/kill -HUP $MAINPID
165 -KillMode=process
166 -Restart=always
167 -RestartSec=4
168 -
169 -[Install]
170 -WantedBy=multi-user.target
171
172 diff --git a/net-misc/gogoc/gogoc-1.2-r2.ebuild b/net-misc/gogoc/gogoc-1.2-r2.ebuild
173 deleted file mode 100644
174 index 650825d..00000000
175 --- a/net-misc/gogoc/gogoc-1.2-r2.ebuild
176 +++ /dev/null
177 @@ -1,96 +0,0 @@
178 -# Copyright 1999-2013 Gentoo Foundation
179 -# Distributed under the terms of the GNU General Public License v2
180 -# $Id$
181 -
182 -EAPI=4
183 -
184 -inherit eutils versionator toolchain-funcs
185 -
186 -MY_P=${PN}-$(replace_all_version_separators "_")
187 -if [[ ${MY_P/_beta/} != ${MY_P} ]]; then
188 - MY_P=${MY_P/_beta/-BETA}
189 -else
190 - MY_P=${MY_P}-RELEASE
191 -fi
192 -
193 -DESCRIPTION="Client to connect to a tunnel broker using the TSP protocol (freenet6 for example)"
194 -HOMEPAGE="http://gogonet.gogo6.com/page/download-1"
195 -SRC_URI="http://gogo6.com/downloads/${MY_P}.tar.gz"
196 -
197 -# GPL-2 for Gentoo init script
198 -LICENSE="MIT GPL-2"
199 -SLOT="0"
200 -KEYWORDS="amd64 hppa sparc x86"
201 -IUSE="debug"
202 -
203 -DEPEND="dev-libs/openssl"
204 -RDEPEND="${DEPEND}
205 - sys-apps/iproute2
206 - >=sys-apps/net-tools-1.60_p20120127084908"
207 -
208 -S="${WORKDIR}/${MY_P}"
209 -
210 -src_prepare() {
211 - epatch "${FILESDIR}"/${P}-overflow.patch
212 - epatch "${FILESDIR}"/${P}+gcc-4.6.patch
213 -
214 - # Make the makefile handle linking correctly
215 - find . -name Makefile -exec sed -i \
216 - -e 's:LDFLAGS:LDLIBS:g' \
217 - -e '/\$(LDLIBS)/s:-o:$(LDFLAGS) -o:' \
218 - {} + || die "multised failed"
219 -
220 - sed -i -e 's:/usr/local/etc/gogoc:/etc/gogoc:' \
221 - gogoc-tsp/platform/*/tsp_local.c \
222 - || die "path sed failed"
223 -
224 - # Newer net-tools use /bin
225 - sed -i -e "/^\(route\|ifconfig\)=/s/sbin/bin/" \
226 - gogoc-tsp/template/linux.sh \
227 - || die "net-tools sed failed"
228 -}
229 -
230 -src_configure() { :; }
231 -
232 -src_compile() {
233 - # parallel make fails as inter-directory dependecies are missing.
234 - emake -j1 \
235 - AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" \
236 - CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getCXX)" \
237 - EXTRA_CFLAGS="${CFLAGS}" EXTRA_CXXFLAGS="${CXXFLAGS}" \
238 - $(use debug && echo DEBUG=1) \
239 - all target=linux
240 -
241 - emake -C gogoc-tsp/conf \
242 - PLATFORM=linux PLATFORM_DIR=../platform BIN_DIR=../bin \
243 - gogoc.conf.sample
244 -}
245 -
246 -src_install() {
247 - dodoc README
248 -
249 - cd "${S}"/gogoc-tsp
250 - dosbin bin/gogoc
251 -
252 - dodoc bin/gogoc.conf.sample
253 -
254 - exeinto /etc/gogoc/template
255 - doexe template/linux.sh
256 -
257 - newinitd "${FILESDIR}"/gogoc.rc gogoc
258 -
259 - doman man/{man5/gogoc.conf.5,man8/gogoc.8}
260 - keepdir /var/lib/gogoc
261 -
262 - diropts -m0700
263 - keepdir /etc/gogoc
264 -}
265 -
266 -pkg_postinst() {
267 - elog "You should create an /etc/gogoc/gogoc.conf file starting from"
268 - elog "the sample configuration in /usr/share/doc/${PF}/gogoc.conf.sample.*"
269 - elog ""
270 - elog "To add support for a TSP IPv6 connection at startup,"
271 - elog "remember to run:"
272 - elog "# rc-update add gogoc default"
273 -}
274
275 diff --git a/net-misc/gogoc/gogoc-1.2-r3.ebuild b/net-misc/gogoc/gogoc-1.2-r3.ebuild
276 deleted file mode 100644
277 index b0c3eb9..00000000
278 --- a/net-misc/gogoc/gogoc-1.2-r3.ebuild
279 +++ /dev/null
280 @@ -1,97 +0,0 @@
281 -# Copyright 1999-2014 Gentoo Foundation
282 -# Distributed under the terms of the GNU General Public License v2
283 -# $Id$
284 -
285 -EAPI=4
286 -
287 -inherit eutils systemd versionator toolchain-funcs
288 -
289 -MY_P=${PN}-$(replace_all_version_separators "_")
290 -if [[ ${MY_P/_beta/} != ${MY_P} ]]; then
291 - MY_P=${MY_P/_beta/-BETA}
292 -else
293 - MY_P=${MY_P}-RELEASE
294 -fi
295 -
296 -DESCRIPTION="Client to connect to a tunnel broker using the TSP protocol (freenet6 for example)"
297 -HOMEPAGE="http://gogonet.gogo6.com/page/download-1"
298 -SRC_URI="http://gogo6.com/downloads/${MY_P}.tar.gz"
299 -
300 -# GPL-2 for Gentoo init script
301 -LICENSE="MIT GPL-2"
302 -SLOT="0"
303 -KEYWORDS="amd64 hppa sparc x86"
304 -IUSE="debug"
305 -
306 -DEPEND="dev-libs/openssl"
307 -RDEPEND="${DEPEND}
308 - sys-apps/iproute2
309 - >=sys-apps/net-tools-1.60_p20120127084908"
310 -
311 -S="${WORKDIR}/${MY_P}"
312 -
313 -src_prepare() {
314 - epatch "${FILESDIR}"/${P}-overflow.patch
315 - epatch "${FILESDIR}"/${P}+gcc-4.6.patch
316 -
317 - # Make the makefile handle linking correctly
318 - find . -name Makefile -exec sed -i \
319 - -e 's:LDFLAGS:LDLIBS:g' \
320 - -e '/\$(LDLIBS)/s:-o:$(LDFLAGS) -o:' \
321 - {} + || die "multised failed"
322 -
323 - sed -i -e 's:/usr/local/etc/gogoc:/etc/gogoc:' \
324 - gogoc-tsp/platform/*/tsp_local.c \
325 - || die "path sed failed"
326 -
327 - # Newer net-tools use /bin
328 - sed -i -e "/^\(route\|ifconfig\)=/s/sbin/bin/" \
329 - gogoc-tsp/template/linux.sh \
330 - || die "net-tools sed failed"
331 -}
332 -
333 -src_configure() { :; }
334 -
335 -src_compile() {
336 - # parallel make fails as inter-directory dependecies are missing.
337 - emake -j1 \
338 - AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" \
339 - CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getCXX)" \
340 - EXTRA_CFLAGS="${CFLAGS}" EXTRA_CXXFLAGS="${CXXFLAGS}" \
341 - $(use debug && echo DEBUG=1) \
342 - all target=linux
343 -
344 - emake -C gogoc-tsp/conf \
345 - PLATFORM=linux PLATFORM_DIR=../platform BIN_DIR=../bin \
346 - gogoc.conf.sample
347 -}
348 -
349 -src_install() {
350 - dodoc README
351 -
352 - cd "${S}"/gogoc-tsp
353 - dosbin bin/gogoc
354 -
355 - dodoc bin/gogoc.conf.sample
356 -
357 - exeinto /etc/gogoc/template
358 - doexe template/linux.sh
359 -
360 - newinitd "${FILESDIR}"/gogoc.rc gogoc
361 - systemd_dounit "${FILESDIR}"/${PN}.service
362 -
363 - doman man/{man5/gogoc.conf.5,man8/gogoc.8}
364 - keepdir /var/lib/gogoc
365 -
366 - diropts -m0700
367 - keepdir /etc/gogoc
368 -}
369 -
370 -pkg_postinst() {
371 - elog "You should create an /etc/gogoc/gogoc.conf file starting from"
372 - elog "the sample configuration in /usr/share/doc/${PF}/gogoc.conf.sample.*"
373 - elog ""
374 - elog "To add support for a TSP IPv6 connection at startup,"
375 - elog "remember to run:"
376 - elog "# rc-update add gogoc default"
377 -}
378
379 diff --git a/net-misc/gogoc/metadata.xml b/net-misc/gogoc/metadata.xml
380 deleted file mode 100644
381 index 18e3b6b..00000000
382 --- a/net-misc/gogoc/metadata.xml
383 +++ /dev/null
384 @@ -1,14 +0,0 @@
385 -<?xml version="1.0" encoding="UTF-8"?>
386 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
387 -<pkgmetadata>
388 - <maintainer type="person">
389 - <email>voyageur@g.o</email>
390 - <name>Bernard Cafarelli</name>
391 - </maintainer>
392 - <longdescription>
393 - TSP is a control protocol used to establish and maintain static tunnels. gogoCLIENT is
394 - used on the host computer to connect to a tunnel broker using the TSP protocol and to get the
395 - information for its tunnel. When it receives the information for the tunnel, gogoCLIENT
396 - creates the static tunnel on its operating system
397 -</longdescription>
398 -</pkgmetadata>
399
400 diff --git a/profiles/package.mask b/profiles/package.mask
401 index 0a2b35d..bcdf73b 100644
402 --- a/profiles/package.mask
403 +++ b/profiles/package.mask
404 @@ -646,11 +646,6 @@ dev-perl/Test-Tester
405 # recent JVMs. Masked for removal in 30 days. See bug #584562.
406 dev-java/oscache
407
408 -# Bernard Cafarelli <voyageur@g.o> (26 Jul 2016)
409 -# Upstream closed service. Switch to another IPv6 tunnel broker
410 -# Masked for removal in 30 days, bug #589760
411 -net-misc/gogoc
412 -
413 # Michał Górny <mgorny@g.o> (18 Jul 2016)
414 # Pre-release of a complete rewrite, provided for early testing. Not all
415 # functionality is provided yet. Use --pretend to make sure correct