From owner-cvs-ports@FreeBSD.ORG Mon Apr 16 04:26:29 2007 Return-Path: X-Original-To: cvs-ports@FreeBSD.org Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 40C8E16A407; Mon, 16 Apr 2007 04:26:29 +0000 (UTC) (envelope-from mi@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 081F013C48C; Mon, 16 Apr 2007 04:26:29 +0000 (UTC) (envelope-from mi@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l3G4QSkg051020; Mon, 16 Apr 2007 04:26:28 GMT (envelope-from mi@repoman.freebsd.org) Received: (from mi@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l3G4QSVJ051019; Mon, 16 Apr 2007 04:26:28 GMT (envelope-from mi) Message-Id: <200704160426.l3G4QSVJ051019@repoman.freebsd.org> From: Mikhail Teterin Date: Mon, 16 Apr 2007 04:26:28 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/net/socks5 Makefile pkg-plist ports/net/socks5/files socks5.sh.in socks5.sh.sample X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 04:26:29 -0000 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