summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2010-10-25 11:04:08 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2010-10-25 11:04:08 +0000
commitd7dad6b93c795405eeddf0749127148e58f5fcc0 (patch)
treea258a9b2a2666974d5a783809a6c66c9cc5e7bcb /net-misc
parentVersion bump, bug #342017 by tman. Fixes remote crash, security bug #342059 b... (diff)
downloadgentoo-2-d7dad6b93c795405eeddf0749127148e58f5fcc0.tar.gz
gentoo-2-d7dad6b93c795405eeddf0749127148e58f5fcc0.tar.bz2
gentoo-2-d7dad6b93c795405eeddf0749127148e58f5fcc0.zip
Drop old version
(Portage version: 2.2.0_alpha1/cvs/Linux x86_64)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/gateway6/ChangeLog6
-rw-r--r--net-misc/gateway6/files/gateway6-5.1-gcc43.patch109
-rw-r--r--net-misc/gateway6/files/gw6c.rc37
-rw-r--r--net-misc/gateway6/gateway6-5.1.ebuild74
4 files changed, 5 insertions, 221 deletions
diff --git a/net-misc/gateway6/ChangeLog b/net-misc/gateway6/ChangeLog
index f1b7fe296a19..251881745387 100644
--- a/net-misc/gateway6/ChangeLog
+++ b/net-misc/gateway6/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/gateway6
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/gateway6/ChangeLog,v 1.7 2010/10/24 17:59:21 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/gateway6/ChangeLog,v 1.8 2010/10/25 11:04:07 voyageur Exp $
+
+ 25 Oct 2010; Bernard Cafarelli <voyageur@gentoo.org> -gateway6-5.1.ebuild,
+ -files/gateway6-5.1-gcc43.patch, -files/gw6c.rc:
+ Drop old version
24 Oct 2010; Raúl Porcel <armin76@gentoo.org> gateway6-6.0-r2.ebuild:
sparc stable wrt #340587
diff --git a/net-misc/gateway6/files/gateway6-5.1-gcc43.patch b/net-misc/gateway6/files/gateway6-5.1-gcc43.patch
deleted file mode 100644
index fb8e11f6ad48..000000000000
--- a/net-misc/gateway6/files/gateway6-5.1-gcc43.patch
+++ /dev/null
@@ -1,109 +0,0 @@
-
-
---- gw6c-messaging/src/clientmsgsender.cc.orig 2008-06-16 15:28:00.000000000 +0000
-+++ gw6c-messaging/src/clientmsgsender.cc 2008-06-16 15:28:11.000000000 +0000
-@@ -19,6 +19,8 @@
- // **************************************************************************
- #include <gw6cmessaging/clientmsgsender.h>
- #include <assert.h>
-+#include <cstring>
-+
-
-
- namespace gw6cmessaging
-
---- gw6c-messaging/src/servermsgsender.cc.orig 2008-06-16 15:31:47.000000000 +0000
-+++ gw6c-messaging/src/servermsgsender.cc 2008-06-16 15:31:56.000000000 +0000
-@@ -19,6 +19,8 @@
- // **************************************************************************
- #include <gw6cmessaging/servermsgsender.h>
- #include <assert.h>
-+#include <cstring>
-+
-
-
- #ifdef WIN32
-
---- gw6c-config/src/namevalueparser.cc.orig 2008-06-16 15:32:41.000000000 +0000
-+++ gw6c-config/src/namevalueparser.cc 2008-06-16 15:32:51.000000000 +0000
-@@ -25,6 +25,8 @@
- #include <fstream>
- #include <time.h>
- #include <assert.h>
-+#include <cstring>
-+
-
-
- #define NV_SEPARATOR "=" // Name=value separator
-
---- gw6c-config/src/gw6cconfig.cc.orig 2008-06-16 15:33:33.000000000 +0000
-+++ gw6c-config/src/gw6cconfig.cc 2008-06-16 15:33:43.000000000 +0000
-@@ -25,6 +25,8 @@
- #include <gw6cconfig/gw6cuistrings.h>
- #include <assert.h>
- #include <string>
-+#include <cstring>
-+#include <cstdlib>
-
- // Configuration data variable NAMES
-
---- gw6c-config/src/gw6cvalidation.cc.orig 2008-06-16 15:34:19.000000000 +0000
-+++ gw6c-config/src/gw6cvalidation.cc 2008-06-16 15:34:29.000000000 +0000
-@@ -18,6 +18,8 @@
- // __________________________________________________________________________
- // **************************************************************************
- #include <gw6cconfig/gw6cvalidation.h>
-+#include <cstring>
-+#include <cstdlib>
-
- #ifdef WIN32
-
---- gw6c-config/src/gw6c_c_wrapper.cc.orig 2008-06-16 15:38:18.000000000 +0000
-+++ gw6c-config/src/gw6c_c_wrapper.cc 2008-06-16 15:38:30.000000000 +0000
-@@ -22,6 +22,9 @@
- #include <gw6cconfig/gw6cuistrings.h>
- using namespace gw6cconfig;
- #include <assert.h>
-+#include <cstring>
-+#include <cstdlib>
-+
-
- #ifdef WIN32
- #define strcasecmp _stricmp
-
---- gw6c-messaging/src/gw6c_c_wrapper.cc.orig 2008-06-16 15:39:04.000000000 +0000
-+++ gw6c-messaging/src/gw6c_c_wrapper.cc 2008-06-16 15:39:20.000000000 +0000
-@@ -17,6 +17,8 @@
- // Creation Date: December 2006
- // __________________________________________________________________________
- // **************************************************************************
-+
-+#include <cstring>
- #include <gw6cmessaging/gw6c_c_wrapper.h>
- #include <gw6cmessaging/clientmsgdataretriever.h>
- #include <gw6cmessaging/clientmessengerimpl.h>
-
---- gw6c-config/src/hap6devicemappingconfig.cc.orig 2008-06-16 15:40:58.000000000 +0000
-+++ gw6c-config/src/hap6devicemappingconfig.cc 2008-06-16 15:41:09.000000000 +0000
-@@ -22,6 +22,8 @@
- #include <gw6cconfig/hap6devicemappingconfig.h>
- #include <gw6cconfig/gw6cuistrings.h>
- #include <assert.h>
-+#include <cstring>
-+
-
-
- #ifdef WIN32
-
---- gw6c-config/src/hap6_devmap_c_wrap.cc.orig 2008-06-16 15:41:44.000000000 +0000
-+++ gw6c-config/src/hap6_devmap_c_wrap.cc 2008-06-16 15:41:54.000000000 +0000
-@@ -22,6 +22,8 @@
- #include <gw6cconfig/gw6cuistrings.h>
- using namespace gw6cconfig;
- #include <assert.h>
-+#include <cstdlib>
-+#include <cstring>
-
- #ifdef WIN32
- #define strcasecmp _stricmp
-
diff --git a/net-misc/gateway6/files/gw6c.rc b/net-misc/gateway6/files/gw6c.rc
deleted file mode 100644
index 9dc5217da1e5..000000000000
--- a/net-misc/gateway6/files/gw6c.rc
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/sbin/runscript
-
-GATEWAY6_CLIENT="/usr/sbin/gw6c"
-
-depend() {
- need net localmount
- after bootmisc
- use dns logger
-}
-
-checkconfig() {
- if [ $(uname -s) = "Linux" ] ; then
- if [ ! -e /dev/net/tun ]; then
- if ! modprobe tun ; then
- eerror "TUN/TAP support is not available" \
- "in this kernel"
- return 1
- fi
- fi
- fi
- return 0
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting Gateway6 IPv6 Client"
- start-stop-daemon --start --quiet --exec $GATEWAY6_CLIENT \
- --chdir /var/lib/gateway6 -- -f /etc/gateway6/gw6c.conf
- eend $?
-}
-
-stop() {
- ebegin "Stopping Gateway6 IPv6 Client"
- start-stop-daemon --stop --quiet -s HUP --exec $GATEWAY6_CLIENT
- eend $?
-}
diff --git a/net-misc/gateway6/gateway6-5.1.ebuild b/net-misc/gateway6/gateway6-5.1.ebuild
deleted file mode 100644
index cad2ad850770..000000000000
--- a/net-misc/gateway6/gateway6-5.1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/gateway6/gateway6-5.1.ebuild,v 1.1 2009/06/03 15:06:34 voyageur Exp $
-
-inherit eutils versionator toolchain-funcs
-
-MY_PV=$(replace_all_version_separators "_")
-DESCRIPTION="Client to connect to a tunnel broker using the TSP protocol (freenet6 for example)"
-HOMEPAGE="http://go6.net/4105/application.asp"
-SRC_URI="mirror://gentoo/gw6c-${MY_PV}-RELEASE-src.tar.gz"
-
-LICENSE="VPL-1.0"
-SLOT="0"
-KEYWORDS="amd64 hppa sparc x86"
-IUSE=""
-
-DEPEND="dev-libs/openssl"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/tspc-advanced"
-
-src_unpack() {
- unpack ${A}
- cd "${WORKDIR}"
-
- epatch "${FILESDIR}"/${P}-gcc43.patch
-
- for i in gw6c-config gw6c-messaging ; do
- sed -i -e "/ARCHIVER=/s:ar:$(tc-getAR):" \
- -e "/COMPILER=/s:g++:$(tc-getCXX):" \
- -e "/C_COMPILER=/s:gcc:$(tc-getCC):" \
- -e "/CPP_FLAGS=/s:-I.:${CXXFLAGS} -I.:" \
- -e "/C_FLAGS=/s:-I.:${CFLAGS} -I.:" \
- -e "/C_LINKER=/s:gcc:$(tc-getCC):" \
- -e "/LD_FLAGS=/s:-O2::" \
- -e "/LD_FLAGS=/s:-L:${LDFLAGS} -L:" \
- -e "/LINKER=/s:g++:$(tc-getCXX):" \
- -e "/RANLIB=/s:ranlib:$(tc-getRANLIB):" \
- ${i}/Makefile || die "sed failed in ${i}"
- done
-
- cd "${S}"
- for i in platform/linux platform/unix-common src/lib src/net src/tsp src/xml ; do
- sed -i -e "/CC=/s:gcc:$(tc-getCC):" \
- -e "/CFLAGS=/s:-O2:${CFLAGS}:" \
- -e "/LDFLAGS=/s:-L..:${LDFLAGS} -L..:" \
- ${i}/Makefile || die "sed failed in ${i}"
- done
-}
-
-src_compile() {
- emake all configdir=/etc/gateway6 target=linux || die "Build Failed"
- sed -i "s#tsp-#/tmp/tsp-#" bin/gw6c.conf.sample
-}
-
-src_install() {
- dosbin bin/gw6c
-
- insopts -m 600
- insinto /etc/gateway6
- newins bin/gw6c.conf.sample gw6c.conf
- exeinto /etc/gateway6/template
- doexe template/linux.sh
-
- newinitd "${FILESDIR}"/gw6c.rc gw6c
-
- doman man/{man5/gw6c.conf.5,man8/gw6c.8}
-}
-
-pkg_postinst() {
- elog "To add support for a TSP IPv6 connection at startup,"
- elog "remember to run:"
- elog "# rc-update add gw6c default"
-}