summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-08-01 21:47:46 +0100
committerMarek Szuba <marecki@gentoo.org>2021-08-01 22:36:32 +0100
commitcae8e81c46bbfa5f94aa0e9e90d46f610f8f6e11 (patch)
tree264fd49ffa069d3f93ad1b52c0d1b3080243a585 /app-text
parentapp-text/htmltidy: add self as maintainer (diff)
downloadgentoo-cae8e81c46bbfa5f94aa0e9e90d46f610f8f6e11.tar.gz
gentoo-cae8e81c46bbfa5f94aa0e9e90d46f610f8f6e11.tar.bz2
gentoo-cae8e81c46bbfa5f94aa0e9e90d46f610f8f6e11.zip
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@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/htmltidy/files/htmltidy-0.99.0-CVE-2015-5522.patch (renamed from app-text/htmltidy/files/11CVE-2015-5522.patch)0
-rw-r--r--app-text/htmltidy/files/htmltidy-0.99.0-strip-O2-flag.patch (renamed from app-text/htmltidy/files/htmltidy-5.10.26-strip-O2-flag.patch)0
-rw-r--r--app-text/htmltidy/files/htmltidy-0.99.0-tidyrc.patch (renamed from app-text/htmltidy/files/htmltidy-20090325-tidyrc.patch)0
-rw-r--r--app-text/htmltidy/htmltidy-0.99.0.ebuild (renamed from app-text/htmltidy/htmltidy-20090325-r2.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
index b4d6158ea04a..b4d6158ea04a 100644
--- a/app-text/htmltidy/files/11CVE-2015-5522.patch
+++ b/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
index 4c805cf2226f..4c805cf2226f 100644
--- 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
diff --git a/app-text/htmltidy/files/htmltidy-20090325-tidyrc.patch b/app-text/htmltidy/files/htmltidy-0.99.0-tidyrc.patch
index 942a61e1464c..942a61e1464c 100644
--- a/app-text/htmltidy/files/htmltidy-20090325-tidyrc.patch
+++ b/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
index 84937969eb81..8cacda80a2a1 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
}