summaryrefslogtreecommitdiffstats
path: root/system/mongo-tools
diff options
context:
space:
mode:
author Miguel De Anda <miguel@thedeanda.com>2016-09-27 23:45:07 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-01 07:17:08 +0700
commit72a4788d429bf8d6ae5fade9278ade5e445a8c2c (patch)
treeccb23599af02d0dde999623d7477ed943b4f88ed /system/mongo-tools
parent4a1098c4cd90778e0d54f92c233b05c024ce65b8 (diff)
downloadslackbuilds-72a4788d429bf8d6ae5fade9278ade5e445a8c2c.tar.gz
slackbuilds-72a4788d429bf8d6ae5fade9278ade5e445a8c2c.tar.xz
system/mongo-tools: Updated for version 3.2.9.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/mongo-tools')
-rw-r--r--system/mongo-tools/mongo-tools.SlackBuild12
-rw-r--r--system/mongo-tools/mongo-tools.info8
2 files changed, 10 insertions, 10 deletions
diff --git a/system/mongo-tools/mongo-tools.SlackBuild b/system/mongo-tools/mongo-tools.SlackBuild
index 6af19b1208..2dd9419d74 100644
--- a/system/mongo-tools/mongo-tools.SlackBuild
+++ b/system/mongo-tools/mongo-tools.SlackBuild
@@ -23,14 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mongo-tools
-VERSION=${VERSION:-3.2.0}
+VERSION=${VERSION:-3.2.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCHIVE=r${VERSION}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -41,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-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"
@@ -78,8 +78,8 @@ mkdir -p $TARGET_PATH
# next block taken from mongo-tools build script
for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongooplog; do
echo "Building ${i}..."
- # Build the tool, using -ldflags to link in the current gitspec
- go build -o "$TARGET_PATH/$i" -tags "ssl sasl" "$i/main/$i.go"
+ # if you have issues, remove/add -tags "ssl sasl"
+ go build -o "$TARGET_PATH/$i" "$i/main/$i.go"
done
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
diff --git a/system/mongo-tools/mongo-tools.info b/system/mongo-tools/mongo-tools.info
index dc83ba55bf..df73e17f9c 100644
--- a/system/mongo-tools/mongo-tools.info
+++ b/system/mongo-tools/mongo-tools.info
@@ -1,8 +1,8 @@
PRGNAM="mongo-tools"
-VERSION="3.2.0"
-HOMEPAGE="http://www.mongodb.org/"
-DOWNLOAD="https://github.com/mongodb/mongo-tools/archive/r3.2.0.tar.gz"
-MD5SUM="eaa1f16822c30c77de68a72ec9c02752"
+VERSION="3.2.9"
+HOMEPAGE="https://github.com/mongodb/mongo-tools"
+DOWNLOAD="https://github.com/mongodb/mongo-tools/archive/r3.2.9.tar.gz"
+MD5SUM="6ca1c2aec2022226a0c303b5f6f0d799"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="google-go-lang"