2015-02-03 10:00:02 +00:00
|
|
|
diff -up mariadb-10.0.16/scripts/CMakeLists.txt.systemd mariadb-10.0.16/scripts/CMakeLists.txt
|
|
|
|
--- mariadb-10.0.16/scripts/CMakeLists.txt.systemd 2015-01-25 16:21:37.000000000 +0100
|
|
|
|
+++ mariadb-10.0.16/scripts/CMakeLists.txt 2015-02-03 10:53:05.261790495 +0100
|
2015-02-18 15:50:54 +00:00
|
|
|
@@ -367,6 +367,33 @@ ELSE()
|
2014-07-21 15:02:00 +00:00
|
|
|
COMPONENT ${${file}_COMPONENT}
|
|
|
|
)
|
|
|
|
ENDFOREACH()
|
|
|
|
+
|
|
|
|
+ # files for systemd
|
|
|
|
+ SET(SYSTEMD_SCRIPTS
|
2014-07-24 08:00:33 +00:00
|
|
|
+ mysql.tmpfiles.d
|
|
|
|
+ mysql.service
|
|
|
|
+ mysql-prepare-db-dir
|
|
|
|
+ mysql-wait-ready
|
2015-02-18 15:50:54 +00:00
|
|
|
+ mysql-wait-stop
|
2014-07-24 08:00:33 +00:00
|
|
|
+ mysql-check-socket
|
2014-09-29 12:34:41 +00:00
|
|
|
+ mysql-check-upgrade
|
2014-07-24 08:00:33 +00:00
|
|
|
+ mysql-scripts-common
|
2014-07-21 15:02:00 +00:00
|
|
|
+ mysql_config_multilib
|
2014-07-23 13:26:28 +00:00
|
|
|
+ mysql.init
|
2014-07-25 07:00:44 +00:00
|
|
|
+ my.cnf
|
2014-07-21 15:02:00 +00:00
|
|
|
+ )
|
|
|
|
+ FOREACH(file ${SYSTEMD_SCRIPTS})
|
|
|
|
+ IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${file}.sh)
|
|
|
|
+ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${file}.sh
|
|
|
|
+ ${CMAKE_CURRENT_BINARY_DIR}/${file} ESCAPE_QUOTES @ONLY)
|
|
|
|
+ ELSEIF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${file}.in)
|
|
|
|
+ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${file}.in
|
|
|
|
+ ${CMAKE_CURRENT_BINARY_DIR}/${file} ESCAPE_QUOTES @ONLY)
|
|
|
|
+ ELSE()
|
|
|
|
+ MESSAGE(FATAL_ERROR "Can not find ${file}.sh or ${file}.in in "
|
|
|
|
+ "${CMAKE_CURRENT_SOURCE_DIR}" )
|
|
|
|
+ ENDIF()
|
|
|
|
+ ENDFOREACH()
|
|
|
|
ENDIF()
|
|
|
|
|
|
|
|
# Install libgcc as mylibgcc.a
|
2014-11-27 14:30:37 +00:00
|
|
|
diff -up mariadb-10.0.15/support-files/CMakeLists.txt.cmakescripts mariadb-10.0.15/support-files/CMakeLists.txt
|
|
|
|
--- mariadb-10.0.15/support-files/CMakeLists.txt.cmakescripts 2014-11-27 15:07:13.203821563 +0100
|
|
|
|
+++ mariadb-10.0.15/support-files/CMakeLists.txt 2014-11-27 15:04:26.252530666 +0100
|
|
|
|
@@ -112,6 +112,8 @@ IF(UNIX)
|
2014-07-25 07:00:44 +00:00
|
|
|
COMPONENT SharedLibraries)
|
|
|
|
INSTALL(FILES rpm/mysql-clients.cnf DESTINATION ${INSTALL_SYSCONF2DIR}
|
|
|
|
COMPONENT Client)
|
|
|
|
+ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/rpm/server.cnf
|
|
|
|
+ ${CMAKE_CURRENT_BINARY_DIR}/rpm/server.cnf @ONLY )
|
|
|
|
INSTALL(FILES rpm/server.cnf DESTINATION ${INSTALL_SYSCONF2DIR}
|
|
|
|
COMPONENT IniFiles)
|
|
|
|
ENDIF()
|