CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
mysql: fixed mysql-files dir creation
[ports/opt-arm.git] / mysql / Pkgfile
index 2385b60527bc2e3891160e11408e84c17a6f88f5..aee2fced7af460f0ac77d381584cda29a172ecc9 100644 (file)
@@ -5,7 +5,7 @@
 # Depends on: ncurses zlib openssl cmake libaio
 
 name=mysql
-version=5.6.29
+version=5.6.35
 release=1
 source=(http://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.6/$name-$version.tar.gz \
         my.cnf mysqld valist.patch)
@@ -15,9 +15,6 @@ build () {
 
   patch -p1 -i $SRC/valist.patch
   
-  # fix for openssl 1.0.2
-  sed -i 's/REGEX "^#define/REGEX "^# *define/' cmake/ssl.cmake
-
   cmake . \
         -DBUILD_CONFIG=mysql_release \
         -DINSTALL_LAYOUT=RPM \
@@ -38,6 +35,7 @@ build () {
   find $PKG/usr/share/mysql/* -type d ! -name english ! -name charsets | xargs rm -rf {} \;
 
   install -d -m 700 -o mysql -g mysql $PKG/var/{lib,log,run}/mysql
+  install -d -m 700 -o mysql -g mysql $PKG/var/lib/mysql-files
   install -D -m 755 $SRC/mysqld $PKG/etc/rc.d/mysqld
   install -m 600 $SRC/my.cnf $PKG/etc
 }