+++ /dev/null
-# ChangeLog for net-p2p/freenet
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/ChangeLog,v 1.46 2007/02/21 20:13:42 armin76 Exp $
-
- 21 Feb 2007; Raúl Porcel <armin76@gentoo.org>
- files/digest-freenet-0.5.2.1-r8, Manifest:
- Convert to Manifest2
-
- 28 Oct 2006; Sven Wegener <swegener@gentoo.org> freenet-0.5.2.1-r8.ebuild:
- Use emerge --config instead of ebuild config.
-
- 12 May 2006; Jon Hood <squinky86@gentoo.org> freenet-0.5.2.1-r8.ebuild:
- Fix download mirrors for pkg_config(), bug #125712. Thanks to slick
- <mail@deruwe.de> for the fixes.
-
- 16 Sep 2005; Ciaran McCreesh <ciaranm@gentoo.org> ChangeLog:
- Converted to UTF-8, fixed encoding screwups
-
- 09 Aug 2004; Jon Hood <squinky86@gentoo.org> files/rc.freenet5:
- Fix typo in init script; thanks Wesley Harris <wesleyharris@hotmail.com>,
- #59825.
-
- 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
- if it doesnt work with the early blackdown port
-
- 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> freenet-0.5.2.1-r8.ebuild:
- Add inherit eutils
-
- 12 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> files/rc.freenet5:
- Removed LD_ASSUME_KERNEL from init.d script to close bug #45004.
-
- 28 Feb 2004; Jeremy Huddleston <eradicator@gentoo.org>
- freenet-0.5.2.1-r7.ebuild, freenet-0.5.2.1-r8.ebuild:
- Using enewuser enewgroup now. Fixes bug #43117.
-
-*freenet-0.5.2.1-r8 (26 Feb 2004)
-
- 26 Feb 2004; Jeremy Huddleston <eradicator@gentoo.org>
- freenet-0.5.2.1-r8.ebuild:
- Updated URL for wgets in pkg_config() per bug #37445. Direct to stable because
- it only changes a URL in pkg_config().
-
- 31 Jan 2004; Martin Holzer <mholzer@gentoo.org> freenet-0.5.2.1-r3.ebuild,
- freenet-0.5.2.1-r5.ebuild, freenet-0.5.2.1-r6.ebuild,
- freenet-0.5.2.1-r7.ebuild:
- adding RESTRICT=nomirror and cleanup
-
-*freenet-0.5.2.1-r7 (09 Sep 2003)
-
- 09 Sep 2003; Brandon Low <lostlogic@gentoo.org> freenet-0.5.2.1-r7.ebuild,
- files/rc.freenet5:
- Fix bug 28229, sorry about my booboo
-
-*freenet-0.5.2.1-r6 (08 Sep 2003)
-
- 08 Sep 2003; Brandon Low <lostlogic@gentoo.org> freenet-0.5.2.1-r6.ebuild,
- files/rc.freenet4:
- Fix bug 28020 thanks a lot to Guaka on IRC for his help and patience
-
- 03 Sep 2003; Brandon Low <lostlogic@gentoo.org> freenet-0.5.2.1-r5.ebuild:
- x86 keyword
-
- 06 Aug 2003; Brandon Low <lostlogic@gentoo.org> freenet-0.5.2.1-r5.ebuild:
- Make reconfiguration a bit smarter
-
- 03 Aug 2003; Brandon Low <lostlogic@gentoo.org> freenet-0.5.2.1-r5.ebuild:
- STUPID
-
- 03 Aug 2003; Brandon Low <lostlogic@gentoo.org> freenet-0.5.2.1-r4.ebuild:
- Remove bad ebuild
-
-*freenet-0.5.2.1-r5 (03 Aug 2003)
-
- 03 Aug 2003; Brandon Low <lostlogic@gentoo.org> freenet-0.5.2.1-r5.ebuild:
- Fix STUPID problem where start-freenet.sh was isntalled to / instead of
- /usr/bin
-
-*freenet-0.5.2.1-r4 (01 Aug 2003)
-
- 01 Aug 2003; Brandon Low <lostlogic@gentoo.org> freenet-0.5.2.1-r4.ebuild,
- files/rc.freenet3, files/start-freenet.sh:
- Add support for logging of stderr and stdout from the init script. Required
- giving the freenet user a shell :-(
-
- 30 Jul 2003; Brandon Low <lostlogic@gentoo.org> freenet-0.5.2.1-r3.ebuild:
- Minor change to where unstable snaps are grabbed from
-
- 24 Jul 2003; Brandon Low <lostlogic@gentoo.org> freenet-0.5.2.1-r3.ebuild:
- Make not show some output, no functional change
-
- 24 Jul 2003; Brandon Low <lostlogic@gentoo.org> freenet-0.5.2.1-r3.ebuild:
- Make updating seednodes also assign seednode's permissions to freenet user
-
- 24 Jul 2003; Brandon Low <lostlogic@gentoo.org> freenet-0.5.2.1-r2.ebuild,
- freenet-0.5.2.1-r3.ebuild, files/rc.freenet:
- Remove insecure ebuilds
-
- 24 Jul 2003; Brandon Low <lostlogic@gentoo.org> freenet-0.5.2.1-r3.ebuild:
- add einfo
-
-*freenet-0.5.2.1-r3 (24 Jul 2003)
-
- 24 Jul 2003; Brandon Low <lostlogic@gentoo.org> freenet-0.5.2.1-r3.ebuild,
- files/rc.freenet2:
- Fix GLARING bug 25049, sorry about that everyone, hadn't even thought of it
- when I started builging on the original committer's work. This should be at
- the LEAST reasonably secure now
-
- 24 Jul 2003; Brandon Low <lostlogic@gentoo.org> freenet-0.5.2.1-r2.ebuild:
- Add options to the config portion of the ebuild for unstable and forced
- reconfiguration
-
-*freenet-0.5.2.1-r2 (23 Jul 2003)
-
- 23 Jul 2003; Brandon Low <lostlogic@gentoo.org> freenet-0.5.0.5.ebuild,
- freenet-0.5.0.6.ebuild, freenet-0.5.1.ebuild, freenet-0.5.2.1-r1.ebuild,
- freenet-0.5.2.1.ebuild, freenet-0.5.2_rc3.ebuild, freenet-0.5.ebuild,
- files/freenet, files/rc.freenet:
- Cleanout old stuff
-
-*freenet-0.5.2.1-r2 (23 Jul 2003)
-
- 23 Jul 2003; Brandon Low <lostlogic@gentoo.org> freenet-0.5.2.1-r2.ebuild,
- files/rc.freenet:
- Minor bump so that nptl doesn't break us
-
- 22 Jul 2003; Brandon Low <lostlogic@gentoo.org> freenet-0.5.2.1-r1.ebuild:
- Grr, annoying, another fix
-
- 22 Jul 2003; Brandon Low <lostlogic@gentoo.org> freenet-0.5.2.1-r1.ebuild,
- files/rc.freenet:
- 2 bug fixes, because I am dumb. No bump, because no one has it yet
-
- 22 Jul 2003; Brandon Low <lostlogic@gentoo.org> freenet-0.5.2.1-r1.ebuild:
- Mark stable on x86
-
- 22 Jul 2003; Brandon Low <lostlogic@gentoo.org> files/rc.freenet:
- Make initscript check for config file
-
-*freenet-0.5.2.1-r1 (22 Jul 2003)
-
- 22 Jul 2003; Brandon Low <lostlogic@gentoo.org> freenet-0.5.2.1-r1.ebuild,
- files/conf.freenet, files/rc.freenet:
- Make a proper freenet ebuild that doesn't suck for all our users.
-
-*freenet-0.5.2.1 (21 Jul 2003)
-
- 21 Jul 2003; Nick Hadaway <raker@gentoo.org> freenet-0.5.2.1.ebuild:
- Version bump. Important security fix.
-
-*freenet-0.5.2_rc3 (10 Jul 2003)
-
- 10 Jul 2003; Brandon Low <lostlogic@gentoo.org> freenet-0.5.2_rc3.ebuild:
- Bump, and add a .keepdir
-
-*freenet-0.5.1 (19 Apr 2003)
- 19 Apr 2003; B.Lauwers <blauwers@gentoo.org> :
- Version bump (Bug#16452).
-
-*freenet-0.5.0.6 (11 Dec 2002)
-
- 10 Dec 2002; B.Lauwers <blauwers@gentoo.org> :
- Version bump.
-
-*freenet-0.5.0.5 (05 Nov 2002)
-
- 05 Nov 2002; Daniel Ahlberg <aliz@gentoo.org> :
- Version bump.
-
-*freenet-0.5 (28 Oct 2002)
-
- 28 Oct 2002; Mike Frysinger <vapier@gentoo.org> :
- Bumped freenet via #9830
-
-*freenet-20020621.ebuild (21 Jun 2002)
-
- 24 Jul 2002; Mark Guertin <gerk@gentoo.org> :
- Added ppc to keywords
-
- 26 Jun 2002; Thilo Bangert <bangert@gentoo.org> :
- moved to net-p2p
-
- 15 Jul 2002; J.Alberto Suárez L. <bass@gentoo.org> freenet-20020621.ebuild:
- Added a note about unemerge problems with updated versions bug #4744.
- When you update, the files in /var/freenet are more recents
- that the ebuils files. The ebuild can remove it but I think that is
- more secure for the user do it manually.
-
- 20 Jun 2002; J.Alberto Suárez L. <bass@gentoo.org> freenet-20020621.ebuild:
- Bumped version, and added note that explain how install the newest version.
-
-*freenet-20020214.ebuild (18 Feb 2002)
-
- 18 Feb 2002; Karl Trygve Kalleberg <karltk@gentoo.org> ChangeLog files/digest-freenet-20020214 files/freenet files/update-freenet:
- Freenet is a large-scale peer-to-peer network which pools the power of
- member computers around the world to create a massive virtual information
- store open to anyone to freely publish or view information of all kinds.
- Freenet is:
-
- * Highly survivable: All internal processes are completely anonymized and
- decentralized across the global network, making it virtually impossible
- for an attacker to destroy information or take control of the system.
- * Private: Freenet makes it extremely difficult for anyone to spy on the
- information that you are viewing, publishing, or storing.
- * Secure: Information stored in Freenet is protected by strong
- cryptography against malicious tampering or counterfeiting.
- * Efficient: Freenet dynamically replicates and relocates information in
- response to demand to provide efficient service and minimal bandwidth
- usage regardless of load. Significantly, Freenet generally requires
- log(n) time to retrieve a piece of information in a network of size n.
-
- Ebuild submitted by Per Wigren <wigren@home.se>.
-
+++ /dev/null
-AUX conf.freenet 323 RMD160 c6ce122d0bda7d8de800b2babdd8c56f4550ff8a SHA1 f637a361dadac594934b29e56b22d25e8bf2f914 SHA256 86b4986a4149c6875f90136418da51ab6a7a868ac33f2b9cb429524d07958094
-MD5 169efe0f216ade927538fab48315ecc7 files/conf.freenet 323
-RMD160 c6ce122d0bda7d8de800b2babdd8c56f4550ff8a files/conf.freenet 323
-SHA256 86b4986a4149c6875f90136418da51ab6a7a868ac33f2b9cb429524d07958094 files/conf.freenet 323
-AUX rc.freenet5 2249 RMD160 adc8b1552e4bd57d4d1f6c4443216f4538d3a5db SHA1 b655aecefdeebe5486252dc21111cbd483f413d9 SHA256 1f92771723083adaece363c68c6fd186446b4770ff851454aa58d4ce43231902
-MD5 f504649c326b9388901c0bf381a3c48e files/rc.freenet5 2249
-RMD160 adc8b1552e4bd57d4d1f6c4443216f4538d3a5db files/rc.freenet5 2249
-SHA256 1f92771723083adaece363c68c6fd186446b4770ff851454aa58d4ce43231902 files/rc.freenet5 2249
-AUX start-freenet.sh 330 RMD160 d1c49653a17792a9a58456747aa70522839a7fed SHA1 ddc742280ed03beb6ab12415703798c28682ad42 SHA256 b1a124eb4fa334fba5d04a10c4f9f8a4de8676e52ca4cb70af263f1df7e4786b
-MD5 4ae956431fc61a4f535d971c2e908478 files/start-freenet.sh 330
-RMD160 d1c49653a17792a9a58456747aa70522839a7fed files/start-freenet.sh 330
-SHA256 b1a124eb4fa334fba5d04a10c4f9f8a4de8676e52ca4cb70af263f1df7e4786b files/start-freenet.sh 330
-DIST freenet-0.5.2.1.tar.gz 2118774 RMD160 56d3632f20c17185d00c6645f898f45cefbb0066 SHA1 ea203c3d4255d8fae07fed23e4a1f74733de1266 SHA256 09371ade77e8a60698736d3f118a426b10c3741dec1d6edcead6dc608a4b6b9c
-EBUILD freenet-0.5.2.1-r8.ebuild 4424 RMD160 82c51f3ea98110c383e72544ce56b1ef345a4ad5 SHA1 3456c681c4da2c70a651336439acbde5218cc546 SHA256 b1e16fd8a12584fcc66920dea7a9b9b4f45206c083202791894cd3022861f0f5
-MD5 6207cc9959ac51c16e7034962095c896 freenet-0.5.2.1-r8.ebuild 4424
-RMD160 82c51f3ea98110c383e72544ce56b1ef345a4ad5 freenet-0.5.2.1-r8.ebuild 4424
-SHA256 b1e16fd8a12584fcc66920dea7a9b9b4f45206c083202791894cd3022861f0f5 freenet-0.5.2.1-r8.ebuild 4424
-MISC ChangeLog 8434 RMD160 b70aae73ee94600ab2eafc97c6f08a9e9ed95ec5 SHA1 c5175a1f8b3ea0f8386eee40938b2a9e0325918d SHA256 6decab1768e5be9407856bef2cc4cfcf43104df15581d71aa446b734bb8b2930
-MD5 35f7b7f23444227dbc1fce10543449db ChangeLog 8434
-RMD160 b70aae73ee94600ab2eafc97c6f08a9e9ed95ec5 ChangeLog 8434
-SHA256 6decab1768e5be9407856bef2cc4cfcf43104df15581d71aa446b734bb8b2930 ChangeLog 8434
-MISC metadata.xml 223 RMD160 04492d6d9ec5940eb67563e2498d6a5a79028978 SHA1 b2b414df6826b40f965be3f976f8f1d47d29abbe SHA256 fea830dcdf6851fe6a940828046810f5f6eb8a8472c06b7529d81142185df0e6
-MD5 875f23093b78af2d864a7a7ba464f126 metadata.xml 223
-RMD160 04492d6d9ec5940eb67563e2498d6a5a79028978 metadata.xml 223
-SHA256 fea830dcdf6851fe6a940828046810f5f6eb8a8472c06b7529d81142185df0e6 metadata.xml 223
-MD5 34f70b64fbd4d2117d164bf082c321a5 files/digest-freenet-0.5.2.1-r8 250
-RMD160 2c8b3938aeacef1087454c7a8e16342a8c740b8f files/digest-freenet-0.5.2.1-r8 250
-SHA256 e5d78705a96acb698c35f7ddc8b0eee81dfd1329967995d80180bfd2f6a4bd54 files/digest-freenet-0.5.2.1-r8 250
+++ /dev/null
-#Freenet config file
-
-# This is for any options you want to pass to the java virtual machine
-# the default is to allocate up to 256M of memory for freenet.
-JAVA_OPTIONS="-Xmx256M"
-
-# This is the nice level to run freenet at, runs at 1 by default to keep
-# out of the way of your more interactive tasks
-FREENET_NICENESS="1"
+++ /dev/null
-MD5 59270ee48d889e0be9cae584b67d2743 freenet-0.5.2.1.tar.gz 2118774
-RMD160 56d3632f20c17185d00c6645f898f45cefbb0066 freenet-0.5.2.1.tar.gz 2118774
-SHA256 09371ade77e8a60698736d3f118a426b10c3741dec1d6edcead6dc608a4b6b9c freenet-0.5.2.1.tar.gz 2118774
+++ /dev/null
-#!/sbin/runscript
-# Gentoo freenet init.d-script
-#
-# This script requires the companion script start-freenet.sh to do it's
-# job. This script is needed to facilitate full logging of freenet.
-#
-# Also requires the /etc/conf.d/freenet file to be configured correctly.
-#
-# Gentoo Maintainer: Brandon Low <lostlogic@gentoo.org>
-# Authors: Per Wigren <wigren@home.se>
-# Brandon Low <lostlogic@gentoo.org>
-#
-
-depend() {
- need net
-}
-
-check_config() {
- if [ -z "${FREENET_NICENESS}" ] || [ -z "${JAVA_OPTIONS}" ]; then
- eerror "Please set all options in /etc/conf.d/freenet"
- return 1
- fi
- if [ ! -f /etc/freenet.conf ]; then
- eerror "To configure freenet, please run:"
- eerror "# ebuild /usr/portage/net-p2p/freenet/freenet-[version].ebuild config"
- return 1
- fi
- return 0
-}
-
-start() {
- JAVA="$(java-config --java)"
- #Uncomment this next line if your JVM doesn't support NPTL and you're using NPTL
- #export LD_ASSUME_KERNEL=2.4.1
-
- check_config || return 1
-
- ebegin "Starting Freenet now"
- if [ ! -f /usr/lib/freenet/freenet-ext.jar ]; then
- ewarn "freenet-ext.jar not found. It can be downloaded from"
- ewarn "http://freenetproject.org/snapshots/freenet-ext.jar"
- eend 1
- return 1
- fi
- if [ ! -f /var/freenet/seednodes.ref ]; then
- ewarn "seednodes.ref not found, you can download some seeds"
- ewarn "from http://hawk.freenetproject.org/~freenet4/seednodes.ref"
- eend 1
- return 1
- fi
-
- CLASSPATH=/usr/lib/freenet/freenet.jar:/usr/lib/freenet/freenet-ext.jar:$CLASSPATH
-
- # if Sun JDK set -server option as suggested on mailing list
- if [ ! -z "`${JAVA} -help 2>&1 | grep '[-]server'`" ]; then
- JAVA_ARGS="-server"
- else
- JAVA_ARGS=""
- fi
- JAVA_ARGS="${JAVA_ARGS} ${JAVA_OPTIONS}"
- ulimit -n 4096
- # Had to change off of using start-stop-daemon to start it,
- # because of suckage. This allows us to log the stdout and
- # stderr of freenet.
- export JAVA JAVA_ARGS CLASSPATH
- echo "XXXXXX" > /var/freenet/freenet.pid
- nice -n ${FREENET_NICENESS} sudo -u freenet /usr/bin/start-freenet.sh \
- > /var/freenet/freenet.pid
- sleep 1
- ps ax|grep "^ *$(cat /var/freenet/freenet.pid)" > /dev/null
- eend $?
-}
-
-stop() {
- ebegin "Stopping Freenet"
- start-stop-daemon --stop --quiet --pidfile /var/freenet/freenet.pid
- eend $?
-}
+++ /dev/null
-#!/bin/bash
-# This script is a companion script to the Gentoo freenet init script.
-# Logs freenet's stdout and stderr for debugging needs.
-#
-# Author: Brandon Low <lostlogic@gentoo.org>
-#
-${JAVA} ${JAVA_ARGS} freenet.node.Main -p /etc/freenet.conf \
- > /var/freenet/freenet.stdout.log 2> /var/freenet/freenet.stderr.log &
-echo $!
+++ /dev/null
-# Copyright 1999-2006 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.12 2007/02/23 11:51:46 armin76 Exp $
-
-inherit eutils
-
-IUSE=""
-
-S=${WORKDIR}/${PN}
-
-DESCRIPTION="large-scale peer-to-peer network that creates a massive virtual information store open to anyone"
-SRC_URI="mirror://sourceforge/freenet/${P}.tar.gz"
-RESTRICT="nomirror"
-HOMEPAGE="http://freenetproject.org/"
-
-SLOT="0"
-KEYWORDS="x86 ~ppc ~amd64"
-LICENSE="GPL-2"
-
-DEPEND="virtual/jre
- >=sys-apps/sed-4
- app-admin/sudo"
-
-src_install() {
- exeinto /usr/bin
- doexe ${FILESDIR}/start-freenet.sh
-
- dodoc README
-
- dodir /var/freenet/stats /var/freenet/store
- keepdir /var/freenet/stats /var/freenet/store
-
- insinto /usr/lib/freenet
- doins freenet.jar freenet-ext.jar
-
- insinto /etc/conf.d
- newins ${FILESDIR}/conf.freenet freenet
-
- exeinto /etc/init.d
- newexe ${FILESDIR}/rc.freenet5 freenet
-}
-
-pkg_preinst() {
- enewgroup freenet
- enewuser freenet -1 /bin/bash /var/freenet freenet
-}
-
-pkg_postinst() {
- if [ -f /etc/freenet.conf ];then
- chmod 664 /etc/freenet.conf
- chown root:freenet /etc/freenet.conf
- fi
- chown -R freenet:freenet /var/freenet
- einfo "Congratulations on merging freenet, please run"
- einfo "# emerge --config =${CATEGORY}/${PF}"
- einfo "to update freenet to the latest jars and seednodes."
- einfo "This step is also necessary to configure freenet for"
- einfo "first use. You may also run this step again at any time"
- einfo "to get any updates available to freenet"
- ewarn "Anyone who merged a freenet prior to 0.5.2.1-r3 will"
- ewarn "need to change their logFile setting to /var/freenet/freenet.log"
- ewarn "in order for freenet to continue to function"
-}
-
-pkg_postrm() {
- if ! has_version net-p2p/freenet; then
- einfo "Please remove /var/freenet manually if you are not going to"
- einfo "continue to use Freenet on this machine!"
- fi
-}
-
-pkg_config() {
- YN="X"
- while [ "${YN}" != "y" -a "${YN}" != "Y" -a "${YN}" != "n" -a "${YN}" != "N" -a "${YN}" != "" ]; do
- einfo "Would you like to update freenet files now? [Y/n]"
- read YN
- done
- 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
- wget http://downloads.freenetproject.org/freenet-unstable-latest.jar -O /usr/lib/freenet/freenet.jar
- else
- wget http://downloads.freenetproject.org/freenet-stable-latest.jar -O /usr/lib/freenet/freenet.jar
- fi
- wget http://downloads.freenetproject.org/seednodes/seednodes.ref.bz2 -O /var/freenet/seednodes.ref.bz2
- bunzip2 -f /var/freenet/seednodes.ref.bz2
- touch -d "1/1/1970" /var/freenet/seednodes.ref
- chown freenet:freenet /var/freenet/seednodes.ref
- fi
-
- if [ -f /etc/freenet.conf ]; then
- einfo "Press C within 2 seconds to force reconfiguration of freenet"
- read -n 1 -t 2 YN
- fi
- if [ ! -f /etc/freenet.conf ] || [ "${YN}" == C ] || [ "${YN}" == "c" ]; then
- einfo "Preparing to configure freenet..."
- if [ -f /etc/freenet.conf ]; then
- cp /etc/freenet.conf .
- else
- # Pre-determine IP address
- IP="$(hostname -i)"
- declare -i DEFLP
- if [ "${RANDOM}" ]; then
- DEFLP=${RANDOM}%30000+2000
- else
- echo "no random in shell, enter a FNP port number + <ENTER>"
- read DEFLP
- fi
-
- cat << EOF > freenet.conf
-ipAddress=${IP}
-listenPort=${DEFLP}
-seedFile=/var/freenet/seednodes.ref
-logFile=/var/freenet/freenet.log
-storeFile=/var/freenet/store
-diagnosticsPath=/var/freenet/stats
-routingDir=/var/freenet
-nodeFile=/var/freenet/node
-EOF
- fi
-
- CLASSPATH="/usr/lib/freenet/freenet.jar:/usr/lib/freenet/freenet-ext.jar:${CLASSPATH}"
- $(java-config --java) freenet.node.Main --config
- mv freenet.conf /etc
- sed -i -e "s/^%\(ipAddress\)/\1/" \
- -e "s/^%\(listenPort\)/\1/" \
- -e "s/^%\(seedFile\)/\1/" \
- -e "s/^%\(logFile\)/\1/" \
- -e "s/^%\(storeFile\)/\1/" \
- -e "s/^%\(diagnosticsPath\)/\1/" \
- -e "s/^%\(routingDir\)/\1/" \
- -e "s/^%\(nodeFile\)/\1/" /etc/freenet.conf
- chmod 664 /etc/freenet.conf
- chown root:freenet /etc/freenet.conf
- fi
- einfo "Congratulations, freenet is configured and up to date"
- einfo "use '/etc/init.d/freenet start' to start it"
- einfo "You can always re-update/reconfigure your freenet with:"
- einfo "# emerge --config =${CATEGORY}/${PF}"
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>net-p2p</herd>
-<maintainer>
- <email>net-p2p@gentoo.org</email>
-</maintainer>
-</pkgmetadata>