2015-09-23 10:31:06 +00:00
|
|
|
diff -rup mysql-5.7.8.orig/scripts/CMakeLists.txt mysql-5.7.8/scripts/CMakeLists.txt
|
|
|
|
--- mysql-5.7.8.orig/scripts/CMakeLists.txt 2015-07-20 14:25:08.000000000 +0200
|
|
|
|
+++ mysql-5.7.8/scripts/CMakeLists.txt 2015-09-24 10:47:01.733914088 +0200
|
|
|
|
@@ -483,6 +483,34 @@ ELSE()
|
|
|
|
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
|
|
|
|
)
|
|
|
|
ENDIF()
|
2014-07-22 08:27:55 +00:00
|
|
|
+
|
|
|
|
+ # files for systemd
|
|
|
|
+ SET(SYSTEMD_SCRIPTS
|
|
|
|
+ mysql.tmpfiles.d
|
2014-07-24 08:00:55 +00:00
|
|
|
+ mysql.service
|
|
|
|
+ mysql-prepare-db-dir
|
|
|
|
+ mysql-wait-ready
|
2015-02-18 20:41:01 +00:00
|
|
|
+ mysql-wait-stop
|
2014-07-24 08:00:55 +00:00
|
|
|
+ mysql-check-socket
|
2014-09-29 14:05:17 +00:00
|
|
|
+ mysql-check-upgrade
|
2014-07-24 08:00:55 +00:00
|
|
|
+ mysql-scripts-common
|
|
|
|
+ mysql_config_multilib
|
|
|
|
+ mysql.init
|
2014-07-25 14:51:11 +00:00
|
|
|
+ my.cnf
|
2015-01-12 15:34:36 +00:00
|
|
|
+ server.cnf
|
2014-07-22 08:27:55 +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
|