Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58726 - My freenet.jar has been clobbered!
Summary: My freenet.jar has been clobbered!
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-29 00:20 UTC by Todd Walton
Modified: 2004-07-30 11:54 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 Todd Walton 2004-07-29 00:20:48 UTC
I tried running 'ebuild /path/to/freenet.ebuild config', but the freenetproject's site is down.  Consequently, wget annihilated my freenet.jar, without being able to download a new one.  I suggest changing the ebuild thusly:
=====
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
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
fi
=====
Basically, I've added the 'cp' lines to copy the existing freenet.jar to freenet.jar.old so that if what happened to me happens, freenet operation can be recovered.  Anyway, I like having a backup on hand in case the freenetproject screws up a new build, but that's another matter.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jon Hood (RETIRED) gentoo-dev 2004-07-30 11:54:17 UTC
Agreed; now in portage :) Thanks!