ports/136391: security/sguil-server, fixes a bug in two library scripts
Paul Schmehl
pauls at utdallas.edu
Mon Jul 6 20:30:02 UTC 2009
>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 at 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:
More information about the freebsd-ports-bugs
mailing list