FreeBSD Bugzilla – Attachment 160619 Details for
Bug 202825
net/3proxy add patch from upstream
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
port patch
3proxy.patch (text/plain), 8.85 KB, created by
Pavel Timofeev
on 2015-09-02 07:55:27 UTC
(
hide
)
Description:
port patch
Filename:
MIME Type:
Creator:
Pavel Timofeev
Created:
2015-09-02 07:55:27 UTC
Size:
8.85 KB
patch
obsolete
>diff -ruN /home/timp/3proxy.orig/Makefile 3proxy/Makefile >--- /home/timp/3proxy.orig/Makefile 2015-09-01 21:44:33.478269476 +0300 >+++ 3proxy/Makefile 2015-09-01 22:00:59.653201299 +0300 >@@ -3,8 +3,8 @@ > > PORTNAME= 3proxy > PORTVERSION= 0.7.1.2 >-PORTREVISION= 1 > DISTVERSIONPREFIX= v >+PORTREVISION= 2 > CATEGORIES= net > > MAINTAINER= ports@FreeBSD.org >@@ -29,7 +29,7 @@ > post-build: > ${MV} ${WRKSRC}/src/proxy ${WRKSRC}/src/httppr > ${MV} ${WRKSRC}/man/proxy.8 ${WRKSRC}/man/httppr.8 >- >+ > do-install: > ${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/ ${STAGEDIR}${DOCSDIR}/ > cd ${WRKSRC}/src/ && ${INSTALL_PROGRAM} 3proxy countersutil dighosts ftppr icqpr msnpr mycrypt pop3p httppr smtpp socks tcppm udppm ${STAGEDIR}${PREFIX}/bin/ >diff -ruN /home/timp/3proxy.orig/files/patch-Makefile.unix 3proxy/files/patch-Makefile.unix >--- /home/timp/3proxy.orig/files/patch-Makefile.unix 2015-09-01 21:44:33.478269476 +0300 >+++ 3proxy/files/patch-Makefile.unix 2015-09-01 21:56:35.509219289 +0300 >@@ -1,5 +1,5 @@ >---- Makefile.unix.orig 2007-04-10 20:29:25.000000000 +0400 >-+++ Makefile.unix 2009-03-23 13:53:24.000000000 +0300 >+--- Makefile.unix.orig 2015-02-17 13:09:13 UTC >++++ Makefile.unix > @@ -9,18 +9,18 @@ > # library support. Add -DSAFESQL for poorely written ODBC library / drivers. > >diff -ruN /home/timp/3proxy.orig/files/patch-cfg-3proxy.cfg.sample 3proxy/files/patch-cfg-3proxy.cfg.sample >--- /home/timp/3proxy.orig/files/patch-cfg-3proxy.cfg.sample 2015-09-01 21:44:33.478269476 +0300 >+++ 3proxy/files/patch-cfg-3proxy.cfg.sample 2015-09-01 21:51:59.479238723 +0300 >@@ -1,6 +1,6 @@ >---- cfg/3proxy.cfg.sample.orig Mon May 30 11:16:19 2005 >-+++ cfg/3proxy.cfg.sample Mon May 30 11:17:18 2005 >-@@ -30,15 +30,15 @@ >+--- cfg/3proxy.cfg.sample.orig 2015-02-17 13:09:13 UTC >++++ cfg/3proxy.cfg.sample >+@@ -30,15 +30,15 @@ users 3APA3A:CL:3apa3a "test:CR:$1$qwer$ > # this example shows you how to include passwd file. For included files > # <CR> and <LF> are treated as field separators. > >diff -ruN /home/timp/3proxy.orig/files/patch-man 3proxy/files/patch-man >--- /home/timp/3proxy.orig/files/patch-man 2015-09-01 21:44:33.478269476 +0300 >+++ 3proxy/files/patch-man 2015-09-02 10:35:24.186081285 +0300 >@@ -1,7 +1,6 @@ >-diff -urN man/3proxy.8 man-httppr/3proxy.8 >---- man/3proxy.8 2015-02-17 16:09:13.000000000 +0300 >-+++ man-httppr/3proxy.8 2015-06-14 15:13:08.000000000 +0300 >-@@ -26,7 +26,7 @@ >+--- man/3proxy.8.orig 2015-02-17 13:09:13 UTC >++++ man/3proxy.8 >+@@ -26,7 +26,7 @@ It can establish multiple > gateways with HTTP and HTTPS proxy with FTP over HTTP support, SOCKS v4, > v4.5 and v5, POP3 proxy, UDP and TCP portmappers. Each gateway is started > from configuration file like independant service >@@ -10,7 +9,7 @@ > .BR socks (8) > .BR pop3p (8) > .BR tcppm (8) >-@@ -84,7 +84,7 @@ >+@@ -84,7 +84,7 @@ directory). Under Unix, if no config fil > configuration from stdin. It makes it possible to use 3proxy.cfg file as > executable script just by setting +x mode and adding > .br >@@ -19,7 +18,7 @@ > .br > as a first line in 3proxy.cfg > .TP >-@@ -133,14 +133,14 @@ >+@@ -133,14 +133,14 @@ Web admin service can also be used to re > wget to automate this task. > .SH FILES > .TP >@@ -37,7 +36,7 @@ > kill(1), syslogd(8), > .br > http://3proxy.ru/ >-@@ -148,6 +148,6 @@ >+@@ -148,6 +148,6 @@ http://3proxy.ru/ > 3APA3A is pronounced as \`\`zaraza\'\'. > .SH AUTHORS > 3proxy is designed by 3APA3A >@@ -46,10 +45,9 @@ > Vladimir Dubrovin > -.RI ( vlad@sandy.ru ) > +.RI ( vlad@securityvulns.ru ) >-diff -urN man/3proxy.cfg.3 man-httppr/3proxy.cfg.3 >---- man/3proxy.cfg.3 2015-02-17 16:09:13.000000000 +0300 >-+++ man-httppr/3proxy.cfg.3 2015-06-14 15:15:00.000000000 +0300 >-@@ -114,7 +114,7 @@ >+--- man/3proxy.cfg.3.orig 2015-02-17 13:09:13 UTC >++++ man/3proxy.cfg.3 >+@@ -114,7 +114,7 @@ view without ability to reset). > (for proxy) - anonymous proxy (random client information reported) > .br > Also, all options mentioned for >@@ -58,7 +56,7 @@ > .BR socks (8) > .BR pop3p (8) > .BR tcppm (8) >-@@ -884,13 +884,13 @@ >+@@ -884,13 +884,13 @@ corruption and/or Content-Length chaging > > > .SH SEE ALSO >@@ -75,10 +73,9 @@ > Vladimir Dubrovin > -.RI ( vlad@sandy.ru ) > +.RI ( vlad@securityvulns.ru ) >-diff -urN man/ftppr.8 man-httppr/ftppr.8 >---- man/ftppr.8 2015-02-17 16:09:13.000000000 +0300 >-+++ man-httppr/ftppr.8 2015-06-14 15:20:21.000000000 +0300 >-@@ -75,11 +75,11 @@ >+--- man/ftppr.8.orig 2015-02-17 13:09:13 UTC >++++ man/ftppr.8 >+@@ -75,11 +75,11 @@ Only cleartext authentication is current > Report all bugs to > .BR 3proxy@security.nnov.ru > .SH SEE ALSO >@@ -93,10 +90,9 @@ > Vladimir Dubrovin > -.RI ( vlad@sandy.ru ) > +.RI ( vlad@securityvulns.ru ) >-diff -urN man/icqpr.8 man-httppr/icqpr.8 >---- man/icqpr.8 2015-02-17 16:09:13.000000000 +0300 >-+++ man-httppr/icqpr.8 2015-06-14 15:20:25.000000000 +0300 >-@@ -68,11 +68,11 @@ >+--- man/icqpr.8.orig 2015-02-17 13:09:13 UTC >++++ man/icqpr.8 >+@@ -68,11 +68,11 @@ as a destination in client application. > Report all bugs to > .BR 3proxy@security.nnov.ru > .SH SEE ALSO >@@ -111,10 +107,9 @@ > Vladimir Dubrovin > -.RI ( vlad@sandy.ru ) > +.RI ( vlad@securityvulns.ru ) >-diff -urN man/pop3p.8 man-httppr/pop3p.8 >---- man/pop3p.8 2015-02-17 16:09:13.000000000 +0300 >-+++ man-httppr/pop3p.8 2015-06-14 15:20:29.000000000 +0300 >-@@ -71,11 +71,11 @@ >+--- man/pop3p.8.orig 2015-02-17 13:09:13 UTC >++++ man/pop3p.8 >+@@ -71,11 +71,11 @@ we know which server to connect. > Report all bugs to > .BR 3proxy@security.nnov.ru > .SH SEE ALSO >@@ -129,9 +124,8 @@ > Vladimir Dubrovin > -.RI ( vlad@sandy.ru ) > +.RI ( vlad@securityvulns.ru ) >-diff -urN man/proxy.8 man-httppr/proxy.8 >---- man/proxy.8 2015-02-17 16:09:13.000000000 +0300 >-+++ man-httppr/proxy.8 2015-06-14 15:17:24.000000000 +0300 >+--- man/proxy.8.orig 2015-02-17 13:09:13 UTC >++++ man/proxy.8 > @@ -1,15 +1,15 @@ > -.TH proxy "8" "July 2009" "3proxy 0.7" "Universal proxy server" > +.TH httppr "8" "July 2009" "3proxy 0.7" "Universal proxy server" >@@ -152,7 +146,7 @@ > is HTTP gateway service with HTTPS and FTP over HTTPS support. > .SH OPTIONS > .TP >-@@ -71,6 +71,6 @@ >+@@ -71,6 +71,6 @@ Report all bugs to > http://3proxy.ru/ > .SH AUTHORS > 3proxy is designed by 3APA3A >@@ -161,10 +155,9 @@ > Vladimir Dubrovin > -.RI ( vlad@sandy.ru ) > +.RI ( vlad@securityvulns.ru ) >-diff -urN man/smtpp.8 man-httppr/smtpp.8 >---- man/smtpp.8 2015-02-17 16:09:13.000000000 +0300 >-+++ man-httppr/smtpp.8 2015-06-14 15:20:33.000000000 +0300 >-@@ -72,11 +72,11 @@ >+--- man/smtpp.8.orig 2015-02-17 13:09:13 UTC >++++ man/smtpp.8 >+@@ -72,11 +72,11 @@ we know which server to connect. > Report all bugs to > .BR 3proxy@security.nnov.ru > .SH SEE ALSO >@@ -179,10 +172,9 @@ > Vladimir Dubrovin > -.RI ( vlad@sandy.ru ) > +.RI ( vlad@securityvulns.ru ) >-diff -urN man/socks.8 man-httppr/socks.8 >---- man/socks.8 2015-02-17 16:09:13.000000000 +0300 >-+++ man-httppr/socks.8 2015-06-14 15:20:38.000000000 +0300 >-@@ -67,11 +67,11 @@ >+--- man/socks.8.orig 2015-02-17 13:09:13 UTC >++++ man/socks.8 >+@@ -67,11 +67,11 @@ instead. > Report all bugs to > .BR 3proxy@security.nnov.ru > .SH SEE ALSO >@@ -197,10 +189,9 @@ > Vladimir Dubrovin > -.RI ( vlad@sandy.ru ) > +.RI ( vlad@securityvulns.ru ) >-diff -urN man/tcppm.8 man-httppr/tcppm.8 >---- man/tcppm.8 2015-02-17 16:09:13.000000000 +0300 >-+++ man-httppr/tcppm.8 2015-06-14 15:20:47.000000000 +0300 >-@@ -61,11 +61,11 @@ >+--- man/tcppm.8.orig 2015-02-17 13:09:13 UTC >++++ man/tcppm.8 >+@@ -61,11 +61,11 @@ as a destination in client application. > Report all bugs to > .BR 3proxy@security.nnov.ru > .SH SEE ALSO >@@ -215,10 +206,9 @@ > Vladimir Dubrovin > -.RI ( vlad@sandy.ru ) > +.RI ( vlad@securityvulns.ru ) >-diff -urN man/udppm.8 man-httppr/udppm.8 >---- man/udppm.8 2015-02-17 16:09:13.000000000 +0300 >-+++ man-httppr/udppm.8 2015-06-14 15:20:57.000000000 +0300 >-@@ -67,11 +67,11 @@ >+--- man/udppm.8.orig 2015-02-17 13:09:13 UTC >++++ man/udppm.8 >+@@ -67,11 +67,11 @@ as a destination in client application. > Report all bugs to > .BR 3proxy@security.nnov.ru > .SH SEE ALSO >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 1970-01-01 03:00:00.000000000 +0300 >+++ 3proxy/files/patch-src_proxy.c 2015-09-01 21:51:59.553239209 +0300 >@@ -0,0 +1,20 @@ >+--- 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;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 202825
: 160619 |
160620