Gentoo Archives: gentoo-commits

From: Markus Meier <maekke@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/tiff/
Date: Sun, 10 Jul 2016 08:49:03
Message-Id: 1468140487.6f65cfb30904aa816aa0977ce4ccf188f8c31e1a.maekke@gentoo
1 commit: 6f65cfb30904aa816aa0977ce4ccf188f8c31e1a
2 Author: Markus Meier <maekke <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 10 08:48:07 2016 +0000
4 Commit: Markus Meier <maekke <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 10 08:48:07 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f65cfb3
7
8 media-libs/tiff: remove vulnerable versions for bug #484542
9
10 Package-Manager: portage-2.3.0
11
12 media-libs/tiff/Manifest | 2 -
13 media-libs/tiff/tiff-4.0.3-r6.ebuild | 79 ------------------------------------
14 media-libs/tiff/tiff-4.0.5.ebuild | 72 --------------------------------
15 3 files changed, 153 deletions(-)
16
17 diff --git a/media-libs/tiff/Manifest b/media-libs/tiff/Manifest
18 index 8a55e11..77eb45b 100644
19 --- a/media-libs/tiff/Manifest
20 +++ b/media-libs/tiff/Manifest
21 @@ -1,4 +1,2 @@
22 DIST tiff-3.9.7.tar.gz 1468097 SHA256 f5d64dd4ce61c55f5e9f6dc3920fbe5a41e02c2e607da7117a35eb5c320cef6a SHA512 ca89584a9ffa33b4986e4bc2165043cec239896f1f0ab73db00818d0442b570efaa6345b2ed422e884202324d359713df849bf14782bb0cf3b959655febddd77 WHIRLPOOL c06b35da66c365c1fe7f0e6e06a400e139d3e2b5b280aa764015c2f0383a6191ffb3d335cdf2211b687bbb0caacf641be409148986a9813dfde5822a650a9b1c
23 -DIST tiff-4.0.3.tar.gz 2051630 SHA256 ea1aebe282319537fb2d4d7805f478dd4e0e05c33d0928baba76a7c963684872 SHA512 d80e18b00e9e696a30b954c0d92e5f2f773fd9a7a0a944cf6cabb69c1798e671506580daa1cd2ebf493ae922000170c2491dfc6d4c0a9cd0b865684070595a73 WHIRLPOOL 762ace7c66dec7a6f350bc8c000a9e1f4b775e7b148b1d923eb3f7c015f47bda65a54bc0b5974ce665c7d836ec0b275c9307d1f18f3b6bee8b0949a6cceb319e
24 -DIST tiff-4.0.5.tar.gz 2135410 SHA256 e25eaa83ed7fab43ddd278b9b14d91a406a4b674cedc776adb95535f897f309c SHA512 f3c4329653d5014e70624cbff7fcdc00e6c93a68fd9628b536e14937a44e99957282523cc3211ca6bc88cb35a127355ee923eba4c06bb7f88756145fdbd9f7fc WHIRLPOOL 869ece7aeac795111027e0c9bc0eb10aa9233304c159cc5ce47ac18abc57cf77f8a03ff5164ad0b35afa22fd636074f185e2e97019b40b3e257f8111707d166e
25 DIST tiff-4.0.6.tar.gz 2192991 SHA256 4d57a50907b510e3049a4bba0d7888930fdfc16ce49f1bf693e5b6247370d68c SHA512 2c8dbaaaab9f82a7722bfe8cb6fcfcf67472beb692f1b7dafaf322759e7016dad1bc58457c0f03db50aa5bd088fef2b37358fcbc1524e20e9e14a9620373fdf8 WHIRLPOOL 809e61a22f7d6dfdf81917a084678ec39ed3cff4e03184d61c67501946d3fab0645cb3fe800d9249771879ee91245085e123349f68340bb63bd18024db8e03a6
26
27 diff --git a/media-libs/tiff/tiff-4.0.3-r6.ebuild b/media-libs/tiff/tiff-4.0.3-r6.ebuild
28 deleted file mode 100644
29 index b893a65..0000000
30 --- a/media-libs/tiff/tiff-4.0.3-r6.ebuild
31 +++ /dev/null
32 @@ -1,79 +0,0 @@
33 -# Copyright 1999-2014 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -# $Id$
36 -
37 -EAPI=5
38 -inherit eutils libtool multilib-minimal
39 -
40 -DESCRIPTION="Tag Image File Format (TIFF) library"
41 -HOMEPAGE="http://www.remotesensing.org/libtiff/"
42 -SRC_URI="http://download.osgeo.org/libtiff/${P}.tar.gz
43 - ftp://ftp.remotesensing.org/pub/libtiff/${P}.tar.gz"
44 -
45 -LICENSE="libtiff"
46 -SLOT="0"
47 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
48 -IUSE="+cxx jbig jpeg lzma static-libs test zlib"
49 -
50 -RDEPEND="jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] )
51 - jbig? ( >=media-libs/jbigkit-2.1:=[${MULTILIB_USEDEP}] )
52 - lzma? ( >=app-arch/xz-utils-5.0.5-r1:=[${MULTILIB_USEDEP}] )
53 - zlib? ( >=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] )
54 - abi_x86_32? (
55 - !<=app-emulation/emul-linux-x86-baselibs-20130224-r9
56 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
57 - )"
58 -DEPEND="${RDEPEND}"
59 -
60 -REQUIRED_USE="test? ( jpeg )" #483132
61 -
62 -MULTILIB_WRAPPED_HEADERS=(
63 - /usr/include/tiffconf.h
64 -)
65 -
66 -src_prepare() {
67 - epatch "${FILESDIR}"/${PN}-4.0.3-tiff2pdf-colors.patch #145055
68 - epatch "${FILESDIR}"/${P}-CVE-2012-{4447,4564}.patch #440944
69 - epatch "${FILESDIR}"/${P}-CVE-2013-{1960,1961}.patch #468334
70 - epatch "${FILESDIR}"/${P}-CVE-2013-{4231,4232}.patch #480466
71 - epatch "${FILESDIR}"/${P}-CVE-2013-4244.patch #486590
72 - epatch "${FILESDIR}"/${P}-libjpeg-turbo.patch
73 -
74 - elibtoolize
75 -}
76 -
77 -multilib_src_configure() {
78 - ECONF_SOURCE="${S}" econf \
79 - $(use_enable static-libs static) \
80 - $(use_enable zlib) \
81 - $(use_enable jpeg) \
82 - $(use_enable jbig) \
83 - $(use_enable lzma) \
84 - $(use_enable cxx) \
85 - --without-x \
86 - --with-docdir="${EPREFIX}"/usr/share/doc/${PF}
87 -
88 - # remove useless subdirs
89 - if ! multilib_is_native_abi ; then
90 - sed -i \
91 - -e 's/ tools//' \
92 - -e 's/ contrib//' \
93 - -e 's/ man//' \
94 - -e 's/ html//' \
95 - Makefile || die
96 - fi
97 -}
98 -
99 -multilib_src_test() {
100 - if ! multilib_is_native_abi ; then
101 - cd tools
102 - emake
103 - cd "${BUILD_DIR}"
104 - fi
105 - emake check
106 -}
107 -
108 -multilib_src_install_all() {
109 - prune_libtool_files --all
110 - rm -f "${ED}"/usr/share/doc/${PF}/{COPYRIGHT,README*,RELEASE-DATE,TODO,VERSION}
111 -}
112
113 diff --git a/media-libs/tiff/tiff-4.0.5.ebuild b/media-libs/tiff/tiff-4.0.5.ebuild
114 deleted file mode 100644
115 index af78142..0000000
116 --- a/media-libs/tiff/tiff-4.0.5.ebuild
117 +++ /dev/null
118 @@ -1,72 +0,0 @@
119 -# Copyright 1999-2015 Gentoo Foundation
120 -# Distributed under the terms of the GNU General Public License v2
121 -# $Id$
122 -
123 -EAPI=5
124 -inherit eutils libtool multilib-minimal
125 -
126 -DESCRIPTION="Tag Image File Format (TIFF) library"
127 -HOMEPAGE="http://www.remotesensing.org/libtiff/"
128 -SRC_URI="http://download.osgeo.org/libtiff/${P}.tar.gz
129 - ftp://ftp.remotesensing.org/pub/libtiff/${P}.tar.gz"
130 -
131 -LICENSE="libtiff"
132 -SLOT="0"
133 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
134 -IUSE="+cxx jbig jpeg lzma static-libs test zlib"
135 -
136 -RDEPEND="jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] )
137 - jbig? ( >=media-libs/jbigkit-2.1:=[${MULTILIB_USEDEP}] )
138 - lzma? ( >=app-arch/xz-utils-5.0.5-r1:=[${MULTILIB_USEDEP}] )
139 - zlib? ( >=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] )
140 - abi_x86_32? (
141 - !<=app-emulation/emul-linux-x86-baselibs-20130224-r9
142 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
143 - )"
144 -DEPEND="${RDEPEND}"
145 -
146 -REQUIRED_USE="test? ( jpeg )" #483132
147 -
148 -MULTILIB_WRAPPED_HEADERS=(
149 - /usr/include/tiffconf.h
150 -)
151 -
152 -src_prepare() {
153 - elibtoolize
154 -}
155 -
156 -multilib_src_configure() {
157 - ECONF_SOURCE="${S}" econf \
158 - $(use_enable static-libs static) \
159 - $(use_enable zlib) \
160 - $(use_enable jpeg) \
161 - $(use_enable jbig) \
162 - $(use_enable lzma) \
163 - $(use_enable cxx) \
164 - --without-x \
165 - --with-docdir="${EPREFIX}"/usr/share/doc/${PF}
166 -
167 - # remove useless subdirs
168 - if ! multilib_is_native_abi ; then
169 - sed -i \
170 - -e 's/ tools//' \
171 - -e 's/ contrib//' \
172 - -e 's/ man//' \
173 - -e 's/ html//' \
174 - Makefile || die
175 - fi
176 -}
177 -
178 -multilib_src_test() {
179 - if ! multilib_is_native_abi ; then
180 - cd tools
181 - emake
182 - cd "${BUILD_DIR}"
183 - fi
184 - emake check
185 -}
186 -
187 -multilib_src_install_all() {
188 - prune_libtool_files --all
189 - rm -f "${ED}"/usr/share/doc/${PF}/{COPYRIGHT,README*,RELEASE-DATE,TODO,VERSION}
190 -}