diff options
author | Zac Medico <zmedico@gentoo.org> | 2020-02-29 18:40:37 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2020-02-29 18:41:02 -0800 |
commit | 1167b651c1845379e649d8b0dac2fb4e7aa2fced (patch) | |
tree | 490a011a9eb631617acac2269b5c33e20abf93e9 /sys-apps/yarn | |
parent | media-tv/kodi: 18.6 version bump (diff) | |
download | gentoo-1167b651c1845379e649d8b0dac2fb4e7aa2fced.tar.gz gentoo-1167b651c1845379e649d8b0dac2fb4e7aa2fced.tar.bz2 gentoo-1167b651c1845379e649d8b0dac2fb4e7aa2fced.zip |
sys-apps/yarn: remove vulnerable versions bug 711132
Bug: https://bugs.gentoo.org/711132
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'sys-apps/yarn')
-rw-r--r-- | sys-apps/yarn/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/yarn/yarn-1.19.2.ebuild | 39 | ||||
-rw-r--r-- | sys-apps/yarn/yarn-1.21.1.ebuild | 40 |
3 files changed, 0 insertions, 81 deletions
diff --git a/sys-apps/yarn/Manifest b/sys-apps/yarn/Manifest index 04b984e1082f..5b73665fc750 100644 --- a/sys-apps/yarn/Manifest +++ b/sys-apps/yarn/Manifest @@ -1,3 +1 @@ -DIST yarn-v1.19.2.tar.gz 1244018 BLAKE2B f88d0b6c5c3bdb6e02c0dd8c36fa981d35a0e46da143399dbbd8a39fac13669dc1b459f3ecd192c99d767fc477f54e61d74caeafaf9d1f0cdfdc4fba0b405fb6 SHA512 39d2cdfcafec03e2a75b8820350c0760ae9825d2e4496c5bc7a21877e588409eb10df93c08860a72405fc06c530660da125b96b3cdc89f38c50a652a3eda58fb -DIST yarn-v1.21.1.tar.gz 1244168 BLAKE2B 351ee6421fd85563ceb5d1e49f600b4f315041d85b412cd36a0bcfe352cd974ddf6c53e03171bf173794400c31eabc4fca5f3ae2402770441a9d9942ec79cf82 SHA512 75082626febbe97fcd41cce96e20ed73686c13fa69a460c9033c25462003313bc5cd86ddc4f8f658ee0f70dcab892b767388ec08ca6df14151287528ceddb519 DIST yarn-v1.22.0.tar.gz 1244012 BLAKE2B 2764704103e281de8fd8c2c28abae56c7ba863365989b884add045d2f80810f0f8b83acd77baeef2375fe1424ad54cabfd89e4d14b38068114552115d3b7a812 SHA512 28c1cffc9ab9de364a4d8f624d4b77748565fdb7ba50fb3620da3debe0676472cac583537f03269601d368c5b2199a0eef8448e00205be75a162b5ead9448992 diff --git a/sys-apps/yarn/yarn-1.19.2.ebuild b/sys-apps/yarn/yarn-1.19.2.ebuild deleted file mode 100644 index 6366d1485234..000000000000 --- a/sys-apps/yarn/yarn-1.19.2.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_P="${PN}-v${PV}" - -DESCRIPTION="Fast, reliable, and secure node dependency management" -HOMEPAGE="https://yarnpkg.com" -SRC_URI="https://github.com/yarnpkg/yarn/releases/download/v${PV}/${MY_P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="!dev-util/cmdtest - net-libs/nodejs" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - default - sed -i 's/"installationMethod": "tar"/"installationMethod": "portage"/g' "${S}/package.json" || die -} - -src_install() { - local install_dir="/usr/$(get_libdir)/node_modules/yarn" path shebang - insinto "${install_dir}" - doins -r . - dosym "../$(get_libdir)/node_modules/yarn/bin/yarn.js" "/usr/bin/yarn" - - while read -r -d '' path; do - read -r shebang < "${ED}${path}" || die - [[ "${shebang}" == \#\!* ]] || continue - fperms +x "${path}" - done < <(find "${ED}" -type f -printf '/%P\0' || die) -} diff --git a/sys-apps/yarn/yarn-1.21.1.ebuild b/sys-apps/yarn/yarn-1.21.1.ebuild deleted file mode 100644 index 45da833461b0..000000000000 --- a/sys-apps/yarn/yarn-1.21.1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_P="${PN}-v${PV}" - -DESCRIPTION="Fast, reliable, and secure node dependency management" -HOMEPAGE="https://yarnpkg.com" -SRC_URI="https://github.com/yarnpkg/yarn/releases/download/v${PV}/${MY_P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="!dev-util/cmdtest - net-libs/nodejs" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - default - sed -i 's/"installationMethod": "tar"/"installationMethod": "portage"/g' "${S}/package.json" || die -} - -src_install() { - local install_dir="/usr/$(get_libdir)/node_modules/yarn" path shebang - insinto "${install_dir}" - doins -r . - dosym "../$(get_libdir)/node_modules/yarn/bin/yarn.js" "/usr/bin/yarn" - dosym "../$(get_libdir)/node_modules/yarn/bin/yarnpkg" "/usr/bin/yarnpkg" - - while read -r -d '' path; do - read -r shebang < "${ED}${path}" || die - [[ "${shebang}" == \#\!* ]] || continue - fperms +x "${path}" - done < <(find "${ED}" -type f -printf '/%P\0' || die) -} |