mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
community/percona-server to 5.7.16_10-3
This commit is contained in:
parent
46db2fd31c
commit
ae27bbe6b7
2 changed files with 1 additions and 22 deletions
|
@ -12,9 +12,8 @@ pkgver=5.7.16_10
|
|||
_boost_ver=1.59.0
|
||||
_pkgver=${pkgver/_/-}
|
||||
_myver=${pkgver/_rel*}
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
arch=('i686' 'x86_64')
|
||||
# valgrind necessary for bug https://bugs.launchpad.net/percona-server/+bug/1494283
|
||||
makedepends=('cmake' 'openssl' 'zlib' 'libaio' 'systemd-tools' 'pam' 'jemalloc')
|
||||
license=('GPL' 'AGPL')
|
||||
url="https://www.percona.com/software/mysql-database/percona-server"
|
||||
|
@ -128,7 +127,6 @@ package_percona-server-clients() {
|
|||
package_percona-server() {
|
||||
pkgdesc='Drop-in replacement for MySQL that provides improved performance, diagnostics, instrumentation and TokuDB storage engine'
|
||||
backup=('etc/mysql/my.cnf')
|
||||
install=percona.install
|
||||
depends=('libaio' 'systemd-tools' 'pam' 'jemalloc')
|
||||
optdepends=('perl-dbd-mysql')
|
||||
conflicts=('mysql')
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
post_install() {
|
||||
systemd-sysusers mysql.conf
|
||||
systemd-tmpfiles --create mysql.conf
|
||||
|
||||
echo " >> "
|
||||
echo " >> A temporary password is generated on first start and logged in journald."
|
||||
echo " >> Use 'journalctl -au mysqld | grep "\""temporary password"\""' to retrieve it."
|
||||
echo " >> "
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
systemd-sysusers mysql.conf
|
||||
|
||||
if [ "$(vercmp $2 5.7)" -lt 0 ]; then
|
||||
echo " >> "
|
||||
echo " >> Major version update. Consider restart the service, running mysql_upgrade and restart it again after it."
|
||||
echo " >> "
|
||||
fi
|
||||
}
|
Loading…
Reference in a new issue