mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
system/mariadb: Updated for version 5.5.28a.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
7ee113745b
commit
7280079d0e
3 changed files with 9 additions and 8 deletions
|
@ -24,6 +24,7 @@ preserve_perms() {
|
|||
|
||||
preserve_perms etc/rc.d/rc.mysqld.new
|
||||
config etc/mysqlaccess.conf.new
|
||||
config etc/logrotate.d/mysql.new
|
||||
config etc/my.cnf.new
|
||||
config etc/my.cnf.d/client.cnf.new
|
||||
config etc/my.cnf.d/mysql-clients.cnf.new
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="mariadb"
|
||||
VERSION="5.5.27"
|
||||
VERSION="5.5.28a"
|
||||
HOMEPAGE="http://mariadb.org/"
|
||||
DOWNLOAD="http://mirror2.hs-esslingen.de/mariadb/mariadb-5.5.27/kvm-tarbake-jaunty-x86/mariadb-5.5.27.tar.gz"
|
||||
MD5SUM="ad6f3239a1d5af0a667e30f7c0b05037"
|
||||
DOWNLOAD="http://mirror2.hs-esslingen.de/mariadb/mariadb-5.5.28a/kvm-tarbake-jaunty-x86/mariadb-5.5.28a.tar.gz"
|
||||
MD5SUM="a2d20a040ef1e49944a4ffe65ed7fefa"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="perl-TermReadKey"
|
||||
|
|
Loading…
Reference in a new issue