[gentoo-commits] repo/gentoo:master commit in: app-text/libmwaw/files/, app-text/libmwaw/
commit: a89e71221325a545529afacb80f88d6e3f4f2da2 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Nov 19 23:21:10 2017 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Nov 19 23:49:15 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a89e7122 app-text/libmwaw: Drop old Package-Manager: Portage-2.3.14, Repoman-2.3.6 app-text/libmwaw/Manifest | 1 - .../files/libmwaw-0.3.11-CVE-2017-9433.patch | 19 app-text/libmwaw/libmwaw-0.3.11-r1.ebuild | 52 -- 3 files changed, 72 deletions(-) diff --git a/app-text/libmwaw/Manifest b/app-text/libmwaw/Manifest index c27e8fabba0..d52f6809a37 100644 --- a/app-text/libmwaw/Manifest +++ b/app-text/libmwaw/Manifest @@ -1,3 +1,2 @@ -DIST libmwaw-0.3.11.tar.xz 1254200 SHA256 4b483a196bbe82bc0f7cb4cdf70ef1cedb91139bd2e037eabaed4a4d6ed2299a SHA512 d4a810c6066023608a15ece8a6bbc958e586d679fc4ad51156091ec88355292872f10198e723e28776b45e140a830fd4c698732cf6103743d6e80ad8e1d778ab WHIRLPOOL 2de11bde90937727372eb7e7d4d1af52b66e8ef2f14bd78ce1d26399aa6ee853dc1fe11000cfcf8a361698296866ced2f2da7848f75763a22458ae0504903b48 DIST libmwaw-0.3.12.tar.xz 1258972 SHA256 7691a6e6e7221d61c40e3f630a8907e3e516b99a587e47d09ec53f8ac60ed1e7 SHA512 8af8477ff6fc251600f9a66059b20fd8b9fad8d599c01e847d718597b3a34567036daff4d4510934aa1462bd4810a39467e8ac0ec223147b3b53447220ec WHIRLPOOL 9dd39fc43c7b8cf3806889a1cabde4c1bbd4f21e5e1ea2dfa66a6ea69f28ab28c966e160d157f0ee4559e85b6b7fac07dfa314d2ef0597986c85660b3a5cc0f9 DIST libmwaw-0.3.13.tar.xz 1258220 SHA256 db55c728448f9c795cd71a0bb6043f6d4744e3e001b955a018a2c634981d5aea SHA512 3d6a5142cc45f6519ac29f935c01418278ed4cc1bdcb0ecb1a190309c43d3f7ee06deab519d29a3e2aec01ef091cb4f4c17809662640b54a8e4fe8d4bd8db5f3 WHIRLPOOL 34310e946e398f577c76f2eacda496b64417fe3f7bc5f02af7852f51fa94c46df6f4df397a02fe56c7585b19dc62b796723b878f7ed66adf3698c14261e01f73 diff --git a/app-text/libmwaw/files/libmwaw-0.3.11-CVE-2017-9433.patch b/app-text/libmwaw/files/libmwaw-0.3.11-CVE-2017-9433.patch deleted file mode 100644 index 4918fd4b651..000 --- a/app-text/libmwaw/files/libmwaw-0.3.11-CVE-2017-9433.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit 68b3b74569881248bfb6cbb4266177cc253b292f -Author: David Tardon-Date: Sat Apr 8 14:03:29 2017 +0200 - -ofz#1037 resize vector correctly - -diff --git a/src/lib/MsWrd1Parser.cxx b/src/lib/MsWrd1Parser.cxx -index 63547e6..3626064 100644 a/src/lib/MsWrd1Parser.cxx -+++ b/src/lib/MsWrd1Parser.cxx -@@ -902,7 +902,7 @@ bool MsWrd1Parser::readFootnoteCorrespondance(MWAWVec2i limits) - int id = fIt++->second; - fPos[1] = fIt==footnoteMap.end() ? m_state->m_eot : fIt->first; - if (id >= int(m_state->m_footnotesList.size())) -- m_state->m_footnotesList.resize(size_t(id),MWAWVec2l(0,0)); -+ m_state->m_footnotesList.resize(size_t(id)+1,MWAWVec2l(0,0)); - m_state->m_footnotesList[size_t(id)]=fPos; - } - ascii().addDelimiter(input->tell(),'|'); diff --git a/app-text/libmwaw/libmwaw-0.3.11-r1.ebuild b/app-text/libmwaw/libmwaw-0.3.11-r1.ebuild deleted file mode 100644 index 3007843c600..000 --- a/app-text/libmwaw/libmwaw-0.3.11-r1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -EGIT_REPO_URI="git://git.code.sf.net/p/libmwaw/libmwaw" -[[ ${PV} == ]] && inherit autotools git-r3 - -DESCRIPTION="Library parsing many pre-OSX MAC text formats" -HOMEPAGE="https://sourceforge.net/p/libmwaw/wiki/Home/; -[[ ${PV} == ]] || SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" - -LICENSE="LGPL-2.1" -SLOT="0" - -[[ ${PV} == ]] || \ -KEYWORDS="amd64 ~arm x86" - -IUSE="doc static-libs tools" - -RDEPEND=" - dev-libs/librevenge - sys-libs/zlib -" -DEPEND="${RDEPEND} - sys-devel/libtool - virtual/pkgconfig - doc? ( app-doc/doxygen ) -" - -PATCHES=( "${FILESDIR}/${P}-CVE-2017-9433.patch" ) - -src_prepare() { - default - [[ ${PV} == ]] && eautoreconf -} - -src_configure() { - # zip is hard enabled as the zlib is dep on the rdeps anyway - econf \ - --enable-zip \ - --disable-werror \ - --with-sharedptr=c++11 \ - $(use_with doc docs) \ - $(use_enable static-libs static) \ - $(use_enable tools) -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die -}
[gentoo-commits] repo/gentoo:master commit in: app-text/libmwaw/files/, app-text/libmwaw/
commit: dfa7924ea685a59ebb1afb94775e8fe9f08b6739 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Jun 26 20:57:36 2017 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Jun 26 20:58:10 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfa7924e app-text/libmwaw: Fix CVE-2017-9433 Also drop unused RDEPEND. Gentoo-bug: 621880 Package-Manager: Portage-2.3.6, Repoman-2.3.1 .../libmwaw/files/libmwaw-0.3.11-CVE-2017-9433.patch | 19 +++ .../{libmwaw-.ebuild => libmwaw-0.3.11-r1.ebuild} | 3 ++- app-text/libmwaw/libmwaw-.ebuild | 1 - 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/app-text/libmwaw/files/libmwaw-0.3.11-CVE-2017-9433.patch b/app-text/libmwaw/files/libmwaw-0.3.11-CVE-2017-9433.patch new file mode 100644 index 000..4918fd4b651 --- /dev/null +++ b/app-text/libmwaw/files/libmwaw-0.3.11-CVE-2017-9433.patch @@ -0,0 +1,19 @@ +commit 68b3b74569881248bfb6cbb4266177cc253b292f +Author: David Tardon+Date: Sat Apr 8 14:03:29 2017 +0200 + +ofz#1037 resize vector correctly + +diff --git a/src/lib/MsWrd1Parser.cxx b/src/lib/MsWrd1Parser.cxx +index 63547e6..3626064 100644 +--- a/src/lib/MsWrd1Parser.cxx b/src/lib/MsWrd1Parser.cxx +@@ -902,7 +902,7 @@ bool MsWrd1Parser::readFootnoteCorrespondance(MWAWVec2i limits) + int id = fIt++->second; + fPos[1] = fIt==footnoteMap.end() ? m_state->m_eot : fIt->first; + if (id >= int(m_state->m_footnotesList.size())) +- m_state->m_footnotesList.resize(size_t(id),MWAWVec2l(0,0)); ++ m_state->m_footnotesList.resize(size_t(id)+1,MWAWVec2l(0,0)); + m_state->m_footnotesList[size_t(id)]=fPos; + } + ascii().addDelimiter(input->tell(),'|'); diff --git a/app-text/libmwaw/libmwaw-.ebuild b/app-text/libmwaw/libmwaw-0.3.11-r1.ebuild similarity index 95% copy from app-text/libmwaw/libmwaw-.ebuild copy to app-text/libmwaw/libmwaw-0.3.11-r1.ebuild index ed8c879dc73..8be0198bd0f 100644 --- a/app-text/libmwaw/libmwaw-.ebuild +++ b/app-text/libmwaw/libmwaw-0.3.11-r1.ebuild @@ -20,7 +20,6 @@ IUSE="doc static-libs tools" RDEPEND=" dev-libs/librevenge - dev-libs/libxml2 sys-libs/zlib " DEPEND="${RDEPEND} @@ -29,6 +28,8 @@ DEPEND="${RDEPEND} doc? ( app-doc/doxygen ) " +PATCHES=( "${FILESDIR}/${P}-CVE-2017-9433.patch" ) + src_prepare() { default [[ ${PV} == ]] && eautoreconf diff --git a/app-text/libmwaw/libmwaw-.ebuild b/app-text/libmwaw/libmwaw-.ebuild index ed8c879dc73..b0434c260bc 100644 --- a/app-text/libmwaw/libmwaw-.ebuild +++ b/app-text/libmwaw/libmwaw-.ebuild @@ -20,7 +20,6 @@ IUSE="doc static-libs tools" RDEPEND=" dev-libs/librevenge - dev-libs/libxml2 sys-libs/zlib " DEPEND="${RDEPEND}