FreeBSD Bugzilla – Attachment 219666 Details for
Bug 250967
net/3proxy: update to 0.9.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
port patch new
3proxy-0.9.1.patch (text/plain), 11.17 KB, created by
Pavel Timofeev
on 2020-11-14 03:26:56 UTC
(
hide
)
Description:
port patch new
Filename:
MIME Type:
Creator:
Pavel Timofeev
Created:
2020-11-14 03:26:56 UTC
Size:
11.17 KB
patch
obsolete
>diff -ruN /root/3proxy.orig/Makefile 3proxy/Makefile >--- /root/3proxy.orig/Makefile 2020-11-13 20:19:14.370643000 -0700 >+++ 3proxy/Makefile 2020-11-13 20:20:39.179242000 -0700 >@@ -2,7 +2,7 @@ > # $FreeBSD: head/net/3proxy/Makefile 508346 2019-08-07 19:20:15Z kai $ > > PORTNAME= 3proxy >-PORTVERSION= 0.8.13 >+PORTVERSION= 0.9.1 > CATEGORIES= net > > MAINTAINER= timp87@gmail.com >@@ -15,7 +15,7 @@ > USE_GITHUB= yes > GH_ACCOUNT= z3APA3A > >-MAKEFILE= Makefile.unix >+MAKEFILE= Makefile.FreeBSD > > PLIST_SUB= PORTNAME=${PORTNAME} \ > 3PROXY_LOGDIR=${3PROXY_LOGDIR} >@@ -31,15 +31,15 @@ > @${REINPLACE_CMD} -e 's|%%3PROXY_LOGDIR%%|${3PROXY_LOGDIR}|' ${WRKSRC}/cfg/3proxy.cfg.sample > > post-build: >- ${MV} ${WRKSRC}/src/proxy ${WRKSRC}/src/httppr >+ ${MV} ${WRKSRC}/bin/proxy ${WRKSRC}/bin/httppr > ${MV} ${WRKSRC}/man/proxy.8 ${WRKSRC}/man/httppr.8 > > do-install: > @${MKDIR} ${STAGEDIR}/${3PROXY_LOGDIR} > @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/ >- cd ${WRKSRC}/src/ && ${INSTALL_PROGRAM} 3proxy dighosts ftppr icqpr mycrypt pop3p httppr smtpp socks tcppm udppm ${STAGEDIR}${PREFIX}/bin/ >+ cd ${WRKSRC}/bin/ && ${INSTALL_PROGRAM} 3proxy ftppr mycrypt pop3p httppr smtpp socks tcppm udppm ${STAGEDIR}${PREFIX}/bin/ > cd ${WRKSRC}/cfg/ && ${INSTALL_DATA} 3proxy.cfg.sample ${STAGEDIR}${PREFIX}/etc/ >- cd ${WRKSRC}/src/ && ${INSTALL_LIB} PCREPlugin.so StringsPlugin.so TrafficPlugin.so pamauth.so ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/ >+ cd ${WRKSRC}/bin/ && ${INSTALL_LIB} PCREPlugin.so StringsPlugin.so TrafficPlugin.so pamauth.so ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/ > cd ${WRKSRC}/man/ && ${INSTALL_MAN} 3proxy.cfg.3 ${STAGEDIR}${PREFIX}/man/man3/ > cd ${WRKSRC}/man/ && ${INSTALL_MAN} 3proxy.8 ftppr.8 pop3p.8 httppr.8 socks.8 tcppm.8 udppm.8 ${STAGEDIR}${PREFIX}/man/man8/ > >diff -ruN /root/3proxy.orig/distinfo 3proxy/distinfo >--- /root/3proxy.orig/distinfo 2020-11-13 20:19:14.371897000 -0700 >+++ 3proxy/distinfo 2020-11-13 20:21:41.034056000 -0700 >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1565155136 >-SHA256 (z3APA3A-3proxy-0.8.13_GH0.tar.gz) = a6d3cf9dd264315fa6ec848f6fe6c9057db005ce4ca8ed1deb00f6e1c3900f88 >-SIZE (z3APA3A-3proxy-0.8.13_GH0.tar.gz) = 529072 >+TIMESTAMP = 1605324101 >+SHA256 (z3APA3A-3proxy-0.9.1_GH0.tar.gz) = 5d118848768836bf91d42858300bf22e0bede3b0f99cf9b3c9a30f9a4e4303ee >+SIZE (z3APA3A-3proxy-0.9.1_GH0.tar.gz) = 605122 >diff -ruN /root/3proxy.orig/files/patch-Makefile.FreeBSD 3proxy/files/patch-Makefile.FreeBSD >--- /root/3proxy.orig/files/patch-Makefile.FreeBSD 1969-12-31 17:00:00.000000000 -0700 >+++ 3proxy/files/patch-Makefile.FreeBSD 2020-11-13 20:20:26.852751000 -0700 >@@ -0,0 +1,15 @@ >+--- Makefile.FreeBSD.orig 2020-10-28 21:12:45 UTC >++++ Makefile.FreeBSD >+@@ -10,10 +10,10 @@ >+ BUILDDIR = ../bin/ >+ CC ?= gcc >+ >+-CFLAGS = -c -O -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL >++CFLAGS = -c %%CFLAGS%% -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL >+ COUT = -o >+ LN ?= ${CC} >+-LDFLAGS = -pthread -O -fno-strict-aliasing >++LDFLAGS = -pthread >+ # -lpthreads may be reuqired on some platforms instead of -pthreads >+ # -ldl or -lld may be required for some platforms >+ DCFLAGS = -fPIC >diff -ruN /root/3proxy.orig/files/patch-Makefile.unix 3proxy/files/patch-Makefile.unix >--- /root/3proxy.orig/files/patch-Makefile.unix 2020-11-13 20:19:14.375024000 -0700 >+++ 3proxy/files/patch-Makefile.unix 1969-12-31 17:00:00.000000000 -0700 >@@ -1,26 +0,0 @@ >---- Makefile.unix.orig 2018-04-18 19:48:45 UTC >-+++ Makefile.unix >-@@ -8,18 +8,18 @@ >- # library support. Add -DSAFESQL for poorely written ODBC library / drivers. >- >- BUILDDIR = >--CC = gcc >-+CC ?= gcc >- >- # you may need -L/usr/pkg/lib for older NetBSD versions >--CFLAGS = -g -O2 -fno-strict-aliasing -c -pthread -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL >-+CFLAGS = -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL >- COUT = -o >--LN = gcc >--LDFLAGS = -O2 -fno-strict-aliasing -pthread >-+LN ?= ${CC} >-+LDFLAGS = -fno-strict-aliasing -pthread >- # -lpthreads may be reuqired on some platforms instead of -pthreads >- # -ldl or -lld may be required for some platforms >- DCFLAGS = -fpic >- DLFLAGS = -shared >--DLSUFFICS = .ld.so >-+DLSUFFICS = .so >- LIBS = >- LIBSPREFIX = -l >- LIBSSUFFIX = >diff -ruN /root/3proxy.orig/files/patch-cfg_3proxy.cfg.sample 3proxy/files/patch-cfg_3proxy.cfg.sample >--- /root/3proxy.orig/files/patch-cfg_3proxy.cfg.sample 2020-11-13 20:19:14.375987000 -0700 >+++ 3proxy/files/patch-cfg_3proxy.cfg.sample 2020-11-13 20:20:26.853405000 -0700 >@@ -1,6 +1,6 @@ >---- cfg/3proxy.cfg.sample.orig 2018-04-18 19:48:45 UTC >+--- cfg/3proxy.cfg.sample.orig 2020-10-22 08:38:44 UTC > +++ cfg/3proxy.cfg.sample >-@@ -30,15 +30,15 @@ users 3APA3A:CL:3apa3a "test:CR:$1$qwer$ >+@@ -30,15 +30,15 @@ users 3APA3A:CL:3apa3a "test:CR:$1$qwer$CHFTUFGqkjue9H > # this example shows you how to include passwd file. For included files > # <CR> and <LF> are treated as field separators. > >diff -ruN /root/3proxy.orig/files/patch-man 3proxy/files/patch-man >--- /root/3proxy.orig/files/patch-man 2020-11-13 20:19:14.376922000 -0700 >+++ 3proxy/files/patch-man 2020-11-13 20:20:26.853731000 -0700 >@@ -1,4 +1,4 @@ >---- man/3proxy.8.orig 2018-04-18 19:48:45 UTC >+--- man/3proxy.8.orig 2020-10-22 08:38:44 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, >@@ -9,7 +9,7 @@ > .BR socks (8) > .BR pop3p (8) > .BR tcppm (8) >-@@ -84,7 +84,7 @@ directory). Under Unix, if no config fil >+@@ -84,7 +84,7 @@ directory). Under Unix, if no config file is specified > configuration from stdin. It makes it possible to use 3proxy.cfg file as > executable script just by setting +x mode and adding > .br >@@ -18,7 +18,7 @@ > .br > as a first line in 3proxy.cfg > .TP >-@@ -133,14 +133,14 @@ Web admin service can also be used to re >+@@ -133,14 +133,14 @@ Web admin service can also be used to reload configura > wget to automate this task. > .SH FILES > .TP >@@ -34,11 +34,11 @@ > +3proxy.cfg(3), httppr(8), ftppr(8), socks(8), pop3p(8), tcppm(8), udppm(8), > kill(1), syslogd(8), > .br >- http://3proxy.ru/ >---- man/3proxy.cfg.3.orig 2018-04-18 19:48:45 UTC >+ https://3proxy.org/ >+--- man/3proxy.cfg.3.orig 2020-10-22 08:38:44 UTC > +++ man/3proxy.cfg.3 >-@@ -153,7 +153,7 @@ listen on given local HOST:port for inco >- connect to given remote HOST:port instead of listening local connection on -p or default port. Can be used with another 3proxy service running -R option for connect back functionality. Most commonly used with proxy or socks. HOST can be given as IP or hostname, useful in case of dynamic DNS. >+@@ -174,7 +174,7 @@ By default external address is reported. It's only use >+ of IP-IP NAT (will not work for PAT) > .br > Also, all options mentioned for > -.BR proxy (8) >@@ -46,38 +46,38 @@ > .BR socks (8) > .BR pop3p (8) > .BR tcppm (8) >-@@ -954,7 +954,7 @@ corruption and/or Content-Length chaging >+@@ -1055,7 +1055,7 @@ corruption and/or Content-Length chaging. Default is 1 > Report all bugs to > .BR 3proxy@3proxy.ru > .SH SEE ALSO > -3proxy(8), proxy(8), ftppr(8), socks(8), pop3p(8), tcppm(8), udppm(8), syslogd(8), > +3proxy(8), httppr(8), ftppr(8), socks(8), pop3p(8), tcppm(8), udppm(8), syslogd(8), > .br >- http://3proxy.ru/ >+ https://3proxy.org/ > .SH TRIVIA >---- man/ftppr.8.orig 2018-04-18 19:48:45 UTC >+--- man/ftppr.8.orig 2020-10-22 08:38:44 UTC > +++ man/ftppr.8 >-@@ -79,7 +79,7 @@ Only cleartext authentication is current >+@@ -79,7 +79,7 @@ Only cleartext authentication is currently supported. > Report all bugs to > .BR 3proxy@3proxy.ru > .SH SEE ALSO > -3proxy(8), proxy(8), pop3p(8), socks(8), tcppm(8), udppm(8), syslogd(8), > +3proxy(8), httppr(8), pop3p(8), socks(8), tcppm(8), udppm(8), syslogd(8), > .br >- http://3proxy.ru/ >+ https://3proxy.org/ > .SH AUTHORS >---- man/icqpr.8.orig 2018-04-18 19:48:45 UTC >+--- man/icqpr.8.orig 2020-10-22 08:38:44 UTC > +++ man/icqpr.8 >-@@ -72,7 +72,7 @@ as a destination in client application. >+@@ -72,7 +72,7 @@ as a destination in client application. Connection is > Report all bugs to > .BR 3proxy@3proxy.ru > .SH SEE ALSO > -3proxy(8), proxy(8), ftppr(8), socks(8), pop3p(8), udppm(8), syslogd(8), > +3proxy(8), httppr(8), ftppr(8), socks(8), pop3p(8), udppm(8), syslogd(8), > .br >- http://3proxy.ru/ >+ https://3proxy.org/ > .SH AUTHORS >---- man/pop3p.8.orig 2018-04-18 19:48:45 UTC >+--- man/pop3p.8.orig 2020-10-22 08:38:44 UTC > +++ man/pop3p.8 > @@ -75,7 +75,7 @@ we know which server to connect. > Report all bugs to >@@ -86,12 +86,12 @@ > -3proxy(8), ftppr(8), proxy(8), socks(8), tcppm(8), udppm(8), syslogd(8), > +3proxy(8), ftppr(8), httppr(8), socks(8), tcppm(8), udppm(8), syslogd(8), > .br >- http://3proxy.ru/ >+ https://3proxy.org/ > .SH AUTHORS >---- man/proxy.8.orig 2018-04-18 19:48:45 UTC >+--- man/proxy.8.orig 2020-10-22 08:38:44 UTC > +++ man/proxy.8 > @@ -1,15 +1,15 @@ >--.TH proxy "8" "January 2016" "3proxy 0.8" "Universal proxy server" >+-.TH proxy "8" "January 2019" "3proxy 0.9" "Universal proxy server" > +.TH httppr "8" "July 2009" "3proxy 0.7" "Universal proxy server" > .SH NAME > -.B proxy >@@ -110,7 +110,7 @@ > is HTTP gateway service with HTTPS and FTP over HTTPS support. > .SH OPTIONS > .TP >---- man/smtpp.8.orig 2018-04-18 19:48:45 UTC >+--- man/smtpp.8.orig 2020-10-22 08:38:44 UTC > +++ man/smtpp.8 > @@ -76,7 +76,7 @@ we know which server to connect. > Report all bugs to >@@ -119,38 +119,38 @@ > -3proxy(8), ftppr(8), proxy(8), socks(8), tcppm(8), udppm(8), syslogd(8), > +3proxy(8), ftppr(8), httppr(8), socks(8), tcppm(8), udppm(8), syslogd(8), > .br >- http://3proxy.ru/ >+ https://3proxy.org/ > .SH AUTHORS >---- man/socks.8.orig 2018-04-18 19:48:45 UTC >+--- man/socks.8.orig 2020-10-22 08:38:44 UTC > +++ man/socks.8 >-@@ -71,7 +71,7 @@ instead. >+@@ -76,7 +76,7 @@ instead. > Report all bugs to > .BR 3proxy@3proxy.ru > .SH SEE ALSO > -3proxy(8), proxy(8), ftppr(8), pop3p(8), tcppm(8), udppm(8), syslogd(8), > +3proxy(8), httppr(8), ftppr(8), pop3p(8), tcppm(8), udppm(8), syslogd(8), > .br >- http://3proxy.ru/ >+ https://3proxy.org/ > .SH AUTHORS >---- man/tcppm.8.orig 2018-04-18 19:48:45 UTC >+--- man/tcppm.8.orig 2020-10-22 08:38:44 UTC > +++ man/tcppm.8 >-@@ -65,7 +65,7 @@ as a destination in client application. >+@@ -65,7 +65,7 @@ as a destination in client application. Connection is > Report all bugs to > .BR 3proxy@3proxy.ru > .SH SEE ALSO > -3proxy(8), proxy(8), ftppr(8), socks(8), pop3p(8), udppm(8), syslogd(8), > +3proxy(8), httppr(8), ftppr(8), socks(8), pop3p(8), udppm(8), syslogd(8), > .br >- http://3proxy.ru/ >+ https://3proxy.org/ > .SH AUTHORS >---- man/udppm.8.orig 2018-04-18 19:48:45 UTC >+--- man/udppm.8.orig 2020-10-22 08:38:44 UTC > +++ man/udppm.8 >-@@ -71,7 +71,7 @@ as a destination in client application. >+@@ -71,7 +71,7 @@ as a destination in client application. All datagrams > Report all bugs to > .BR 3proxy@3proxy.ru > .SH SEE ALSO > -3proxy(8), proxy(8), ftppr(8), socks(8), pop3p(8), udppm(8), syslogd(8), > +3proxy(8), httppr(8), ftppr(8), socks(8), pop3p(8), udppm(8), syslogd(8), > .br >- http://3proxy.ru/ >+ https://3proxy.org/ > .SH AUTHORS >diff -ruN /root/3proxy.orig/pkg-plist 3proxy/pkg-plist >--- /root/3proxy.orig/pkg-plist 2020-11-13 20:19:14.378644000 -0700 >+++ 3proxy/pkg-plist 2020-11-13 20:20:26.853946000 -0700 >@@ -1,8 +1,6 @@ > bin/3proxy >-bin/dighosts > bin/ftppr > bin/httppr >-bin/icqpr > bin/mycrypt > bin/pop3p > bin/smtpp
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
Flags:
timp87
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 250967
:
219473
| 219666