summaryrefslogtreecommitdiff
path: root/net/gtk-gnutella
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2002-10-29 22:35:38 +0000
committerrh <rh@pkgsrc.org>2002-10-29 22:35:38 +0000
commit5bfb969f47ad214e2f0a11000ccb9093760694a6 (patch)
treedb2ff19c6b1b7dceecf906d33433262586bf01d1 /net/gtk-gnutella
parent80416b984f73a4e9b616ef4e3979d35016fb51dd (diff)
downloadpkgsrc-5bfb969f47ad214e2f0a11000ccb9093760694a6.tar.gz
Update gtk-gnutella to 0.91. Provided in PR pkg/18805 by Christian Biere.
Changes include: * 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.
Diffstat (limited to 'net/gtk-gnutella')
-rw-r--r--net/gtk-gnutella/Makefile5
-rw-r--r--net/gtk-gnutella/PLIST7
-rw-r--r--net/gtk-gnutella/distinfo14
-rw-r--r--net/gtk-gnutella/patches/patch-aa14
-rw-r--r--net/gtk-gnutella/patches/patch-ab18
-rw-r--r--net/gtk-gnutella/patches/patch-ac19
-rw-r--r--net/gtk-gnutella/patches/patch-ad11
-rw-r--r--net/gtk-gnutella/patches/patch-ae10
8 files changed, 59 insertions, 39 deletions
diff --git a/net/gtk-gnutella/Makefile b/net/gtk-gnutella/Makefile
index 1b2191c6362..f5e236f6ec7 100644
--- a/net/gtk-gnutella/Makefile
+++ b/net/gtk-gnutella/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.18 2002/09/10 16:06:46 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2002/10/29 22:35:38 rh Exp $
#
-DISTNAME= gtk-gnutella-0.90
-PKGREVISION= 1
+DISTNAME= gtk-gnutella-0.91
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gtk-gnutella/}
diff --git a/net/gtk-gnutella/PLIST b/net/gtk-gnutella/PLIST
index 155f5accf76..476d9347c75 100644
--- a/net/gtk-gnutella/PLIST
+++ b/net/gtk-gnutella/PLIST
@@ -1,10 +1,15 @@
-@comment $NetBSD: PLIST,v 1.3 2002/08/25 21:49:58 jlam Exp $
+@comment $NetBSD: PLIST,v 1.4 2002/10/29 22:35:38 rh Exp $
bin/gtk-gnutella
share/doc/gtk-gnutella/README
share/gtk-gnutella/pixmaps/arrow_down.xpm
share/gtk-gnutella/pixmaps/arrow_up.xpm
+share/gtk-gnutella/pixmaps/booklib.xpm
+share/gtk-gnutella/pixmaps/booksha.xpm
share/gtk-gnutella/pixmaps/firewall.xpm
share/gtk-gnutella/pixmaps/no_firewall.xpm
+share/gtk-gnutella/pixmaps/offline.xpm
+share/gtk-gnutella/pixmaps/online.xpm
+share/gtk-gnutella/pixmaps/save.xpm
@dirrm share/gtk-gnutella/pixmaps
@dirrm share/gtk-gnutella
@dirrm share/doc/gtk-gnutella
diff --git a/net/gtk-gnutella/distinfo b/net/gtk-gnutella/distinfo
index 4b8f5ba8e6f..e3f5110e8c8 100644
--- a/net/gtk-gnutella/distinfo
+++ b/net/gtk-gnutella/distinfo
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.9 2002/09/25 17:29:05 wiz Exp $
+$NetBSD: distinfo,v 1.10 2002/10/29 22:35:38 rh Exp $
-SHA1 (gtk-gnutella-0.90.tar.gz) = b31984b6e83b0471a5ee2de2486d85b3400ecb67
-Size (gtk-gnutella-0.90.tar.gz) = 469236 bytes
-SHA1 (patch-aa) = 0ab24e5e1fd58d5b36b891b73b9144cf038afed2
-SHA1 (patch-ab) = 23c2cbb171b55d8fd4a14b419c3bb2a1767ef980
-SHA1 (patch-ac) = 11390fbda764df5861a38f91c3f938617488c760
+SHA1 (gtk-gnutella-0.91.tar.gz) = dbb0f5e870d8bd528ad9c883b303260921543e4e
+Size (gtk-gnutella-0.91.tar.gz) = 649623 bytes
+SHA1 (patch-aa) = 06500d803c0857d57ef34727d8ff807aa63a5317
+SHA1 (patch-ab) = 3941a447422eb3433193ac077ef1634542b6a30e
+SHA1 (patch-ac) = 7114973950562d63b094051e5b2dd44e42f39ccb
+SHA1 (patch-ad) = 13b39e70e8156278e479e6c93f2c03b3c8bc4ddd
+SHA1 (patch-ae) = c40fabc6856e9756198b13607f9b3236b0a2f0da
diff --git a/net/gtk-gnutella/patches/patch-aa b/net/gtk-gnutella/patches/patch-aa
index 12449f888f5..c7751911db8 100644
--- a/net/gtk-gnutella/patches/patch-aa
+++ b/net/gtk-gnutella/patches/patch-aa
@@ -1,12 +1,10 @@
-$NetBSD: patch-aa,v 1.1 2002/09/25 17:29:05 wiz Exp $
-
---- src/filter.c.orig Mon Jun 24 18:53:53 2002
-+++ src/filter.c
-@@ -23,6 +23,7 @@
+--- 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 <sys/types.h>
- #include <netinet/in.h>
- #include <arpa/inet.h>
++#include <stdlib.h>
+ #include "walloc.h"
+ #include "zalloc.h"
diff --git a/net/gtk-gnutella/patches/patch-ab b/net/gtk-gnutella/patches/patch-ab
index 7770d6941a4..d4749f9aa8f 100644
--- a/net/gtk-gnutella/patches/patch-ab
+++ b/net/gtk-gnutella/patches/patch-ab
@@ -1,12 +1,10 @@
-$NetBSD: patch-ab,v 1.1 2002/09/25 17:29:05 wiz Exp $
-
---- src/filter_gui.c.orig Sun Jun 23 19:59:33 2002
-+++ src/filter_gui.c
+--- src/vendors.c 2002/10/13 10:16:31 1.1
++++ src/vendors.c 2002/10/26 01:16:22
@@ -26,6 +26,7 @@
- /*
- * For ntohl and inet_addr
- */
-+#include <sys/types.h>
- #include <netinet/in.h>
- #include <arpa/inet.h>
+ #include "vendors.h"
+ #include <ctype.h>
++#include <string.h>
+
+ struct {
+ guint32 code;
diff --git a/net/gtk-gnutella/patches/patch-ac b/net/gtk-gnutella/patches/patch-ac
index e0a70e751d5..f9ee34ce16d 100644
--- a/net/gtk-gnutella/patches/patch-ac
+++ b/net/gtk-gnutella/patches/patch-ac
@@ -1,13 +1,10 @@
-$NetBSD: patch-ac,v 1.1 2002/09/25 17:29:05 wiz Exp $
-
---- src/hosts.c.orig Fri Jun 21 07:21:25 2002
-+++ src/hosts.c
-@@ -257,7 +257,7 @@ void host_save_valid(guint32 ip, guint16
+--- src/getdate.y 2002/08/10 11:30:23 1.1
++++ src/getdate.y 2002/10/26 01:24:23
+@@ -39,6 +39,7 @@
+ */
- void host_init(void)
- {
-- static void pcache_init(void);
-+ void pcache_init(void);
+ #include "config.h"
++#include <stdlib.h>
- ht_known_hosts = g_hash_table_new(host_hash, host_eq);
- pcache_init();
+ #ifdef HAVE_CONFIG_H
+ # ifdef FORCE_ALLOCA_H
diff --git a/net/gtk-gnutella/patches/patch-ad b/net/gtk-gnutella/patches/patch-ad
new file mode 100644
index 00000000000..5084e3ce2ee
--- /dev/null
+++ b/net/gtk-gnutella/patches/patch-ad
@@ -0,0 +1,11 @@
+--- 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, (unsigned long)st.st_size);
+ fc = g_malloc0(sizeof(struct dl_file_chunk));
+ fc->from = 0;
+ fi->size = fc->to = st.st_size;
diff --git a/net/gtk-gnutella/patches/patch-ae b/net/gtk-gnutella/patches/patch-ae
new file mode 100644
index 00000000000..f711923a7e4
--- /dev/null
+++ b/net/gtk-gnutella/patches/patch-ae
@@ -0,0 +1,10 @@
+--- 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)
+ {