summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2003-08-03 16:26:37 +0000
committerBrandon Low <lostlogic@gentoo.org>2003-08-03 16:26:37 +0000
commite22b0545091a88501e1d5a49b34fe7ec83f2760b (patch)
treed09e5bf1a13c3099120955cfb0444f875fea03c5 /net-p2p/freenet
parentbad version (diff)
downloadgentoo-2-e22b0545091a88501e1d5a49b34fe7ec83f2760b.tar.gz
gentoo-2-e22b0545091a88501e1d5a49b34fe7ec83f2760b.tar.bz2
gentoo-2-e22b0545091a88501e1d5a49b34fe7ec83f2760b.zip
bad version
Diffstat (limited to 'net-p2p/freenet')
-rw-r--r--net-p2p/freenet/ChangeLog5
-rw-r--r--net-p2p/freenet/Manifest2
-rw-r--r--net-p2p/freenet/files/digest-freenet-0.5.2.1-r5 (renamed from net-p2p/freenet/files/digest-freenet-0.5.2.1-r4)0
-rw-r--r--net-p2p/freenet/freenet-0.5.2.1-r4.ebuild140
4 files changed, 5 insertions, 142 deletions
diff --git a/net-p2p/freenet/ChangeLog b/net-p2p/freenet/ChangeLog
index 336ca6172da6..ea64593aad70 100644
--- a/net-p2p/freenet/ChangeLog
+++ b/net-p2p/freenet/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-p2p/freenet
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/ChangeLog,v 1.26 2003/08/03 16:26:01 lostlogic Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/ChangeLog,v 1.27 2003/08/03 16:26:33 lostlogic Exp $
+
+ 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)
diff --git a/net-p2p/freenet/Manifest b/net-p2p/freenet/Manifest
index a166b91dded9..ae5741c8b62e 100644
--- a/net-p2p/freenet/Manifest
+++ b/net-p2p/freenet/Manifest
@@ -1,6 +1,6 @@
MD5 b746e78ed522bfc79b80ac391237c244 freenet-0.5.2.1-r3.ebuild 4447
MD5 f4d5ef0e9b3d8a9457e1b0db9e1f9490 freenet-0.5.2.1-r5.ebuild 4547
-MD5 42df7a634659b66874a0c162853c01d2 ChangeLog 5780
+MD5 553d8b30c91144b68c53e636a51f4d2c ChangeLog 5780
MD5 2102c07c25f233d96f3ee92f4d075704 files/rc.freenet2 1713
MD5 f42bcccd602282dd4fad406f9be9b829 files/rc.freenet3 2213
MD5 4ae956431fc61a4f535d971c2e908478 files/start-freenet.sh 330
diff --git a/net-p2p/freenet/files/digest-freenet-0.5.2.1-r4 b/net-p2p/freenet/files/digest-freenet-0.5.2.1-r5
index a9b4651be0e9..a9b4651be0e9 100644
--- a/net-p2p/freenet/files/digest-freenet-0.5.2.1-r4
+++ b/net-p2p/freenet/files/digest-freenet-0.5.2.1-r5
diff --git a/net-p2p/freenet/freenet-0.5.2.1-r4.ebuild b/net-p2p/freenet/freenet-0.5.2.1-r4.ebuild
deleted file mode 100644
index 0d9accb3e694..000000000000
--- a/net-p2p/freenet/freenet-0.5.2.1-r4.ebuild
+++ /dev/null
@@ -1,140 +0,0 @@
-# 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.1-r4.ebuild,v 1.1 2003/08/01 15:20:22 lostlogic Exp $
-
-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"
-HOMEPAGE="http://freenetproject.org/"
-
-SLOT="0"
-KEYWORDS="~x86 ~ppc"
-LICENSE="GPL-2"
-
-DEPEND="virtual/jre
- >=sys-apps/sed-4"
-
-src_install() {
- 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.freenet3 freenet
-}
-
-pkg_preinst() {
- if ! groupmod freenet > dev/null 2>&1; then
- groupadd freenet 2> /dev/null || \
- die "Failed to create freenet group"
- fi
- if ! usermod freenet > /dev/null 2>&1; then
- useradd -g freenet -s /bin/bash -d /var/empty \
- -c "freenet" freenet || \
- die "Failed to create freenet user"
- else
- usermod -s /bin/bash freenet
- fi
-}
-
-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 "# ebuild ${EBUILD} config"
- 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 [ -z has_version ]; then
- einfo "Please remove /var/freenet manually if you are't 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
- if [ "${YN}" == "U" ] || [ "${YN}" == "u" ]; then
- wget http://freenetproject.org/snapshots/freenet-unstable-latest.jar -O /usr/lib/freenet/freenet.jar
- else
- wget http://freenetproject.org/snapshots/freenet-latest.jar -O /usr/lib/freenet/freenet.jar
- fi
- wget http://freenetproject.org/snapshots/seednodes.ref -O /var/freenet/seednodes.ref
- 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..."
- # 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
-
- 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 "# ebuild ${EBUILD} config"
-}