mysql: update to 5.6.25.

This commit is contained in:
Juan RP 2015-06-11 10:23:43 +02:00
parent 7ea8aa6431
commit 0916d9612b
4 changed files with 3 additions and 31 deletions

View file

@ -1,7 +0,0 @@
#!/bin/sh
while true; do
response=`/usr/bin/mysqladmin -uUNKNOWN_USER ping 2>&1` && break
echo "$response" | grep -q "mysqld is alive" && break
sleep 1
done

View file

@ -1,14 +0,0 @@
[Unit]
Description=MySQL Server
After=syslog.target
[Service]
User=mysql
Group=mysql
ExecStart=/usr/bin/mysqld --user=mysql --pid-file=/run/mysqld/mysqld.pid
ExecStartPost=/usr/bin/mysqld-post
Restart=always
PrivateTmp=yes
[Install]
WantedBy=multi-user.target

View file

@ -1 +0,0 @@
d /run/mysqld 0755 mysql mysql -

View file

@ -1,7 +1,7 @@
# Template file for 'mysql'
pkgname=mysql
version=5.6.24
revision=2
version=5.6.25
revision=1
build_style=cmake
configure_args="-DSYSCONFDIR=/etc/mysql -DMYSQL_DATADIR=/var/lib/mysql
-DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock -DDEFAULT_CHARSET=utf8
@ -29,7 +29,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://www.mysql.com/products/community/"
license="GPL-2"
distfiles="https://downloads.skysql.com/archives/mysql-${version%.*}/mysql-${version}.tar.gz"
checksum=37e27305b67d76883c5902dce59c89d596beee9dca7dbadd4a2e117f8101dfeb
checksum=15079c0b83d33a092649cbdf402c9225bcd3f33e87388407be5cdbf1432c7fbd
CFLAGS="-D__STDC_ISO_10646__"
@ -67,12 +67,6 @@ post_install() {
# Configuration file.
vinstall ${FILESDIR}/my.cnf 640 etc/mysql
# systemd service.
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/mysqld.service 644 usr/lib/systemd/system
vinstall ${FILESDIR}/mysqld-post 755 usr/bin
vinstall ${FILESDIR}/mysqld.tmpfilesd 644 usr/lib/tmpfiles.d mysqld.conf
fi
# runit service
vsv mysqld
}