Subject: pkg/18805: Gtk-Gnutella 0.91 has been released
To: None <gnats-bugs@gnats.netbsd.org>
From: Christian Biere <christianbiere@gmx.de>
List: netbsd-bugs
Date: 10/26/2002 05:34:25
>Number:         18805
>Category:       pkg
>Synopsis:       Gtk-Gnutella 0.91 has been released
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 25 20:35:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Christian Biere
>Release:        NetBSD 1.6J
>Organization:
      
>Environment:
System: NetBSD localhost 1.6J NetBSD 1.6J (GENERIC) #0: Thu Oct 24
20:43:48 CEST 2002 root@localhost:/usr/src/sys/arch/i386/compile/GENERIC
i386 Architecture: i386
Machine: i386

>Description:

Notes: 

Gtk-Gnutella must still be compiled with gmake. I have attached minor
patches to remove some warnings. The old patches patch-a{a,b,c} are not
necessary any longer.

SHA1 (gtk-gnutella-0.91.tar.gz) = dbb0f5e870d8bd528ad9c883b303260921543e4e
Size (gtk-gnutella-0.91.tar.gz) = 649623 bytes

Release announcement from Gtk-Gnutella.sf.net:

19. Oct 2002, Version 0.91 stable released                 
                                                                          
After nearly 3 months of development efforts, we are proud    
to present the new 0.91 stable version. It features many      
changes since the latest stable 0.90 release. Among them:     

* Now uses HTTP/1.1, which implies support for persistent   
connections.                                              
* gtk-gnutella will now monitor whether we're connected to  
Internet and slow down its connection requests when it    
detects the connection was broken (after a delay of ~3    
minutes at most).                                         
* Download swarming is now supported: gtk-gnutella will     
download different portions of the same file from many    
hosts, as long as alternate sources are available.        
* The download mesh (alternate source collection during     
downloads) is now used to fill the download queue with    
more sources.                                             
* Alternate locations can also be passively collected from  
query hits. You can enable this in the swarming section   
on the download config pane.                              
* Download scheduling was entiretly redesigned to avoid     
hammering busy hosts and scale to 5000+ entries in the    
queue without slowing down the whole.                     
* Is now smart about the "push" flag and will try to        
ignore it if possible, in case the remote host wrongly    
set the flag but is not firewalled.                       
* gtk-gnutella now remembers the files it downloaded and    
will ignore further requests to download the same file.   
It will visually mark those files, as well as the ones    
it already shares, by showing them in lighter color in    
the search results.                                       
* It is possible to supply to gtk-gnutella your own ignore  
lists by SHA1 and by name/size but the feature is         
under-documented.                                         
* Added an "expert mode". Only when this is enabled will    
gtk-gnutella show the users some of the most complex      
settings.                                                 
* New Gnutella statistics pane, showing the packets we      
sent and received, how many we generated, and the         
reasons why we drop packets, by packet type.              
* Now understands UTF-8 queries, but does not generate      
them.                                                     
* Fixed important bugs whereby all earlier versions of      
gtk-gnutella were unintentionally corrupting the          
Gnutella traffic!                                         
* Moved away from the public hostcaches and now uses the    
Gnutella Web Cache.                                       
* Will now show all upload attempts, not only the ones      
that are transferring. If the connection is aborted, the  
reason is also shown.                                     
* New search stats types: queries by router, whole query.   
* "Queries by router" shows how many queries have      
been recieved from any node gtk-gnutella was         
directly connected to.                               
* "Whole query" shows stats based on the complete      
query string instead of individual query words.      
* New visual indications via icons in the status bar:       
whether gtk-gnutella is rebuilding the library,           
computing SHA1 of shared files in the background, and     
whether we are connected to Internet or not.              

KNOWN BUGS/PROBLEMS:                                          

* When changing the directory for incomplete/complete       
files, all partially downloaded files recorded in         
~/.gtk-gnutella/fileinfo will still be downloaded to the  
old directory. You need to manually change the paths in   
above file using search/replace and your favourite text   
editor.                                                   
* Sorting order of tables is not perserved across           
sessions.                                                 
* Marking/highlighting of results/downloads/uploads         
heavily depends on your GTK theme. Especially most        
themes do not set fg[ACTIVE] and fg[NORMAL] to different  
values.                                                   
* There is currently no way to un-ignore a file via the     
gui. You can however edit the done.sha1 and               
done.namesize files in your ~/.gtk-gnutella directory     
manually. Unignoring via gui is planned for the next      
release.                                                  

We hope you will love this version. We still believe          
gtk-gnutella is the most advanced and efficient Gnutella      
servent available on Unix today.                              

Raphaël Manfredi & Richard Eckart                             

>How-To-Repeat:

>Fix:

--Multipart_Sat__26_Oct_2002_05:34:25_+0200_08197800
Content-Type: text/plain;
 name="patch.udif"
Content-Disposition: attachment;
 filename="patch.udif"
Content-Transfer-Encoding: 7bit

--- src/fileinfo.c	2002/10/17 19:52:41	1.1
+++ src/fileinfo.c	2002/10/26 01:09:28
@@ -1797,7 +1797,7 @@
 	if (stat(fi_tmp, &st) != -1) {
 		g_warning("file_info_get(): "
 			"assuming file \"%s\" is complete up to %lu bytes",
-			fi->file_name, st.st_size);
+			fi->file_name, (long unsigned)st.st_size);
 		fc = g_malloc0(sizeof(struct dl_file_chunk));
 		fc->from = 0;
 		fi->size = fc->to = st.st_size;
--- src/fuzzy.c	2002/09/24 23:05:00	1.1
+++ src/fuzzy.c	2002/10/26 01:11:11
@@ -28,6 +28,7 @@
 #include <stdio.h>
 #include <glib.h>
 #include <ctype.h>
+#include <string.h>
 
 static char *fuzzy_strlower(char *a)
 {
--- src/getdate.y	2002/08/10 11:30:23	1.1
+++ src/getdate.y	2002/10/26 01:24:23
@@ -39,6 +39,7 @@
 */
 
 #include "config.h"
+#include <stdlib.h>
 
 #ifdef HAVE_CONFIG_H
 # ifdef FORCE_ALLOCA_H
--- src/vendors.c	2002/10/13 10:16:31	1.1
+++ src/vendors.c	2002/10/26 01:16:22
@@ -26,6 +26,7 @@
 #include "vendors.h"
 
 #include <ctype.h>
+#include <string.h>
 
 struct {
     guint32 code;
--- src/walloc.c	2002/10/14 13:46:32	1.1
+++ src/walloc.c	2002/10/26 01:44:07
@@ -25,6 +25,7 @@
  *----------------------------------------------------------------------
  */
 
+#include <stdlib.h>
 #include "walloc.h"
 #include "zalloc.h"
 


--Multipart_Sat__26_Oct_2002_05:34:25_+0200_08197800--
>Release-Note:
>Audit-Trail:
>Unformatted:
 This is a multi-part message in MIME format.
 
 --Multipart_Sat__26_Oct_2002_05:34:25_+0200_08197800
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 8bit