From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jul 6 20:30:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70C851065673 for ; Mon, 6 Jul 2009 20:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4B75A8FC18 for ; Mon, 6 Jul 2009 20:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n66KU2eh040432 for ; Mon, 6 Jul 2009 20:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n66KU2kM040431; Mon, 6 Jul 2009 20:30:02 GMT (envelope-from gnats) Resent-Date: Mon, 6 Jul 2009 20:30:02 GMT Resent-Message-Id: <200907062030.n66KU2kM040431@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Paul Schmehl Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E0031065696 for ; Mon, 6 Jul 2009 20:23:24 +0000 (UTC) (envelope-from pauls@utd65257.utdallas.edu) Received: from utd65257.utdallas.edu (utd65257.utdallas.edu [129.110.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id E40A68FC1D for ; Mon, 6 Jul 2009 20:23:23 +0000 (UTC) (envelope-from pauls@utd65257.utdallas.edu) Received: from utd65257.utdallas.edu (localhost [127.0.0.1]) by utd65257.utdallas.edu (Postfix) with ESMTP id B33CC347845 for ; Mon, 6 Jul 2009 15:05:45 -0500 (CDT) Received: (from root@localhost) by utd65257.utdallas.edu (8.14.3/8.14.3/Submit) id n66K5jUh061458; Mon, 6 Jul 2009 15:05:45 -0500 (CDT) (envelope-from pauls) Message-Id: <200907062005.n66K5jUh061458@utd65257.utdallas.edu> Date: Mon, 6 Jul 2009 15:05:45 -0500 (CDT) From: Paul Schmehl To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/136391: security/sguil-server, fixes a bug in two library scripts X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jul 2009 20:30:02 -0000 >Number: 136391 >Category: ports >Synopsis: security/sguil-server, fixes a bug in two library scripts >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Jul 06 20:30:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Paul Schmehl >Release: FreeBSD 7.2-STABLE i386 >Organization: The University of Texas at Dallas >Environment: System: FreeBSD hostname.utdallas.edu 7.2-STABLE FreeBSD 7.2-STABLE #12: Wed May 6 12:12:16 CDT 2009 root@hostname.utdallas.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: There is a type in two library files; MyISAM instead of MYISAM that causes upgrades to fail during the update database phase These patches fix those typos >How-To-Repeat: >Fix: --- patch-lib-SguildLoaderd.tcl begins here --- --- lib/SguildLoaderd.tcl.bak 2009-07-06 14:53:16.000000000 -0500 +++ lib/SguildLoaderd.tcl 2009-07-06 14:53:56.000000000 -0500 @@ -225,7 +225,7 @@ } else { # Make sure its a MERGE table and not the old monster set tableStatus [mysqlsel $LOADERD_DB_ID {SHOW TABLE STATUS LIKE 'sancp'} -flatlist] - if { [lindex $tableStatus 1] != "MRG_MyISAM" } { + if { [lindex $tableStatus 1] != "MRG_MYISAM" } { ErrorMessage "ERROR: loaderd: You appear to be using an old version of the\n\ sguil database schema that does not support the MERGE sancp\n\ table. Please see the CHANGES document for more information\n." --- patch-lib-SguildLoaderd.tcl ends here --- --- patch-lib-SguildMysqlMerge.tcl begins here --- --- lib/SguildMysqlMerge.tcl.bak 2009-07-06 14:53:27.000000000 -0500 +++ lib/SguildMysqlMerge.tcl 2009-07-06 14:54:26.000000000 -0500 @@ -9,7 +9,7 @@ set tmpQry "SHOW TABLE STATUS LIKE '$tableName'" set tableStatus [mysqlsel $MAIN_DB_SOCKETID $tmpQry -flatlist] - if { $tableStatus != "" && [lindex $tableStatus 1] != "MRG_MyISAM" } { + if { $tableStatus != "" && [lindex $tableStatus 1] != "MRG_MYISAM" } { # Non MERGE table found. set errorMsg "\n*************************************************************\n --- patch-lib-SguildMysqlMerge.tcl ends here --- >Release-Note: >Audit-Trail: >Unformatted: