mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
vagrant: update to 2.3.0.
This commit is contained in:
parent
cadb83104e
commit
abe68732d6
2 changed files with 33 additions and 20 deletions
|
@ -0,0 +1,15 @@
|
||||||
|
--- /bin/vagrant 2022-08-06 00:16:44.000000000 +0200
|
||||||
|
+++ /bin/vagrant 2022-08-23 09:50:50.613805575 +0200
|
||||||
|
@@ -221,11 +221,6 @@
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
- if !Vagrant.in_installer? && !Vagrant.very_quiet?
|
||||||
|
- # If we're not in the installer, warn.
|
||||||
|
- env.ui.warn(I18n.t("vagrant.general.not_in_installer") + "\n", prefix: false)
|
||||||
|
- end
|
||||||
|
-
|
||||||
|
# Acceptable experimental flag values include:
|
||||||
|
#
|
||||||
|
# Unset - Disables experimental features
|
||||||
|
|
|
@ -1,29 +1,34 @@
|
||||||
# Template file for 'vagrant'
|
# Template file for 'vagrant'
|
||||||
pkgname=vagrant
|
pkgname=vagrant
|
||||||
version=2.2.19
|
version=2.3.0
|
||||||
revision=2
|
revision=1
|
||||||
archs="i686 x86_64*"
|
archs="i686 x86_64*"
|
||||||
hostmakedepends="ruby"
|
build_style=gemspec
|
||||||
makedepends="ruby-devel zlib-devel"
|
|
||||||
depends="bsdtar curl openssh rsync"
|
depends="bsdtar curl openssh rsync"
|
||||||
short_desc="Tool for building and distributing development environments"
|
short_desc="Tool for building and distributing development environments"
|
||||||
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://www.vagrantup.com/"
|
homepage="https://www.vagrantup.com/"
|
||||||
distfiles="https://github.com/mitchellh/${pkgname}/archive/v${version}.tar.gz"
|
changelog="https://raw.githubusercontent.com/hashicorp/vagrant/main/CHANGELOG.md"
|
||||||
checksum=4f0e6b1d466e26dead682c4d4843e8f64a012eba4be91506ae6c6d34d3d9c8f9
|
distfiles="https://github.com/hashicorp/vagrant/archive/v${version}.tar.gz"
|
||||||
|
checksum=1931dbf29ec3c6622a649ae145fe706e5b957d7075870ce577358dd22c3d5dca
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i 's|, "< 3\.1"||g' $pkgname.gemspec
|
vsed -i 's|, "< 3\.1"||g' vagrant.gemspec
|
||||||
}
|
|
||||||
|
|
||||||
do_build() {
|
|
||||||
gem build $pkgname.gemspec
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
GEM_PATH=$DESTDIR/usr/lib/$pkgname GEM_HOME="$GEM_PATH" gem install $pkgname-$version.gem --no-document -- --disable-clean
|
GEM_PATH=$DESTDIR/usr/lib/vagrant GEM_HOME="$GEM_PATH" \
|
||||||
|
gem install vagrant-$version.gem --no-document -- --disable-clean
|
||||||
|
|
||||||
|
vlicense LICENSE
|
||||||
|
|
||||||
|
vbin $FILESDIR/vagrant
|
||||||
|
|
||||||
|
vcompletion "contrib/bash/completion.sh" bash
|
||||||
|
|
||||||
|
vinstall contrib/vim/vagrantfile.vim 644 /usr/share/vim/vim90/ftplugin
|
||||||
|
|
||||||
find ${DESTDIR} -type f -name \*.a -delete
|
find ${DESTDIR} -type f -name \*.a -delete
|
||||||
find ${DESTDIR} -type f -name \*.log -delete
|
find ${DESTDIR} -type f -name \*.log -delete
|
||||||
|
@ -48,12 +53,5 @@ do_install() {
|
||||||
find ${DESTDIR} -type d -name examples -print0|xargs -0 rm -rf --
|
find ${DESTDIR} -type d -name examples -print0|xargs -0 rm -rf --
|
||||||
find ${DESTDIR} -type d -name doc -print0|xargs -0 rm -rf --
|
find ${DESTDIR} -type d -name doc -print0|xargs -0 rm -rf --
|
||||||
find ${DESTDIR} -type d -name ports -print0|xargs -0 rm -rf --
|
find ${DESTDIR} -type d -name ports -print0|xargs -0 rm -rf --
|
||||||
rm -r ${DESTDIR}/usr/lib/$pkgname/cache
|
rm -r ${DESTDIR}/usr/lib/vagrant/cache
|
||||||
|
|
||||||
vmkdir usr/bin
|
|
||||||
vmkdir usr/share/bash-completion/completions
|
|
||||||
vbin $FILESDIR/$pkgname
|
|
||||||
ln -sf /usr/lib/$pkgname/gems/$pkgname-$version/contrib/bash/completion.sh \
|
|
||||||
$DESTDIR/usr/share/bash-completion/completions/$pkgname
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue