Skip to content

Commit

Permalink
media-libs/libfpx: Bump to v1.3.1_p10 (CVE-2017-{12920,12921,12925})
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/628190
Package-Manager: Portage-2.3.10, Repoman-2.3.3
  • Loading branch information
Whissi committed Oct 12, 2017
1 parent f5d15d8 commit 5455072
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
1 change: 1 addition & 0 deletions media-libs/libfpx/Manifest
Original file line number Diff line number Diff line change
@@ -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
45 changes: 45 additions & 0 deletions media-libs/libfpx/libfpx-1.3.1_p10.ebuild
Original file line number Diff line number Diff line change
@@ -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
}
3 changes: 3 additions & 0 deletions media-libs/libfpx/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@
<email>[email protected]</email>
<name>Gentoo Graphics Project</name>
</maintainer>
<slots>
<subslots>Reflect major ABI of libfpx.so.</subslots>
</slots>
</pkgmetadata>

0 comments on commit 5455072

Please sign in to comment.