aboutsummaryrefslogtreecommitdiff
path: root/system/mariadb/mariadb.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/mariadb/mariadb.SlackBuild')
-rw-r--r--system/mariadb/mariadb.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/system/mariadb/mariadb.SlackBuild b/system/mariadb/mariadb.SlackBuild
index 6be4fe4ad4d78..70e5fe88a1eac 100644
--- a/system/mariadb/mariadb.SlackBuild
+++ b/system/mariadb/mariadb.SlackBuild
@@ -27,7 +27,7 @@
# MariaDB version maintained by: Heinz Wiesinger <pprkut@liwjatan.at>
PRGNAM=mariadb
-VERSION=5.5.27
+VERSION=5.5.28a
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -96,6 +96,8 @@ cmake \
-DINSTALL_SCRIPTDIR=bin \
-DINSTALL_SUPPORTFILESDIR=share/mysql \
-DINSTALL_MYSQLDATADIR="/var/lib/mysql" \
+ -DINSTALL_DOCREADMEDIR="doc/$PRGNAM-$VERSION" \
+ -DINSTALL_DOCDIR="doc/$PRGNAM-$VERSION" \
-DMYSQL_DATADIR="/var/lib/mysql" \
-DMYSQL_UNIX_ADDR="/var/run/mysql/mysql.sock" \
-DWITH_EXTRA_CHARSETS=complex \
@@ -147,6 +149,7 @@ install -m 644 scripts/mysqlaccess.conf $PKG/etc/mysqlaccess.conf.new
# Mark config files under /etc as .new
mv $PKG/etc/my.cnf $PKG/etc/my.cnf.new
+mv $PKG/etc/logrotate.d/mysql $PKG/etc/logrotate.d/mysql.new
for i in client mysql-clients server; do
mv $PKG/etc/my.cnf.d/$i.cnf $PKG/etc/my.cnf.d/$i.cnf.new
done
@@ -157,10 +160,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README VERSION COPYING* KNOWN_BUGS.txt INSTALL-SOURCE \
- $PKG/usr/doc/$PRGNAM-$VERSION
-find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \;
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/doinst.sh > $PKG/install/doinst.sh