diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-21 12:02:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-21 12:02:15 +0100 |
commit | d1f1f3bc630772e7197391e85311655e2b6e7fa2 (patch) | |
tree | 0566ad543bdf6d9d9e03d8ab618ccc744913985a /dev-ruby/tidy-ext | |
parent | 0cdd46ad5d0cd7ede78815175764fdf76649d46e (diff) |
gentoo auto-resync : 21:04:2023 - 12:02:15
Diffstat (limited to 'dev-ruby/tidy-ext')
-rw-r--r-- | dev-ruby/tidy-ext/Manifest | 4 | ||||
-rw-r--r-- | dev-ruby/tidy-ext/files/11CVE-2015-5522.patch | 34 | ||||
-rw-r--r-- | dev-ruby/tidy-ext/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild | 34 |
4 files changed, 0 insertions, 83 deletions
diff --git a/dev-ruby/tidy-ext/Manifest b/dev-ruby/tidy-ext/Manifest deleted file mode 100644 index 07db945b520d..000000000000 --- a/dev-ruby/tidy-ext/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX 11CVE-2015-5522.patch 1397 BLAKE2B 4e14c9f6c4d18e930b9d9324ed69717980a491e2ee217b96085d570541d5622a8120a5f47d53310cdf36b8907b610f527e1acf53918289eaf8b50b121c0ee823 SHA512 d0ff033d757ab6b1b4d4d77d4429f8e39ef7e818f35a9d6edeaf7e031c6e45d9df33d318d724a66fbc0a7cecd3303c4fe5260e5b3dcda5983e732b33aa675bd8 -DIST tidy-ext-0.1.14.gem 260608 BLAKE2B 5401ec2019f25307f4083f3a1717cd2b0419e0025875b0ad461c72e50445f9b1ffc488a723db04432d262cf2dd94fd267f5261b33eb53d829f4a03d5cd29ab30 SHA512 8a8eada3cb5e815338de49332a24c85b9b2cabba0e10f2d72fe85bd4faf76924e52d82066e7b73e62bc459631aaa9d1c42a6941988ae2a71ca0ddd4f3302ad86 -EBUILD tidy-ext-0.1.14-r4.ebuild 816 BLAKE2B 6f70effef01801ddb40261dc7f4fc4c118b68440a368d54db1436b4c2b5b483c6428598f911a7bcab55a1762b13a394fe059af1395b2650d2c5007e18dbc5ee2 SHA512 feb8cb5cb4fced695e1f78f6a43051e4cac2df42006230b3b12c292144bf9a7147059ca29f63066139759561328a18f003be7209231dc23d5ab78ea015f4177c -MISC metadata.xml 337 BLAKE2B a79aebb128de2c425a6a6aca3c7f5e0aa7cff2be5716ef7c53d90e8f2c0375d0a20b06b1cac6dd24dd4515149da8ca9c14b9bb0eb17a7d17c053a2ece3fb0329 SHA512 9c2e4983ae509f6b2dea3c201b320bf9d4e8ff250d6b4cc3039ae6b3b6afa7a744f92fc31c293c68b65372147d05ef070776481cb581d66272de7111e9c391f9 diff --git a/dev-ruby/tidy-ext/files/11CVE-2015-5522.patch b/dev-ruby/tidy-ext/files/11CVE-2015-5522.patch deleted file mode 100644 index 942209873be0..000000000000 --- a/dev-ruby/tidy-ext/files/11CVE-2015-5522.patch +++ /dev/null @@ -1,34 +0,0 @@ -From c18f27a58792f7fbd0b30a0ff50d6b40a82f940d Mon Sep 17 00:00:00 2001 -From: Geoff McLane <ubuntu@geoffair.info> -Date: Wed, 3 Jun 2015 20:26:03 +0200 -Subject: [PATCH] Issue #217 - avoid len going negative, ever... - ---- - src/lexer.c | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -diff --git a/src/lexer.c b/src/lexer.c -index 376a3d8..664f806 100644 ---- a/ext/tidy/lexer.c -+++ b/ext/tidy/lexer.c -@@ -3739,16 +3740,17 @@ static tmbstr ParseValue( TidyDocImpl* doc, ctmbstr name, - /* and prompts attributes unless --literal-attributes is set to yes */ - /* #994841 - Whitespace is removed from value attributes */ - -- if (munge && -+ /* Issue #217 - Also only if/while (len > 0) - MUST NEVER GO NEGATIVE! */ -+ if ((len > 0) && munge && - TY_(tmbstrcasecmp)(name, "alt") && - TY_(tmbstrcasecmp)(name, "title") && - TY_(tmbstrcasecmp)(name, "value") && - TY_(tmbstrcasecmp)(name, "prompt")) - { -- while (TY_(IsWhite)(lexer->lexbuf[start+len-1])) -+ while (TY_(IsWhite)(lexer->lexbuf[start+len-1]) && (len > 0)) - --len; - -- while (TY_(IsWhite)(lexer->lexbuf[start]) && start < len) -+ while (TY_(IsWhite)(lexer->lexbuf[start]) && (start < len) && (len > 0)) - { - ++start; - --len; diff --git a/dev-ruby/tidy-ext/metadata.xml b/dev-ruby/tidy-ext/metadata.xml deleted file mode 100644 index 0432a268b965..000000000000 --- a/dev-ruby/tidy-ext/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>ruby@gentoo.org</email> - <name>Gentoo Ruby Project</name> - </maintainer> - <upstream> - <remote-id type="github">carld/tidy</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild deleted file mode 100644 index 1027b579d387..000000000000 --- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_EXTENSIONS=(ext/tidy/extconf.rb) - -inherit ruby-fakegem - -DESCRIPTION="W3C HTML Tidy library implemented as a Ruby extension" -HOMEPAGE="https://github.com/carld/tidy" - -LICENSE="HTML-Tidy" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 ~sparc x86" -IUSE="" - -PATCHES=( "${FILESDIR}/11CVE-2015-5522.patch" ) - -all_ruby_prepare() { - mkdir lib || die - - # Remove reference to rspec 1 - sed -i -e '/spec/d' spec/spec_helper.rb || die - - # Avoid spec that needs network connectivity. - rm spec/tidy/remote_uri_spec.rb || die - - # rspec 3 compatibility - sed -i -e 's/be_true/be_truthy/' spec/tidy/compat_spec.rb || die -} |