CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
ports
/
opt-arm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mysql: updated to 5.6.26
[ports/opt-arm.git]
/
mysql
/
Pkgfile
diff --git
a/mysql/Pkgfile
b/mysql/Pkgfile
index c0754fb4ee28a9d8695dac10a1d1bfb92a907bf8..22276fdf0e3c3bec3c92b7c51b565a04d0d499bd 100644
(file)
--- a/
mysql/Pkgfile
+++ b/
mysql/Pkgfile
@@
-5,15
+5,18
@@
# Depends on: tcp_wrappers ncurses zlib openssl cmake libaio
name=mysql
# Depends on: tcp_wrappers ncurses zlib openssl cmake libaio
name=mysql
-version=5.
5.3
6
+version=5.
6.2
6
release=1
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
my.cnf mysqld valist.patch)
build () {
cd $name-$version
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 \
cmake . \
-DBUILD_CONFIG=mysql_release \
@@
-34,10
+37,7
@@
build () {
rm $PKG/usr/share/mysql/charsets/README
find $PKG/usr/share/mysql/* -type d ! -name english ! -name charsets | xargs rm -rf {} \;
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
}
install -D -m 755 $SRC/mysqld $PKG/etc/rc.d/mysqld
install -m 600 $SRC/my.cnf $PKG/etc
}