summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Hood <squinky86@gentoo.org>2004-07-30 19:06:10 +0000
committerJon Hood <squinky86@gentoo.org>2004-07-30 19:06:10 +0000
commit477477f9234f9ffd3df8550558ccb9d36bc61413 (patch)
treea87d06337d5dcdff93ab6d2f984561814e98da52 /net-p2p/freenet
parentShrank prefix patch. (Manifest recommit) (diff)
downloadgentoo-2-477477f9234f9ffd3df8550558ccb9d36bc61413.tar.gz
gentoo-2-477477f9234f9ffd3df8550558ccb9d36bc61413.tar.bz2
gentoo-2-477477f9234f9ffd3df8550558ccb9d36bc61413.zip
use packed seednodes instead of unpacked ones, #58898
Diffstat (limited to 'net-p2p/freenet')
-rw-r--r--net-p2p/freenet/ChangeLog4
-rw-r--r--net-p2p/freenet/freenet-0.5.2.1-r8.ebuild11
2 files changed, 9 insertions, 6 deletions
diff --git a/net-p2p/freenet/ChangeLog b/net-p2p/freenet/ChangeLog
index 78a2b826a176..5af2993370ab 100644
--- a/net-p2p/freenet/ChangeLog
+++ b/net-p2p/freenet/ChangeLog
@@ -1,9 +1,11 @@
# ChangeLog for net-p2p/freenet
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/ChangeLog,v 1.40 2004/07/30 18:53:56 squinky86 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/ChangeLog,v 1.41 2004/07/30 19:06:10 squinky86 Exp $
30 Jul 2004; Jon Hood <squinky86@gentoo.org> freenet-0.5.2.1-r8.ebuild:
Added backup abilities from Todd Walton <todd@hardboot.org>, #58726
+ Download packed seednodes for updates from Alexander Schneider
+ <A.Schneider@magicspace.de>, #58898
28 Apr 2004; Travis Tilley <lv@gentoo.org> freenet-0.5.2.1-r8.ebuild:
added ~amd64 keyword, since freenet actually works with the beta sun-jdk even
diff --git a/net-p2p/freenet/freenet-0.5.2.1-r8.ebuild b/net-p2p/freenet/freenet-0.5.2.1-r8.ebuild
index 82922b5fe23e..52b8788147f5 100644
--- a/net-p2p/freenet/freenet-0.5.2.1-r8.ebuild
+++ b/net-p2p/freenet/freenet-0.5.2.1-r8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/freenet-0.5.2.1-r8.ebuild,v 1.6 2004/07/30 18:53:56 squinky86 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/freenet-0.5.2.1-r8.ebuild,v 1.7 2004/07/30 19:06:10 squinky86 Exp $
inherit eutils
@@ -78,14 +78,15 @@ pkg_config() {
if [ -z "$(echo ${YN}|sed -e s/y//i)" ];then
einfo "Press U within 2 seconds to try an unstable snapshot"
read -n 1 -t 2 YN
+ cp -f /usr/lib/freenet/freenet.jar /usr/lib/freenet/freenet.jar.old
if [ "${YN}" == "U" ] || [ "${YN}" == "u" ]; then
- cp -f /usr/lib/freenet/freenet.jar /usr/lib/freenet/freenet.jar.old
wget http://freenetproject.org/snapshots/freenet-unstable-latest.jar -O /usr/lib/freenet/freenet.jar
- wget http://freenetproject.org/snapshots/unstable.ref -O /var/freenet/seednodes.ref
+ wget http://freenetproject.org/snapshots/unstable.ref.bz2 -O /var/freenet/seednodes.ref.bz2
+ bunzip2 -f /var/freenet/seednodes.ref.bz2
else
- cp -f /usr/lib/freenet/freenet.jar /usr/lib/freenet/freenet.jar.old
wget http://freenetproject.org/snapshots/freenet-latest.jar -O /usr/lib/freenet/freenet.jar
- wget http://freenetproject.org/snapshots/seednodes.ref -O /var/freenet/seednodes.ref
+ wget http://freenetproject.org/snapshots/seednodes.ref.bz2 -O /var/freenet/seednodes.ref.bz2
+ bunzip2 -f /var/freenet/seednodes.ref.bz2
fi
touch -d "1/1/1970" /var/freenet/seednodes.ref
chown freenet:freenet /var/freenet/seednodes.ref