1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

net/3proxy: Update to 0.7.1.3, Assign MAINTAINER

* Update to 0.7.13
 * Add DISTVERSIONPREFIX (upstream changed)
 * Assign MAINTAINER'ship
 * Remove src_proxy.c patch (upstreamed)

Changes:

  https://github.com/z3APA3A/3proxy/releases/tag/3proxy-0.7.1.3

PR:		203764
Submitted by:	Tim <timp87 gmail.com>
This commit is contained in:
Kubilay Kocak 2015-10-14 12:55:09 +00:00
parent 6f4c8b9922
commit 6bc0019a62
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399259
3 changed files with 5 additions and 26 deletions

View File

@ -2,12 +2,11 @@
# $FreeBSD$
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

View File

@ -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

View File

@ -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[] = {
"<body><h2>503 Service Unavailable</h2><h3>Your request violates configured policy</h3></body></html>\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;