From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-text/html2text/Manifest | 8 ++++ .../files/html2text-1.3.2a-compiler.patch | 13 +++++++ .../files/html2text-1.3.2a-urlistream-get.patch | 11 ++++++ app-text/html2text/html2text-1.3.2a-r1.ebuild | 41 ++++++++++++++++++++ app-text/html2text/html2text-1.3.2a.ebuild | 44 ++++++++++++++++++++++ app-text/html2text/metadata.xml | 12 ++++++ 6 files changed, 129 insertions(+) create mode 100644 app-text/html2text/Manifest create mode 100644 app-text/html2text/files/html2text-1.3.2a-compiler.patch create mode 100644 app-text/html2text/files/html2text-1.3.2a-urlistream-get.patch create mode 100644 app-text/html2text/html2text-1.3.2a-r1.ebuild create mode 100644 app-text/html2text/html2text-1.3.2a.ebuild create mode 100644 app-text/html2text/metadata.xml (limited to 'app-text/html2text') diff --git a/app-text/html2text/Manifest b/app-text/html2text/Manifest new file mode 100644 index 000000000000..929605561a04 --- /dev/null +++ b/app-text/html2text/Manifest @@ -0,0 +1,8 @@ +AUX html2text-1.3.2a-compiler.patch 247 BLAKE2B 83c719d6dbbc18e347ca45e6e0df8958a615fb2c1d1f27119978d6efd15aeec6a32fa83e0d9524e4b5863dfec88787427e7c5f2757f8c5eafb0ee4d88fb96860 SHA512 f7c2192e65fe6976ac9d21d45fcb3eb9cd460314945fd9e8f62ada1189935c3799aea43b6ebb15a86b6f313fb95e4115d6aa67a148f11d1b8774d9ca115b538e +AUX html2text-1.3.2a-urlistream-get.patch 186 BLAKE2B 600aac564090a318cd600858360b16e4cedc0005981d8c392ca450b7182fd0497cdbed6388d9429406756734ba2a204baaf314b73a2f69978574698e631289c2 SHA512 388c30725c72e3d7b372544b4a4fec871d3069fe050aec3212b047d8bdb0c31575e2703e46374b3b7d0422ca8cf2ce2f2d3960d56c32977d85a93d4d94b41659 +DIST html2text-1.3.2a.tar.gz 130088 BLAKE2B 97ca951ae7c501cefca78378683de7fb3c329905298de9e9675303485f3f4a83c5de39c90c8f9c0fe20b73d1e2b70897ee47cdabade9b3791a46f02625bbef05 SHA512 8ec2c17849615b8b78b6f7e9066e5bcfb419b293ffe98323ed0942e891993e205ef37ddfd2839eb12b6bad561989027aea0ba2d57eb7193d424715f93ded90e5 +DIST patch-amd64-html2text-1.3.2a.diff 2230 BLAKE2B 332adeeceed512a2c5bfc01985efbaa4db5ea64b3e4ef8be8b880754524771de2e11b3a2efc55bce154bedc9e598231a1b5bcfe10e915b833d6dbcbcd9e46dc9 SHA512 2a421a20aec8a547bbdf54b81e30a6a1d4cf093e7ad67b27158f0c7248ca0abadd8d96ce0a27adcdd375012db6fd21f61f42a8343bfd910cd8a9720c0a043be1 +DIST patch-utf8-html2text-1.3.2a.diff 29499 BLAKE2B ffc0ea8d89d9e9c9dfa89c2369016685a6af1403a6e71787df2724b72c74c8f774d8d92278a1aaeb90f47d34c8de4c889a7bf4edc02a00e3c97955ea624cfa71 SHA512 be31251471b221a38d291420d5f23e01d5017c20d953064c33ca3dd148543ae877ab584c16fcb01df1341abdb02494b05d08fdcf94bf70bad6b510ee8fac3376 +EBUILD html2text-1.3.2a-r1.ebuild 994 BLAKE2B a6ecf556040564c64bba93dc0dd4d9fcf5060df5a6b9a487ea91f4b2b1fac6da4f4783910a86a98cc2e2c02c9f2ee19bc7ab9f7e40d0441f56c07f28b2979a45 SHA512 94ad8a3df67dc20c080bab7a5eabe3ed2f38c39df6f454f6425b0033774b5aa0f393afe16d69e01f499ee69c2f31316a979cc0326e19737550d5bfa57603e0fb +EBUILD html2text-1.3.2a.ebuild 933 BLAKE2B 79617efc95c443681009563030126da8aadc589ae081b7162a700622367647112fae06271797923f0de4ed462aa4b89d17f2ab36084dae3edfbf67784cdb0797 SHA512 ab234c98f3998db61cb17dad4fc72dbfa184a93511d7a4482bee1dd0f1a350ef59645b5ffbd427fb0d4107135d19a95cb3cf8e36760377309e63076a56158e4a +MISC metadata.xml 373 BLAKE2B a4ea5de91e4a5f5a7653f4c9d86262c999e72c69863f0185700bd4fab6c27cf87d3e392aa013dd4b60a84b1ea0ddc42d811c4131c8db3ba427df86df7fa4abb8 SHA512 ae24dd6abb85c0abb4085f15c9c140d2dc3bb0c201ee22f1762e1eadc37899e8b5aa5cb794f9cd12bc26857195c9b9ba8cfa46d05628cdf765ddfc0639dd6bd4 diff --git a/app-text/html2text/files/html2text-1.3.2a-compiler.patch b/app-text/html2text/files/html2text-1.3.2a-compiler.patch new file mode 100644 index 000000000000..19a1341209d4 --- /dev/null +++ b/app-text/html2text/files/html2text-1.3.2a-compiler.patch @@ -0,0 +1,13 @@ +--- a/configure ++++ b/configure +@@ -38,8 +38,8 @@ + return 0; + } + EOF +-CXX=unknown; +-for i in "CC" "g++" "cc" "$CC"; do ++CXX=${CXX-unknown} ++for i in "$CXX" "CC" "g++" "cc"; do + if $i -c $tmp_file.C 2>/dev/null; then + CXX="$i"; + break; diff --git a/app-text/html2text/files/html2text-1.3.2a-urlistream-get.patch b/app-text/html2text/files/html2text-1.3.2a-urlistream-get.patch new file mode 100644 index 000000000000..949d8958a449 --- /dev/null +++ b/app-text/html2text/files/html2text-1.3.2a-urlistream-get.patch @@ -0,0 +1,11 @@ +--- a/urlistream.C ++++ b/urlistream.C +@@ -362,7 +362,7 @@ + int + urlistream::get() + { +- char ch; ++ unsigned char ch; + int ret = ::read(fd_, &ch, 1); + return (ret > 0 ? ch : -1); + } diff --git a/app-text/html2text/html2text-1.3.2a-r1.ebuild b/app-text/html2text/html2text-1.3.2a-r1.ebuild new file mode 100644 index 000000000000..8b1dad0a9b36 --- /dev/null +++ b/app-text/html2text/html2text-1.3.2a-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils toolchain-funcs + +DESCRIPTION="A HTML to text converter" +HOMEPAGE="http://www.mbayer.de/html2text/" +SRC_URI="http://www.mbayer.de/html2text/downloads/${P}.tar.gz + http://www.mbayer.de/html2text/downloads/patch-utf8-${P}.diff + http://www.mbayer.de/html2text/downloads/patch-amd64-${P}.diff +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" + +src_unpack() { + unpack ${P}.tar.gz +} + +src_prepare() { + tc-export CXX + epatch \ + "${FILESDIR}/${P}-compiler.patch" \ + "${FILESDIR}/${P}-urlistream-get.patch" \ + "${DISTDIR}/patch-utf8-${P}.diff" \ + "${DISTDIR}/patch-amd64-${P}.diff" + epatch_user +} + +src_compile() { + emake LDFLAGS="${LDFLAGS}" DEBUG="${CXXFLAGS}" +} + +src_install() { + dobin html2text + doman html2text.1.gz html2textrc.5.gz + dodoc CHANGES CREDITS KNOWN_BUGS README TODO +} diff --git a/app-text/html2text/html2text-1.3.2a.ebuild b/app-text/html2text/html2text-1.3.2a.ebuild new file mode 100644 index 000000000000..f3ffc7c1a0a7 --- /dev/null +++ b/app-text/html2text/html2text-1.3.2a.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="A HTML to text converter" +HOMEPAGE="http://www.mbayer.de/html2text/" +SRC_URI="http://www.mbayer.de/html2text/downloads/${P}.tar.gz + http://www.mbayer.de/html2text/downloads/patch-utf8-${P}.diff" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_unpack() { + unpack ${P}.tar.gz +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-compiler.patch + epatch "${FILESDIR}"/${P}-urlistream-get.patch + epatch "${DISTDIR}"/patch-utf8-${P}.diff +} + +src_configure() { + tc-export CXX + default +} + +src_compile() { + emake LDFLAGS="${LDFLAGS}" DEBUG="${CXXFLAGS}" +} + +src_install() { + dobin html2text + doman html2text.1.gz html2textrc.5.gz + dodoc CHANGES CREDITS KNOWN_BUGS README TODO +} diff --git a/app-text/html2text/metadata.xml b/app-text/html2text/metadata.xml new file mode 100644 index 000000000000..cd4b982119ec --- /dev/null +++ b/app-text/html2text/metadata.xml @@ -0,0 +1,12 @@ + + + + + jazzoslav@gmail.com + Jaroslav Rakhmatoullin + + + proxy-maint@gentoo.org + Proxy Maintainers + + -- cgit v1.2.3