From owner-freebsd-ports@FreeBSD.ORG Wed Jul 15 21:32:39 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83F40106566C; Wed, 15 Jul 2009 21:32:39 +0000 (UTC) (envelope-from tom@vertigoconsulting.com) Received: from mail-px0-f200.google.com (mail-px0-f200.google.com [209.85.216.200]) by mx1.freebsd.org (Postfix) with ESMTP id 59AA18FC0A; Wed, 15 Jul 2009 21:32:39 +0000 (UTC) (envelope-from tom@vertigoconsulting.com) Received: by pxi38 with SMTP id 38so1257800pxi.3 for ; Wed, 15 Jul 2009 14:32:39 -0700 (PDT) Received: by 10.114.103.8 with SMTP id a8mr13048987wac.215.1247692234307; Wed, 15 Jul 2009 14:10:34 -0700 (PDT) Received: from zeus.neo-era (s207-6-220-84.bc.hsia.telus.net [207.6.220.84]) by mx.google.com with ESMTPS id n33sm14616786wag.56.2009.07.15.14.10.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 15 Jul 2009 14:10:33 -0700 (PDT) From: Tom Karpik Content-Type: multipart/mixed; boundary=Apple-Mail-2-949575936 Date: Wed, 15 Jul 2009 14:10:31 -0700 Message-Id: To: fjoe@FreeBSD.org Mime-Version: 1.0 (Apple Message framework v1071.1) X-Mailer: Apple Mail (2.1071.1) Cc: ports@FreeBSD.org Subject: FreeBSD Port: cvsnt-2.5.04.3236 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jul 2009 21:32:39 -0000 --Apple-Mail-2-949575936 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Hi there, There is a bug in the MySQL code in this release of CVSNT -- it was talked about right here last month: http://www.cvsnt.org/pipermail/cvsnt/2009-June/032272.html Unfortunately, the dev response was "buy our commercial product". Fortunately, I tracked down the bug myself, and wrote a one-line patch. I've attached said patch to this e-mail. I realize that in your port's Makefile you disable MySQL support, but we require it at my work place, so I re-enabled the flag myself. Even though the default is to disable MySQL, you may want to consider distributing this patch along with your port for those CVSNT users out there who need the MySQL support and end up enabling it themselves. :-) Thanks! -- Tom Karpik --Apple-Mail-2-949575936 Content-Disposition: attachment; filename=audit_trigger.cpp.patch Content-Type: application/octet-stream; name="audit_trigger.cpp.patch" Content-Transfer-Encoding: 7bit *** triggers/audit_trigger.cpp.orig Wed Jul 15 14:08:34 2009 --- triggers/audit_trigger.cpp Wed Jul 15 14:09:10 2009 *************** *** 226,231 **** --- 226,232 ---- return 0; } + rs->Close(); g_nSessionId = 0; if(g_AuditLogSessions) --Apple-Mail-2-949575936--