summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"