summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Buchholz <rbu@gentoo.org>2008-10-04 18:36:24 +0000
committerRobert Buchholz <rbu@gentoo.org>2008-10-04 18:36:24 +0000
commita5776da24ca8fda84c73d0b4712bbbca40163968 (patch)
tree32bb827d2fb40a0c5b5283e8b7416ff063ef4c35 /media-libs/jasper
parentAdd dev-haskell/network-2.2.0.0 to solve bug #227515. (diff)
downloadgentoo-2-a5776da24ca8fda84c73d0b4712bbbca40163968.tar.gz
gentoo-2-a5776da24ca8fda84c73d0b4712bbbca40163968.tar.bz2
gentoo-2-a5776da24ca8fda84c73d0b4712bbbca40163968.zip
Fix multiple integer overflows (bug #222819), remove mips stable keyword.
(Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r6 x86_64, RepoMan options: --force)
Diffstat (limited to 'media-libs/jasper')
-rw-r--r--media-libs/jasper/ChangeLog10
-rw-r--r--media-libs/jasper/jasper-1.701.0.ebuild6
-rw-r--r--media-libs/jasper/jasper-1.900.1-r2.ebuild51
3 files changed, 62 insertions, 5 deletions
diff --git a/media-libs/jasper/ChangeLog b/media-libs/jasper/ChangeLog
index 0decbf566bc5..59dc532d16d5 100644
--- a/media-libs/jasper/ChangeLog
+++ b/media-libs/jasper/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/jasper
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/jasper/ChangeLog,v 1.40 2007/07/13 09:53:59 uberlord Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jasper/ChangeLog,v 1.41 2008/10/04 18:36:24 rbu Exp $
+
+*jasper-1.900.1-r2 (04 Oct 2008)
+
+ 04 Oct 2008; Robert Buchholz <rbu@gentoo.org> jasper-1.701.0.ebuild,
+ +jasper-1.900.1-r2.ebuild:
+ Fix multiple integer overflows (bug #222819), remove mips stable keyword.
13 Jul 2007; Roy Marples <uberlord@gentoo.org> jasper-1.900.1-r1.ebuild:
Keyworded ~sparc-fbsd
diff --git a/media-libs/jasper/jasper-1.701.0.ebuild b/media-libs/jasper/jasper-1.701.0.ebuild
index 3f63be90adab..53dd233095b1 100644
--- a/media-libs/jasper/jasper-1.701.0.ebuild
+++ b/media-libs/jasper/jasper-1.701.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/jasper/jasper-1.701.0.ebuild,v 1.29 2007/02/15 20:21:01 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jasper/jasper-1.701.0.ebuild,v 1.30 2008/10/04 18:36:24 rbu Exp $
inherit libtool
@@ -10,7 +10,7 @@ SRC_URI="http://www.ece.uvic.ca/~mdadams/jasper/software/jasper-${PV}.zip"
LICENSE="JasPer"
SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="opengl jpeg"
RDEPEND="jpeg? ( media-libs/jpeg )
diff --git a/media-libs/jasper/jasper-1.900.1-r2.ebuild b/media-libs/jasper/jasper-1.900.1-r2.ebuild
new file mode 100644
index 000000000000..5660c117454d
--- /dev/null
+++ b/media-libs/jasper/jasper-1.900.1-r2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jasper/jasper-1.900.1-r2.ebuild,v 1.1 2008/10/04 18:36:24 rbu Exp $
+
+inherit libtool eutils
+
+DESCRIPTION="software-based implementation of the codec specified in the JPEG-2000 Part-1 standard"
+HOMEPAGE="http://www.ece.uvic.ca/~mdadams/jasper/"
+SRC_URI="http://www.ece.uvic.ca/~mdadams/jasper/software/jasper-${PV}.zip
+ mirror://gentoo/${P}-CVE-2008-3520+1+2.patch.bz2"
+
+LICENSE="JasPer"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ~ppc ppc64 ~s390 ~sh sparc ~sparc-fbsd x86 ~x86-fbsd"
+IUSE="opengl jpeg"
+
+RDEPEND="jpeg? ( media-libs/jpeg )
+ opengl? ( virtual/opengl virtual/glut )"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PN}-overflow-fix.patch
+ epatch "${WORKDIR}"/${P}-CVE-2008-3520+1+2.patch
+
+ elibtoolize
+}
+
+src_compile() {
+ econf \
+ $(use_enable jpeg libjpeg) \
+ $(use_enable opengl) \
+ --enable-shared \
+ || die
+ emake || die "If you got undefined references to OpenGL related libraries,please try 'eselect opengl set xorg-x11' before emerging. See bug #133609."
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+ dodoc NEWS README doc/*
+}
+
+pkg_postinst() {
+ elog
+ elog "Be noted that API has been changed, and you need to run"
+ elog "revdep-rebuild from gentoolkit to correct deps."
+ elog
+}