From 4686b98a8aa28ac19e5e5e745333626ad245dbba Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Fri, 4 Oct 2013 23:45:56 +0200 Subject: [PATCH] mysql: updated to 5.5.34 --- mysql/.md5sum | 2 +- mysql/Pkgfile | 32 ++++++++++++++++---------------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/mysql/.md5sum b/mysql/.md5sum index 9ea76d3..48a9821 100644 --- a/mysql/.md5sum +++ b/mysql/.md5sum @@ -1,4 +1,4 @@ 6de62cde6cc212b5cd1f87e0df848b1d my.cnf -e6b9f9cb82e990bd8f0474df7462904e mysql-5.5.29.tar.gz +930970a42d51e48599deb7fe01778a4a mysql-5.5.34.tar.gz 642a596f13ebd7e459c5ff2fd382f06b mysqld 6ca8f727d4e04fbdbe200cb5abfffee5 valist.patch diff --git a/mysql/Pkgfile b/mysql/Pkgfile index 0c62d84..6d785c4 100644 --- a/mysql/Pkgfile +++ b/mysql/Pkgfile @@ -5,17 +5,17 @@ # Depends on: tcp_wrappers ncurses zlib openssl cmake libaio name=mysql -version=5.5.29 +version=5.5.34 release=1 -source=(http://downloads.mysql.com/archives/$name-${version%.*}/$name-$version.tar.gz \ +source=(http://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.5/$name-$version.tar.gz \ my.cnf mysqld valist.patch) build () { - cd $name-$version + cd $name-$version - patch -p1 -i $SRC/valist.patch + patch -p1 -i $SRC/valist.patch - cmake . \ + cmake . \ -DBUILD_CONFIG=mysql_release \ -DINSTALL_LAYOUT=RPM \ -DCMAKE_INSTALL_PREFIX=/usr \ @@ -27,17 +27,17 @@ build () { -DWITH_SSL=system \ -DWITH_ZLIB=system - make - make DESTDIR=$PKG install + make + make DESTDIR=$PKG install - rm -r $PKG/usr/share/{mysql-test,info} - rm $PKG/usr/share/mysql/charsets/README - find $PKG/usr/share/mysql/* -type d ! -name english ! -name charsets | xargs rm -rf {} \; + rm -r $PKG/usr/share/{mysql-test,info} + rm $PKG/usr/share/mysql/charsets/README + find $PKG/usr/share/mysql/* -type d ! -name english ! -name charsets | xargs rm -rf {} \; - install -d $PKG/var/{lib,log} - touch mysqld.log - install -m 600 -o mysql -g mysql mysqld.log $PKG/var/log - install -d -m 700 -o mysql -g mysql $PKG/var/lib/mysql - install -D -m 755 $SRC/mysqld $PKG/etc/rc.d/mysqld - install -m 600 $SRC/my.cnf $PKG/etc + install -d $PKG/var/{lib,log} + touch mysqld.log + install -m 600 -o mysql -g mysql mysqld.log $PKG/var/log + install -d -m 700 -o mysql -g mysql $PKG/var/lib/mysql + install -D -m 755 $SRC/mysqld $PKG/etc/rc.d/mysqld + install -m 600 $SRC/my.cnf $PKG/etc } -- 2.26.2