1 |
commit: d49b89d131b5ef87af37c02f4cb280cf5d339147 |
2 |
Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Sep 16 06:51:49 2016 +0000 |
4 |
Commit: Amy Winston <amynka <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 27 14:54:40 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d49b89d1 |
7 |
|
8 |
app-emulation/vagrant: set permissions on authorized_keys, fixes #592996 |
9 |
|
10 |
Closes: #2339 |
11 |
Bugs: #592996 |
12 |
|
13 |
Package-Manager: portage-2.3.0 |
14 |
|
15 |
.../vagrant/{vagrant-1.8.5.ebuild => vagrant-1.8.5-r1.ebuild} | 4 ++++ |
16 |
1 file changed, 4 insertions(+) |
17 |
|
18 |
diff --git a/app-emulation/vagrant/vagrant-1.8.5.ebuild b/app-emulation/vagrant/vagrant-1.8.5-r1.ebuild |
19 |
similarity index 92% |
20 |
rename from app-emulation/vagrant/vagrant-1.8.5.ebuild |
21 |
rename to app-emulation/vagrant/vagrant-1.8.5-r1.ebuild |
22 |
index 52460de..63e8ad6 100644 |
23 |
--- a/app-emulation/vagrant/vagrant-1.8.5.ebuild |
24 |
+++ b/app-emulation/vagrant/vagrant-1.8.5-r1.ebuild |
25 |
@@ -72,6 +72,10 @@ all_ruby_prepare() { |
26 |
|
27 |
# fix rvm issue (bug #474476) |
28 |
epatch "${FILESDIR}"/${PN}-1.8.1-rvm.patch |
29 |
+ |
30 |
+ # https://github.com/mitchellh/vagrant/issues/7610 (#592996) |
31 |
+ sed -e 's/bsd/linux/g ; 57i \ chmod 0600 ~/.ssh/authorized_keys' \ |
32 |
+ -i plugins/guests/linux/cap/public_key.rb || die |
33 |
} |
34 |
|
35 |
all_ruby_install() { |