X-Git-Url: http://gitweb/?a=blobdiff_plain;ds=sidebyside;f=mysql%2FPkgfile;h=6974fb51e5e405d794e88b0dde6b450531272e67;hb=be15fd5c2d627f538823d7357f7c31cdfa4c8366;hp=f69301222ea18f345bf8ba7831d15d75b1e85ceb;hpb=89e8daa3cfddb8ac173afb1467a510d3903df9ac;p=ports%2Fopt-arm.git

diff --git a/mysql/Pkgfile b/mysql/Pkgfile
index f693012..6974fb5 100644
--- a/mysql/Pkgfile
+++ b/mysql/Pkgfile
@@ -2,19 +2,19 @@
 # URL: http://www.mysql.com
 # Maintainer: Juergen Daubert, jue at crux dot nu
 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
-# Depends on: tcp_wrappers ncurses zlib openssl cmake libaio
+# Depends on: ncurses zlib openssl cmake libaio
 
 name=mysql
-version=5.5.37
+version=5.6.34
 release=1
-source=(http://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.5/$name-$version.tar.gz \
+source=(http://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.6/$name-$version.tar.gz \
         my.cnf mysqld valist.patch)
 
 build () {
   cd $name-$version
 
   patch -p1 -i $SRC/valist.patch
-
+  
   cmake . \
         -DBUILD_CONFIG=mysql_release \
         -DINSTALL_LAYOUT=RPM \
@@ -23,7 +23,7 @@ build () {
         -DINSTALL_LIBDIR=lib \
         -DINSTALL_PLUGINDIR=lib/mysql/plugin \
         -DINSTALL_MANDIR=man \
-        -DWITH_LIBWRAP=1 \
+        -DWITH_LIBWRAP=0 \
         -DWITH_SSL=system \
         -DWITH_ZLIB=system
 
@@ -34,10 +34,7 @@ build () {
   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 700 -o mysql -g mysql $PKG/var/{lib,log,run}/mysql
   install -D -m 755 $SRC/mysqld $PKG/etc/rc.d/mysqld
   install -m 600 $SRC/my.cnf $PKG/etc
 }