summaryrefslogtreecommitdiffstats
path: root/system/vagrant
diff options
context:
space:
mode:
Diffstat (limited to 'system/vagrant')
-rw-r--r--system/vagrant/README11
-rw-r--r--system/vagrant/vagrant.SlackBuild20
-rw-r--r--system/vagrant/vagrant.info10
3 files changed, 26 insertions, 15 deletions
diff --git a/system/vagrant/README b/system/vagrant/README
index ef54445e52..d9d6951f3a 100644
--- a/system/vagrant/README
+++ b/system/vagrant/README
@@ -1,6 +1,7 @@
-Vagrant is a tool for building complete virtualised development environments.
+Vagrant is a tool for building complete virtualised development
+environments.
-Vagrant was originally written as a wrapper around VirtualBox, but it now
-supports plugins for Amazon EC2, VMware and other virtualisation software.
-Vagrant also integrates with provisioning software such as Chef, Puppet
-and Ansible.
+Vagrant was originally written as a wrapper around VirtualBox, but it
+now supports plugins for Amazon EC2, VMware and other virtualisation
+software. Vagrant also integrates with provisioning software such as
+Chef, Puppet and Ansible.
diff --git a/system/vagrant/vagrant.SlackBuild b/system/vagrant/vagrant.SlackBuild
index ffaa139632..c56726df01 100644
--- a/system/vagrant/vagrant.SlackBuild
+++ b/system/vagrant/vagrant.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# SlackBuild script for vagrant
-# Copyright 2013-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2013-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vagrant
-VERSION=${VERSION:-2.2.7}
+VERSION=${VERSION:-2.2.15}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -34,7 +37,14 @@ case "$( uname -m )" in
*) ARCH=$( uname -m ) ;;
esac
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -63,4 +73,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/system/vagrant/vagrant.info b/system/vagrant/vagrant.info
index ebb06af18d..a9f104a145 100644
--- a/system/vagrant/vagrant.info
+++ b/system/vagrant/vagrant.info
@@ -1,10 +1,10 @@
PRGNAM="vagrant"
-VERSION="2.2.7"
+VERSION="2.2.15"
HOMEPAGE="https://www.vagrantup.com"
-DOWNLOAD="https://releases.hashicorp.com/vagrant/2.2.7/vagrant_2.2.7_i686.rpm"
-MD5SUM="7abe1e5309eee99a97caff16afe84232"
-DOWNLOAD_x86_64="https://releases.hashicorp.com/vagrant/2.2.7/vagrant_2.2.7_x86_64.rpm"
-MD5SUM_x86_64="f7ccbf6fd27d4cbb41ba1442e6a1d217"
+DOWNLOAD="https://releases.hashicorp.com/vagrant/2.2.15/vagrant_2.2.15_i686.rpm"
+MD5SUM="ae0d97049ecc03275b12eea6e92c6c91"
+DOWNLOAD_x86_64="https://releases.hashicorp.com/vagrant/2.2.15/vagrant_2.2.15_x86_64.rpm"
+MD5SUM_x86_64="68f7629a4fb363031cc95e00f4c17980"
REQUIRES=""
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"