summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2003-07-10 18:28:24 +0000
committerBrandon Low <lostlogic@gentoo.org>2003-07-10 18:28:24 +0000
commit89521aacbede33f51c355b44e1b8651028cedb5b (patch)
tree584842ce4930f94248d0929ba88cb5012434ddc1 /net-p2p
parentBump, and minor fix (diff)
downloadhistorical-89521aacbede33f51c355b44e1b8651028cedb5b.tar.gz
historical-89521aacbede33f51c355b44e1b8651028cedb5b.tar.bz2
historical-89521aacbede33f51c355b44e1b8651028cedb5b.zip
Bump, and minor fix
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/freenet/Manifest4
-rw-r--r--net-p2p/freenet/files/digest-freenet-0.5.2_rc31
-rw-r--r--net-p2p/freenet/freenet-0.5.2_rc3.ebuild71
3 files changed, 74 insertions, 2 deletions
diff --git a/net-p2p/freenet/Manifest b/net-p2p/freenet/Manifest
index 0c92bdeeae71..e0d583d7f4fb 100644
--- a/net-p2p/freenet/Manifest
+++ b/net-p2p/freenet/Manifest
@@ -1,9 +1,9 @@
MD5 468891a2779e1624688b9ba143559058 freenet-0.5.0.6.ebuild 2010
-MD5 3237a7dfe42af0f1a3ea22c98716e8a4 freenet-0.5.2_rc3.ebuild 2025
+MD5 39a33e12384fb7d28a92c358e782f942 freenet-0.5.2_rc3.ebuild 2058
MD5 895b5e33d3db9988b20a76bd1820f8e2 freenet-0.5.ebuild 2001
MD5 dd48800c1ea98213a91aacf0ca366da7 freenet-0.5.0.5.ebuild 2006
MD5 097d5dc4f70c12af3450b28d5b196a05 freenet-0.5.1.ebuild 2021
-MD5 009fc3e1b785d528853f9e6470d42a30 ChangeLog 2580
+MD5 2f888e5ce9240218db79f5887b1befd2 ChangeLog 2719
MD5 0c3733e4f32eb31b35911b1607a89b26 files/digest-freenet-0.5.0.5 68
MD5 0d58992419b9ac733891b7d7d5d3bdf3 files/digest-freenet-0.5.0.6 68
MD5 890e052f3e48c07373faf6800fbfbb37 files/digest-freenet-0.5 61
diff --git a/net-p2p/freenet/files/digest-freenet-0.5.2_rc3 b/net-p2p/freenet/files/digest-freenet-0.5.2_rc3
new file mode 100644
index 000000000000..a9af4043ca24
--- /dev/null
+++ b/net-p2p/freenet/files/digest-freenet-0.5.2_rc3
@@ -0,0 +1 @@
+MD5 5144a69f0189273a02322d131f604200 freenet-0.5.2-rc3.tar.gz 2077830
diff --git a/net-p2p/freenet/freenet-0.5.2_rc3.ebuild b/net-p2p/freenet/freenet-0.5.2_rc3.ebuild
new file mode 100644
index 000000000000..cca9cb937c9a
--- /dev/null
+++ b/net-p2p/freenet/freenet-0.5.2_rc3.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/freenet-0.5.2_rc3.ebuild,v 1.1 2003/07/10 18:28:21 lostlogic Exp $
+
+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"
+HOMEPAGE="http://freenetproject.org/"
+DEPEND="virtual/jdk"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+LICENSE="GPL-2"
+S=${WORKDIR}/${PN}
+
+src_compile() {
+ # Set storeSize to a 3rd of the available space on /var
+ # but not bigger that 2GB.
+ VARSZ=$(df -mP /var|tail -n1|awk '{print $4}')
+ if [ $VARSZ -gt 4096 ]; then
+ STORSZ=2147483648
+ else
+ let STORSZ=($VARSZ/3)*1024*1024
+ fi
+
+ # Create a default freenet.conf
+ ( echo ipAddress=$(hostname)
+ echo listenPort=$(let PORT=($RANDOM%30000)+9000; echo $PORT)
+ echo seedFile=/var/freenet/seednodes.ref
+ echo storeFile=/var/freenet/store
+ echo storeSize=$STORSZ
+ echo nodeFile=/var/freenet/node
+ echo diagnosticsPath=/var/freenet/stats
+ echo logLevel=normal
+ echo logFile=/var/log/freenet.log
+ echo maxHopsToLive=25
+ echo fproxy.class=freenet.client.http.FproxyServlet
+ echo fproxy.port=8888
+ echo fproxy.insertHtl=25
+ echo fproxy.requestHtl=25
+ echo fproxy.params.filter=false
+ echo nodestatus.class=freenet.client.http.NodeStatusServlet
+ echo nodestatus.port=8889
+ echo logInboundContacts=true
+ echo logOutboundContacts=true
+ echo logInboundRequests=true
+ ) >freenet.conf
+}
+
+src_install() {
+ dodoc README
+
+ dodir /var/freenet/stats
+ keepdir /var/freenet/stats
+
+ insinto /usr/lib/freenet
+ doins freenet.jar freenet-ext.jar
+
+ insinto /etc
+ doins freenet.conf
+
+ exeinto /etc/init.d
+ doexe ${FILESDIR}/freenet
+}
+
+pkg_postinstall () {
+ einfo "Please change /etc/freenet.conf according to your needs!"
+}
+
+pkg_postrm() {
+ einfo "Please remove /var/freenet manually if you are't going to"
+ einfo "continue to use Freenet on this machine!"
+}