From 88e3bb64fe8984770866dd055072ff50d6a26159 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 20 Jan 2002 09:25:51 +0000 Subject: Update "napshare" package to version 1.0. Changes since version 0.1: - Fully automated! Lots of testing - Host cache size limit, we also load list faster - Upload resume fixed - Select files by size or name now, changes name when using size - Minimum speed for searches works again - Lots of other fixes, memory leaks are gone - Initial host connections faster and uses more static host caches - Found some possible memory leaks, fixed compile warnings for search tags - GnutellaNet number is a little more realistic, still needs work - Download try ratio 3:1 gets files started faster - Uploads monitor reads correct now - Ping shows max amount, showing how long it may take to complete a search - Other small fixes --- net/napshare/DESCR | 10 +++------- net/napshare/Makefile | 5 ++--- net/napshare/distinfo | 7 +++---- net/napshare/patches/patch-aa | 39 --------------------------------------- 4 files changed, 8 insertions(+), 53 deletions(-) delete mode 100644 net/napshare/patches/patch-aa (limited to 'net') diff --git a/net/napshare/DESCR b/net/napshare/DESCR index e0980627042..3910da00502 100644 --- a/net/napshare/DESCR +++ b/net/napshare/DESCR @@ -1,9 +1,5 @@ NapShare is a GUI based Gnutella Client. -It's a fully featured Gnutella Client designed to share any type of file -the user wishes to share. - -It's a Unix clone, and it needs GTK+ (1.2 or above). Gnome is not needed. It -is currently developed and tested under Linux (Redhat 6). It is known to run -at least on Linux and FreeBSD (on 80x86 machines). It is released under the -GNU Public License (GPL). +It's a fully automated GUI based gnutella client with a automation +"brain" that attempts to simulate searching and downloading the way +humans do. It's made to run 24/7. diff --git a/net/napshare/Makefile b/net/napshare/Makefile index a051f5066d7..d2f50204c56 100644 --- a/net/napshare/Makefile +++ b/net/napshare/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.3 2001/11/29 01:12:42 hubertf Exp $ +# $NetBSD: Makefile,v 1.4 2002/01/20 09:25:51 tron Exp $ -DISTNAME= napshare-0.1 -PKGREVISION= 1 +DISTNAME= napshare-1.0 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=napshare/} diff --git a/net/napshare/distinfo b/net/napshare/distinfo index f1d19e1bb7d..185407391aa 100644 --- a/net/napshare/distinfo +++ b/net/napshare/distinfo @@ -1,5 +1,4 @@ -$NetBSD: distinfo,v 1.3 2001/09/22 16:26:52 tron Exp $ +$NetBSD: distinfo,v 1.4 2002/01/20 09:25:52 tron Exp $ -SHA1 (napshare-0.1.tar.gz) = cf2ec9e3663048cdc9cfa9eecc7a050e25bae833 -Size (napshare-0.1.tar.gz) = 162000 bytes -SHA1 (patch-aa) = e4cdb3341b476c9508de45062847c6f93aa28353 +SHA1 (napshare-1.0.tar.gz) = 5d49805d3ab9ab5b1e623b2a0fdd9451d3f5cf60 +Size (napshare-1.0.tar.gz) = 184320 bytes diff --git a/net/napshare/patches/patch-aa b/net/napshare/patches/patch-aa deleted file mode 100644 index 7305167d4f4..00000000000 --- a/net/napshare/patches/patch-aa +++ /dev/null @@ -1,39 +0,0 @@ -$NetBSD: patch-aa,v 1.3 2001/09/22 16:26:53 tron Exp $ - ---- src/main.c.orig Sun May 27 05:26:22 2001 -+++ src/main.c Sat Sep 22 18:25:38 2001 -@@ -2,7 +2,9 @@ - #include "gnutella.h" - - #include -+#ifndef __NetBSD__ - #include -+#endif - - #include "interface.h" - #include "support.h" -@@ -274,13 +276,19 @@ - - /* Auto-connect to the network. */ - if(up_connections && !stop_host_get) { -+ gint i; -+ const gchar *hosts[] = { "connect1.gnutellanet.com" , "connect2.gnutellanet.com" , "connect3.gnutellanet.com" , NULL }; - guint32 autoConnectIp = 0; - -- autoConnectIp = host_to_ip("gnutellahosts.com"); -- if (autoConnectIp != 0) -- { -- node_add(NULL, autoConnectIp, 6346); -- } -+ i = 0; -+ while (hosts[i] != NULL) -+ { -+ autoConnectIp = host_to_ip(hosts[i++]); -+ if (autoConnectIp != 0) -+ { -+ node_add(NULL, autoConnectIp, 6346); -+ } -+ } - } - - -- cgit v1.2.3