cvs commit: ports/net/socks5 Makefile pkg-plist
ports/net/socks5/files socks5.sh.in socks5.sh.sample
Mikhail Teterin
mi at FreeBSD.org
Mon Apr 16 04:26:29 UTC 2007
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
More information about the cvs-all
mailing list