summaryrefslogtreecommitdiff
path: root/system/MySQL-Sandbox
diff options
context:
space:
mode:
authorDhaby Xiloj <dhabyx@gmail.com>2016-07-24 01:05:58 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-24 15:06:39 +0700
commit8a1f9c1b1897491595ee82517e011cb1694fd633 (patch)
treededd285c31bfdcc010b6cc8fff670f671fc1110c /system/MySQL-Sandbox
parentadb386f1445702a0cdd78d37256593ffa955eacc (diff)
downloadslackbuilds-8a1f9c1b1897491595ee82517e011cb1694fd633.tar.gz
system/MySQL-Sandbox: Updated for version 3.1.11
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/MySQL-Sandbox')
-rw-r--r--system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild28
-rw-r--r--system/MySQL-Sandbox/MySQL-Sandbox.info6
-rw-r--r--system/MySQL-Sandbox/README8
-rw-r--r--system/MySQL-Sandbox/slack-desc4
4 files changed, 22 insertions, 24 deletions
diff --git a/system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild b/system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild
index e322d8e24a..ed4391cacf 100644
--- a/system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild
+++ b/system/MySQL-Sandbox/MySQL-Sandbox.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for MySQL-Sandbox
-# Copyright (c) 2010-2013, Dhaby Xiloj <slack.dhabyx@gmail.com>
+# Copyright (c) 2010-2016, Dhaby Xiloj <slack.dhabyx@gmail.com> Guatemala
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -22,7 +22,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=MySQL-Sandbox
-VERSION=${VERSION:-3.1.05}
+VERSION=${VERSION:-3.1.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -39,10 +39,10 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="Changelog README.md"
+DOCS="Changelog LICENSE README.md"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -71,26 +71,22 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
perl Makefile.PL \
- PREFIX=/usr \
- INSTALLDIRS=vendor \
- INSTALLVENDORMAN3DIR=/usr/man/man3
+ PREFIX=/usr \
+ INSTALLDIRS=vendor \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
make OPTIMIZE="$SLKCFLAGS"
make install DESTDIR=$PKG
-# Remove 'special' files
-find $PKG -name perllocal.pod \
- -o -name ".packlist" \
- -o -name "*.bs" \
- | xargs rm -f
-eval $(perl -V:vendorarch)
-rm -rf $PKG/$vendorarch $PKG/usr/lib${LIBDIRSUFFIX}/
-
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
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
+find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
+
+find $PKG -depth -type d -empty -delete || true
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -ar $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/system/MySQL-Sandbox/MySQL-Sandbox.info b/system/MySQL-Sandbox/MySQL-Sandbox.info
index d9465452f1..b328992b0d 100644
--- a/system/MySQL-Sandbox/MySQL-Sandbox.info
+++ b/system/MySQL-Sandbox/MySQL-Sandbox.info
@@ -1,8 +1,8 @@
PRGNAM="MySQL-Sandbox"
-VERSION="3.1.05"
+VERSION="3.1.11"
HOMEPAGE="http://mysqlsandbox.net"
-DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GM/GMAX/MySQL-Sandbox-3.1.05.tar.gz"
-MD5SUM="f05a50bbdf8262b49b7d2b4db9a12fd5"
+DOWNLOAD="https://github.com/datacharmer/mysql-sandbox/releases/download/3.1.11/MySQL-Sandbox-3.1.11.tar.gz"
+MD5SUM="45c2a7693872cb0a3d36ce2c1d45bb0a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/system/MySQL-Sandbox/README b/system/MySQL-Sandbox/README
index 3bf561458d..dabc9a83a4 100644
--- a/system/MySQL-Sandbox/README
+++ b/system/MySQL-Sandbox/README
@@ -1,5 +1,7 @@
MySQL-Sandbox - the easy way of installing a MySQL server
-MySQL Sandbox is a tool that installs one or more MySQL servers
-within seconds, easily, securely, and with full control. MySQL
-Sandbox has support for easily create simple or circular clusters.
+MySQL Sandbox is a tool that installs one or more MySQL or MariaDB
+servers within seconds, easily, securely, and with full control.
+
+MySQL Sandbox has support for easily create simple or circular
+clusters.
diff --git a/system/MySQL-Sandbox/slack-desc b/system/MySQL-Sandbox/slack-desc
index 3e53df7828..8ac5e2f593 100644
--- a/system/MySQL-Sandbox/slack-desc
+++ b/system/MySQL-Sandbox/slack-desc
@@ -10,8 +10,8 @@ MySQL-Sandbox: MySQL-Sandbox (easy install of MySQL server)
MySQL-Sandbox:
MySQL-Sandbox: The easy way of installing a MySQL server
MySQL-Sandbox:
-MySQL-Sandbox: MySQL Sandbox is a tool that installs one or more MySQL servers
-MySQL-Sandbox: within seconds, easily, securely, and with full control.
+MySQL-Sandbox: MySQL Sandbox is a tool that installs one or more MySQL or MariaDB
+MySQL-Sandbox: servers within seconds, easily, securely, and with full control.
MySQL-Sandbox:
MySQL-Sandbox: http://mysqlsandbox.net
MySQL-Sandbox: