Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2001 01:42:33 +0200 (IST)
From:      Roman Shterenzon <roman@xpert.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32203: [UPDATE] net/gtk-gnutella 0.15->0.16
Message-ID:  <200111222342.fAMNgXk38225@alchemy.oven.org>

next in thread | raw e-mail | index | archive | help

>Number:         32203
>Category:       ports
>Synopsis:       [UPDATE] net/gtk-gnutella 0.15->0.16
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 22 15:50:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Roman Shterenzon
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD alchemy.oven.org 4.4-STABLE FreeBSD 4.4-STABLE #0: Thu Nov 22 12:47:10 IST 2001 root@alchemy.oven.org:/local/src/sys/compile/ALCHEMY i386


>Description:
The old patch is no longer needed. Added small modification that adds some info
for the debugging purposes.
I think that I can handle the maintainership as long as I use it.

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/net/gtk-gnutella/Makefile gtk-gnutella/Makefile
--- /usr/ports/net/gtk-gnutella/Makefile	Wed Oct 17 00:47:19 2001
+++ gtk-gnutella/Makefile	Fri Nov 23 00:58:30 2001
@@ -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 <bsd.port.mk>
diff -urN /usr/ports/net/gtk-gnutella/distinfo gtk-gnutella/distinfo
--- /usr/ports/net/gtk-gnutella/distinfo	Wed Oct 17 00:47:19 2001
+++ gtk-gnutella/distinfo	Fri Nov 23 00:58:41 2001
@@ -1 +1 @@
-MD5 (gtk-gnutella_0.15.tar.gz) = e4474e8712b548b4366eb7c8f9a1951a
+MD5 (gtk-gnutella-0.18.tar.gz) = dd4e19f3c600fe139e0522208f3c9e37
diff -urN /usr/ports/net/gtk-gnutella/files/patch-download.c gtk-gnutella/files/patch-download.c
--- /usr/ports/net/gtk-gnutella/files/patch-download.c	Thu Jan  1 02:00:00 1970
+++ gtk-gnutella/files/patch-download.c	Fri Oct 26 11:09:51 2001
@@ -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 <sys/types.h>
+ #include <sys/stat.h>
++#include <netinet/in.h>
++#include <arpa/inet.h>
+ #include <fcntl.h>
+ 
+ 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 -urN /usr/ports/net/gtk-gnutella/files/patch-main.c gtk-gnutella/files/patch-main.c
--- /usr/ports/net/gtk-gnutella/files/patch-main.c	Mon Oct 15 15:40:52 2001
+++ gtk-gnutella/files/patch-main.c	Thu Jan  1 02:00:00 1970
@@ -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 <signal.h>
-+
-+#ifdef HAVE_MCHECK_H
- #include <mcheck.h>
-+#endif
- 
- #include "interface.h"
- #include "support.h"
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111222342.fAMNgXk38225>