net/3proxy: Update 0.9.4 => 0.9.5 (security fix)

Security fix: proxy can potentially crash on some platforms due to
              overlapping regions in strcpy()

Changelog:
https://github.com/3proxy/3proxy/releases/tag/0.9.5

PR:	287753
MFH:	2025Q2
This commit is contained in:
Pavel Timofeev
2025-06-23 21:40:44 +03:00
committed by Vladimir Druzenko
parent 8f212b8e62
commit e2debba8d3
3 changed files with 6 additions and 24 deletions
+3 -4
View File
@@ -1,6 +1,5 @@
PORTNAME= 3proxy
DISTVERSION= 0.9.4
PORTREVISION= 1
DISTVERSION= 0.9.5
CATEGORIES= net
MAINTAINER= timp87@gmail.com
@@ -17,8 +16,8 @@ USE_RC_SUBR= 3proxy
MAKEFILE= Makefile.FreeBSD
PLIST_SUB= PORTNAME=${PORTNAME} \
3PROXY_LOGDIR=${3PROXY_LOGDIR}
PLIST_SUB= 3PROXY_LOGDIR=${3PROXY_LOGDIR} \
PORTNAME=${PORTNAME}
PORTDOCS= README
+3 -3
View File
@@ -1,3 +1,3 @@
TIMESTAMP = 1625343847
SHA256 (3proxy-3proxy-0.9.4_GH0.tar.gz) = b497f74d6cc7ee58ff824457427acc02c6f7a102e483816fbb1b2494942ef983
SIZE (3proxy-3proxy-0.9.4_GH0.tar.gz) = 610340
TIMESTAMP = 1750695136
SHA256 (3proxy-3proxy-0.9.5_GH0.tar.gz) = 6f6da51d9bba93231e12acd707bb6cf86a1ab9491dc6dd0c79750cb3641541a3
SIZE (3proxy-3proxy-0.9.5_GH0.tar.gz) = 620563
-17
View File
@@ -1,17 +0,0 @@
--- Makefile.FreeBSD.orig 2021-07-01 16:59:57 UTC
+++ Makefile.FreeBSD
@@ -10,11 +10,11 @@
BUILDDIR = ../bin/
CC ?= gcc
-CFLAGS = -c -O -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
+CFLAGS += -c -DNOODBC -DFD_SETSIZE=4096 -DWITH_POLL
COUT = -o
LN ?= ${CC}
-LDFLAGS = -pthread -O -fno-strict-aliasing
-# -lpthreads may be reuqired on some platforms instead of -pthreads
+LDFLAGS += -pthread
+# -lpthreads may be required on some platforms instead of -pthreads
# -ldl or -lld may be required for some platforms
DCFLAGS = -fPIC
DLFLAGS = -shared