summaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2001-11-23 04:26:59 +0000
committerdwcjr <dwcjr@FreeBSD.org>2001-11-23 04:26:59 +0000
commitab2ebeb3456d8c9a3e835b002e92d2a7781482c8 (patch)
treec449bae1c13cc55448c443cd052b7e9c0c153ee3 /net-p2p
parent31b9425a86da35e32d515c61a782e35cfdbc43e2 (diff)
downloadFreeBSD-ports-ab2ebeb3456d8c9a3e835b002e92d2a7781482c8.zip
FreeBSD-ports-ab2ebeb3456d8c9a3e835b002e92d2a7781482c8.tar.gz
New maintainer to this port.
Update to 0.18 PR: 32203 Submitted by: roman@xpert.com
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/gtk-gnutella/Makefile6
-rw-r--r--net-p2p/gtk-gnutella/distinfo2
-rw-r--r--net-p2p/gtk-gnutella/files/patch-download.c28
-rw-r--r--net-p2p/gtk-gnutella/files/patch-main.c13
4 files changed, 31 insertions, 18 deletions
diff --git a/net-p2p/gtk-gnutella/Makefile b/net-p2p/gtk-gnutella/Makefile
index 009ddde..bd6f18f 100644
--- a/net-p2p/gtk-gnutella/Makefile
+++ b/net-p2p/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-p2p/gtk-gnutella/distinfo b/net-p2p/gtk-gnutella/distinfo
index 5feeb59..18b9195 100644
--- a/net-p2p/gtk-gnutella/distinfo
+++ b/net-p2p/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-p2p/gtk-gnutella/files/patch-download.c b/net-p2p/gtk-gnutella/files/patch-download.c
new file mode 100644
index 0000000..cb5f192
--- /dev/null
+++ b/net-p2p/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-p2p/gtk-gnutella/files/patch-main.c b/net-p2p/gtk-gnutella/files/patch-main.c
deleted file mode 100644
index 04dd4ce..0000000
--- a/net-p2p/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"
OpenPOWER on IntegriCloud