aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2007-04-13 22:14:05 +0800
committerosa <osa@FreeBSD.org>2007-04-13 22:14:05 +0800
commit50c359c5d3fad0a231b45a32212fcfae6f567933 (patch)
tree7978e98dc0192467dcfe9b59ffa29875f8f0988f /net
parent33d4c354f21520a6ffb6dbdf8663e605561b552f (diff)
downloadfreebsd-ports-graphics-50c359c5d3fad0a231b45a32212fcfae6f567933.tar.gz
freebsd-ports-graphics-50c359c5d3fad0a231b45a32212fcfae6f567933.tar.zst
freebsd-ports-graphics-50c359c5d3fad0a231b45a32212fcfae6f567933.zip
Fix potential remote pre-authentication buffer
overflow in HTTP proxy service by update to latest bugfix release 0.5.3h. Also, update port infrastructure. [*] Add backup for MASTER_SITES. Submitted by: portlint -a [*]
Diffstat (limited to 'net')
-rw-r--r--net/3proxy/Makefile13
-rw-r--r--net/3proxy/distinfo6
-rw-r--r--net/3proxy/pkg-plist1
3 files changed, 7 insertions, 13 deletions
diff --git a/net/3proxy/Makefile b/net/3proxy/Makefile
index 3173bb7cea6..77fd9f5a423 100644
--- a/net/3proxy/Makefile
+++ b/net/3proxy/Makefile
@@ -6,17 +6,17 @@
#
PORTNAME= 3proxy
-PORTVERSION= 0.5.2
+PORTVERSION= 0.5.3h
CATEGORIES= net
-MASTER_SITES= http://www.security.nnov.ru/soft/3proxy/${PORTVERSION}/
-DISTNAME= ${PORTNAME}
+MASTER_SITES= http://3proxy.ru/${PORTVERSION}/ \
+ http://security.nnov.ru/soft/3proxy/${PORTVERSION}/
EXTRACT_SUFX= .tgz
MAINTAINER= osa@FreeBSD.org
COMMENT= Proxy servers set (support HTTP(S), FTP, SOCKS, POP3, TCP & UDP)
NO_WRKSUBDIR= yes
-USE_RC_SUBR= yes
+USE_RC_SUBR= 3proxy.sh
MAKEFILE= Makefile.unix
MAKE_ENV= CC="${CC}" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
@@ -27,10 +27,6 @@ MAN8= 3proxy.8 ftppr.8 pop3p.8 proxy.8 socks.8 tcppm.8 udppm.8
RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
-post-extract:
- @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
- ${FILESDIR}/3proxy.sh.in > ${WRKSRC}/3proxy.sh
-
post-patch:
${REINPLACE_CMD} -e "s|%%CFLAGS%%|${CFLAGS}|" \
${WRKDIR}/Makefile.unix
@@ -40,7 +36,6 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${i} ${PREFIX}/bin/
.endfor
${INSTALL_DATA} ${WRKSRC}/cfg/3proxy.cfg.sample ${PREFIX}/etc
- ${INSTALL_SCRIPT} ${WRKSRC}/3proxy.sh ${PREFIX}/etc/rc.d/
${INSTALL_MAN} ${WRKSRC}/man/${MAN3} ${PREFIX}/man/man3
.for i in ${MAN8}
${INSTALL_MAN} ${WRKSRC}/man/${i} ${PREFIX}/man/man8
diff --git a/net/3proxy/distinfo b/net/3proxy/distinfo
index 1dbd0e3e261..4742c56316d 100644
--- a/net/3proxy/distinfo
+++ b/net/3proxy/distinfo
@@ -1,3 +1,3 @@
-MD5 (3proxy.tgz) = 2aedce05bb6059b3447088473fe76798
-SHA256 (3proxy.tgz) = 71a638eec594490aaed7ab73c96bc902321482058024a7138ad000b65fc6d6db
-SIZE (3proxy.tgz) = 189404
+MD5 (3proxy-0.5.3h.tgz) = fe437256188e840bd16fbb6ad0156699
+SHA256 (3proxy-0.5.3h.tgz) = 1e0b8517d8bd73b0f5469a09112c812822b09dacea9c59bf9d87a82a8a2cc221
+SIZE (3proxy-0.5.3h.tgz) = 190566
diff --git a/net/3proxy/pkg-plist b/net/3proxy/pkg-plist
index 28f26b5dc8b..4557e3f903a 100644
--- a/net/3proxy/pkg-plist
+++ b/net/3proxy/pkg-plist
@@ -8,7 +8,6 @@ bin/socks
bin/tcppm
bin/udppm
etc/3proxy.cfg.sample
-etc/rc.d/3proxy.sh
%%PORTDOCS%%%%DOCSDIR%%/License
%%PORTDOCS%%%%DOCSDIR%%/Readme
%%PORTDOCS%%%%DOCSDIR%%/Release.notes