Blame SOURCES/mariadb-ownsetup.patch

584bfd
diff -up mariadb-10.1.8/support-files/CMakeLists.txt.p9 mariadb-10.1.8/support-files/CMakeLists.txt
19da60
--- mariadb-10.2.32/support-files/CMakeLists.txt	2020-05-08 13:45:27.000000000 +0200
19da60
+++ mariadb-10.2.32/support-files/CMakeLists.txt_pacthed	2020-05-13 10:11:30.884190396 +0200
19da60
@@ -100,7 +100,8 @@ IF(UNIX)
584bfd
   ENDIF()
584bfd
 
584bfd
   CONFIGURE_FILE(mariadb.pc.in ${CMAKE_CURRENT_BINARY_DIR}/mariadb.pc @ONLY)
19da60
-  INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mariadb.pc DESTINATION ${INSTALL_LIBDIR}/pkgconfig COMPONENT Development)
584bfd
+  CONFIGURE_FILE(rpm/server.cnf ${CMAKE_CURRENT_BINARY_DIR}/rpm/server.cnf @ONLY)
19da60
+  INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mariadb.pc DESTINATION ${INSTALL_SHAREDIR}/pkgconfig COMPONENT Development)
584bfd
 
584bfd
   INSTALL(FILES mysql.m4 DESTINATION ${INSTALL_SHAREDIR}/aclocal COMPONENT Development)
19da60
   
19da60
diff -up mariadb-10.0.15/support-files/rpm/server.cnf.ownsetup mariadb-10.0.15/support-files/rpm/server.cnf
19da60
--- mariadb-10.0.15/support-files/rpm/server.cnf.ownsetup	2015-01-24 23:55:55.110063592 +0100
19da60
+++ mariadb-10.0.15/support-files/rpm/server.cnf	2015-01-24 23:57:42.308114387 +0100
584bfd
@@ -9,7 +9,16 @@
584bfd
 [server]
584bfd
 
584bfd
 # this is only for the mysqld standalone daemon
584bfd
+# Settings user and group are ignored when systemd is used.
584bfd
+# If you need to run mysqld under a different user or group,
584bfd
+# customize your systemd unit file for mysqld/mariadb according to the
584bfd
+# instructions in http://fedoraproject.org/wiki/Systemd
584bfd
 [mysqld]
584bfd
+datadir=@MYSQL_DATADIR@
584bfd
+socket=@MYSQL_UNIX_ADDR@
584bfd
+log-error=@LOG_LOCATION@
584bfd
+pid-file=@PID_FILE_DIR@/@DAEMON_NO_PREFIX@.pid
584bfd
+
584bfd
 
584bfd
 #
584bfd
 # * Galera-related settings