Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/libwpd/files/, app-text/libwpd/
Date: Sun, 19 Nov 2017 23:49:39
Message-Id: 1511135356.3799aea08fcf7cec0a4ff5b3a2f5a2173c4566dc.asturm@gentoo
1 commit: 3799aea08fcf7cec0a4ff5b3a2f5a2173c4566dc
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 19 23:21:55 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 19 23:49:16 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3799aea0
7
8 app-text/libwpd: Drop old
9
10 Package-Manager: Portage-2.3.14, Repoman-2.3.6
11
12 app-text/libwpd/Manifest | 1 -
13 .../files/libwpd-0.10.1-CVE-2017-14226.patch | 50 --------------------
14 app-text/libwpd/libwpd-0.10.1-r1.ebuild | 53 ----------------------
15 3 files changed, 104 deletions(-)
16
17 diff --git a/app-text/libwpd/Manifest b/app-text/libwpd/Manifest
18 index 96e519055c8..2a5e51c4922 100644
19 --- a/app-text/libwpd/Manifest
20 +++ b/app-text/libwpd/Manifest
21 @@ -1,2 +1 @@
22 -DIST libwpd-0.10.1.tar.xz 524004 SHA256 09d3410bc770f9d9eedc8544b5c211771ea3322de3fee19b58ad7d40fb2984f6 SHA512 976694b5e02fd9eb0b3769d5071e9ae88505f491d8fa34473e5b99cd350060a85ddfad9b3c38e9b37a280e695e4571d353fd69fe7b69a627097587912b58ad2c WHIRLPOOL c6c1124a7124edda4dad6788794c46067ad21c8fde0765ff1b1ca6305c08139e86ac0667d6fd6ca53e4bed41ad0b7aa6b4803fad5f7f72c529cf0c3b22bc7b43
23 DIST libwpd-0.10.2.tar.xz 536400 SHA256 323f68beaf4f35e5a4d7daffb4703d0566698280109210fa4eaa90dea27d6610 SHA512 821dbc0535ebd4fa41bcf984e344e11176862676c66abebe45cf4284f8de6e6cc7629f8a605b169d034a5c2f3e2461513d61e11e549ca73b8328eb66ac3bdd79 WHIRLPOOL 9ac29bab74f6131966212b932601e397fb5f291aed78e5e1e9da1bafc3ac21329bf1f3b39fde4ed8e8b84918903bb5142624a44293631c515c96b8f9d3511cd6
24
25 diff --git a/app-text/libwpd/files/libwpd-0.10.1-CVE-2017-14226.patch b/app-text/libwpd/files/libwpd-0.10.1-CVE-2017-14226.patch
26 deleted file mode 100644
27 index 4a5c0df922f..00000000000
28 --- a/app-text/libwpd/files/libwpd-0.10.1-CVE-2017-14226.patch
29 +++ /dev/null
30 @@ -1,50 +0,0 @@
31 -Gentoo-bug: 630682 (CVE-2017-14226)
32 -
33 -Change-Id: I0d8d6887fa360c05d5f9e2a070410c77926b9ce1
34 -Reviewed-on: https://gerrit.libreoffice.org/42054
35 -Tested-by: Jenkins <ci@×××××××××××.org>
36 -Reviewed-by: Caolán McNamara <caolanm@××××××.com>
37 -Tested-by: Caolán McNamara <caolanm@××××××.com>
38 -
39 ---- a/src/lib/WP5StylesListener.cpp
40 -+++ b/src/lib/WP5StylesListener.cpp
41 -@@ -85,8 +85,9 @@
42 - m_currentPage = WPXPageSpan(m_pageList.back(), 0.0, 0.0);
43 - m_currentPage.setPageSpan(1);
44 -
45 -- for (std::vector<WPXHeaderFooter>::const_iterator HFiter = (m_nextPage.getHeaderFooterList()).begin();
46 -- HFiter != (m_nextPage.getHeaderFooterList()).end(); ++HFiter)
47 -+ std::vector<WPXHeaderFooter> headerFooterList = m_nextPage.getHeaderFooterList();
48 -+ for (std::vector<WPXHeaderFooter>::const_iterator HFiter = headerFooterList.begin();
49 -+ HFiter != headerFooterList.end(); ++HFiter)
50 - {
51 - if ((*HFiter).getOccurrence() != NEVER)
52 - {
53 ---- a/src/lib/WP42StylesListener.cpp
54 -+++ b/src/lib/WP42StylesListener.cpp
55 -@@ -84,8 +84,9 @@
56 - m_currentPage = WPXPageSpan(m_pageList.back(), 0.0, 0.0);
57 - m_currentPage.setPageSpan(1);
58 -
59 -- for (std::vector<WPXHeaderFooter>::const_iterator HFiter = (m_nextPage.getHeaderFooterList()).begin();
60 -- HFiter != (m_nextPage.getHeaderFooterList()).end(); ++HFiter)
61 -+ std::vector<WPXHeaderFooter> headerFooterList = m_nextPage.getHeaderFooterList();
62 -+ for (std::vector<WPXHeaderFooter>::const_iterator HFiter = headerFooterList.begin();
63 -+ HFiter != headerFooterList.end(); ++HFiter)
64 - {
65 - if ((*HFiter).getOccurrence() != NEVER)
66 - {
67 ---- a/src/lib/WP1StylesListener.cpp
68 -+++ b/src/lib/WP1StylesListener.cpp
69 -@@ -83,8 +83,9 @@
70 - m_currentPage = WPXPageSpan(m_pageList.back(), 0.0, 0.0);
71 - m_currentPage.setPageSpan(1);
72 -
73 -- for (std::vector<WPXHeaderFooter>::const_iterator HFiter = (m_nextPage.getHeaderFooterList()).begin();
74 -- HFiter != (m_nextPage.getHeaderFooterList()).end(); ++HFiter)
75 -+ std::vector<WPXHeaderFooter> headerFooterList = m_nextPage.getHeaderFooterList();
76 -+ for (std::vector<WPXHeaderFooter>::const_iterator HFiter = headerFooterList.begin();
77 -+ HFiter != headerFooterList.end(); ++HFiter)
78 - {
79 - if ((*HFiter).getOccurrence() != NEVER)
80 - {
81
82 diff --git a/app-text/libwpd/libwpd-0.10.1-r1.ebuild b/app-text/libwpd/libwpd-0.10.1-r1.ebuild
83 deleted file mode 100644
84 index dbd2ea12c0e..00000000000
85 --- a/app-text/libwpd/libwpd-0.10.1-r1.ebuild
86 +++ /dev/null
87 @@ -1,53 +0,0 @@
88 -# Copyright 1999-2017 Gentoo Foundation
89 -# Distributed under the terms of the GNU General Public License v2
90 -
91 -EAPI=6
92 -
93 -inherit alternatives
94 -
95 -DESCRIPTION="WordPerfect Document import/export library"
96 -HOMEPAGE="http://libwpd.sf.net"
97 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
98 -
99 -LICENSE="|| ( LGPL-2.1 MPL-2.0 )"
100 -SLOT="0.10"
101 -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips x86 ~x86-fbsd"
102 -IUSE="doc +tools"
103 -
104 -RDEPEND="dev-libs/librevenge"
105 -DEPEND="${RDEPEND}
106 - virtual/pkgconfig
107 - doc? ( app-doc/doxygen )
108 -"
109 -
110 -PATCHES=( "${FILESDIR}/${P}-CVE-2017-14226.patch" )
111 -
112 -src_configure() {
113 - econf \
114 - --disable-static \
115 - --disable-werror \
116 - $(use_with doc docs) \
117 - $(use_enable tools) \
118 - --program-suffix=-${SLOT}
119 -}
120 -
121 -src_install() {
122 - default
123 - find "${D}" -name '*.la' -delete || die
124 -}
125 -
126 -pkg_postinst() {
127 - if use tools; then
128 - alternatives_auto_makesym /usr/bin/wpd2html "/usr/bin/wpd2html-[0-9].[0-9][0-9]"
129 - alternatives_auto_makesym /usr/bin/wpd2raw "/usr/bin/wpd2raw-[0-9].[0-9][0-9]"
130 - alternatives_auto_makesym /usr/bin/wpd2text "/usr/bin/wpd2text-[0-9].[0-9][0-9]"
131 - fi
132 -}
133 -
134 -pkg_postrm() {
135 - if use tools; then
136 - alternatives_auto_makesym /usr/bin/wpd2html "/usr/bin/wpd2html-[0-9].[0-9][0-9]"
137 - alternatives_auto_makesym /usr/bin/wpd2raw "/usr/bin/wpd2raw-[0-9].[0-9][0-9]"
138 - alternatives_auto_makesym /usr/bin/wpd2text "/usr/bin/wpd2text-[0-9].[0-9][0-9]"
139 - fi
140 -}