diff options
Diffstat (limited to 'system/vagrant')
-rw-r--r-- | system/vagrant/README | 11 | ||||
-rw-r--r-- | system/vagrant/vagrant.SlackBuild | 20 | ||||
-rw-r--r-- | system/vagrant/vagrant.info | 10 |
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 cd8e09f74c..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.14} +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 2c7357aab1..a9f104a145 100644 --- a/system/vagrant/vagrant.info +++ b/system/vagrant/vagrant.info @@ -1,10 +1,10 @@ PRGNAM="vagrant" -VERSION="2.2.14" +VERSION="2.2.15" HOMEPAGE="https://www.vagrantup.com" -DOWNLOAD="https://releases.hashicorp.com/vagrant/2.2.14/vagrant_2.2.14_i686.rpm" -MD5SUM="b0d028b61fb626d8b75ffb7dd0784488" -DOWNLOAD_x86_64="https://releases.hashicorp.com/vagrant/2.2.14/vagrant_2.2.14_x86_64.rpm" -MD5SUM_x86_64="e5533e512f43d7e2cae299e25ba019eb" +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" |