vagrant: update to 2.2.5
This commit is contained in:
parent
2a4d722fcb
commit
774e562d8c
2 changed files with 3 additions and 25 deletions
|
@ -1,22 +0,0 @@
|
|||
--- plugins/hosts/void/cap/nfs.rb
|
||||
+++ plugins/hosts/void/cap/nfs.rb
|
||||
@@ -15,7 +15,7 @@ module VagrantPlugins
|
||||
end
|
||||
|
||||
def self.nfs_installed(env)
|
||||
- result = Vagrant::Util::Subprocess.execute("/usr/bin/xbps-query nfs-utils")
|
||||
+ result = Vagrant::Util::Subprocess.execute("/usr/bin/xbps-query", "nfs-utils")
|
||||
result.exit_code == 0
|
||||
end
|
||||
end
|
||||
--- test/unit/plugins/hosts/void/cap/nfs_test.rb
|
||||
+++ test/unit/plugins/hosts/void/cap/nfs_test.rb
|
||||
@@ -39,7 +39,7 @@ describe VagrantPlugins::HostVoid::Cap::NFS do
|
||||
let(:result) { Vagrant::Util::Subprocess::Result.new(exit_code, "", "") }
|
||||
|
||||
before { allow(Vagrant::Util::Subprocess).to receive(:execute).
|
||||
- with(/xbps-query nfs-utils/).and_return(result) }
|
||||
+ with("/usr/bin/xbps-query", "nfs-utils").and_return(result) }
|
||||
|
||||
it "should provide nfs_installed capability" do
|
||||
expect(caps.get(:nfs_installed)).to eq(described_class)
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'vagrant'
|
||||
pkgname=vagrant
|
||||
version=2.2.4
|
||||
revision=2
|
||||
version=2.2.5
|
||||
revision=1
|
||||
archs="i686 x86_64"
|
||||
hostmakedepends="ruby"
|
||||
makedepends="ruby-devel zlib-devel"
|
||||
|
@ -11,7 +11,7 @@ maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
|||
license="MIT"
|
||||
homepage="https://www.vagrantup.com/"
|
||||
distfiles="https://github.com/mitchellh/${pkgname}/archive/v${version}.tar.gz"
|
||||
checksum=4f8ce6ede5d47a2be1ce46a29d22d41d1f4ba9d99fe9496b2424f98ae4dab2d6
|
||||
checksum=0a228f5185b24b72efcc5a3924f86fa9fabab6f7562c3c63c1d9d239aa72a7b1
|
||||
nocross=yes
|
||||
|
||||
post_extract() {
|
||||
|
|
Loading…
Reference in a new issue