Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58898 - freenet should download the packed seednodes
Summary: freenet should download the packed seednodes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-30 07:58 UTC by zhcnmccmzhdvfevooo
Modified: 2004-07-30 12:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zhcnmccmzhdvfevooo 2004-07-30 07:58:48 UTC
I think freenet should download the seednodes packed from the freenet server, when calling the "config" via the ebuild command.
At the moment the file is packed 900kb and unpacked 21 MB (!). I think this is real big diffrence for the user and the freenet server.

I suggest a Patch like this:

--- /usr/portage/net-p2p/freenet/freenet-0.5.2.1-r8.ebuild      2004-06-25 03:14:08.000000000 +0200
+++ freenet-0.5.2.1-r8.ebuild   2004-07-30 16:45:55.180697629 +0200
@@ -80,10 +80,12 @@
                read -n 1 -t 2 YN
                if [ "${YN}" == "U" ] || [ "${YN}" == "u" ]; then
                        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
                        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


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jon Hood (RETIRED) gentoo-dev 2004-07-30 12:06:30 UTC
updates now in portage; thanks :)