X-Git-Url: http://gitweb/?a=blobdiff_plain;f=mysql%2FPkgfile;h=498175f37a8cc3a1e52e345a9e77a0453e6c4097;hb=2192e8982d9511b96412a69c58f1d4a2e2e0437e;hp=ad0727364f3c92438540131fd518b2cc2a1ec7d9;hpb=04551f95fb2be89bac8c2ec93bb7191f61cc398e;p=ports%2Fopt-arm.git diff --git a/mysql/Pkgfile b/mysql/Pkgfile index ad07273..498175f 100644 --- a/mysql/Pkgfile +++ b/mysql/Pkgfile @@ -2,12 +2,12 @@ # 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.6.27 +version=5.7.23 release=1 -source=(http://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.6/$name-$version.tar.gz \ +source=(http://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.7/$name-boost-$version.tar.gz \ my.cnf mysqld valist.patch) build () { @@ -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 \ @@ -25,8 +22,10 @@ build () { -DSYSCONFDIR=/etc \ -DINSTALL_LIBDIR=lib \ -DINSTALL_PLUGINDIR=lib/mysql/plugin \ - -DINSTALL_MANDIR=man \ - -DWITH_LIBWRAP=1 \ + -DINSTALL_MANDIR=share/man \ + -DINSTALL_SECURE_PRIVDIR=/var/lib/mysql-files \ + -DWITH_BOOST=./boost \ + -DWITH_LIBWRAP=0 \ -DWITH_SSL=system \ -DWITH_ZLIB=system @@ -38,6 +37,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 }