mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Upgrade to version 3.3
This commit is contained in:
parent
3382222fd5
commit
725829d7b0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42848
@ -6,7 +6,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= httptunnel
|
PORTNAME= httptunnel
|
||||||
PORTVERSION= 3.2
|
PORTVERSION= 3.3
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
MASTER_SITES= http://www.Awfulhak.org/httptunnel/ \
|
MASTER_SITES= http://www.Awfulhak.org/httptunnel/ \
|
||||||
ftp://ftp.nocrew.org/pub/nocrew/unix/ \
|
ftp://ftp.nocrew.org/pub/nocrew/unix/ \
|
||||||
|
@ -1 +1 @@
|
|||||||
MD5 (httptunnel-3.2.tar.gz) = 6cc45913ed81f3f45108b0773ef1e8af
|
MD5 (httptunnel-3.3.tar.gz) = 493cc0f5f21e9955db27ee9cd9a976d5
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
--- htc.c.orig Thu Aug 31 22:10:13 2000
|
|
||||||
+++ htc.c Thu Aug 31 22:10:29 2000
|
|
||||||
@@ -539,7 +539,7 @@
|
|
||||||
arg.host_name, arg.host_port,
|
|
||||||
arg.proxy_name, arg.proxy_port);
|
|
||||||
else
|
|
||||||
- log_notice ("connected to %s%d", arg.host_name, arg.host_port);
|
|
||||||
+ log_notice ("connected to %s:%d", arg.host_name, arg.host_port);
|
|
||||||
|
|
||||||
closed = FALSE;
|
|
||||||
time (&last_tunnel_write);
|
|
@ -1,32 +0,0 @@
|
|||||||
--- tunnel.c.orig Thu Aug 31 22:22:58 2000
|
|
||||||
+++ tunnel.c Thu Aug 31 22:24:27 2000
|
|
||||||
@@ -358,10 +358,10 @@
|
|
||||||
if (tunnel->out_fd == -1)
|
|
||||||
{
|
|
||||||
log_error ("tunnel_out_connect: do_connect (%d.%d.%d.%d:%u) error: %s",
|
|
||||||
- tunnel->address.sin_addr.s_addr >> 24,
|
|
||||||
- (tunnel->address.sin_addr.s_addr >> 16) & 0xff,
|
|
||||||
- (tunnel->address.sin_addr.s_addr >> 8) & 0xff,
|
|
||||||
- tunnel->address.sin_addr.s_addr & 0xff,
|
|
||||||
+ ntohl(tunnel->address.sin_addr.s_addr) >> 24,
|
|
||||||
+ (ntohl(tunnel->address.sin_addr.s_addr) >> 16) & 0xff,
|
|
||||||
+ (ntohl(tunnel->address.sin_addr.s_addr) >> 8) & 0xff,
|
|
||||||
+ ntohl(tunnel->address.sin_addr.s_addr) & 0xff,
|
|
||||||
ntohs (tunnel->address.sin_port),
|
|
||||||
strerror (errno));
|
|
||||||
return -1;
|
|
||||||
@@ -1120,10 +1120,10 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
log_notice ("connection from %d.%d.%d.%d:%u",
|
|
||||||
- addr.sin_addr.s_addr >> 24,
|
|
||||||
- (addr.sin_addr.s_addr >> 16) & 0xff,
|
|
||||||
- (addr.sin_addr.s_addr >> 8) & 0xff,
|
|
||||||
- addr.sin_addr.s_addr & 0xff,
|
|
||||||
+ ntohl(addr.sin_addr.s_addr) >> 24,
|
|
||||||
+ (ntohl(addr.sin_addr.s_addr) >> 16) & 0xff,
|
|
||||||
+ (ntohl(addr.sin_addr.s_addr) >> 8) & 0xff,
|
|
||||||
+ ntohl(addr.sin_addr.s_addr) & 0xff,
|
|
||||||
ntohs (addr.sin_port));
|
|
||||||
|
|
||||||
m = http_parse_request (s, &request);
|
|
@ -1,17 +0,0 @@
|
|||||||
--- common.c.orig Thu Aug 31 22:24:49 2000
|
|
||||||
+++ common.c Thu Aug 31 22:26:01 2000
|
|
||||||
@@ -179,10 +179,10 @@
|
|
||||||
memcpy(&address->sin_addr.s_addr, ent->h_addr, (unsigned)ent->h_length);
|
|
||||||
ip = ntohl (address->sin_addr.s_addr);
|
|
||||||
log_annoying ("set_address: host = %d.%d.%d.%d",
|
|
||||||
- ip >> 24,
|
|
||||||
- (ip >> 16) & 0xff,
|
|
||||||
- (ip >> 8) & 0xff,
|
|
||||||
- ip & 0xff);
|
|
||||||
+ ntohl(ip) >> 24,
|
|
||||||
+ (ntohl(ip) >> 16) & 0xff,
|
|
||||||
+ (ntohl(ip) >> 8) & 0xff,
|
|
||||||
+ ntohl(ip) & 0xff);
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
Loading…
Reference in New Issue
Block a user