1 |
commit: df1aef52f0ddf1798a611d1a4e0225ea393dfbcf |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 23 08:11:12 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 23 08:13:58 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df1aef52 |
7 |
|
8 |
app-editors/vim-core: remove bogus script in the src_prepare phase. |
9 |
|
10 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
11 |
Closes: https://bugs.gentoo.org/635136 |
12 |
|
13 |
app-editors/vim-core/vim-core-8.0.1188.ebuild | 8 +++----- |
14 |
1 file changed, 3 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/app-editors/vim-core/vim-core-8.0.1188.ebuild b/app-editors/vim-core/vim-core-8.0.1188.ebuild |
17 |
index 083a0871ebe..358da58e059 100644 |
18 |
--- a/app-editors/vim-core/vim-core-8.0.1188.ebuild |
19 |
+++ b/app-editors/vim-core/vim-core-8.0.1188.ebuild |
20 |
@@ -48,6 +48,9 @@ src_prepare() { |
21 |
-e '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \ |
22 |
"${S}"/runtime/tools/mve.awk || die "sed failed" |
23 |
|
24 |
+ # See #77841. We remove this file after the tarball extraction. |
25 |
+ rm -v "${S}"/runtime/tools/vimspell.sh || die "rm failed" |
26 |
+ |
27 |
# Read vimrc and gvimrc from /etc/vim |
28 |
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h |
29 |
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h |
30 |
@@ -201,11 +204,6 @@ src_install() { |
31 |
eshopts_pop |
32 |
fi |
33 |
|
34 |
- # These files might have slight security issues, so we won't |
35 |
- # install them. See bug #77841. We don't mind if these don't |
36 |
- # exist. |
37 |
- rm -v "${ED}${vimfiles}"/tools/vimspell.sh || die "rm failed" |
38 |
- |
39 |
newbashcomp "${FILESDIR}"/xxd-completion xxd |
40 |
} |