View | Details | Raw Unified | Return to bug 203764 | Differences between
and this patch

Collapse All | Expand All

(-)3proxy/Makefile (-3 / +2 lines)
Lines 2-10 Link Here
2
# $FreeBSD: head/net/3proxy/Makefile 396274 2015-09-07 14:07:50Z pi $
2
# $FreeBSD: head/net/3proxy/Makefile 396274 2015-09-07 14:07:50Z pi $
3
3
4
PORTNAME=	3proxy
4
PORTNAME=	3proxy
5
PORTVERSION=	0.7.1.2
5
PORTVERSION=	0.7.1.3
6
DISTVERSIONPREFIX=	v
6
DISTVERSIONPREFIX=	${PORTNAME}-
7
PORTREVISION=	2
8
CATEGORIES=	net
7
CATEGORIES=	net
9
8
10
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
(-)3proxy/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (z3APA3A-3proxy-v0.7.1.2_GH0.tar.gz) = 85c5cadad1878855c382622787f787d5c2c30bdea0a240f7d35cfd8abe30b746
1
SHA256 (z3APA3A-3proxy-3proxy-0.7.1.3_GH0.tar.gz) = 4d1f3cf539c8a32f5845b54e8a3fdbabef6fe8a6bbb06dfc80f7361804f6cb60
2
SIZE (z3APA3A-3proxy-v0.7.1.2_GH0.tar.gz) = 468593
2
SIZE (z3APA3A-3proxy-3proxy-0.7.1.3_GH0.tar.gz) = 468638
(-)3proxy/files/patch-src_proxy.c (-20 lines)
Lines 1-20 Link Here
1
--- src/proxy.c.orig	2015-09-01 18:49:36 UTC
2
+++ src/proxy.c
3
@@ -119,7 +119,7 @@ char * proxy_stringtable[] = {
4
 	"<body><h2>503 Service Unavailable</h2><h3>Your request violates configured policy</h3></body></html>\r\n",
5
 
6
 /* 16*/	"HTTP/1.0 401 Authentication Required\r\n"
7
-	"Proxy-Authenticate: basic realm=\"FTP Server\"\r\n"
8
+	"WWW-Authenticate: basic realm=\"FTP Server\"\r\n"
9
 	"Proxy-Connection: close\r\n"
10
 	"Content-type: text/html; charset=us-ascii\r\n"
11
 	"\r\n"
12
@@ -464,7 +464,7 @@ for(;;){
13
 		}
14
 		if(se)*se = '\r';
15
 	}
16
-	if(ftp && i > 19 && (!strncasecmp((char *)(buf+inbuf), "authorization", 19))){
17
+	if(ftp && i > 13 && (!strncasecmp((char *)(buf+inbuf), "authorization", 13))){
18
 		sb = (unsigned char *)strchr((char *)(buf+inbuf), ':');
19
 		if(!sb)continue;
20
 		++sb;

Return to bug 203764