1 |
commit: ded9a39cd0cdea45db5b5d11d2267b9a38b3d17a |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 27 11:09:31 2016 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 27 11:09:47 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ded9a39c |
7 |
|
8 |
app-text/catdoc: cleanup vulnerable wrt sec bug #571820 |
9 |
|
10 |
app-text/catdoc/Manifest | 1 - |
11 |
app-text/catdoc/catdoc-0.94.4-r1.ebuild | 59 --------------------------------- |
12 |
app-text/catdoc/catdoc-0.94.4.ebuild | 54 ------------------------------ |
13 |
3 files changed, 114 deletions(-) |
14 |
|
15 |
diff --git a/app-text/catdoc/Manifest b/app-text/catdoc/Manifest |
16 |
index 66997db..d1d7030 100644 |
17 |
--- a/app-text/catdoc/Manifest |
18 |
+++ b/app-text/catdoc/Manifest |
19 |
@@ -1,2 +1 @@ |
20 |
DIST catdoc-0.95.tar.gz 217779 SHA256 514a84180352b6bf367c1d2499819dfa82b60d8c45777432fa643a5ed7d80796 SHA512 dd6bded4b6b70749c007256b182b063ff266f86d53024d8582001678821e8096c5b980bc8f43015d9c82bbe022d71d4ba5fe68aff31b2ff6db3688595e651b2c WHIRLPOOL 1303c74cc6a13183e2ea8ee2bf616da419a8b9f03f4e2fcdce3b0462306084fab85a1cd68bb4ab07caac40c56a91284103e54084d7f523d9894b0eee9359184c |
21 |
-DIST catdoc_0.94.4.orig.tar.gz 679156 SHA256 c06fd69d2a218fcc2ed1320988cef07a67cf5555a12f25752766d746e25758ee SHA512 63e492c40e0abb82df0c93c43d1bd63f15d0c8b60579cf3858f26a0814731920ff621b3384035c9a85da5c448b699801ff3376e7a02cf8e7a413195bd9847ba9 WHIRLPOOL 73675ee3b2facf03e894257132ee7766802ee3ab347701dfa7cd313855ebb22976b9e44f1d9d4eceee6f87008160df371a0cda409a623f61a35413d480a2a8d5 |
22 |
|
23 |
diff --git a/app-text/catdoc/catdoc-0.94.4-r1.ebuild b/app-text/catdoc/catdoc-0.94.4-r1.ebuild |
24 |
deleted file mode 100644 |
25 |
index 099c9bf..00000000 |
26 |
--- a/app-text/catdoc/catdoc-0.94.4-r1.ebuild |
27 |
+++ /dev/null |
28 |
@@ -1,59 +0,0 @@ |
29 |
-# Copyright 1999-2014 Gentoo Foundation |
30 |
-# Distributed under the terms of the GNU General Public License v2 |
31 |
-# $Id$ |
32 |
- |
33 |
-EAPI=5 |
34 |
-WANT_AUTOMAKE=none |
35 |
- |
36 |
-inherit autotools eutils |
37 |
- |
38 |
-DESCRIPTION="Converter for Microsoft Word, Excel, PowerPoint and RTF files to text" |
39 |
-HOMEPAGE="http://www.wagner.pp.ru/~vitus/software/catdoc/" |
40 |
-SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${P/-/_}.orig.tar.gz" |
41 |
- |
42 |
-LICENSE="GPL-2" |
43 |
-SLOT="0" |
44 |
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" |
45 |
-IUSE="tk" |
46 |
- |
47 |
-DEPEND="tk? ( >=dev-lang/tk-8.1 )" |
48 |
- |
49 |
-DOCS="CODING.STD CREDITS NEWS README TODO" |
50 |
- |
51 |
-src_prepare() { |
52 |
- epatch "${FILESDIR}"/${PN}-0.94.2-flags.patch |
53 |
- epatch "${FILESDIR}"/${PN}-0.94.2+autoconf-2.63.patch |
54 |
- epatch "${FILESDIR}"/${P}-destdir.patch |
55 |
- epatch "${FILESDIR}"/${P}-desktop.patch |
56 |
- |
57 |
- # only install wordview.desktop when tk is enabled (bug #522766) |
58 |
- if ! use tk ; then |
59 |
- sed -i 's/ desktop//' Makefile.in || die |
60 |
- fi |
61 |
- |
62 |
- # Fix for case-insensitive filesystems |
63 |
- echo ".PHONY: all install clean distclean dist" >> Makefile.in |
64 |
- |
65 |
- eautoconf |
66 |
-} |
67 |
- |
68 |
-src_configure() { |
69 |
- econf --with-install-root="${D}" \ |
70 |
- $(use_with tk wish "${EPREFIX}"/usr/bin/wish) \ |
71 |
- $(use_enable tk wordview) |
72 |
-} |
73 |
- |
74 |
-src_compile() { |
75 |
- emake LIB_DIR="${EPREFIX}"/usr/share/catdoc |
76 |
-} |
77 |
- |
78 |
-src_install() { |
79 |
- emake -j1 mandir="${EPREFIX}"/usr/share/man/man1 install |
80 |
- |
81 |
- if [[ -e ${ED}/usr/bin/xls2csv ]]; then |
82 |
- einfo "Renaming xls2csv to xls2csv-${PN} because of bug 314657." |
83 |
- mv -vf "${ED}"/usr/bin/xls2csv "${ED}"/usr/bin/xls2csv-${PN} || die |
84 |
- fi |
85 |
- |
86 |
- dodoc ${DOCS} |
87 |
-} |
88 |
|
89 |
diff --git a/app-text/catdoc/catdoc-0.94.4.ebuild b/app-text/catdoc/catdoc-0.94.4.ebuild |
90 |
deleted file mode 100644 |
91 |
index 183893d..00000000 |
92 |
--- a/app-text/catdoc/catdoc-0.94.4.ebuild |
93 |
+++ /dev/null |
94 |
@@ -1,54 +0,0 @@ |
95 |
-# Copyright 1999-2014 Gentoo Foundation |
96 |
-# Distributed under the terms of the GNU General Public License v2 |
97 |
-# $Id$ |
98 |
- |
99 |
-EAPI=5 |
100 |
-WANT_AUTOMAKE=none |
101 |
- |
102 |
-inherit autotools eutils |
103 |
- |
104 |
-DESCRIPTION="Converter for Microsoft Word, Excel, PowerPoint and RTF files to text" |
105 |
-HOMEPAGE="http://www.wagner.pp.ru/~vitus/software/catdoc/" |
106 |
-SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${P/-/_}.orig.tar.gz" |
107 |
- |
108 |
-LICENSE="GPL-2" |
109 |
-SLOT="0" |
110 |
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" |
111 |
-IUSE="tk" |
112 |
- |
113 |
-DEPEND="tk? ( >=dev-lang/tk-8.1 )" |
114 |
- |
115 |
-DOCS="CODING.STD CREDITS NEWS README TODO" |
116 |
- |
117 |
-src_prepare() { |
118 |
- epatch "${FILESDIR}"/${PN}-0.94.2-flags.patch |
119 |
- epatch "${FILESDIR}"/${PN}-0.94.2+autoconf-2.63.patch |
120 |
- epatch "${FILESDIR}"/${P}-destdir.patch |
121 |
- epatch "${FILESDIR}"/${P}-desktop.patch |
122 |
- |
123 |
- # Fix for case-insensitive filesystems |
124 |
- echo ".PHONY: all install clean distclean dist" >> Makefile.in |
125 |
- |
126 |
- eautoconf |
127 |
-} |
128 |
- |
129 |
-src_configure() { |
130 |
- econf --with-install-root="${D}" \ |
131 |
- $(use_with tk wish "${EPREFIX}"/usr/bin/wish) \ |
132 |
- $(use_enable tk wordview) |
133 |
-} |
134 |
- |
135 |
-src_compile() { |
136 |
- emake LIB_DIR="${EPREFIX}"/usr/share/catdoc |
137 |
-} |
138 |
- |
139 |
-src_install() { |
140 |
- emake -j1 mandir="${EPREFIX}"/usr/share/man/man1 install |
141 |
- |
142 |
- if [[ -e ${ED}/usr/bin/xls2csv ]]; then |
143 |
- einfo "Renaming xls2csv to xls2csv-${PN} because of bug 314657." |
144 |
- mv -vf "${ED}"/usr/bin/xls2csv "${ED}"/usr/bin/xls2csv-${PN} || die |
145 |
- fi |
146 |
- |
147 |
- dodoc ${DOCS} |
148 |
-} |