diff -ruN /home/timp/3proxy.orig/Makefile ./3proxy/Makefile --- /home/timp/3proxy.orig/Makefile 2015-09-22 15:11:11.814307000 +0300 +++ ./3proxy/Makefile 2015-10-14 13:51:26.239678000 +0300 @@ -2,12 +2,11 @@ # $FreeBSD: head/net/3proxy/Makefile 396274 2015-09-07 14:07:50Z pi $ PORTNAME= 3proxy -PORTVERSION= 0.7.1.2 -DISTVERSIONPREFIX= v -PORTREVISION= 2 +PORTVERSION= 0.7.1.3 +DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= net -MAINTAINER= ports@FreeBSD.org +MAINTAINER= timp87@gmail.com COMMENT= Proxy servers set (support HTTP(S), FTP, SOCKS, POP3, TCP & UDP) LICENSE= APACHE20 BSD2CLAUSE GPLv2 GPLv3 LGPL21 LGPL3 diff -ruN /home/timp/3proxy.orig/distinfo ./3proxy/distinfo --- /home/timp/3proxy.orig/distinfo 2015-09-22 15:11:11.814368000 +0300 +++ ./3proxy/distinfo 2015-10-14 13:50:57.225780000 +0300 @@ -1,2 +1,2 @@ -SHA256 (z3APA3A-3proxy-v0.7.1.2_GH0.tar.gz) = 85c5cadad1878855c382622787f787d5c2c30bdea0a240f7d35cfd8abe30b746 -SIZE (z3APA3A-3proxy-v0.7.1.2_GH0.tar.gz) = 468593 +SHA256 (z3APA3A-3proxy-3proxy-0.7.1.3_GH0.tar.gz) = 4d1f3cf539c8a32f5845b54e8a3fdbabef6fe8a6bbb06dfc80f7361804f6cb60 +SIZE (z3APA3A-3proxy-3proxy-0.7.1.3_GH0.tar.gz) = 468638 diff -ruN /home/timp/3proxy.orig/files/patch-src_proxy.c ./3proxy/files/patch-src_proxy.c --- /home/timp/3proxy.orig/files/patch-src_proxy.c 2015-09-22 15:11:11.814781000 +0300 +++ ./3proxy/files/patch-src_proxy.c 1970-01-01 03:00:00.000000000 +0300 @@ -1,20 +0,0 @@ ---- src/proxy.c.orig 2015-09-01 18:49:36 UTC -+++ src/proxy.c -@@ -119,7 +119,7 @@ char * proxy_stringtable[] = { - "

503 Service Unavailable

Your request violates configured policy

\r\n", - - /* 16*/ "HTTP/1.0 401 Authentication Required\r\n" -- "Proxy-Authenticate: basic realm=\"FTP Server\"\r\n" -+ "WWW-Authenticate: basic realm=\"FTP Server\"\r\n" - "Proxy-Connection: close\r\n" - "Content-type: text/html; charset=us-ascii\r\n" - "\r\n" -@@ -464,7 +464,7 @@ for(;;){ - } - if(se)*se = '\r'; - } -- if(ftp && i > 19 && (!strncasecmp((char *)(buf+inbuf), "authorization", 19))){ -+ if(ftp && i > 13 && (!strncasecmp((char *)(buf+inbuf), "authorization", 13))){ - sb = (unsigned char *)strchr((char *)(buf+inbuf), ':'); - if(!sb)continue; - ++sb;