From ab2ebeb3456d8c9a3e835b002e92d2a7781482c8 Mon Sep 17 00:00:00 2001 From: dwcjr Date: Fri, 23 Nov 2001 04:26:59 +0000 Subject: New maintainer to this port. Update to 0.18 PR: 32203 Submitted by: roman@xpert.com --- net/gtk-gnutella/Makefile | 6 ++---- net/gtk-gnutella/distinfo | 2 +- net/gtk-gnutella/files/patch-download.c | 28 ++++++++++++++++++++++++++++ net/gtk-gnutella/files/patch-main.c | 13 ------------- 4 files changed, 31 insertions(+), 18 deletions(-) create mode 100644 net/gtk-gnutella/files/patch-download.c delete mode 100644 net/gtk-gnutella/files/patch-main.c (limited to 'net') diff --git a/net/gtk-gnutella/Makefile b/net/gtk-gnutella/Makefile index 009ddde5c908..bd6f18fb10e5 100644 --- a/net/gtk-gnutella/Makefile +++ b/net/gtk-gnutella/Makefile @@ -6,20 +6,18 @@ # PORTNAME= gtk-gnutella -PORTVERSION= 0.15 +PORTVERSION= 0.18 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://gtk-gnutella.sourceforge.net/download/ \ ftp://gtk-gnutella.sourceforge.net/pub/gtk-gnutella/ MASTER_SITE_SUBDIR= ${PORTNAME} -DISTNAME= ${PORTNAME}_${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= roman@xpert.com USE_X_PREFIX= yes USE_GMAKE= yes USE_GTK= yes GNU_CONFIGURE= yes -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} .include diff --git a/net/gtk-gnutella/distinfo b/net/gtk-gnutella/distinfo index 5feeb5968f9d..18b9195934c6 100644 --- a/net/gtk-gnutella/distinfo +++ b/net/gtk-gnutella/distinfo @@ -1 +1 @@ -MD5 (gtk-gnutella_0.15.tar.gz) = e4474e8712b548b4366eb7c8f9a1951a +MD5 (gtk-gnutella-0.18.tar.gz) = dd4e19f3c600fe139e0522208f3c9e37 diff --git a/net/gtk-gnutella/files/patch-download.c b/net/gtk-gnutella/files/patch-download.c new file mode 100644 index 000000000000..cb5f1927af04 --- /dev/null +++ b/net/gtk-gnutella/files/patch-download.c @@ -0,0 +1,28 @@ +--- src/downloads.c.orig Wed Oct 3 19:12:04 2001 ++++ src/downloads.c Fri Oct 26 11:09:48 2001 +@@ -7,6 +7,8 @@ + + #include + #include ++#include ++#include + #include + + GSList *sl_downloads = NULL; +@@ -793,6 +795,7 @@ + gboolean download_send_request(struct download *d) + { + gint rw; ++ struct sockaddr_in saddr; + + g_return_val_if_fail(d, FALSE); + +@@ -821,6 +824,8 @@ + d->record_index, d->file_name, + GTA_VERSION, GTA_SUBVERSION); + ++ saddr.sin_addr.s_addr=htonl(d->ip); ++ printf("\n\n----Connected to %s:%d\n", inet_ntoa(saddr.sin_addr), d->port); + printf("----Sending Request:\n%.*s----\n", (int) rw, dl_tmp); + fflush(stdout); + diff --git a/net/gtk-gnutella/files/patch-main.c b/net/gtk-gnutella/files/patch-main.c deleted file mode 100644 index 04dd4cea1053..000000000000 --- a/net/gtk-gnutella/files/patch-main.c +++ /dev/null @@ -1,13 +0,0 @@ ---- src/main.c.old Sun Sep 23 09:57:23 2001 -+++ src/main.c Sun Sep 23 09:57:49 2001 -@@ -2,7 +2,10 @@ - #include "gnutella.h" - - #include -+ -+#ifdef HAVE_MCHECK_H - #include -+#endif - - #include "interface.h" - #include "support.h" -- cgit