diff options
author | Alec Warner <antarus@gentoo.org> | 2006-08-26 05:00:35 +0000 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2006-08-26 05:00:35 +0000 |
commit | b011b35381577443c654dc61359f617f52d634f6 (patch) | |
tree | c7f9d43e1dd4a65cc4959d067b4c6d7e215c03d4 /net-misc/freenet6 | |
parent | Update masking for freenet6 (diff) | |
download | historical-b011b35381577443c654dc61359f617f52d634f6.tar.gz historical-b011b35381577443c654dc61359f617f52d634f6.tar.bz2 historical-b011b35381577443c654dc61359f617f52d634f6.zip |
Punting bidwatcher for bug # 140630
Diffstat (limited to 'net-misc/freenet6')
-rw-r--r-- | net-misc/freenet6/ChangeLog | 46 | ||||
-rw-r--r-- | net-misc/freenet6/Manifest | 34 | ||||
-rw-r--r-- | net-misc/freenet6/files/digest-freenet6-1.0.0 | 3 | ||||
-rw-r--r-- | net-misc/freenet6/files/gentoo.sh | 166 | ||||
-rw-r--r-- | net-misc/freenet6/files/tspc.conf | 53 | ||||
-rw-r--r-- | net-misc/freenet6/files/tspc.rc | 20 | ||||
-rw-r--r-- | net-misc/freenet6/freenet6-1.0.0.ebuild | 68 |
7 files changed, 0 insertions, 390 deletions
diff --git a/net-misc/freenet6/ChangeLog b/net-misc/freenet6/ChangeLog deleted file mode 100644 index ae6a590e5357..000000000000 --- a/net-misc/freenet6/ChangeLog +++ /dev/null @@ -1,46 +0,0 @@ -# ChangeLog for net-misc/freenet6 -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/freenet6/ChangeLog,v 1.12 2006/06/28 16:37:25 wolf31o2 Exp $ - - 28 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org> files/gentoo.sh: - Added a patch from Steve Egbert <s.egbert@sbcglobal.net> to fix bug #118942. - - 28 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org> freenet6-1.0.0.ebuild: - Add tspc to the DESCRIPTION so it shows up in searches. Closing bug #94283. - - 09 May 2006; Diego Pettenò <flameeyes@gentoo.org> freenet6-1.0.0.ebuild: - Add changes to build on Gentoo/*BSD (from Kiko, bug #132553) and respect - CC/CFLAGS/LDFLAGS. - - 01 May 2005; Michael Hanselmann <hansmi@gentoo.org> freenet6-1.0.0.ebuild: - Stable on ppc. - - 29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> : - Change encoding to UTF-8 for GLEP 31 compliance - - 02 Oct 2004; Markus Nigbur <pyrania@gentoo.org> freenet6-0.9.7.ebuild: - hooray for epatch! - - 07 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> freenet6-1.0.0.ebuild: - Stable on alpha. - -*freenet6-1.0.0 (7 Dec 2003) - - 07 Dec 2003; Guy Martin <gmsoft@gentoo.org> files/tspc.rc, - files/tspc.conf, freenet6-1.0.0.ebuild : - Updated version. Marking stable on x86 because old version - does not connect anymore. Other arches are still unstable. - - 11 Jun 2003; Peter Johanson <latexer@gentoo.org> files/tspc.rc: - missing #!/sbin/runscript - - 10 Jun 2003; Peter Johanson <latexer@gentoo.org> freenet6-0.9.7.ebuild, - files/gentoo.sh: - Added a gentoo.sh script which matches gentoo's placement of things. bug #21865 - -*freenet6-0.9.7 (28 May 2003) - - 28 May 2003; Peter Johanson <latexer@gentoo.org> freenet6-0.9.7.ebuild, - files/freenet6-0.9.2.diff, files/tspc.conf, files/tspc.rc: - Initial import. bug#9020 - diff --git a/net-misc/freenet6/Manifest b/net-misc/freenet6/Manifest deleted file mode 100644 index 968c106b221e..000000000000 --- a/net-misc/freenet6/Manifest +++ /dev/null @@ -1,34 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX gentoo.sh 4562 RMD160 39446e9685b3eced7fd00d1dcd0fbdb03bf7dc53 SHA1 bef8d592fd18d8336c90db1855818bc2a38d710d SHA256 a7a8ace95a1f4e70a590fd818bcb8d681ae82f7cf0030a96562ba76f8b2be2a2 -MD5 3bfb8729d0d6180fc62f05c26449d244 files/gentoo.sh 4562 -RMD160 39446e9685b3eced7fd00d1dcd0fbdb03bf7dc53 files/gentoo.sh 4562 -SHA256 a7a8ace95a1f4e70a590fd818bcb8d681ae82f7cf0030a96562ba76f8b2be2a2 files/gentoo.sh 4562 -AUX tspc.conf 1532 RMD160 87fe137a06b90007a84bbe55db6d0640aad2cc2c SHA1 6cc7bd14f05e7a20a2ce34e71e45a8ecd77c3ce9 SHA256 3fab7fad677182c2f4a60012502237e6e7fc5fb7ebd42156363a3cdfad3cf69a -MD5 deef1b2bb4a22d01f36dbcddee29fbee files/tspc.conf 1532 -RMD160 87fe137a06b90007a84bbe55db6d0640aad2cc2c files/tspc.conf 1532 -SHA256 3fab7fad677182c2f4a60012502237e6e7fc5fb7ebd42156363a3cdfad3cf69a files/tspc.conf 1532 -AUX tspc.rc 432 RMD160 916631387a3ed7b2ecca677b187ea2461647247a SHA1 f553d69e0330aec6028b8a7a287b364f245a0deb SHA256 09c03028106d56cbb0be183554dd9be3c1603aac3e7f377f886b45c555fdd526 -MD5 1dd245fdccb36878ec96ffe243dbc46d files/tspc.rc 432 -RMD160 916631387a3ed7b2ecca677b187ea2461647247a files/tspc.rc 432 -SHA256 09c03028106d56cbb0be183554dd9be3c1603aac3e7f377f886b45c555fdd526 files/tspc.rc 432 -DIST freenet6-1.0.0.tgz 330953 RMD160 28c7cceaaea5ffe4b740d09f7dbd4aed5abac69d SHA256 0d834b55538eff2abc569aa5c7831f24525bea56354727d0f6d5933d0e5f1116 -EBUILD freenet6-1.0.0.ebuild 1631 RMD160 d1dd2890091b6d0ff86b61b1c51f5dcbc24e8327 SHA1 90086486ec3dbeac7e2a687ab2c011fa73f22377 SHA256 fbfcdd21eb7cec6d3ee100023bdf6c9a00c25af0ebb641196550f57e766ac40c -MD5 39ba93f19b030fabb688121ff8af9e48 freenet6-1.0.0.ebuild 1631 -RMD160 d1dd2890091b6d0ff86b61b1c51f5dcbc24e8327 freenet6-1.0.0.ebuild 1631 -SHA256 fbfcdd21eb7cec6d3ee100023bdf6c9a00c25af0ebb641196550f57e766ac40c freenet6-1.0.0.ebuild 1631 -MISC ChangeLog 1804 RMD160 6b50411461f6fd66c6c048a499a32c9332a1e210 SHA1 dff8e86c8b63914466458d10059bc016e00b5ff9 SHA256 a092685aad3934af063e4b49a2bd2b8acf615f141065966b78799372ca33aa47 -MD5 abc57c6b382022716764b0dbfbbf8cd3 ChangeLog 1804 -RMD160 6b50411461f6fd66c6c048a499a32c9332a1e210 ChangeLog 1804 -SHA256 a092685aad3934af063e4b49a2bd2b8acf615f141065966b78799372ca33aa47 ChangeLog 1804 -MD5 cb720233d965392b57e29e90e0ca48ce files/digest-freenet6-1.0.0 235 -RMD160 fd997b79c7cff4e98c7349221a65ac8e9d640024 files/digest-freenet6-1.0.0 235 -SHA256 66295a2f3adc16dec752df43490e1be3b5bf94a259e6ec114afa8cd56a8e312c files/digest-freenet6-1.0.0 235 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.3 (GNU/Linux) - -iD8DBQFEorBOkT4lNIS36YERArLHAJ4rqMwMSV8+8LkWy88RrxXNs0c2AwCghEiE -YgtVO57D2c6rR4qMG/6+TAs= -=v1IG ------END PGP SIGNATURE----- diff --git a/net-misc/freenet6/files/digest-freenet6-1.0.0 b/net-misc/freenet6/files/digest-freenet6-1.0.0 deleted file mode 100644 index ac5d872da253..000000000000 --- a/net-misc/freenet6/files/digest-freenet6-1.0.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 a2b4edb1d52b874587533b4cf40de1ba freenet6-1.0.0.tgz 330953 -RMD160 28c7cceaaea5ffe4b740d09f7dbd4aed5abac69d freenet6-1.0.0.tgz 330953 -SHA256 0d834b55538eff2abc569aa5c7831f24525bea56354727d0f6d5933d0e5f1116 freenet6-1.0.0.tgz 330953 diff --git a/net-misc/freenet6/files/gentoo.sh b/net-misc/freenet6/files/gentoo.sh deleted file mode 100644 index 858b7ccab663..000000000000 --- a/net-misc/freenet6/files/gentoo.sh +++ /dev/null @@ -1,166 +0,0 @@ -#!/bin/sh - -LANGUAGE=C - -if [ -z $TSP_VERBOSE ]; then - TSP_VERBOSE=0 -fi - -KillProcess() -{ - if [ ! -z $TSP_VERBOSE ]; then - if [ $TSP_VERBOSE -ge 2 ]; then - echo killing $* - fi - fi - PID=`ps axww | grep $1 | grep -v grep | awk '{ print $1;}'` - echo $PID - if [ ! -z $PID ]; then - kill $PID - fi -} - -Display() -{ - if [ -z $TSP_VERBOSE ]; then - return; - fi - if [ $TSP_VERBOSE -lt $1 ]; then - return; - fi - shift - echo "$*" -} - -Exec() -{ - if [ ! -z $TSP_VERBOSE ]; then - if [ $TSP_VERBOSE -ge 2 ]; then - echo $* - fi - fi - $* # Execute command - if [ $? -ne 0 ]; then - echo "Error while executing $1" - echo " Command: $*" - exit 1 - fi -} - -ExecNoCheck() -{ - if [ ! -z $TSP_VERBOSE ]; then - if [ $TSP_VERBOSE -ge 2 ]; then - echo $* - fi - fi - $* # Execute command -} - -# Program localization - -Display 1 "--- Start of configuration script. ---" -Display 1 "Script: " `basename $0` - -ifconfig=/sbin/ifconfig -route=/sbin/route -ipconfig=/sbin/ip -rtadvd=/usr/sbin/radvd -sysctl=/sbin/sysctl -rtadvdconfigfilename=radvd.conf -rtadvdconfigfile=/etc/$rtadvdconfigfilename - -if [ -z $TSP_HOME_DIR ]; then - echo "TSP_HOME_DIR variable not specified!;" - exit 1 -fi - -if [ ! -d $TSP_HOME_DIR ]; then - echo "Error : directory $TSP_HOME_DIR does not exist" - exit 1 -fi -# - -if [ -z $TSP_HOST_TYPE ]; then - echo Error: TSP_HOST_TYPE not defined. - exit 1 -fi - -#change to upper case -TSP_HOST_TYPE=`echo $TSP_HOST_TYPE | tr a-z A-Z` - -if [ X"${TSP_HOST_TYPE}" = X"HOST" ] || [ X"${TSP_HOST_TYPE}" = X"ROUTER" ]; then - # - # Configured tunnel config (IPv6) - - Display 1 "$TSP_TUNNEL_INTERFACE setup" - Display 1 "Setting up link to $TSP_SERVER_ADDRESS_IPV4" - if [ -x $ipconfig ]; then - Exec $ipconfig tunnel add $TSP_TUNNEL_INTERFACE mode sit ttl 64 remote $TSP_SERVER_ADDRESS_IPV4 - else - Exec $ifconfig $TSP_TUNNEL_INTERFACE tunnel ::$TSP_SERVER_ADDRESS_IPV4 - fi - - Exec $ifconfig $TSP_TUNNEL_INTERFACE up - - PREF=`echo $TSP_CLIENT_ADDRESS_IPV6 | sed "s/:0*/:/g" |cut -d : -f1-2` - OLDADDR=`$ifconfig $TSP_TUNNEL_INTERFACE | grep "inet6.* $PREF" | sed -e "s/^.*inet6 addr: //" -e "s/ Scope.*\$//"` - if [ ! -z $OLDADDR ]; then - Display 1 "Removing old IPv6 address $OLDADDR" - Exec $ifconfig $TSP_TUNNEL_INTERFACE inet6 del $OLDADDR - fi - Display 1 "This host is: $TSP_CLIENT_ADDRESS_IPV6/$TSP_TUNNEL_PREFIXLEN" - Exec $ifconfig $TSP_TUNNEL_INTERFACE add $TSP_CLIENT_ADDRESS_IPV6/$TSP_TUNNEL_PREFIXLEN - - # - # Default route - Display 1 "Adding default route" - ExecNoCheck $route -A inet6 del ::/0 2>/dev/null # delete old default route - Exec $route -A inet6 add ::/0 dev $TSP_TUNNEL_INTERFACE - Exec $route -A inet6 add 2000::/3 dev $TSP_TUNNEL_INTERFACE -fi - -# Router configuration if required -if [ X"${TSP_HOST_TYPE}" = X"ROUTER" ]; then - Display 1 "Router configuration" - Display 1 "Kernel setup" - #Better way on linux to avoid loop with the remaining /48? - $route -A inet6 add $TSP_PREFIX::/$TSP_PREFIXLEN dev $TSP_HOME_INTERFACE 2>/dev/null - Exec $sysctl -w net.ipv6.conf.all.forwarding=1 # ipv6_forwarding enabled - Display 1 "Adding prefix to $TSP_HOME_INTERFACE" - OLDADDR=`$ifconfig $TSP_HOME_INTERFACE | grep "inet6.* $PREF" | sed -e "s/^.*inet6 addr: //" -e "s/ Scope.*\$//"` - if [ ! -z $OLDADDR ]; then - Display 1 "Removing old IPv6 address $OLDADDR" - Exec $ifconfig $TSP_HOME_INTERFACE inet6 del $OLDADDR - fi - Exec $ifconfig $TSP_HOME_INTERFACE add $TSP_PREFIX:1::1/64 - # Router advertisement configuration - Display 1 "Create new $rtadvdconfigfile" - echo "##### radvd.conf made by TSP ####" > "$rtadvdconfigfile" - echo "interface $TSP_HOME_INTERFACE" >> "$rtadvdconfigfile" - echo "{" >> "$rtadvdconfigfile" - echo " AdvSendAdvert on;" >> "$rtadvdconfigfile" - echo " prefix $TSP_PREFIX:0001::/64" >> "$rtadvdconfigfile" - echo " {" >> "$rtadvdconfigfile" - echo " AdvOnLink on;" >> "$rtadvdconfigfile" - echo " AdvAutonomous on;" >> "$rtadvdconfigfile" - echo " AdvRouterAddr on;" >> "$rtadvdconfigfile" - echo " };" >> "$rtadvdconfigfile" - echo "};" >> "$rtadvdconfigfile" - echo "" >> "$rtadvdconfigfile" - if [ -f /var/run/radvd/radvd.pid ]; then - /etc/init.d/radvd stop - fi - if [ -f $rtadvdconfigfile ]; then - /etc/init.d/radvd start - else - echo "Error : file $rtadvdconfigfile not found" - exit 1 - fi -fi - -Display 1 "--- End of configuration script. ---" - -exit 0 - -#--------------------------------------------------------------------- diff --git a/net-misc/freenet6/files/tspc.conf b/net-misc/freenet6/files/tspc.conf deleted file mode 100644 index 6a028a88e554..000000000000 --- a/net-misc/freenet6/files/tspc.conf +++ /dev/null @@ -1,53 +0,0 @@ -#----------------------------------------------------------------------------- -# tspc.conf -#----------------------------------------------------------------------------- - -# -# tsp client version -# -tsp_version=1.0.1 -tsp_dir=/etc/freenet6 - -# -# auth_method=any|supported mechanism -# if any is specified, the first mechanism that is supported by both the -# server and the client will be picked. The order of precedence is the -# mechnism list shown by the output of -h. supprted mechanism is one of -# the token shown by th output of -h (case sensitive). -auth_method=any - -# -# client_v4=auto|1.1.1.1 (valid ip address) -# if auto is specified, if_source or -s cmd line option must be specified. -client_v4=auto - -# userid=anonymous -# the userid can be anonymous or any alphanumeric value that is dns legal. -userid=anonymous - -# passwd= -# The passwd must be empty if userid is anonymous or an alphanumeric string -# if userid is not anonymous. -passwd= - -# template=target -# template tells which configuration script needs to be run for interface -# setup. -# Normally you only need to put your osname in the value. -# You can also use "checktunnel" if you only want the tunnel info print out. -#template=checktunnel -template=linux - -# server=FQDN -# Freenet6 server address -server=tsps2.freenet6.net - -# retry_delay=time -# retry tells the client to retry connection after time (seconds) in case of -# failure (0 = no retry) -retry_delay=0 - -if_tunnel=sit1 - -# end of tspc.conf -#----------------------------------------------------------------------------- diff --git a/net-misc/freenet6/files/tspc.rc b/net-misc/freenet6/files/tspc.rc deleted file mode 100644 index c93db77c1140..000000000000 --- a/net-misc/freenet6/files/tspc.rc +++ /dev/null @@ -1,20 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/freenet6/files/tspc.rc,v 1.4 2004/07/14 23:58:39 agriffis Exp $ - -depend() { - need net -} - -start() { - ebegin "Starting Freenet6 IPv6 Client" - tspc -f /etc/freenet6/tspc.conf - eend $? -} - -stop() { - ebegin "Stopping Freenet6 IPv6 Client" - kill `pidof tspc` - eend $? -} diff --git a/net-misc/freenet6/freenet6-1.0.0.ebuild b/net-misc/freenet6/freenet6-1.0.0.ebuild deleted file mode 100644 index e7b52a5b15a0..000000000000 --- a/net-misc/freenet6/freenet6-1.0.0.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/freenet6/freenet6-1.0.0.ebuild,v 1.9 2006/06/28 16:32:10 wolf31o2 Exp $ - -inherit toolchain-funcs - -DESCRIPTION="Client to configure an IPv6 tunnel to freenet6 (tspc)" -HOMEPAGE="http://www.freenet6.net/" -SRC_URI="mirror://gentoo/${P}.tgz" - -LICENSE="VPL-1.0" -SLOT="0" -KEYWORDS="alpha amd64 hppa ppc ~sparc x86" -IUSE="" - -DEPEND="" - -S="${WORKDIR}/freenet6-client-1.0" - -pkg_setup() { - case ${CHOST} in - *-openbsd*) OS=openbsd ;; - *-freebsd* | *-dragonfly*) OS=freebsd44 ;; - *-netbsd*) OS=netbsd ;; - *-linux*) OS=linux ;; - *) - die "Unknown target, please report this error after checking your CHOST." - ;; - esac -} - -src_unpack() { - unpack ${A} - cd "${S}" - - sed -i -e 's:\$(CC) -c:$(CC) $(CFLAGS) -c:' \ - -e 's:\$(CC) \$(OBJDIR):$(CC) $(LDFLAGS) $(OBJDIR):' \ - src/Makefile -} - -src_compile() { - emake all CC="$(tc-getCC)" target="${OS}" || die "Build Failed" -} - -src_install() { - dosbin bin/tspc || die - - insopts -m 600 - insinto /etc/freenet6 - doins ${FILESDIR}/tspc.conf - exeinto /etc/freenet6/template - doexe template/{${OS},checktunnel}.sh - doexe ${FILESDIR}/gentoo.sh - - dodoc CONTRIB.txt LEGAL README - doman man/{man5/tspc.conf.5,man8/tspc.8} - - exeinto /etc/init.d - newexe ${FILESDIR}/tspc.rc tspc -} - -pkg_postinst() { - einfo "The freenet6 ebuild installs an init script named 'tspc'" - einfo "to coincide with the name of the client binary installed" - einfo "To add support for a freenet6 connection at startup, do" - einfo "" - einfo "# rc-update add tspc default" -} |