1 |
commit: 1167b651c1845379e649d8b0dac2fb4e7aa2fced |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 1 02:40:37 2020 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 1 02:41:02 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1167b651 |
7 |
|
8 |
sys-apps/yarn: remove vulnerable versions bug 711132 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/711132 |
11 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
12 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
13 |
|
14 |
sys-apps/yarn/Manifest | 2 -- |
15 |
sys-apps/yarn/yarn-1.19.2.ebuild | 39 --------------------------------------- |
16 |
sys-apps/yarn/yarn-1.21.1.ebuild | 40 ---------------------------------------- |
17 |
3 files changed, 81 deletions(-) |
18 |
|
19 |
diff --git a/sys-apps/yarn/Manifest b/sys-apps/yarn/Manifest |
20 |
index 04b984e1082..5b73665fc75 100644 |
21 |
--- a/sys-apps/yarn/Manifest |
22 |
+++ b/sys-apps/yarn/Manifest |
23 |
@@ -1,3 +1 @@ |
24 |
-DIST yarn-v1.19.2.tar.gz 1244018 BLAKE2B f88d0b6c5c3bdb6e02c0dd8c36fa981d35a0e46da143399dbbd8a39fac13669dc1b459f3ecd192c99d767fc477f54e61d74caeafaf9d1f0cdfdc4fba0b405fb6 SHA512 39d2cdfcafec03e2a75b8820350c0760ae9825d2e4496c5bc7a21877e588409eb10df93c08860a72405fc06c530660da125b96b3cdc89f38c50a652a3eda58fb |
25 |
-DIST yarn-v1.21.1.tar.gz 1244168 BLAKE2B 351ee6421fd85563ceb5d1e49f600b4f315041d85b412cd36a0bcfe352cd974ddf6c53e03171bf173794400c31eabc4fca5f3ae2402770441a9d9942ec79cf82 SHA512 75082626febbe97fcd41cce96e20ed73686c13fa69a460c9033c25462003313bc5cd86ddc4f8f658ee0f70dcab892b767388ec08ca6df14151287528ceddb519 |
26 |
DIST yarn-v1.22.0.tar.gz 1244012 BLAKE2B 2764704103e281de8fd8c2c28abae56c7ba863365989b884add045d2f80810f0f8b83acd77baeef2375fe1424ad54cabfd89e4d14b38068114552115d3b7a812 SHA512 28c1cffc9ab9de364a4d8f624d4b77748565fdb7ba50fb3620da3debe0676472cac583537f03269601d368c5b2199a0eef8448e00205be75a162b5ead9448992 |
27 |
|
28 |
diff --git a/sys-apps/yarn/yarn-1.19.2.ebuild b/sys-apps/yarn/yarn-1.19.2.ebuild |
29 |
deleted file mode 100644 |
30 |
index 6366d148523..00000000000 |
31 |
--- a/sys-apps/yarn/yarn-1.19.2.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,39 +0,0 @@ |
34 |
-# Copyright 1999-2019 Gentoo Authors |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=7 |
38 |
- |
39 |
-MY_P="${PN}-v${PV}" |
40 |
- |
41 |
-DESCRIPTION="Fast, reliable, and secure node dependency management" |
42 |
-HOMEPAGE="https://yarnpkg.com" |
43 |
-SRC_URI="https://github.com/yarnpkg/yarn/releases/download/v${PV}/${MY_P}.tar.gz" |
44 |
- |
45 |
-LICENSE="BSD-2" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="~amd64 ~x86" |
48 |
-IUSE="" |
49 |
- |
50 |
-RDEPEND="!dev-util/cmdtest |
51 |
- net-libs/nodejs" |
52 |
-DEPEND="${RDEPEND}" |
53 |
- |
54 |
-S="${WORKDIR}/${MY_P}" |
55 |
- |
56 |
-src_prepare() { |
57 |
- default |
58 |
- sed -i 's/"installationMethod": "tar"/"installationMethod": "portage"/g' "${S}/package.json" || die |
59 |
-} |
60 |
- |
61 |
-src_install() { |
62 |
- local install_dir="/usr/$(get_libdir)/node_modules/yarn" path shebang |
63 |
- insinto "${install_dir}" |
64 |
- doins -r . |
65 |
- dosym "../$(get_libdir)/node_modules/yarn/bin/yarn.js" "/usr/bin/yarn" |
66 |
- |
67 |
- while read -r -d '' path; do |
68 |
- read -r shebang < "${ED}${path}" || die |
69 |
- [[ "${shebang}" == \#\!* ]] || continue |
70 |
- fperms +x "${path}" |
71 |
- done < <(find "${ED}" -type f -printf '/%P\0' || die) |
72 |
-} |
73 |
|
74 |
diff --git a/sys-apps/yarn/yarn-1.21.1.ebuild b/sys-apps/yarn/yarn-1.21.1.ebuild |
75 |
deleted file mode 100644 |
76 |
index 45da833461b..00000000000 |
77 |
--- a/sys-apps/yarn/yarn-1.21.1.ebuild |
78 |
+++ /dev/null |
79 |
@@ -1,40 +0,0 @@ |
80 |
-# Copyright 1999-2019 Gentoo Authors |
81 |
-# Distributed under the terms of the GNU General Public License v2 |
82 |
- |
83 |
-EAPI=7 |
84 |
- |
85 |
-MY_P="${PN}-v${PV}" |
86 |
- |
87 |
-DESCRIPTION="Fast, reliable, and secure node dependency management" |
88 |
-HOMEPAGE="https://yarnpkg.com" |
89 |
-SRC_URI="https://github.com/yarnpkg/yarn/releases/download/v${PV}/${MY_P}.tar.gz" |
90 |
- |
91 |
-LICENSE="BSD-2" |
92 |
-SLOT="0" |
93 |
-KEYWORDS="~amd64 ~x86" |
94 |
-IUSE="" |
95 |
- |
96 |
-RDEPEND="!dev-util/cmdtest |
97 |
- net-libs/nodejs" |
98 |
-DEPEND="${RDEPEND}" |
99 |
- |
100 |
-S="${WORKDIR}/${MY_P}" |
101 |
- |
102 |
-src_prepare() { |
103 |
- default |
104 |
- sed -i 's/"installationMethod": "tar"/"installationMethod": "portage"/g' "${S}/package.json" || die |
105 |
-} |
106 |
- |
107 |
-src_install() { |
108 |
- local install_dir="/usr/$(get_libdir)/node_modules/yarn" path shebang |
109 |
- insinto "${install_dir}" |
110 |
- doins -r . |
111 |
- dosym "../$(get_libdir)/node_modules/yarn/bin/yarn.js" "/usr/bin/yarn" |
112 |
- dosym "../$(get_libdir)/node_modules/yarn/bin/yarnpkg" "/usr/bin/yarnpkg" |
113 |
- |
114 |
- while read -r -d '' path; do |
115 |
- read -r shebang < "${ED}${path}" || die |
116 |
- [[ "${shebang}" == \#\!* ]] || continue |
117 |
- fperms +x "${path}" |
118 |
- done < <(find "${ED}" -type f -printf '/%P\0' || die) |
119 |
-} |