aboutsummaryrefslogtreecommitdiffstats
path: root/net/gtk-gnutella
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2001-11-23 12:26:59 +0800
committerdwcjr <dwcjr@FreeBSD.org>2001-11-23 12:26:59 +0800
commitab2ebeb3456d8c9a3e835b002e92d2a7781482c8 (patch)
treec449bae1c13cc55448c443cd052b7e9c0c153ee3 /net/gtk-gnutella
parent31b9425a86da35e32d515c61a782e35cfdbc43e2 (diff)
downloadfreebsd-ports-gnome-ab2ebeb3456d8c9a3e835b002e92d2a7781482c8.tar.gz
freebsd-ports-gnome-ab2ebeb3456d8c9a3e835b002e92d2a7781482c8.tar.zst
freebsd-ports-gnome-ab2ebeb3456d8c9a3e835b002e92d2a7781482c8.zip
New maintainer to this port.
Update to 0.18 PR: 32203 Submitted by: roman@xpert.com
Diffstat (limited to 'net/gtk-gnutella')
-rw-r--r--net/gtk-gnutella/Makefile6
-rw-r--r--net/gtk-gnutella/distinfo2
-rw-r--r--net/gtk-gnutella/files/patch-download.c28
-rw-r--r--net/gtk-gnutella/files/patch-main.c13
4 files changed, 31 insertions, 18 deletions
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 <bsd.port.mk>
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 <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 --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 <signal.h>
-+
-+#ifdef HAVE_MCHECK_H
- #include <mcheck.h>
-+#endif
-
- #include "interface.h"
- #include "support.h"