community/percona-server to 5.7.16_10-3

This commit is contained in:
Kevin Mihelich 2017-01-13 00:40:06 +00:00
parent 46db2fd31c
commit ae27bbe6b7
2 changed files with 1 additions and 22 deletions

View file

@ -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')

View file

@ -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
}