Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libfpx/
Date: Thu, 12 Oct 2017 21:19:08
Message-Id: 1507843130.54550720b42f8a4bb3adaf6727ce8a47c5ed7892.whissi@gentoo
1 commit: 54550720b42f8a4bb3adaf6727ce8a47c5ed7892
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 12 21:08:16 2017 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 12 21:18:50 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54550720
7
8 media-libs/libfpx: Bump to v1.3.1_p10 (CVE-2017-{12920,12921,12925})
9
10 Bug: https://bugs.gentoo.org/628190
11 Package-Manager: Portage-2.3.10, Repoman-2.3.3
12
13 media-libs/libfpx/Manifest | 1 +
14 media-libs/libfpx/libfpx-1.3.1_p10.ebuild | 45 +++++++++++++++++++++++++++++++
15 media-libs/libfpx/metadata.xml | 3 +++
16 3 files changed, 49 insertions(+)
17
18 diff --git a/media-libs/libfpx/Manifest b/media-libs/libfpx/Manifest
19 index e22d43d9779..bda9b1c3c86 100644
20 --- a/media-libs/libfpx/Manifest
21 +++ b/media-libs/libfpx/Manifest
22 @@ -1 +1,2 @@
23 +DIST libfpx-1.3.1-10.tar.bz2 2358246 SHA256 21e968ba90e7f091fa59e5baf72ff3d2150adba07fb4e37e9f495775185b4bba SHA512 afa96b240ead4d3c56e8e6c66db188d1f4441e7b4d08e12e0e96359cfa2cea9eae5625105d87df65ceacd97d84a386876c62dee5bc1916c420755d9bcc4655d4 WHIRLPOOL 705074b5aaec62274b18a4aee8d710b52708bfc45aa7ebdd6fe27da628b0248e3db1f6cb99f129dbf6cc955854ff67517353d489e1831acd6850842c237ec9bf
24 DIST libfpx-1.3.1-6.tar.bz2 2358328 SHA256 84e663bb23619e19195777a7c5d348046756f28cffda3d0ea2160ed0b55a698a SHA512 d33bc59f091100f4e0f7db396ba2f3a93951b348f8b175070fa23186f7ce488e71b7be43a45ebd9a3af21affe5342f63955df8549ff15582f8b29e67601531fb WHIRLPOOL d107a1ee69d018699567761603ce21ba6f6b80e25d5e3e53f6a76ef262602d0d344127c6a0c7f372c2da60a3b293882184513d4a77e674c32b384d5c8798a4bf
25
26 diff --git a/media-libs/libfpx/libfpx-1.3.1_p10.ebuild b/media-libs/libfpx/libfpx-1.3.1_p10.ebuild
27 new file mode 100644
28 index 00000000000..1393c338253
29 --- /dev/null
30 +++ b/media-libs/libfpx/libfpx-1.3.1_p10.ebuild
31 @@ -0,0 +1,45 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +inherit eutils flag-o-matic libtool
37 +
38 +DESCRIPTION="A library for manipulating FlashPIX images"
39 +HOMEPAGE="http://www.i3a.org/"
40 +SRC_URI="mirror://imagemagick/delegates/${P/_p/-}.tar.bz2"
41 +
42 +LICENSE="Flashpix"
43 +SLOT="0/1"
44 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
45 +IUSE="static-libs"
46 +
47 +S=${WORKDIR}/${P/_p/-}
48 +
49 +PATCHES=(
50 + "${FILESDIR}"/${PN}-1.2.0.13-export-symbols.patch
51 +)
52 +
53 +src_prepare() {
54 + default
55 +
56 + # we're not windows, even though we don't define __unix by default
57 + [[ ${CHOST} == *-darwin* ]] && append-flags -D__unix
58 +
59 + elibtoolize
60 +}
61 +
62 +src_configure() {
63 + append-ldflags -Wl,--no-undefined
64 + econf \
65 + $(use_enable static-libs static) \
66 + LIBS="-lstdc++ -lm"
67 +}
68 +
69 +src_install() {
70 + default
71 +
72 + dodoc AUTHORS ChangeLog doc/*.txt
73 +
74 + insinto /usr/share/doc/${PF}/pdf
75 + doins doc/*.pdf
76 +}
77
78 diff --git a/media-libs/libfpx/metadata.xml b/media-libs/libfpx/metadata.xml
79 index 6ade85e1c64..d845d64c112 100644
80 --- a/media-libs/libfpx/metadata.xml
81 +++ b/media-libs/libfpx/metadata.xml
82 @@ -5,4 +5,7 @@
83 <email>graphics@g.o</email>
84 <name>Gentoo Graphics Project</name>
85 </maintainer>
86 + <slots>
87 + <subslots>Reflect major ABI of libfpx.so.</subslots>
88 + </slots>
89 </pkgmetadata>