Go to file
Michal Schorm 834d920e34 Fix the logrotate file [2]
In one of the previous commits, I've started to pack a different logrotate file
as it contains the correct path to the logfile of the mysql server.

It has been found, that I've overlooked that the filepath to the mysql server
was still set wrongly.
It was set to a:     '/var/log/mysqld.log'
Instead of expected: '/var/log/mysql/mysql.log'

This path is added to the mysql logrotate configuration file via CMAKE variable
substitution.
However since we haven't specify the variable value,
a default value has been used instead.

The fix to this issue was simple - specify the variable value as the CMAKE
command argument.

--

At the same time, we were using a custom (downstream) variable meant to hold
the same information. We used this variable for generating the correct filepath
to the mysql server logfile in the mysql server configuration file.

Instead of using two different CMAKE variables with the same meaning,
I've changed it so we get rid of the downstream specified variable
and use the upstream specified variable instead.

--

The positive effect is the de-duplication of code and assurance that when we
set the value, it is used everywhere - both in the upstream code and in the
downstream patches.

The tiny negative effect is that at this moment, the names of the variables
differ to the we use in 'mariadb' package.
2024-02-05 16:59:56 +01:00
.gitignore Update to MySQL 5.7.14 - sources 2024-02-05 16:59:12 +01:00
boost-1.57.0-mpl-print.patch Update to 5.7.10 2024-02-05 16:59:12 +01:00
boost-1.58.0-pool.patch Update to 5.7.10 2024-02-05 16:59:12 +01:00
boost-1.76.0-fix_multiprecision_issue_419-ppc64le.patch [2/2] Update to MySQL 8.0.29 - fix of Boost on ppc64le 2024-02-05 16:59:56 +01:00
community-mysql-arm32-timer.patch Update to MySQL 8.0.28 2024-02-05 16:59:56 +01:00
community-mysql-file-contents.patch Update to 8.0.11 2024-02-05 16:59:12 +01:00
community-mysql-install-test.patch Update to 5.6.17 2024-02-05 16:59:12 +01:00
community-mysql-mtr.patch Implement running of the minimal testsuite 2024-02-05 16:59:13 +01:00
community-mysql-paths.patch Update to MySQL 8.0.19 2024-02-05 16:59:13 +01:00
community-mysql-rpath.patch Update to MySQL 8.0.18 2024-02-05 16:59:13 +01:00
community-mysql-scripts.patch Rebase to 8.0.22 2024-02-05 16:59:13 +01:00
community-mysql-sharedir.patch Update to MySQL 8.0.18 2024-02-05 16:59:13 +01:00
community-mysql.rpmlintrc Update RPMLint whitelist 2024-02-05 16:59:13 +01:00
community-mysql.spec Fix the logrotate file [2] 2024-02-05 16:59:56 +01:00
my.cnf.in Update cnf and service files with MySQL 8.0 features and clean up patches. 2024-02-05 16:59:12 +01:00
mysql_config_multilib.sh Spec rewrite to be more similar to oterh MySQL implementations 2024-02-05 16:59:12 +01:00
mysql-check-socket.sh Spec rewrite to be more similar to oterh MySQL implementations 2024-02-05 16:59:12 +01:00
mysql-prepare-db-dir.sh Fix scripts after moving mysqld back to /usr/libexec 2024-02-05 16:59:12 +01:00
mysql-scripts-common.sh Support --defaults-group-suffix option in systemd unit file 2024-02-05 16:59:12 +01:00
mysql-wait-stop.sh Wait for daemon ends 2024-02-05 16:59:12 +01:00
mysql.service.in Remove SysVInit stuff 2024-02-05 16:59:13 +01:00
mysql.tmpfiles.d.in Hardcoded paths removed to work fine in chroot 2024-02-05 16:59:12 +01:00
mysql@.service.in Remove SysVInit stuff 2024-02-05 16:59:13 +01:00
README.mysql-docs Update to mysql 5.1.44; remove non-free documentation file. 2024-02-05 16:59:12 +01:00
README.mysql-license Adopt changes from mariadb to sync spec files 2024-02-05 16:59:12 +01:00
rh-skipped-tests-list-arm.list [2/2] Update failing tests list for MySQL 8.0.30 2024-02-05 16:59:56 +01:00
rh-skipped-tests-list-base.list [2/2] Update failing tests list for MySQL 8.0.30 2024-02-05 16:59:56 +01:00
rh-skipped-tests-list-ppc.list [2/2] Update failing tests list for MySQL 8.0.30 2024-02-05 16:59:56 +01:00
rh-skipped-tests-list-s390.list [2/2] Update failing tests list for MySQL 8.0.30 2024-02-05 16:59:56 +01:00
rpminspect.yaml rpminspect - introduce a global ignore list 2024-02-05 16:59:56 +01:00
server.cnf.in Fix the logrotate file [2] 2024-02-05 16:59:56 +01:00
sources [1/2] Update to MySQL 8.0.30 2024-02-05 16:59:56 +01:00

MySQL is distributed under GPL v2, but there are some licensing exceptions
that allow the client libraries to be linked with a non-GPL application,
so long as the application is under a license approved by Oracle.
For details see

http://www.mysql.com/about/legal/licensing/foss-exception/

Some innobase code from Percona and Google is under BSD license.
Some code related to test-suite is under LGPLv2.