media-libs/libfpx: Bump to v1.3.1_p10 (CVE-2017-{12920,12921,12925})
authorThomas Deutschmann <whissi@gentoo.org>
Thu, 12 Oct 2017 21:08:16 +0000 (23:08 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Thu, 12 Oct 2017 21:18:50 +0000 (23:18 +0200)
Bug: https://bugs.gentoo.org/628190
Package-Manager: Portage-2.3.10, Repoman-2.3.3

media-libs/libfpx/Manifest
media-libs/libfpx/libfpx-1.3.1_p10.ebuild [new file with mode: 0644]
media-libs/libfpx/metadata.xml

index e22d43d977908378f0074257795aa2c65addc333..bda9b1c3c861272b0318b1ac55e0b49cf71d2015 100644 (file)
@@ -1 +1,2 @@
+DIST libfpx-1.3.1-10.tar.bz2 2358246 SHA256 21e968ba90e7f091fa59e5baf72ff3d2150adba07fb4e37e9f495775185b4bba SHA512 afa96b240ead4d3c56e8e6c66db188d1f4441e7b4d08e12e0e96359cfa2cea9eae5625105d87df65ceacd97d84a386876c62dee5bc1916c420755d9bcc4655d4 WHIRLPOOL 705074b5aaec62274b18a4aee8d710b52708bfc45aa7ebdd6fe27da628b0248e3db1f6cb99f129dbf6cc955854ff67517353d489e1831acd6850842c237ec9bf
 DIST libfpx-1.3.1-6.tar.bz2 2358328 SHA256 84e663bb23619e19195777a7c5d348046756f28cffda3d0ea2160ed0b55a698a SHA512 d33bc59f091100f4e0f7db396ba2f3a93951b348f8b175070fa23186f7ce488e71b7be43a45ebd9a3af21affe5342f63955df8549ff15582f8b29e67601531fb WHIRLPOOL d107a1ee69d018699567761603ce21ba6f6b80e25d5e3e53f6a76ef262602d0d344127c6a0c7f372c2da60a3b293882184513d4a77e674c32b384d5c8798a4bf
diff --git a/media-libs/libfpx/libfpx-1.3.1_p10.ebuild b/media-libs/libfpx/libfpx-1.3.1_p10.ebuild
new file mode 100644 (file)
index 0000000..1393c33
--- /dev/null
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils flag-o-matic libtool
+
+DESCRIPTION="A library for manipulating FlashPIX images"
+HOMEPAGE="http://www.i3a.org/"
+SRC_URI="mirror://imagemagick/delegates/${P/_p/-}.tar.bz2"
+
+LICENSE="Flashpix"
+SLOT="0/1"
+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"
+IUSE="static-libs"
+
+S=${WORKDIR}/${P/_p/-}
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-1.2.0.13-export-symbols.patch
+)
+
+src_prepare() {
+       default
+
+       # we're not windows, even though we don't define __unix by default
+       [[ ${CHOST} == *-darwin* ]] && append-flags -D__unix
+
+       elibtoolize
+}
+
+src_configure() {
+       append-ldflags -Wl,--no-undefined
+       econf \
+               $(use_enable static-libs static) \
+               LIBS="-lstdc++ -lm"
+}
+
+src_install() {
+       default
+
+       dodoc AUTHORS ChangeLog doc/*.txt
+
+       insinto /usr/share/doc/${PF}/pdf
+       doins doc/*.pdf
+}
index 6ade85e1c64278645d22f7c2a1117e1b33845075..d845d64c112b66925c8f5ddf1e083f5ca12d110e 100644 (file)
@@ -5,4 +5,7 @@
     <email>graphics@gentoo.org</email>
     <name>Gentoo Graphics Project</name>
   </maintainer>
+  <slots>
+    <subslots>Reflect major ABI of libfpx.so.</subslots>
+  </slots>
 </pkgmetadata>