diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2009-06-04 20:30:06 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2009-06-04 20:30:06 +0000 |
commit | 7a739d52ae5cb6b6aa493a9d52776ac8b48bec81 (patch) | |
tree | a2f632472a01fec6f6b07b95b35dcc523cd1ac05 /media-libs/jasper | |
parent | Stable on alpha, bug #271246 (diff) | |
download | gentoo-2-7a739d52ae5cb6b6aa493a9d52776ac8b48bec81.tar.gz gentoo-2-7a739d52ae5cb6b6aa493a9d52776ac8b48bec81.tar.bz2 gentoo-2-7a739d52ae5cb6b6aa493a9d52776ac8b48bec81.zip |
Removing old and unsafe versions, see bug #271764
(Portage version: 2.1.6.11/cvs/Linux i686)
Diffstat (limited to 'media-libs/jasper')
-rw-r--r-- | media-libs/jasper/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/jasper/files/jasper-overflow-fix.patch | 15 | ||||
-rw-r--r-- | media-libs/jasper/jasper-1.900.1-r1.ebuild | 49 | ||||
-rw-r--r-- | media-libs/jasper/jasper-1.900.1-r2.ebuild | 51 |
4 files changed, 7 insertions, 117 deletions
diff --git a/media-libs/jasper/ChangeLog b/media-libs/jasper/ChangeLog index 4f02534e7633..90bc8efa729e 100644 --- a/media-libs/jasper/ChangeLog +++ b/media-libs/jasper/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/jasper -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/jasper/ChangeLog,v 1.52 2008/12/16 10:50:34 armin76 Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/jasper/ChangeLog,v 1.53 2009/06/04 20:30:05 phosphan Exp $ + + 04 Jun 2009; Patrick Kursawe <phosphan@gentoo.org> + -files/jasper-overflow-fix.patch, -jasper-1.900.1-r1.ebuild, + -jasper-1.900.1-r2.ebuild: + Removing old and unsafe versions, see bug #271764 16 Dec 2008; Raúl Porcel <armin76@gentoo.org> jasper-1.900.1-r3.ebuild: arm/ia64/sh stable wrt #222819 diff --git a/media-libs/jasper/files/jasper-overflow-fix.patch b/media-libs/jasper/files/jasper-overflow-fix.patch deleted file mode 100644 index 3266866976a1..000000000000 --- a/media-libs/jasper/files/jasper-overflow-fix.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -Naur jasper-1.900.1-old/src/libjasper/jpc/jpc_cs.c jasper-1.900.1/src/libjasper/jpc/jpc_cs.c ---- jasper-1.900.1-old/src/libjasper/jpc/jpc_cs.c 2007-01-19 16:43:07.000000000 -0500 -+++ jasper-1.900.1/src/libjasper/jpc/jpc_cs.c 2007-05-20 12:20:02.000000000 -0400 -@@ -982,7 +982,10 @@ - compparms->numstepsizes = (len - n) / 2; - break; - } -- if (compparms->numstepsizes > 0) { -+ if (compparms->numstepsizes > 3 * JPC_MAXRLVLS + 1) { -+ jpc_qcx_destroycompparms(compparms); -+ return -1; -+ } else if (compparms->numstepsizes > 0) { - compparms->stepsizes = jas_malloc(compparms->numstepsizes * - sizeof(uint_fast16_t)); - assert(compparms->stepsizes); diff --git a/media-libs/jasper/jasper-1.900.1-r1.ebuild b/media-libs/jasper/jasper-1.900.1-r1.ebuild deleted file mode 100644 index 748eeaf3a6a9..000000000000 --- a/media-libs/jasper/jasper-1.900.1-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# 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-r1.ebuild,v 1.11 2008/10/07 08:36:02 phosphan 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" - -LICENSE="JasPer2.0" -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 - - 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 -} diff --git a/media-libs/jasper/jasper-1.900.1-r2.ebuild b/media-libs/jasper/jasper-1.900.1-r2.ebuild deleted file mode 100644 index 5ac92511847b..000000000000 --- a/media-libs/jasper/jasper-1.900.1-r2.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# 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.4 2008/11/09 12:02:37 vapier 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="JasPer2.0" -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 -} |