commit: cae8e81c46bbfa5f94aa0e9e90d46f610f8f6e11
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 1 20:47:46 2021 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sun Aug 1 21:36:32 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cae8e81c
app-text/htmltidy: rename 20090325-r2 to 0.99.0
This is so that it appears to Portage as older than modern versions,
which use semantic versioning. Nb. 0.99 is the version number used in
the name of the library installed by this ebuild so it is sort of
correct.
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
...11CVE-2015-5522.patch => htmltidy-0.99.0-CVE-2015-5522.patch} | 0
...6-strip-O2-flag.patch => htmltidy-0.99.0-strip-O2-flag.patch} | 0
...mltidy-20090325-tidyrc.patch => htmltidy-0.99.0-tidyrc.patch} | 0
.../{htmltidy-20090325-r2.ebuild => htmltidy-0.99.0.ebuild} | 9 +++++----
4 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/app-text/htmltidy/files/11CVE-2015-5522.patch
b/app-text/htmltidy/files/htmltidy-0.99.0-CVE-2015-5522.patch
similarity index 100%
rename from app-text/htmltidy/files/11CVE-2015-5522.patch
rename to app-text/htmltidy/files/htmltidy-0.99.0-CVE-2015-5522.patch
diff --git a/app-text/htmltidy/files/htmltidy-5.10.26-strip-O2-flag.patch
b/app-text/htmltidy/files/htmltidy-0.99.0-strip-O2-flag.patch
similarity index 100%
rename from app-text/htmltidy/files/htmltidy-5.10.26-strip-O2-flag.patch
rename to app-text/htmltidy/files/htmltidy-0.99.0-strip-O2-flag.patch
diff --git a/app-text/htmltidy/files/htmltidy-20090325-tidyrc.patch
b/app-text/htmltidy/files/htmltidy-0.99.0-tidyrc.patch
similarity index 100%
rename from app-text/htmltidy/files/htmltidy-20090325-tidyrc.patch
rename to app-text/htmltidy/files/htmltidy-0.99.0-tidyrc.patch
diff --git a/app-text/htmltidy/htmltidy-20090325-r2.ebuild
b/app-text/htmltidy/htmltidy-0.99.0.ebuild
similarity index 90%
rename from app-text/htmltidy/htmltidy-20090325-r2.ebuild
rename to app-text/htmltidy/htmltidy-0.99.0.ebuild
index 84937969eb8..8cacda80a2a 100644
--- a/app-text/htmltidy/htmltidy-20090325-r2.ebuild
+++ b/app-text/htmltidy/htmltidy-0.99.0.ebuild
@@ -4,7 +4,8 @@
EAPI=5
MY_PN="tidy"
-MY_P="${MY_PN}-${PV}"
+MY_PV="20090325"
+MY_P="${MY_PN}-${MY_PV}"
inherit epatch autotools
@@ -29,13 +30,13 @@ src_prepare() {
cp -R ./build/gnuauto/* . || die "could not prepare autotools
environment"
# Stop tidy from appending -O2 to our CFLAGS
- epatch "${FILESDIR}"/htmltidy-5.10.26-strip-O2-flag.patch
+ epatch "${FILESDIR}"/${P}-strip-O2-flag.patch
# Define /etc/tidyrc for system wide config, bug 154834
- epatch "${FILESDIR}"/htmltidy-20090325-tidyrc.patch
+ epatch "${FILESDIR}"/${P}-tidyrc.patch
# Fix security bug 561452
- epatch "${FILESDIR}"/11CVE-2015-5522.patch
+ epatch "${FILESDIR}"/${P}-CVE-2015-5522.patch
eautoreconf
}