mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Update to latest stable release 0.4.3b.
Make some improvments, SIZEfy. Approved by: maintainer (connect to relay.nnn.tstu.ru[62.76.180.20]: Operation timed out)
This commit is contained in:
parent
e3acbf6ffb
commit
68fa1a9eb9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=101521
4 changed files with 26 additions and 29 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= 3proxy
|
||||
PORTVERSION= 0.4.1b
|
||||
PORTVERSION= 0.4.3b
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.security.nnov.ru/soft/3proxy/${PORTVERSION}/
|
||||
DISTNAME= ${PORTNAME}
|
||||
|
@ -16,13 +16,14 @@ MAINTAINER= tim@relay.nnn.tstu.ru
|
|||
COMMENT= Proxy servers set (support HTTP(S), FTP, SOCKS, POP3, TCP & UDP)
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
||||
USE_REINPLACE= yes
|
||||
MAKEFILE= Makefile.unix
|
||||
MAKE_ENV= CC="${CC}" \
|
||||
PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
||||
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
|
||||
|
||||
pre-build:
|
||||
if [ ! -f ${WRKSRC}/Makefile ]; then \
|
||||
${CP} ${WRKSRC}/Makefile.unix ${WRKSRC}/Makefile; \
|
||||
fi
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e "s|%%CFLAGS%%|${CFLAGS}|" \
|
||||
${WRKDIR}/Makefile.unix
|
||||
|
||||
do-install:
|
||||
.for i in 3proxy dighosts mycrypt pop3p proxy socks tcppm udppm
|
||||
|
@ -37,7 +38,7 @@ post-install:
|
|||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
.for i in License Readme Release.notes
|
||||
${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
MD5 (3proxy.tgz) = 61c0b9d6fc80c55cb2b2eca8d4b2056c
|
||||
MD5 (3proxy.tgz) = 5588c1883eedd0d81254719baa53cdac
|
||||
SIZE (3proxy.tgz) = 54301
|
||||
|
|
|
@ -1,17 +1,18 @@
|
|||
--- Makefile.unix.orig Mon Jul 28 13:06:40 2003
|
||||
+++ Makefile.unix Mon Jul 28 13:24:40 2003
|
||||
--- Makefile.unix.orig Thu Oct 16 17:12:38 2003
|
||||
+++ Makefile.unix Fri Feb 13 18:16:29 2004
|
||||
@@ -3,11 +3,11 @@
|
||||
# 3 proxy Makefile for GCC/Unix/Linux/Cygwin
|
||||
#
|
||||
|
||||
-CC = gcc
|
||||
-CFLAGS = -Wall -O2 -s -c -pthread -DNOODBC
|
||||
-CFLAGS = -Wall -O2 -c -pthread -DNOODBC
|
||||
+CC ?= gcc
|
||||
+CFLAGS += -Wall -O2 -s -c ${PTHREAD_CFLAGS} -DNOODBC
|
||||
+CFLAGS = -Wall -c -DNOODBC %%CFLAGS%% ${PTHREAD_CFLAGS}
|
||||
COUT = -o
|
||||
LN = gcc
|
||||
-LDFLAGS = -Wall -O2 -s -pthread
|
||||
+LDFLAGS += -Wall -O2 -s ${PTHREAD_LIBS}
|
||||
-LN = gcc
|
||||
-LDFLAGS = -Wall -O2 -pthread
|
||||
+LN ?= ${CC}
|
||||
+LDFLAGS = -Wall ${PTHREAD_LIBS}
|
||||
LIBS =
|
||||
LNOUT = -o
|
||||
EXESUFFICS =
|
||||
|
|
|
@ -1,12 +1,15 @@
|
|||
--- 3proxy.cfg.sample.orig Wed Oct 8 19:35:48 2003
|
||||
+++ 3proxy.cfg.sample Wed Oct 8 20:56:52 2003
|
||||
@@ -332,12 +332,12 @@
|
||||
--- 3proxy.cfg.sample.orig Fri Feb 13 18:09:36 2004
|
||||
+++ 3proxy.cfg.sample Fri Feb 13 18:11:20 2004
|
||||
@@ -341,14 +341,14 @@
|
||||
# this example shows you how to include passwd file. For included files
|
||||
# <CR> and <LF> are treated as field separators.
|
||||
|
||||
-service
|
||||
+#service
|
||||
# service is required under NT if you want 3proxy to start as service
|
||||
-#daemon
|
||||
+daemon
|
||||
# now we will not depend on any console (daemonize).
|
||||
|
||||
|
||||
#log /usr/local/etc/3proxy/logs/3proxy.log D
|
||||
|
@ -15,12 +18,3 @@
|
|||
# log allows to specify log file location and rotation, D means logfile
|
||||
# is created daily
|
||||
|
||||
@@ -455,7 +455,7 @@
|
||||
#setuid 65535
|
||||
# now we needn't any root rights. We can chroot and setgid/setuid.
|
||||
|
||||
-#daemon
|
||||
+daemon
|
||||
# now we will not depend on any console (daemonize).
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue