diff options
author | Jon Hood <squinky86@gentoo.org> | 2004-09-12 04:26:26 +0000 |
---|---|---|
committer | Jon Hood <squinky86@gentoo.org> | 2004-09-12 04:26:26 +0000 |
commit | 77da86293925ebb13f2ca99e4f5163621f76c4da (patch) | |
tree | 9707e911aec594fb35616cbd1c28c4a26e02fbfb /net-p2p/gift-gnutella | |
parent | version bump (bug #63152) (Manifest recommit) (diff) | |
download | gentoo-2-77da86293925ebb13f2ca99e4f5163621f76c4da.tar.gz gentoo-2-77da86293925ebb13f2ca99e4f5163621f76c4da.tar.bz2 gentoo-2-77da86293925ebb13f2ca99e4f5163621f76c4da.zip |
fix gwebcaches correctly this time
Diffstat (limited to 'net-p2p/gift-gnutella')
-rw-r--r-- | net-p2p/gift-gnutella/ChangeLog | 6 | ||||
-rw-r--r-- | net-p2p/gift-gnutella/files/0.0.9.2-nodes.patch.bz2 | bin | 1693 -> 0 bytes | |||
-rw-r--r-- | net-p2p/gift-gnutella/files/cacheupdate.sh | 16 | ||||
-rw-r--r-- | net-p2p/gift-gnutella/gift-gnutella-0.0.9.2.ebuild | 7 |
4 files changed, 26 insertions, 3 deletions
diff --git a/net-p2p/gift-gnutella/ChangeLog b/net-p2p/gift-gnutella/ChangeLog index 92ecca304912..8cf6fb321cf1 100644 --- a/net-p2p/gift-gnutella/ChangeLog +++ b/net-p2p/gift-gnutella/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-p2p/gift-gnutella # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/gift-gnutella/ChangeLog,v 1.16 2004/09/01 19:49:40 squinky86 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/gift-gnutella/ChangeLog,v 1.17 2004/09/12 04:26:26 squinky86 Exp $ + + 11 Sep 2004; Jon Hood <squinky86@gentoo.org> -files/0.0.9.2-nodes.patch.bz2, + +files/cacheupdate.sh, gift-gnutella-0.0.9.2.ebuild: + Remove gwebcache patch and create a nice updating script instead. 01 Sep 2004; Jon Hood <squinky86@gentoo.org> +files/0.0.9.2-nodes.patch.bz2, gift-gnutella-0.0.9.2.ebuild: diff --git a/net-p2p/gift-gnutella/files/0.0.9.2-nodes.patch.bz2 b/net-p2p/gift-gnutella/files/0.0.9.2-nodes.patch.bz2 Binary files differdeleted file mode 100644 index 6386a2827c34..000000000000 --- a/net-p2p/gift-gnutella/files/0.0.9.2-nodes.patch.bz2 +++ /dev/null diff --git a/net-p2p/gift-gnutella/files/cacheupdate.sh b/net-p2p/gift-gnutella/files/cacheupdate.sh new file mode 100644 index 000000000000..a86eebdc65c3 --- /dev/null +++ b/net-p2p/gift-gnutella/files/cacheupdate.sh @@ -0,0 +1,16 @@ +#!/bin/bash +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/gift-gnutella/files/cacheupdate.sh,v 1.1 2004/09/12 04:26:26 squinky86 Exp $ + +if [ -d ~/.giFT/Gnutella/ ]; then + cd ~/.giFT/Gnutella + wget http://gwebcache.squinky.gotdns.com/perlgcache.cgi?get=1\&hostfile=1\&net=gnutella2\&client=GEN2\&version=0.1 -O gwebcaches.new || die + grep "u|" gwebcaches.new > gwebcaches.new1 + sed -i -e 's:u|::g' gwebcaches.new1 + sed -i -e 's:|.*::g' gwebcaches.new1 + mv gwebcaches.new1 gwebcaches + rm gwebcaches.new +else + echo "Please emerge gift-gnutella and run gift-setup." +fi diff --git a/net-p2p/gift-gnutella/gift-gnutella-0.0.9.2.ebuild b/net-p2p/gift-gnutella/gift-gnutella-0.0.9.2.ebuild index 8ea8723c8994..a2e468d85b10 100644 --- a/net-p2p/gift-gnutella/gift-gnutella-0.0.9.2.ebuild +++ b/net-p2p/gift-gnutella/gift-gnutella-0.0.9.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/gift-gnutella/gift-gnutella-0.0.9.2.ebuild,v 1.14 2004/09/01 19:49:40 squinky86 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/gift-gnutella/gift-gnutella-0.0.9.2.ebuild,v 1.15 2004/09/12 04:26:26 squinky86 Exp $ inherit eutils @@ -25,7 +25,6 @@ src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${PN}-gcc35.patch - epatch ${FILESDIR}/${PV}-nodes.patch.bz2 } src_compile() { @@ -48,4 +47,8 @@ pkg_postinst() { einfo "Alternatively you can add the following line to" einfo "your ~/.giFT/giftd.conf configuration file:" einfo "plugins = Gnutella" + echo + ewarn "This version of gift-gnutella does not install proper gwebcaches." + ewarn "To update your caches, run:" + ewarn "\tsh /usr/portage/net-p2p/${PN}/files/cacheupdate.sh" } |