* [PR PATCH] vagrant: update to 2.3.0.
@ 2022-08-23 8:04 dataCobra
2022-08-23 8:08 ` [PR PATCH] [Updated] " dataCobra
` (22 more replies)
0 siblings, 23 replies; 24+ messages in thread
From: dataCobra @ 2022-08-23 8:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 727 bytes --]
There is a new pull request by dataCobra against master on the void-packages repository
https://github.com/dataCobra/void-packages vagrant-update-2.3.0
https://github.com/void-linux/void-packages/pull/38852
vagrant: update to 2.3.0.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
I've also updated `do_install` process to add the completion for bash and zsh. A ftplugin for
vim is also available and will now be installed.
I've added a patch to get rid of an annoying message when executing vagrant commands.
A patch file from https://github.com/void-linux/void-packages/pull/38852.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vagrant-update-2.3.0-38852.patch --]
[-- Type: text/x-diff, Size: 3249 bytes --]
From b6e3ab5ad9c5038a7ed2504840b60eca3a41032d Mon Sep 17 00:00:00 2001
From: dataCobra <datacobra@thinkbot.de>
Date: Tue, 23 Aug 2022 09:59:22 +0200
Subject: [PATCH] vagrant: update to 2.3.0.
---
.../silence-warning-about-installer.patch | 15 +++++++++++
srcpkgs/vagrant/template | 27 +++++++++++--------
2 files changed, 31 insertions(+), 11 deletions(-)
create mode 100644 srcpkgs/vagrant/patches/silence-warning-about-installer.patch
diff --git a/srcpkgs/vagrant/patches/silence-warning-about-installer.patch b/srcpkgs/vagrant/patches/silence-warning-about-installer.patch
new file mode 100644
index 000000000000..4432a13d3737
--- /dev/null
+++ b/srcpkgs/vagrant/patches/silence-warning-about-installer.patch
@@ -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
+
diff --git a/srcpkgs/vagrant/template b/srcpkgs/vagrant/template
index f15d85850d03..4443a077508f 100644
--- a/srcpkgs/vagrant/template
+++ b/srcpkgs/vagrant/template
@@ -1,7 +1,7 @@
# Template file for 'vagrant'
pkgname=vagrant
-version=2.2.19
-revision=2
+version=2.3.0
+revision=1
archs="i686 x86_64*"
hostmakedepends="ruby"
makedepends="ruby-devel zlib-devel"
@@ -10,8 +10,9 @@ short_desc="Tool for building and distributing development environments"
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=4f0e6b1d466e26dead682c4d4843e8f64a012eba4be91506ae6c6d34d3d9c8f9
+changelog="https://github.com/hashicorp/${pkgname}/blob/v${version}/CHANGELOG.md"
+distfiles="https://github.com/hashicorp/${pkgname}/archive/v${version}.tar.gz"
+checksum=1931dbf29ec3c6622a649ae145fe706e5b957d7075870ce577358dd22c3d5dca
nocross=yes
post_extract() {
@@ -25,6 +26,17 @@ do_build() {
do_install() {
GEM_PATH=$DESTDIR/usr/lib/$pkgname GEM_HOME="$GEM_PATH" gem install $pkgname-$version.gem --no-document -- --disable-clean
+ vlicense LICENSE
+
+ vmkdir usr/bin
+ vbin $FILESDIR/$pkgname
+
+ vcompletion "contrib/bash/completion.sh" bash
+ vcompletion "contrib/zsh/_vagrant" zsh
+
+ mkdir -p /usr/share/vim/vim90/ftplugin/
+ cp contrib/vim/vagrantfile.vim /usr/share/vim/vim90/ftplugin/
+
find ${DESTDIR} -type f -name \*.a -delete
find ${DESTDIR} -type f -name \*.log -delete
find ${DESTDIR} -type f -name \*.c -delete
@@ -49,11 +61,4 @@ do_install() {
find ${DESTDIR} -type d -name doc -print0|xargs -0 rm -rf --
find ${DESTDIR} -type d -name ports -print0|xargs -0 rm -rf --
rm -r ${DESTDIR}/usr/lib/$pkgname/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
}
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PR PATCH] [Updated] vagrant: update to 2.3.0.
2022-08-23 8:04 [PR PATCH] vagrant: update to 2.3.0 dataCobra
@ 2022-08-23 8:08 ` dataCobra
2022-08-25 17:55 ` [PR REVIEW] " classabbyamp
` (21 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: dataCobra @ 2022-08-23 8:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 732 bytes --]
There is an updated pull request by dataCobra against master on the void-packages repository
https://github.com/dataCobra/void-packages vagrant-update-2.3.0
https://github.com/void-linux/void-packages/pull/38852
vagrant: update to 2.3.0.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
I've also updated `do_install` process to add the completion for bash and zsh. A ftplugin for
vim is also available and will now be installed.
I've added a patch to get rid of an annoying message when executing vagrant commands.
A patch file from https://github.com/void-linux/void-packages/pull/38852.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vagrant-update-2.3.0-38852.patch --]
[-- Type: text/x-diff, Size: 3208 bytes --]
From 9ba4cf6a7396cccadb8938ac6f716a818ee30f56 Mon Sep 17 00:00:00 2001
From: dataCobra <datacobra@thinkbot.de>
Date: Tue, 23 Aug 2022 10:08:10 +0200
Subject: [PATCH] vagrant: update to 2.3.0.
---
.../silence-warning-about-installer.patch | 15 +++++++++++
srcpkgs/vagrant/template | 26 +++++++++++--------
2 files changed, 30 insertions(+), 11 deletions(-)
create mode 100644 srcpkgs/vagrant/patches/silence-warning-about-installer.patch
diff --git a/srcpkgs/vagrant/patches/silence-warning-about-installer.patch b/srcpkgs/vagrant/patches/silence-warning-about-installer.patch
new file mode 100644
index 000000000000..4432a13d3737
--- /dev/null
+++ b/srcpkgs/vagrant/patches/silence-warning-about-installer.patch
@@ -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
+
diff --git a/srcpkgs/vagrant/template b/srcpkgs/vagrant/template
index f15d85850d03..a9cc015e4fe8 100644
--- a/srcpkgs/vagrant/template
+++ b/srcpkgs/vagrant/template
@@ -1,7 +1,7 @@
# Template file for 'vagrant'
pkgname=vagrant
-version=2.2.19
-revision=2
+version=2.3.0
+revision=1
archs="i686 x86_64*"
hostmakedepends="ruby"
makedepends="ruby-devel zlib-devel"
@@ -10,8 +10,9 @@ short_desc="Tool for building and distributing development environments"
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=4f0e6b1d466e26dead682c4d4843e8f64a012eba4be91506ae6c6d34d3d9c8f9
+changelog="https://github.com/hashicorp/${pkgname}/blob/v${version}/CHANGELOG.md"
+distfiles="https://github.com/hashicorp/${pkgname}/archive/v${version}.tar.gz"
+checksum=1931dbf29ec3c6622a649ae145fe706e5b957d7075870ce577358dd22c3d5dca
nocross=yes
post_extract() {
@@ -25,6 +26,16 @@ do_build() {
do_install() {
GEM_PATH=$DESTDIR/usr/lib/$pkgname GEM_HOME="$GEM_PATH" gem install $pkgname-$version.gem --no-document -- --disable-clean
+ vlicense LICENSE
+
+ vmkdir usr/bin
+ vbin $FILESDIR/$pkgname
+
+ vcompletion "contrib/bash/completion.sh" bash
+
+ mkdir -p /usr/share/vim/vim90/ftplugin/
+ cp contrib/vim/vagrantfile.vim /usr/share/vim/vim90/ftplugin/
+
find ${DESTDIR} -type f -name \*.a -delete
find ${DESTDIR} -type f -name \*.log -delete
find ${DESTDIR} -type f -name \*.c -delete
@@ -49,11 +60,4 @@ do_install() {
find ${DESTDIR} -type d -name doc -print0|xargs -0 rm -rf --
find ${DESTDIR} -type d -name ports -print0|xargs -0 rm -rf --
rm -r ${DESTDIR}/usr/lib/$pkgname/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
}
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PR REVIEW] vagrant: update to 2.3.0.
2022-08-23 8:04 [PR PATCH] vagrant: update to 2.3.0 dataCobra
2022-08-23 8:08 ` [PR PATCH] [Updated] " dataCobra
2022-08-25 17:55 ` [PR REVIEW] " classabbyamp
@ 2022-08-25 17:55 ` classabbyamp
2022-08-25 17:55 ` classabbyamp
` (19 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: classabbyamp @ 2022-08-25 17:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 349 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38852#discussion_r955260563
Comment:
use vcopy or vinstall, (vinstall should get rid of the mkdir too, which is broken anyways... you'll probably want to `./xbps-src zap && ./xbps-src binary-bootstrap`, you're polluting the masterdir)
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PR REVIEW] vagrant: update to 2.3.0.
2022-08-23 8:04 [PR PATCH] vagrant: update to 2.3.0 dataCobra
` (2 preceding siblings ...)
2022-08-25 17:55 ` classabbyamp
@ 2022-08-25 17:55 ` classabbyamp
2022-08-25 17:55 ` classabbyamp
` (18 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: classabbyamp @ 2022-08-25 17:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 171 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38852#discussion_r955258566
Comment:
not needed for vbin
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PR REVIEW] vagrant: update to 2.3.0.
2022-08-23 8:04 [PR PATCH] vagrant: update to 2.3.0 dataCobra
2022-08-23 8:08 ` [PR PATCH] [Updated] " dataCobra
@ 2022-08-25 17:55 ` classabbyamp
2022-08-25 17:55 ` classabbyamp
` (20 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: classabbyamp @ 2022-08-25 17:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 166 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38852#discussion_r955258417
Comment:
expand pkgname
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PR REVIEW] vagrant: update to 2.3.0.
2022-08-23 8:04 [PR PATCH] vagrant: update to 2.3.0 dataCobra
` (3 preceding siblings ...)
2022-08-25 17:55 ` classabbyamp
@ 2022-08-25 17:55 ` classabbyamp
2022-08-25 17:55 ` classabbyamp
` (17 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: classabbyamp @ 2022-08-25 17:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 166 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38852#discussion_r955258681
Comment:
expand pkgname
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PR REVIEW] vagrant: update to 2.3.0.
2022-08-23 8:04 [PR PATCH] vagrant: update to 2.3.0 dataCobra
` (4 preceding siblings ...)
2022-08-25 17:55 ` classabbyamp
@ 2022-08-25 17:55 ` classabbyamp
2022-08-25 19:23 ` dataCobra
` (16 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: classabbyamp @ 2022-08-25 17:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 253 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38852#discussion_r955262624
Comment:
```suggestion
changelog="https://raw.githubusercontent.com/hashicorp/vagrant/main/CHANGELOG.md"
```
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PR REVIEW] vagrant: update to 2.3.0.
2022-08-23 8:04 [PR PATCH] vagrant: update to 2.3.0 dataCobra
` (5 preceding siblings ...)
2022-08-25 17:55 ` classabbyamp
@ 2022-08-25 19:23 ` dataCobra
2022-08-25 19:41 ` classabbyamp
` (15 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: dataCobra @ 2022-08-25 19:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 215 bytes --]
New review comment by dataCobra on void-packages repository
https://github.com/void-linux/void-packages/pull/38852#discussion_r955341180
Comment:
Do you mean to use `vagrant` instead of the variable `${pkgname}`?
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PR REVIEW] vagrant: update to 2.3.0.
2022-08-23 8:04 [PR PATCH] vagrant: update to 2.3.0 dataCobra
` (6 preceding siblings ...)
2022-08-25 19:23 ` dataCobra
@ 2022-08-25 19:41 ` classabbyamp
2022-08-26 6:22 ` [PR PATCH] [Updated] " dataCobra
` (14 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: classabbyamp @ 2022-08-25 19:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 155 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38852#discussion_r955355880
Comment:
yes
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PR PATCH] [Updated] vagrant: update to 2.3.0.
2022-08-23 8:04 [PR PATCH] vagrant: update to 2.3.0 dataCobra
` (7 preceding siblings ...)
2022-08-25 19:41 ` classabbyamp
@ 2022-08-26 6:22 ` dataCobra
2022-08-26 6:23 ` [PR REVIEW] " dataCobra
` (13 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: dataCobra @ 2022-08-26 6:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 628 bytes --]
There is an updated pull request by dataCobra against master on the void-packages repository
https://github.com/dataCobra/void-packages vagrant-update-2.3.0
https://github.com/void-linux/void-packages/pull/38852
vagrant: update to 2.3.0.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
I've also updated `do_install` process.
I've added a patch to get rid of an annoying message when executing vagrant commands.
A patch file from https://github.com/void-linux/void-packages/pull/38852.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vagrant-update-2.3.0-38852.patch --]
[-- Type: text/x-diff, Size: 3459 bytes --]
From 14008ee07b3c2236971d230bac138ebd3c3cacc5 Mon Sep 17 00:00:00 2001
From: dataCobra <datacobra@thinkbot.de>
Date: Fri, 26 Aug 2022 08:21:33 +0200
Subject: [PATCH] vagrant: update to 2.3.0.
---
.../silence-warning-about-installer.patch | 15 ++++++++
srcpkgs/vagrant/template | 36 +++++++++----------
2 files changed, 32 insertions(+), 19 deletions(-)
create mode 100644 srcpkgs/vagrant/patches/silence-warning-about-installer.patch
diff --git a/srcpkgs/vagrant/patches/silence-warning-about-installer.patch b/srcpkgs/vagrant/patches/silence-warning-about-installer.patch
new file mode 100644
index 000000000000..4432a13d3737
--- /dev/null
+++ b/srcpkgs/vagrant/patches/silence-warning-about-installer.patch
@@ -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
+
diff --git a/srcpkgs/vagrant/template b/srcpkgs/vagrant/template
index f15d85850d03..253f01abea51 100644
--- a/srcpkgs/vagrant/template
+++ b/srcpkgs/vagrant/template
@@ -1,29 +1,34 @@
# Template file for 'vagrant'
pkgname=vagrant
-version=2.2.19
-revision=2
+version=2.3.0
+revision=1
archs="i686 x86_64*"
-hostmakedepends="ruby"
-makedepends="ruby-devel zlib-devel"
+build_style=gemspec
depends="bsdtar curl openssh rsync"
short_desc="Tool for building and distributing development environments"
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=4f0e6b1d466e26dead682c4d4843e8f64a012eba4be91506ae6c6d34d3d9c8f9
+changelog="https://raw.githubusercontent.com/hashicorp/vagrant/main/CHANGELOG.md"
+distfiles="https://github.com/hashicorp/vagrant/archive/v${version}.tar.gz"
+checksum=1931dbf29ec3c6622a649ae145fe706e5b957d7075870ce577358dd22c3d5dca
nocross=yes
post_extract() {
sed -i 's|, "< 3\.1"||g' $pkgname.gemspec
}
-do_build() {
- gem build $pkgname.gemspec
-}
-
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/$pkgname 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 \*.log -delete
@@ -48,12 +53,5 @@ do_install() {
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 ports -print0|xargs -0 rm -rf --
- rm -r ${DESTDIR}/usr/lib/$pkgname/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
+ rm -r ${DESTDIR}/usr/lib/vagrant/cache
}
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PR REVIEW] vagrant: update to 2.3.0.
2022-08-23 8:04 [PR PATCH] vagrant: update to 2.3.0 dataCobra
` (8 preceding siblings ...)
2022-08-26 6:22 ` [PR PATCH] [Updated] " dataCobra
@ 2022-08-26 6:23 ` dataCobra
2022-08-26 6:24 ` [PR PATCH] [Updated] " dataCobra
` (12 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: dataCobra @ 2022-08-26 6:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 200 bytes --]
New review comment by dataCobra on void-packages repository
https://github.com/void-linux/void-packages/pull/38852#discussion_r955697045
Comment:
Thanks for the advice. I've changed it accordingly.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PR PATCH] [Updated] vagrant: update to 2.3.0.
2022-08-23 8:04 [PR PATCH] vagrant: update to 2.3.0 dataCobra
` (9 preceding siblings ...)
2022-08-26 6:23 ` [PR REVIEW] " dataCobra
@ 2022-08-26 6:24 ` dataCobra
2022-08-26 6:26 ` dataCobra
` (11 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: dataCobra @ 2022-08-26 6:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 628 bytes --]
There is an updated pull request by dataCobra against master on the void-packages repository
https://github.com/dataCobra/void-packages vagrant-update-2.3.0
https://github.com/void-linux/void-packages/pull/38852
vagrant: update to 2.3.0.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
I've also updated `do_install` process.
I've added a patch to get rid of an annoying message when executing vagrant commands.
A patch file from https://github.com/void-linux/void-packages/pull/38852.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vagrant-update-2.3.0-38852.patch --]
[-- Type: text/x-diff, Size: 3451 bytes --]
From 1459ec001acb8250af1937cfc2f12de1ba00136a Mon Sep 17 00:00:00 2001
From: dataCobra <datacobra@thinkbot.de>
Date: Fri, 26 Aug 2022 08:23:31 +0200
Subject: [PATCH] vagrant: update to 2.3.0.
---
.../silence-warning-about-installer.patch | 15 ++++++++
srcpkgs/vagrant/template | 36 +++++++++----------
2 files changed, 32 insertions(+), 19 deletions(-)
create mode 100644 srcpkgs/vagrant/patches/silence-warning-about-installer.patch
diff --git a/srcpkgs/vagrant/patches/silence-warning-about-installer.patch b/srcpkgs/vagrant/patches/silence-warning-about-installer.patch
new file mode 100644
index 000000000000..4432a13d3737
--- /dev/null
+++ b/srcpkgs/vagrant/patches/silence-warning-about-installer.patch
@@ -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
+
diff --git a/srcpkgs/vagrant/template b/srcpkgs/vagrant/template
index f15d85850d03..9b9a4f77b223 100644
--- a/srcpkgs/vagrant/template
+++ b/srcpkgs/vagrant/template
@@ -1,29 +1,34 @@
# Template file for 'vagrant'
pkgname=vagrant
-version=2.2.19
-revision=2
+version=2.3.0
+revision=1
archs="i686 x86_64*"
-hostmakedepends="ruby"
-makedepends="ruby-devel zlib-devel"
+build_style=gemspec
depends="bsdtar curl openssh rsync"
short_desc="Tool for building and distributing development environments"
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=4f0e6b1d466e26dead682c4d4843e8f64a012eba4be91506ae6c6d34d3d9c8f9
+changelog="https://raw.githubusercontent.com/hashicorp/vagrant/main/CHANGELOG.md"
+distfiles="https://github.com/hashicorp/vagrant/archive/v${version}.tar.gz"
+checksum=1931dbf29ec3c6622a649ae145fe706e5b957d7075870ce577358dd22c3d5dca
nocross=yes
post_extract() {
sed -i 's|, "< 3\.1"||g' $pkgname.gemspec
}
-do_build() {
- gem build $pkgname.gemspec
-}
-
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/$pkgname 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 \*.log -delete
@@ -48,12 +53,5 @@ do_install() {
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 ports -print0|xargs -0 rm -rf --
- rm -r ${DESTDIR}/usr/lib/$pkgname/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
+ rm -r ${DESTDIR}/usr/lib/vagrant/cache
}
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: vagrant: update to 2.3.0.
2022-08-23 8:04 [PR PATCH] vagrant: update to 2.3.0 dataCobra
` (10 preceding siblings ...)
2022-08-26 6:24 ` [PR PATCH] [Updated] " dataCobra
@ 2022-08-26 6:26 ` dataCobra
2022-08-26 7:24 ` [PR REVIEW] " classabbyamp
` (10 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: dataCobra @ 2022-08-26 6:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 284 bytes --]
New comment by dataCobra on void-packages repository
https://github.com/void-linux/void-packages/pull/38852#issuecomment-1228105123
Comment:
> does this package work with the gemspec build style?
I've change the build_style to `gemspec` and refactored the template a little bit.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PR REVIEW] vagrant: update to 2.3.0.
2022-08-23 8:04 [PR PATCH] vagrant: update to 2.3.0 dataCobra
` (12 preceding siblings ...)
2022-08-26 7:24 ` [PR REVIEW] " classabbyamp
@ 2022-08-26 7:24 ` classabbyamp
2022-08-26 7:24 ` classabbyamp
` (8 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: classabbyamp @ 2022-08-26 7:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 229 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38852#discussion_r955735918
Comment:
```suggestion
GEM_PATH=$DESTDIR/usr/lib/vagrant GEM_HOME="$GEM_PATH" \
```
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PR REVIEW] vagrant: update to 2.3.0.
2022-08-23 8:04 [PR PATCH] vagrant: update to 2.3.0 dataCobra
` (11 preceding siblings ...)
2022-08-26 6:26 ` dataCobra
@ 2022-08-26 7:24 ` classabbyamp
2022-08-26 7:24 ` classabbyamp
` (9 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: classabbyamp @ 2022-08-26 7:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 214 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38852#discussion_r955736098
Comment:
```suggestion
vsed -i 's|, "< 3\.1"||g' vagrant.gemspec
```
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PR REVIEW] vagrant: update to 2.3.0.
2022-08-23 8:04 [PR PATCH] vagrant: update to 2.3.0 dataCobra
` (13 preceding siblings ...)
2022-08-26 7:24 ` classabbyamp
@ 2022-08-26 7:24 ` classabbyamp
2022-08-26 7:25 ` classabbyamp
` (7 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: classabbyamp @ 2022-08-26 7:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 214 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38852#discussion_r955730893
Comment:
```suggestion
vsed -i 's|, "< 3\.1"||g' vagrant.gemspec
```
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PR REVIEW] vagrant: update to 2.3.0.
2022-08-23 8:04 [PR PATCH] vagrant: update to 2.3.0 dataCobra
` (14 preceding siblings ...)
2022-08-26 7:24 ` classabbyamp
@ 2022-08-26 7:25 ` classabbyamp
2022-08-26 7:45 ` [PR PATCH] [Updated] " dataCobra
` (6 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: classabbyamp @ 2022-08-26 7:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 214 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38852#discussion_r955736098
Comment:
```suggestion
vsed -i 's|, "< 3\.1"||g' vagrant.gemspec
```
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PR PATCH] [Updated] vagrant: update to 2.3.0.
2022-08-23 8:04 [PR PATCH] vagrant: update to 2.3.0 dataCobra
` (15 preceding siblings ...)
2022-08-26 7:25 ` classabbyamp
@ 2022-08-26 7:45 ` dataCobra
2022-08-26 7:45 ` [PR REVIEW] " dataCobra
` (5 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: dataCobra @ 2022-08-26 7:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 628 bytes --]
There is an updated pull request by dataCobra against master on the void-packages repository
https://github.com/dataCobra/void-packages vagrant-update-2.3.0
https://github.com/void-linux/void-packages/pull/38852
vagrant: update to 2.3.0.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
I've also updated `do_install` process.
I've added a patch to get rid of an annoying message when executing vagrant commands.
A patch file from https://github.com/void-linux/void-packages/pull/38852.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vagrant-update-2.3.0-38852.patch --]
[-- Type: text/x-diff, Size: 3494 bytes --]
From 16f4290b9f50721a4f869c623a2f1160eae884ea Mon Sep 17 00:00:00 2001
From: dataCobra <datacobra@thinkbot.de>
Date: Fri, 26 Aug 2022 09:44:51 +0200
Subject: [PATCH] vagrant: update to 2.3.0.
---
.../silence-warning-about-installer.patch | 15 ++++++++
srcpkgs/vagrant/template | 38 +++++++++----------
2 files changed, 33 insertions(+), 20 deletions(-)
create mode 100644 srcpkgs/vagrant/patches/silence-warning-about-installer.patch
diff --git a/srcpkgs/vagrant/patches/silence-warning-about-installer.patch b/srcpkgs/vagrant/patches/silence-warning-about-installer.patch
new file mode 100644
index 000000000000..4432a13d3737
--- /dev/null
+++ b/srcpkgs/vagrant/patches/silence-warning-about-installer.patch
@@ -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
+
diff --git a/srcpkgs/vagrant/template b/srcpkgs/vagrant/template
index f15d85850d03..6c2d0bf6a11f 100644
--- a/srcpkgs/vagrant/template
+++ b/srcpkgs/vagrant/template
@@ -1,29 +1,34 @@
# Template file for 'vagrant'
pkgname=vagrant
-version=2.2.19
-revision=2
+version=2.3.0
+revision=1
archs="i686 x86_64*"
-hostmakedepends="ruby"
-makedepends="ruby-devel zlib-devel"
+build_style=gemspec
depends="bsdtar curl openssh rsync"
short_desc="Tool for building and distributing development environments"
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=4f0e6b1d466e26dead682c4d4843e8f64a012eba4be91506ae6c6d34d3d9c8f9
+changelog="https://raw.githubusercontent.com/hashicorp/vagrant/main/CHANGELOG.md"
+distfiles="https://github.com/hashicorp/vagrant/archive/v${version}.tar.gz"
+checksum=1931dbf29ec3c6622a649ae145fe706e5b957d7075870ce577358dd22c3d5dca
nocross=yes
post_extract() {
- sed -i 's|, "< 3\.1"||g' $pkgname.gemspec
-}
-
-do_build() {
- gem build $pkgname.gemspec
+ vsed -i 's|, "< 3\.1"||g' vagrant.gemspec
}
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 \*.log -delete
@@ -48,12 +53,5 @@ do_install() {
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 ports -print0|xargs -0 rm -rf --
- rm -r ${DESTDIR}/usr/lib/$pkgname/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
+ rm -r ${DESTDIR}/usr/lib/vagrant/cache
}
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PR REVIEW] vagrant: update to 2.3.0.
2022-08-23 8:04 [PR PATCH] vagrant: update to 2.3.0 dataCobra
` (16 preceding siblings ...)
2022-08-26 7:45 ` [PR PATCH] [Updated] " dataCobra
@ 2022-08-26 7:45 ` dataCobra
2022-08-26 7:45 ` dataCobra
` (4 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: dataCobra @ 2022-08-26 7:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 157 bytes --]
New review comment by dataCobra on void-packages repository
https://github.com/void-linux/void-packages/pull/38852#discussion_r955757562
Comment:
Changed.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PR REVIEW] vagrant: update to 2.3.0.
2022-08-23 8:04 [PR PATCH] vagrant: update to 2.3.0 dataCobra
` (17 preceding siblings ...)
2022-08-26 7:45 ` [PR REVIEW] " dataCobra
@ 2022-08-26 7:45 ` dataCobra
2022-08-26 7:47 ` dataCobra
` (3 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: dataCobra @ 2022-08-26 7:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 157 bytes --]
New review comment by dataCobra on void-packages repository
https://github.com/void-linux/void-packages/pull/38852#discussion_r955757695
Comment:
Changed.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: vagrant: update to 2.3.0.
2022-08-23 8:04 [PR PATCH] vagrant: update to 2.3.0 dataCobra
` (18 preceding siblings ...)
2022-08-26 7:45 ` dataCobra
@ 2022-08-26 7:47 ` dataCobra
2022-08-29 10:26 ` dataCobra
` (2 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: dataCobra @ 2022-08-26 7:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 276 bytes --]
New comment by dataCobra on void-packages repository
https://github.com/void-linux/void-packages/pull/38852#issuecomment-1228169057
Comment:
Hey @classabbyamp,
I've also created PR #38850 for VirtualBox which is related to this PR, could you also check this one, please?
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: vagrant: update to 2.3.0.
2022-08-23 8:04 [PR PATCH] vagrant: update to 2.3.0 dataCobra
` (19 preceding siblings ...)
2022-08-26 7:47 ` dataCobra
@ 2022-08-29 10:26 ` dataCobra
2022-08-29 16:44 ` classabbyamp
2022-08-29 21:06 ` [PR PATCH] [Merged]: " classabbyamp
22 siblings, 0 replies; 24+ messages in thread
From: dataCobra @ 2022-08-29 10:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 312 bytes --]
New comment by dataCobra on void-packages repository
https://github.com/void-linux/void-packages/pull/38852#issuecomment-1230096633
Comment:
Hey @classabbyamp,
@Duncaen already merged the VirtualBox changes. Is there more work to do here?
I use this version of vagrant without any issues for 6 days now.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: vagrant: update to 2.3.0.
2022-08-23 8:04 [PR PATCH] vagrant: update to 2.3.0 dataCobra
` (20 preceding siblings ...)
2022-08-29 10:26 ` dataCobra
@ 2022-08-29 16:44 ` classabbyamp
2022-08-29 21:06 ` [PR PATCH] [Merged]: " classabbyamp
22 siblings, 0 replies; 24+ messages in thread
From: classabbyamp @ 2022-08-29 16:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 158 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38852#issuecomment-1230563472
Comment:
cc @thypon
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PR PATCH] [Merged]: vagrant: update to 2.3.0.
2022-08-23 8:04 [PR PATCH] vagrant: update to 2.3.0 dataCobra
` (21 preceding siblings ...)
2022-08-29 16:44 ` classabbyamp
@ 2022-08-29 21:06 ` classabbyamp
22 siblings, 0 replies; 24+ messages in thread
From: classabbyamp @ 2022-08-29 21:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 455 bytes --]
There's a merged pull request on the void-packages repository
vagrant: update to 2.3.0.
https://github.com/void-linux/void-packages/pull/38852
Description:
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
I've also updated `do_install` process.
I've added a patch to get rid of an annoying message when executing vagrant commands.
^ permalink raw reply [flat|nested] 24+ messages in thread
end of thread, other threads:[~2022-08-29 21:06 UTC | newest]
Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-23 8:04 [PR PATCH] vagrant: update to 2.3.0 dataCobra
2022-08-23 8:08 ` [PR PATCH] [Updated] " dataCobra
2022-08-25 17:55 ` [PR REVIEW] " classabbyamp
2022-08-25 17:55 ` classabbyamp
2022-08-25 17:55 ` classabbyamp
2022-08-25 17:55 ` classabbyamp
2022-08-25 17:55 ` classabbyamp
2022-08-25 19:23 ` dataCobra
2022-08-25 19:41 ` classabbyamp
2022-08-26 6:22 ` [PR PATCH] [Updated] " dataCobra
2022-08-26 6:23 ` [PR REVIEW] " dataCobra
2022-08-26 6:24 ` [PR PATCH] [Updated] " dataCobra
2022-08-26 6:26 ` dataCobra
2022-08-26 7:24 ` [PR REVIEW] " classabbyamp
2022-08-26 7:24 ` classabbyamp
2022-08-26 7:24 ` classabbyamp
2022-08-26 7:25 ` classabbyamp
2022-08-26 7:45 ` [PR PATCH] [Updated] " dataCobra
2022-08-26 7:45 ` [PR REVIEW] " dataCobra
2022-08-26 7:45 ` dataCobra
2022-08-26 7:47 ` dataCobra
2022-08-29 10:26 ` dataCobra
2022-08-29 16:44 ` classabbyamp
2022-08-29 21:06 ` [PR PATCH] [Merged]: " classabbyamp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).