Date: Mon, 16 Apr 2007 04:26:28 +0000 (UTC) From: Mikhail Teterin <mi@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/net/socks5 Makefile pkg-plist ports/net/socks5/files socks5.sh.in socks5.sh.sample Message-ID: <200704160426.l3G4QSVJ051019@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mi 2007-04-16 04:26:28 UTC
FreeBSD ports repository
Modified files:
net/socks5 Makefile pkg-plist
Added files:
net/socks5/files socks5.sh.in
Removed files:
net/socks5/files socks5.sh.sample
Log:
A long-standing issue in the vendor's reimplementation of vsnprintf()
was not only inefficient (writing out to a file and then reading back!),
but also had a bug in its handling of va_args.
The most obvious ill-effect was the daemon crashing shortly after
start-up on amd64. The inefficientcy was less obvious, but still there
on all platforms.
Although log.c contained HAVE_VSNPRINTF ifdef-s, the configure script
does not check for the function's presence and never sets the define.
Add the -DHAVE_VSNPRINTF as a simple work-around... Bump PORTREVISION.
Approved by: maintainer
While here, ditch the ancient socks5.sh.sample in favor of the proper
USE_RC_SUBR script based on the maintainer-supplied code.
Revision Changes Path
1.48 +3 -1 ports/net/socks5/Makefile
1.1 +33 -0 ports/net/socks5/files/socks5.sh.in (new)
1.3 +0 -20 ports/net/socks5/files/socks5.sh.sample (dead)
1.11 +0 -1 ports/net/socks5/pkg-plist
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704160426.l3G4QSVJ051019>
