mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Update to version 0.80.
PR: 35692 Submitted by: Dominic Marks <dominic_marks@btinternet.com> Approved by: maintainer
This commit is contained in:
parent
8a5d8c44de
commit
d415bdc183
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55894
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= gtk-gnutella
|
||||
PORTVERSION= 0.18
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.80
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
||||
http://gtk-gnutella.sourceforge.net/download/ \
|
||||
@ -21,4 +20,6 @@ USE_GMAKE= yes
|
||||
USE_GTK= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
CONFIGURE_ARGS= --enable-no-rfc1918
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (gtk-gnutella-0.18.tar.gz) = dd4e19f3c600fe139e0522208f3c9e37
|
||||
MD5 (gtk-gnutella-0.80.tar.gz) = d3b8764557efdb0f4152057afacd91dd
|
||||
|
@ -1,28 +0,0 @@
|
||||
--- 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);
|
||||
|
@ -1,20 +0,0 @@
|
||||
--- src/search.c.orig Thu Dec 6 23:52:35 2001
|
||||
+++ src/search.c Fri Dec 7 00:05:49 2001
|
||||
@@ -13,6 +13,7 @@
|
||||
#include "dialog-filters.h"
|
||||
#include "routing.h"
|
||||
#include "autodownload.h"
|
||||
+#include "hosts.h"
|
||||
|
||||
#define MAKE_CODE(a,b,c,d) ( \
|
||||
((guint32) (a) << 24) | \
|
||||
@@ -1258,7 +1259,8 @@
|
||||
if (
|
||||
sch->items >= search_max_results ||
|
||||
search_result_is_dup(sch, rc) ||
|
||||
- !filter_record(sch, rc)
|
||||
+ !filter_record(sch, rc) ||
|
||||
+ !check_valid_host(rc->results_set->ip,6346)
|
||||
) {
|
||||
rs->records = g_slist_remove(rs->records, rc);
|
||||
rs->num_recs--;
|
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= gtk-gnutella
|
||||
PORTVERSION= 0.18
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.80
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
||||
http://gtk-gnutella.sourceforge.net/download/ \
|
||||
@ -21,4 +20,6 @@ USE_GMAKE= yes
|
||||
USE_GTK= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
CONFIGURE_ARGS= --enable-no-rfc1918
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (gtk-gnutella-0.18.tar.gz) = dd4e19f3c600fe139e0522208f3c9e37
|
||||
MD5 (gtk-gnutella-0.80.tar.gz) = d3b8764557efdb0f4152057afacd91dd
|
||||
|
@ -1,28 +0,0 @@
|
||||
--- 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);
|
||||
|
@ -1,20 +0,0 @@
|
||||
--- src/search.c.orig Thu Dec 6 23:52:35 2001
|
||||
+++ src/search.c Fri Dec 7 00:05:49 2001
|
||||
@@ -13,6 +13,7 @@
|
||||
#include "dialog-filters.h"
|
||||
#include "routing.h"
|
||||
#include "autodownload.h"
|
||||
+#include "hosts.h"
|
||||
|
||||
#define MAKE_CODE(a,b,c,d) ( \
|
||||
((guint32) (a) << 24) | \
|
||||
@@ -1258,7 +1259,8 @@
|
||||
if (
|
||||
sch->items >= search_max_results ||
|
||||
search_result_is_dup(sch, rc) ||
|
||||
- !filter_record(sch, rc)
|
||||
+ !filter_record(sch, rc) ||
|
||||
+ !check_valid_host(rc->results_set->ip,6346)
|
||||
) {
|
||||
rs->records = g_slist_remove(rs->records, rc);
|
||||
rs->num_recs--;
|
Loading…
Reference in New Issue
Block a user