~ubuntu-branches/ubuntu/saucy/mysql-5.5/saucy-security

« back to all changes in this revision

Viewing changes to scripts/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2014-04-19 20:45:09 UTC
  • mfrom: (1.1.16) (36.1.2 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20140419204509-zlz5dltbk3zkfcwk
Tags: 5.5.37-0ubuntu0.13.10.1
* SECURITY UPDATE: Update to 5.5.37 to fix security issues (LP: #1309662)
  - http://www.oracle.com/technetwork/topics/security/cpuapr2014-1972952.html
  - CVE-2014-0001
  - CVE-2014-0384
  - CVE-2014-2419
  - CVE-2014-2430
  - CVE-2014-2431
  - CVE-2014-2432
  - CVE-2014-2436
  - CVE-2014-2438
  - CVE-2014-2440
* Drop creation of insecure database permissions:
  - d/p/33_scripts__mysql_create_system_tables__no_test.patch,
    d/p/41_scripts__mysql_install_db.sh__no_test.patch,
    d/p/50_mysql-test__db_test.patch: Restored from mysql-5.1
    package, inadvertently dropped in 5.5 transition. This
    removes the global anonymous access to the database which
    is a security concern.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
 
1
# Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved.
2
2
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
228
228
SET(pkgplugindir ${prefix}/${INSTALL_PLUGINDIR})
229
229
SET(localstatedir ${MYSQL_DATADIR})
230
230
 
 
231
SET(RPATH_OPTION "")
 
232
IF(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
 
233
  SET(RPATH_OPTION "-R$pkglibdir")
 
234
ENDIF()
 
235
 
231
236
# some scripts use  @TARGET_LINUX@
232
237
IF(CMAKE_SYSTEM_NAME MATCHES "Linux")
233
238
  SET(TARGET_LINUX "true")
312
317
    INSTALL_SCRIPT(${CMAKE_CURRENT_BINARY_DIR}/${file}.pl COMPONENT Server_Scripts)
313
318
  ENDFOREACH()
314
319
ELSE()
 
320
  # Configure this one, for testing, but do not install it.
 
321
  CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/mysql_config.pl.in
 
322
    ${CMAKE_CURRENT_BINARY_DIR}/mysql_config.pl ESCAPE_QUOTES @ONLY)
315
323
  # On Unix, most of the files end up in the bin directory
316
324
  SET(mysql_config_COMPONENT COMPONENT Development)
317
325
  SET(BIN_SCRIPTS