diff options
author | Brandon Low <lostlogic@gentoo.org> | 2003-07-24 16:15:13 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@gentoo.org> | 2003-07-24 16:15:13 +0000 |
commit | a739c24626ce98be77cdd9810579b58ddd55bc4e (patch) | |
tree | 60f7300def604c3681ad2fdeaefad81a1aeab223 /net-p2p | |
parent | New ebuild (diff) | |
download | gentoo-2-a739c24626ce98be77cdd9810579b58ddd55bc4e.tar.gz gentoo-2-a739c24626ce98be77cdd9810579b58ddd55bc4e.tar.bz2 gentoo-2-a739c24626ce98be77cdd9810579b58ddd55bc4e.zip |
Features added to config step
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/freenet/ChangeLog | 6 | ||||
-rw-r--r-- | net-p2p/freenet/Manifest | 4 | ||||
-rw-r--r-- | net-p2p/freenet/freenet-0.5.2.1-r2.ebuild | 20 |
3 files changed, 23 insertions, 7 deletions
diff --git a/net-p2p/freenet/ChangeLog b/net-p2p/freenet/ChangeLog index 11e1285a5334..88f9b65914d6 100644 --- a/net-p2p/freenet/ChangeLog +++ b/net-p2p/freenet/ChangeLog @@ -1,6 +1,10 @@ # 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.17 2003/07/23 19:39:53 lostlogic Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/ChangeLog,v 1.18 2003/07/24 16:15:09 lostlogic Exp $ + + 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) diff --git a/net-p2p/freenet/Manifest b/net-p2p/freenet/Manifest index 110dde8a0c13..38b9946c9a38 100644 --- a/net-p2p/freenet/Manifest +++ b/net-p2p/freenet/Manifest @@ -1,5 +1,5 @@ -MD5 37cc7312e793c474e6f11bf6aceccfeb freenet-0.5.2.1-r2.ebuild 3079 -MD5 4a94f6fa01d3d05042739fd903f0029b ChangeLog 4058 +MD5 d1394b4f85a2365cc8dbd840949e406b freenet-0.5.2.1-r2.ebuild 3600 +MD5 08a3d65485fa34167c9a627ebff03aa0 ChangeLog 4228 MD5 169efe0f216ade927538fab48315ecc7 files/conf.freenet 323 MD5 3a391b52e5e7740c7bdafcba7a9ee4d3 files/digest-freenet-0.5.2.1-r2 68 MD5 ff721c9a73980dc222ff10c07b53162f files/rc.freenet 1729 diff --git a/net-p2p/freenet/freenet-0.5.2.1-r2.ebuild b/net-p2p/freenet/freenet-0.5.2.1-r2.ebuild index a256519d7741..4c28cf3ab571 100644 --- a/net-p2p/freenet/freenet-0.5.2.1-r2.ebuild +++ b/net-p2p/freenet/freenet-0.5.2.1-r2.ebuild @@ -1,6 +1,6 @@ # 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-r2.ebuild,v 1.1 2003/07/23 19:39:53 lostlogic Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/freenet-0.5.2.1-r2.ebuild,v 1.2 2003/07/24 16:15:09 lostlogic Exp $ IUSE="" @@ -52,16 +52,26 @@ pkg_postrm() { pkg_config() { YN="X" while [ "${YN}" != "y" -a "${YN}" != "Y" -a "${YN}" != "n" -a "${YN}" != "N" -a "${YN}" != "" ]; do - echo "Would you like to update freenet files now? [Y/n]" + einfo "Would you like to update freenet files now? [Y/n]" read YN done if [ -z "$(echo ${YN}|sed -e s/y//i)" ];then - wget http://freenetproject.org/snapshots/freenet-latest.jar -O /usr/lib/freenet/freenet.jar + 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-exp-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 fi - if [ ! -f /etc/freenet.conf ]; then + 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)" @@ -99,4 +109,6 @@ EOF 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" } |