From: Hans de Graaff Date: Thu, 19 Mar 2020 19:50:21 +0000 (+0100) Subject: dev-ruby/rubyzip: remove vulnerable version, bug 711184 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d47841ac0e1493105a8e5124ef345d2300d0eb07;p=gentoo.git dev-ruby/rubyzip: remove vulnerable version, bug 711184 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Hans de Graaff --- diff --git a/dev-ruby/rubyzip/Manifest b/dev-ruby/rubyzip/Manifest index b741732b8e1b..cfa99fd1eab0 100644 --- a/dev-ruby/rubyzip/Manifest +++ b/dev-ruby/rubyzip/Manifest @@ -1,4 +1,3 @@ -DIST rubyzip-1.2.2-git.tgz 153976 BLAKE2B 350c05b5dde15bf6450c32b679b474df68b8597e82770e2d5f59bd0c430344a3f2868e8d2d7f59f2240f8fea02bc7ccc31777ceb5ff66041dba5a619e7849b21 SHA512 1af115db39b5107687049cead85732a3cdc6b0c3db69103af20bccf1c684ddc99d5d2f5b178b86600d2d6458f5eb535b7c9dc89ab32c91dba3519bbd3df59e7a DIST rubyzip-1.3.0-git.tgz 156664 BLAKE2B 2bde6515ddc71da32fc2d2819770857f7dde8605718c868f73edb8493f7db5ce66a7115d09933ffc6a06ac0979ab07e8cbdcd47984707688b7a5db43394847bc SHA512 5a764725d1f6a797f710581dbe07bd7971f0a8a5b0ffb7fc9b1a627c32e6e342ff54e2ad39e74e294dd283b8cbf358ed2dc40857f6f656007adff80d4769b9f4 DIST rubyzip-2.0.0-git.tgz 156754 BLAKE2B c01e90c2d1c0ce0eec994c6d7e38de5afbd8fcfe8e18d5a2e0f163b16ff554e42096eab6dffbcf52d7b470137d70b0b9cf11a1aa6481207894847c7425f421f5 SHA512 38ceae4312aed8330b08bdec703cce5386df49600318eb587c73de604708cb77b9e3bd0467e5d59c4715dd24e40f08e7b5ff7d110d2c2721278eb912ef7dca48 DIST rubyzip-2.1.0-git.tgz 158856 BLAKE2B 6c942b5225073d3c81d26693aa295961ff42e72d51f34d30328b4cbe5b2e1f77aa9687dcf5f1648861070b36df41fbf06b59f90918cbc5f0ac3f88e0ba55b303 SHA512 c88204d578b8cf60c245178d9fd7bb2ceb77d4260b7e2545add2c51ce191348583cd84e96d41c9d5097a297bda7d968bcf2e50fd37612b8d7352dadbdf2f906c diff --git a/dev-ruby/rubyzip/rubyzip-1.2.2.ebuild b/dev-ruby/rubyzip/rubyzip-1.2.2.ebuild deleted file mode 100644 index 1ce10588a71f..000000000000 --- a/dev-ruby/rubyzip/rubyzip-1.2.2.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -USE_RUBY="ruby23 ruby24 ruby25 ruby26" - -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md TODO" - -inherit ruby-fakegem - -DESCRIPTION="A ruby library for reading and writing zip files" -HOMEPAGE="https://github.com/rubyzip/rubyzip" -# Tests are not included in the gem. -SRC_URI="https://github.com/rubyzip/rubyzip/archive/v${PV}.tar.gz -> ${P}-git.tgz" - -LICENSE="Ruby" -SLOT="1" -KEYWORDS="amd64 arm ~arm64 hppa ~ia64 ppc ppc64 ~sparc x86" -IUSE="" - -RDEPEND="" -DEPEND="${DEPEND} test? ( app-arch/zip )" - -ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" - -all_ruby_install() { - all_fakegem_install - - docinto examples - dodoc samples/* -} - -all_ruby_prepare() { - # Avoid dependencies on simplecov and coveralls - sed -i -e '/simplecov/ s:^:#:' test/test_helper.rb || die - - # Avoid dependency on bundler - sed -i -e '/bundler/ s:^:#:' Rakefile || die - - # Fix hardcoded path to /tmp - sed -i -e 's:/tmp/:'${T}'/:g' test/entry_test.rb || die - - # Add missing requires - sed -i -e '1irequire "forwardable"; require "pathname"' test/input_stream_test.rb || die -}