diff options
Diffstat (limited to 'app-text/htmltidy')
-rw-r--r-- | app-text/htmltidy/Manifest | 8 | ||||
-rw-r--r-- | app-text/htmltidy/files/htmltidy-0.99.0-CVE-2015-5522.patch | 34 | ||||
-rw-r--r-- | app-text/htmltidy/files/htmltidy-0.99.0-strip-O2-flag.patch | 12 | ||||
-rw-r--r-- | app-text/htmltidy/files/htmltidy-0.99.0-tidyrc.patch | 31 | ||||
-rw-r--r-- | app-text/htmltidy/htmltidy-0.99.0.ebuild | 80 | ||||
-rw-r--r-- | app-text/htmltidy/htmltidy-5.8.0-r1.ebuild | 2 |
6 files changed, 2 insertions, 165 deletions
diff --git a/app-text/htmltidy/Manifest b/app-text/htmltidy/Manifest index f6b4131a0afd..77c53acc8720 100644 --- a/app-text/htmltidy/Manifest +++ b/app-text/htmltidy/Manifest @@ -1,10 +1,4 @@ -AUX htmltidy-0.99.0-CVE-2015-5522.patch 1387 BLAKE2B 0a33769a37f78693025a3fb7e2bdcb6d02634df7c7cb417bad760ddc6318a51d1def3dc318a06b4182a916e664a0b47e2e3b8e40dfaff3616745c668b5b81a56 SHA512 d543dcf963fca7eaf644033a6f0252ec16b628984e1acd86fdb6d4657f01a2b3010c4c5f41b48126ce91cd38b5902349289ae4e11376cdc827813aac84b83f2c -AUX htmltidy-0.99.0-strip-O2-flag.patch 370 BLAKE2B 7c2a58a6a8c00460871278f59676d3b8b8077a7cf2fc1f65dc9ae2987e06d760c73177baa37a197eb0f45f3a5c09bc2030f556948cfd2470fabe2bd734527e3d SHA512 671a0ef17388fb39d5623e0dd2b8aa6c55c22d9f3ba8eea093ddea1234a2786ef983cbe9dd7002fe04b2986ae888458f4f44120c47aa34dc145d34d9db2f81d7 -AUX htmltidy-0.99.0-tidyrc.patch 923 BLAKE2B 1ce5800a8991d37edb48d652c03525ce68cc97488dd0fda0214b4437b6f9bc29e0e29f046328bd1df4eb0143757d7b866df06fd302d2b2c367817e0deec5202a SHA512 2acef36a990196c4c995a4678988f5f4bc51b87c17a01843b1f7cefc4ff1062425d366b29ace0839ea8b6b64a8923c5f56ac4048106825b946059eae8951e326 AUX htmltidy-5.8.0-no_static_lib.patch 1282 BLAKE2B 6c5dd8ce16b0e05ce0cca9ea268b85bffa371f99e20d909f606c20c5fb6d06464f65daf7a297989966656f3eda0d5cc920a8f9e60dbbbba21927aab180567f9b SHA512 8742a0db922098f46d377861d56c6202144ed02c9603e3899817c9d1b5a903bc10e729066c2bc95b0a9c9b63603c6ed42a3b8486264d3560b78255b096b62000 DIST htmltidy-5.8.0.tar.gz 1015303 BLAKE2B e8e48cfdcfffb7c7ac494f71ba709361e21fcbe5cfbd56c29d9d67ffe11fcdc20aa03aace65e6dc5315988dc0dd1fc148be616549f4f84f37928e662633bd7ec SHA512 f352165bdda5d1fca7bba3365560b64d6f70a4e010821cd246cde43bed5c23cea3408d461d3f889110fd35ec9b68aa2b4e95412b07775eb852b7ee1745007a44 -DIST tidy-20090325-doc.tar.bz2 13319 BLAKE2B c55c5e10cdfbf0eb62685955cad24f628c21e612bd12c41018c139b3b93db95cc201888f6766d7f68f2d1c4d4cfb2cab25b668eff0d2d241462f4cf9b65e79e1 SHA512 0224d1f839f3829a9c879eba8a98ceee3b0c9f8bfe1721076859714428d534f492acd11e49992fccc2e45afd64d79067793c90f7af06d623ef89e7c16dfee35b -DIST tidy-20090325.tar.bz2 382016 BLAKE2B 3373e94d54cfef866e701e2e258be821b8749dbbbc37b10e4e4e4ba6d7f5995676161ac11bc6a2497f5e02c3907f680fabe9ac6dec2f2365aeb39c03b9697e0a SHA512 daeab2c3dd7f1248a5dbc1585267a8fdb0be09a940b79c3e53c97051f692cf85ea9f0a267f37e1c877054b77efb836d422a1e7ff61b22b383a2d2ac08939b970 -EBUILD htmltidy-0.99.0.ebuild 1970 BLAKE2B 3070aed3a7fd97500449b0a9d15e94310d0fc6e1132031eb780c219341906c9c28d18c17510768a39f7c0abeada96ba536281d4e363cd9a5dee333cf05d80ef5 SHA512 c2daf06a319549320e4510df60f240e9f6a9504657fc230ca3d6af535804b1daf47fae2c6f92bab84fdc31b3968683e30228196249b60e92d480540006c89c2d -EBUILD htmltidy-5.8.0-r1.ebuild 1498 BLAKE2B e63b5bb8587b4f61bac9d28df3fbf85727fa69474d35115dd6636fe0c10e53f1cd8aa3f888983a235a2e187d72c803cb376697003b593cf00ba20d1c72b5dc6c SHA512 80b109025beb7e87a30a81fe1f32a9a6ea53da24245c22ad4a9fbc4313d0f0ebd15a9bd2bf4fb7e9d26ed732c9b8353c88eb5243e6c5acaf25c5a86ce28cb281 +EBUILD htmltidy-5.8.0-r1.ebuild 1495 BLAKE2B 87a6a9bb3d30778e0a9af6c28e11545fe7c8b34315fbeb803a2c4b69e1d5845fc036dd358227b1434609d7de5f1601d5716049d995457d49b3a799b1acb0f9a5 SHA512 8612acd8125b83e671157cebbaa60e0c06c3ba2b8e3c64bf430743294c0998ca4b90a743ecb1af5554fcef87ec6a2c3c4dc06bdfaf997bb0a493c35a70aefc4e MISC metadata.xml 608 BLAKE2B 7fcc3eaa3f24191606776cc3a92f97d58f1ba27c3ebeea50727bc334d504ef09ff4387208222080574856db1e6d1d8689a9b22f1ef0f0347f3bb82d9a38a6afc SHA512 adc1857b273dc8bb8fd7215cd733e56dd41eb7e9eaf82ccf183f001afeeaafd2ba4cde4f9b75c2882427ebed7cfcb60a16408d19f9f6c6ad91b6beacc9edefeb diff --git a/app-text/htmltidy/files/htmltidy-0.99.0-CVE-2015-5522.patch b/app-text/htmltidy/files/htmltidy-0.99.0-CVE-2015-5522.patch deleted file mode 100644 index b4d6158ea04a..000000000000 --- a/app-text/htmltidy/files/htmltidy-0.99.0-CVE-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/src/lexer.c -+++ b/src/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/app-text/htmltidy/files/htmltidy-0.99.0-strip-O2-flag.patch b/app-text/htmltidy/files/htmltidy-0.99.0-strip-O2-flag.patch deleted file mode 100644 index 4c805cf2226f..000000000000 --- a/app-text/htmltidy/files/htmltidy-0.99.0-strip-O2-flag.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -urN tidy.old/configure.in tidy-26/configure.in ---- tidy.old/configure.in 2006-02-13 17:17:49.000000000 +0100 -+++ tidy-26/configure.in 2006-02-13 17:17:20.000000000 +0100 -@@ -72,7 +72,7 @@ - if test $debug_build = yes; then - CFLAGS="$save_cflags -g" - else -- CFLAGS="-O2 $save_cflags" -+ CFLAGS="$save_cflags" - fi - # - # ============================================= diff --git a/app-text/htmltidy/files/htmltidy-0.99.0-tidyrc.patch b/app-text/htmltidy/files/htmltidy-0.99.0-tidyrc.patch deleted file mode 100644 index 942a61e1464c..000000000000 --- a/app-text/htmltidy/files/htmltidy-0.99.0-tidyrc.patch +++ /dev/null @@ -1,31 +0,0 @@ -Index: tidy-20090325/include/platform.h -=================================================================== ---- tidy-20090325.orig/include/platform.h -+++ tidy-20090325/include/platform.h -@@ -24,7 +24,7 @@ extern "C" { - */ - - /* #define TIDY_CONFIG_FILE "/etc/tidy_config.txt" */ /* original */ --/* #define TIDY_CONFIG_FILE "/etc/tidyrc" */ -+#define TIDY_CONFIG_FILE "/etc/tidyrc" - /* #define TIDY_CONFIG_FILE "/etc/tidy.conf" */ - - /* -@@ -33,7 +33,7 @@ extern "C" { - It enables tidy to find config files named ~/.tidyrc if - the HTML_TIDY environment variable is not set. - */ --/* #define TIDY_USER_CONFIG_FILE "~/.tidyrc" */ -+#define TIDY_USER_CONFIG_FILE "~/.tidyrc" - - /* - Uncomment the following #define if your -@@ -48,7 +48,7 @@ extern "C" { - Contributed by Todd Lewis. - */ - --/* #define SUPPORT_GETPWNAM */ -+#define SUPPORT_GETPWNAM - - - /* Enable/disable support for Big5 and Shift_JIS character encodings */ diff --git a/app-text/htmltidy/htmltidy-0.99.0.ebuild b/app-text/htmltidy/htmltidy-0.99.0.ebuild deleted file mode 100644 index 8cacda80a2a1..000000000000 --- a/app-text/htmltidy/htmltidy-0.99.0.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -MY_PN="tidy" -MY_PV="20090325" -MY_P="${MY_PN}-${MY_PV}" - -inherit epatch autotools - -DESCRIPTION="Tidy the layout and correct errors in HTML and XML documents" -HOMEPAGE="http://tidy.sourceforge.net/" -SRC_URI="mirror://gentoo/${MY_P}.tar.bz2 - mirror://gentoo/${MY_P}-doc.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="debug doc static-libs" - -DEPEND="doc? ( app-doc/doxygen )" -RDEPEND="" - -S="${WORKDIR}"/${MY_P} - -src_prepare() { - # Required to setup the source dist for autotools - einfo "Setting up autotools for source build" - cp -R ./build/gnuauto/* . || die "could not prepare autotools environment" - - # Stop tidy from appending -O2 to our CFLAGS - epatch "${FILESDIR}"/${P}-strip-O2-flag.patch - - # Define /etc/tidyrc for system wide config, bug 154834 - epatch "${FILESDIR}"/${P}-tidyrc.patch - - # Fix security bug 561452 - epatch "${FILESDIR}"/${P}-CVE-2015-5522.patch - - eautoreconf -} - -src_compile() { - default - - if use doc ; then - doxygen htmldoc/doxygen.cfg || die "error making apidocs" - fi -} - -src_configure() { - econf \ - $(use_enable debug) \ - $(use_enable static-libs static) -} - -src_install() { - default - - find "${ED}" -name '*.la' -exec rm -f {} + - - # Now the man page is provided as an xsl file, which - # we can't use until htmltidy is merged. - # I have generated the man page and quickref which is on - # the mirrors. (bug #132429) - doman "${WORKDIR}"/"${MY_P}"-doc/tidy.1 - - # Fix name before installing - mv "${WORKDIR}"/"${MY_P}"-doc/quickref-html \ - "${WORKDIR}"/"${MY_P}"-doc/quickref.html - - cd "${S}"/htmldoc - # Install basic html documentation - dohtml *.html *.css *.gif "${WORKDIR}"/"${MY_P}"-doc/quickref.html - - # If use 'doc' is set, then we also want to install the - # api documentation - use doc && dohtml -r api -} diff --git a/app-text/htmltidy/htmltidy-5.8.0-r1.ebuild b/app-text/htmltidy/htmltidy-5.8.0-r1.ebuild index 972050738a1b..f398e94701dd 100644 --- a/app-text/htmltidy/htmltidy-5.8.0-r1.ebuild +++ b/app-text/htmltidy/htmltidy-5.8.0-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/htacg/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P LICENSE="BSD" SLOT="0/58" # subslot is SOVERSION -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="deprecated test" RESTRICT="!test? ( test )" |