diff options
author | Bryan Østergaard <kloeri@gentoo.org> | 2007-02-02 22:54:34 +0000 |
---|---|---|
committer | Bryan Østergaard <kloeri@gentoo.org> | 2007-02-02 22:54:34 +0000 |
commit | 700dea6e6fad4c80652fa436d10e8f71c489f46e (patch) | |
tree | cebc8c0010bd86ec6e3a4d11b54f78ade382df11 /media-gfx/graphicsmagick | |
parent | Stable for 2007.0. (diff) | |
download | gentoo-2-700dea6e6fad4c80652fa436d10e8f71c489f46e.tar.gz gentoo-2-700dea6e6fad4c80652fa436d10e8f71c489f46e.tar.bz2 gentoo-2-700dea6e6fad4c80652fa436d10e8f71c489f46e.zip |
Remove vulnerable versions, bug 164180.
(Portage version: 2.1.2-r6)
Diffstat (limited to 'media-gfx/graphicsmagick')
8 files changed, 7 insertions, 355 deletions
diff --git a/media-gfx/graphicsmagick/ChangeLog b/media-gfx/graphicsmagick/ChangeLog index 7e5e2d5373fc..74fc72c6b3a9 100644 --- a/media-gfx/graphicsmagick/ChangeLog +++ b/media-gfx/graphicsmagick/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-gfx/graphicsmagick -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphicsmagick/ChangeLog,v 1.45 2006/12/26 05:01:48 vapier Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphicsmagick/ChangeLog,v 1.46 2007/02/02 22:54:33 kloeri Exp $ + + 02 Feb 2007; Bryan Østergaard <kloeri@gentoo.org> -files/xwd-dos.patch, + -graphicsmagick-1.1.7.ebuild, -graphicsmagick-1.1.7-r1.ebuild, + -graphicsmagick-1.1.7-r2.ebuild: + Remove vulnerable versions, bug 164180. 26 Dec 2006; Mike Frysinger <vapier@gentoo.org> graphicsmagick-1.1.7-r3.ebuild: diff --git a/media-gfx/graphicsmagick/files/digest-graphicsmagick-1.1.7 b/media-gfx/graphicsmagick/files/digest-graphicsmagick-1.1.7 deleted file mode 100644 index 9a72057947c2..000000000000 --- a/media-gfx/graphicsmagick/files/digest-graphicsmagick-1.1.7 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f75d830ca623bf10385b3ad62c48437a GraphicsMagick-1.1.7.tar.bz2 4957394 -RMD160 9193ab3b109df6ce4b80cb2c1602c86ca36e3043 GraphicsMagick-1.1.7.tar.bz2 4957394 -SHA256 95f85e8bb84cc7ad05e84988f4cd93432ab2d4b300827fef34d1ada5e69196cc GraphicsMagick-1.1.7.tar.bz2 4957394 diff --git a/media-gfx/graphicsmagick/files/digest-graphicsmagick-1.1.7-r1 b/media-gfx/graphicsmagick/files/digest-graphicsmagick-1.1.7-r1 deleted file mode 100644 index 9a72057947c2..000000000000 --- a/media-gfx/graphicsmagick/files/digest-graphicsmagick-1.1.7-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f75d830ca623bf10385b3ad62c48437a GraphicsMagick-1.1.7.tar.bz2 4957394 -RMD160 9193ab3b109df6ce4b80cb2c1602c86ca36e3043 GraphicsMagick-1.1.7.tar.bz2 4957394 -SHA256 95f85e8bb84cc7ad05e84988f4cd93432ab2d4b300827fef34d1ada5e69196cc GraphicsMagick-1.1.7.tar.bz2 4957394 diff --git a/media-gfx/graphicsmagick/files/digest-graphicsmagick-1.1.7-r2 b/media-gfx/graphicsmagick/files/digest-graphicsmagick-1.1.7-r2 deleted file mode 100644 index 9a72057947c2..000000000000 --- a/media-gfx/graphicsmagick/files/digest-graphicsmagick-1.1.7-r2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f75d830ca623bf10385b3ad62c48437a GraphicsMagick-1.1.7.tar.bz2 4957394 -RMD160 9193ab3b109df6ce4b80cb2c1602c86ca36e3043 GraphicsMagick-1.1.7.tar.bz2 4957394 -SHA256 95f85e8bb84cc7ad05e84988f4cd93432ab2d4b300827fef34d1ada5e69196cc GraphicsMagick-1.1.7.tar.bz2 4957394 diff --git a/media-gfx/graphicsmagick/files/xwd-dos.patch b/media-gfx/graphicsmagick/files/xwd-dos.patch deleted file mode 100644 index 4fc1fd2bfa9f..000000000000 --- a/media-gfx/graphicsmagick/files/xwd-dos.patch +++ /dev/null @@ -1,32 +0,0 @@ -=================================================================== -RCS file: /GraphicsMagick/GraphicsMagick/coders/xwd.c,v -retrieving revision 1.88 -retrieving revision 1.88.2.1 -diff -u -p -r1.88 -r1.88.2.1 ---- GraphicsMagick/coders/xwd.c 2004/02/17 03:41:53 1.88 -+++ GraphicsMagick/coders/xwd.c 2005/05/16 18:51:04 1.88.2.1 -@@ -325,21 +325,21 @@ static Image *ReadXWDImage(const ImageIn - */ - red_mask=ximage->red_mask; - red_shift=0; -- while ((red_mask & 0x01) == 0) -+ while ((red_mask != 0) && ((red_mask & 0x01) == 0)) - { - red_mask>>=1; - red_shift++; - } - green_mask=ximage->green_mask; - green_shift=0; -- while ((green_mask & 0x01) == 0) -+ while ((green_mask != 0) && ((green_mask & 0x01) == 0)) - { - green_mask>>=1; - green_shift++; - } - blue_mask=ximage->blue_mask; - blue_shift=0; -- while ((blue_mask & 0x01) == 0) -+ while ((blue_mask != 0) && ((blue_mask & 0x01) == 0)) - { - blue_mask>>=1; - blue_shift++; diff --git a/media-gfx/graphicsmagick/graphicsmagick-1.1.7-r1.ebuild b/media-gfx/graphicsmagick/graphicsmagick-1.1.7-r1.ebuild deleted file mode 100644 index 08e5ad1167cd..000000000000 --- a/media-gfx/graphicsmagick/graphicsmagick-1.1.7-r1.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphicsmagick/graphicsmagick-1.1.7-r1.ebuild,v 1.5 2006/09/24 00:36:37 josejx Exp $ - -inherit libtool flag-o-matic perl-app - -MY_PN=GraphicsMagick -MY_P=${MY_PN}-${PV} - -DESCRIPTION="A collection of tools and libraries for many image formats" -HOMEPAGE="http://www.graphicsmagick.org/" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~amd64 ia64 ppc ppc64 ~sparc x86" -IUSE="X gs jbig jpeg2k jpeg lcms lzw perl png tiff truetype wmf xml doc" - -RDEPEND="app-arch/bzip2 - sys-libs/zlib - X? ( || ( - ( x11-libs/libXext x11-libs/libXt x11-libs/libX11 x11-libs/libICE x11-libs/libSM ) - virtual/x11 - ) ) - gs? ( virtual/ghostscript ) - jbig? ( media-libs/jbigkit ) - jpeg2k? ( media-libs/jasper ) - jpeg? ( >=media-libs/jpeg-6b ) - lcms? ( >=media-libs/lcms-1.06 ) - perl? ( dev-lang/perl ) - png? ( media-libs/libpng ) - tiff? ( >=media-libs/tiff-3.5.5 ) - xml? ( >=dev-libs/libxml2-2.4.10 ) - truetype? ( =media-libs/freetype-2* ) - wmf? ( >=media-libs/libwmf-0.2.5 )" -DEPEND="${RDEPEND} - X? ( || ( ( x11-proto/xextproto x11-proto/xproto ) virtual/x11 ) )" - -S=${WORKDIR}/${MY_P} - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-overflow.patch - epatch "${FILESDIR}"/${PN}-libpng.patch - - # Netscape is still used ? More people should have Mozilla - sed -i 's:netscape:mozilla:g' configure -} - -src_compile() { - econf \ - --with-gs-font-dir=/usr/share/fonts/default/ghostscript \ - --enable-shared \ - --with-quantum-depth=16 \ - --with-threads \ - --with-bzlib \ - --without-perl \ - $(use_with X x) \ - $(use_with jbig) \ - $(use_with jpeg2k) \ - $(use_with jpeg) \ - $(use_with lcms) \ - $(use_enable lzw) \ - $(use_with png) \ - $(use_with tiff) \ - $(use_with truetype ttf) \ - $(use_with wmf) \ - $(use_with xml xml) \ - || die - - # make PerlMagick using portage tools instead of Makefile to avoid sandbox issues - if use perl ; then - cd PerlMagick - perl-app_src_prep - perl-app_src_compile - cd .. - fi - - emake || die "compile problem" -} - -src_install() { - make DESTDIR="${D}" install || die - - if use perl ; then - cd PerlMagick - perl-module_src_install - cd .. - fi - - dosym /usr/lib/${MY_P}/ /usr/lib/GraphicsMagick - - rm -f "${D}"/usr/share/GraphicsMagick/*.txt - rm -rf "${D}"/usr/share/${MY_P}/www - - if use doc ; then - dohtml -r www/* - fi - - dosed "s:-I/usr/include ::" /usr/bin/GraphicsMagick-config - dosed "s:-I/usr/include ::" /usr/bin/GraphicsMagick++-config -} diff --git a/media-gfx/graphicsmagick/graphicsmagick-1.1.7-r2.ebuild b/media-gfx/graphicsmagick/graphicsmagick-1.1.7-r2.ebuild deleted file mode 100644 index aa4c0c7da9fa..000000000000 --- a/media-gfx/graphicsmagick/graphicsmagick-1.1.7-r2.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphicsmagick/graphicsmagick-1.1.7-r2.ebuild,v 1.2 2006/10/08 00:02:20 kloeri Exp $ - -inherit libtool flag-o-matic perl-app - -MY_PN="GraphicsMagick" -MY_P=${MY_PN}-${PV} - -DESCRIPTION="A collection of tools and libraries for many image formats" -HOMEPAGE="http://www.graphicsmagick.org/" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="X gs jbig jpeg2k jpeg lcms lzw perl png tiff truetype wmf xml doc depth16 depth32" - -RDEPEND="app-arch/bzip2 - sys-libs/zlib - X? ( || ( - ( x11-libs/libXext x11-libs/libXt x11-libs/libX11 x11-libs/libICE x11-libs/libSM ) - virtual/x11 - ) ) - gs? ( virtual/ghostscript ) - jbig? ( media-libs/jbigkit ) - jpeg2k? ( media-libs/jasper ) - jpeg? ( >=media-libs/jpeg-6b ) - lcms? ( >=media-libs/lcms-1.06 ) - perl? ( dev-lang/perl ) - png? ( media-libs/libpng ) - tiff? ( >=media-libs/tiff-3.5.5 ) - xml? ( >=dev-libs/libxml2-2.4.10 ) - truetype? ( =media-libs/freetype-2* ) - wmf? ( >=media-libs/libwmf-0.2.5 )" -DEPEND="${RDEPEND} - X? ( || ( ( x11-proto/xextproto x11-proto/xproto ) virtual/x11 ) )" - -S=${WORKDIR}/${MY_P} - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-overflow.patch - epatch "${FILESDIR}"/${PN}-libpng.patch - - # Netscape is still used ? More people should have Mozilla - sed -i 's:netscape:mozilla:g' configure -} - -src_compile() { - DEPTH=8 - use depth16 && DEPTH=16 - use depth32 && DEPTH=32 - econf \ - --with-gs-font-dir=/usr/share/fonts/default/ghostscript \ - --enable-shared \ - --with-threads \ - --with-bzlib \ - --without-perl \ - --without-fpx \ - $(use_with X x) \ - $(use_with jbig) \ - $(use_with jpeg2k) \ - $(use_with jpeg) \ - $(use_with lcms) \ - $(use_enable lzw) \ - $(use_with png) \ - $(use_with tiff) \ - $(use_with truetype ttf) \ - $(use_with wmf) \ - $(use_with xml xml) \ - --with-quantum-depth=${DEPTH} \ - || die - - # make PerlMagick using portage tools instead of Makefile to avoid sandbox issues - if use perl ; then - cd PerlMagick - perl-app_src_prep - perl-app_src_compile - cd .. - fi - - emake || die "compile problem" -} - -src_install() { - make DESTDIR="${D}" install || die - - if use perl ; then - cd PerlMagick - perl-module_src_install - cd .. - fi - - dosym /usr/lib/${MY_P}/ /usr/lib/GraphicsMagick - - rm -f "${D}"/usr/share/GraphicsMagick/*.txt - rm -rf "${D}"/usr/share/${MY_P}/www - - if use doc ; then - dohtml -r www/* - fi - - dosed "s:-I/usr/include ::" /usr/bin/GraphicsMagick-config - dosed "s:-I/usr/include ::" /usr/bin/GraphicsMagick++-config -} diff --git a/media-gfx/graphicsmagick/graphicsmagick-1.1.7.ebuild b/media-gfx/graphicsmagick/graphicsmagick-1.1.7.ebuild deleted file mode 100644 index ff193f9347b2..000000000000 --- a/media-gfx/graphicsmagick/graphicsmagick-1.1.7.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphicsmagick/graphicsmagick-1.1.7.ebuild,v 1.8 2006/07/13 12:41:20 agriffis Exp $ - -inherit libtool flag-o-matic perl-app - -MY_PN=GraphicsMagick -MY_P=${MY_PN}-${PV} - -DESCRIPTION="A collection of tools and libraries for many image formats" -HOMEPAGE="http://www.graphicsmagick.org/" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~amd64 ia64 ppc ppc64 ~sparc x86" -IUSE="X gs jbig jpeg2k jpeg lcms lzw perl png tiff truetype wmf xml doc" - -RDEPEND="app-arch/bzip2 - sys-libs/zlib - X? ( || ( - ( x11-libs/libXext x11-libs/libXt x11-libs/libX11 x11-libs/libICE x11-libs/libSM ) - virtual/x11 - ) ) - gs? ( virtual/ghostscript ) - jbig? ( media-libs/jbigkit ) - jpeg2k? ( media-libs/jasper ) - jpeg? ( >=media-libs/jpeg-6b ) - lcms? ( >=media-libs/lcms-1.06 ) - perl? ( dev-lang/perl ) - png? ( media-libs/libpng ) - tiff? ( >=media-libs/tiff-3.5.5 ) - xml? ( >=dev-libs/libxml2-2.4.10 ) - truetype? ( =media-libs/freetype-2* ) - wmf? ( >=media-libs/libwmf-0.2.5 )" -DEPEND="${RDEPEND} - X? ( || ( ( x11-proto/xextproto x11-proto/xproto ) virtual/x11 ) )" - -S=${WORKDIR}/${MY_P} - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-overflow.patch - - # Netscape is still used ? More people should have Mozilla - sed -i 's:netscape:mozilla:g' configure -} - -src_compile() { - econf \ - --with-gs-font-dir=/usr/share/fonts/default/ghostscript \ - --enable-shared \ - --with-quantum-depth=16 \ - --with-threads \ - --with-bzlib \ - --without-perl \ - $(use_with X x) \ - $(use_with jbig) \ - $(use_with jpeg2k) \ - $(use_with jpeg) \ - $(use_with lcms) \ - $(use_enable lzw) \ - $(use_with png) \ - $(use_with tiff) \ - $(use_with truetype ttf) \ - $(use_with wmf) \ - $(use_with xml xml) \ - || die - - # make PerlMagick using portage tools instead of Makefile to avoid sandbox issues - if use perl ; then - cd PerlMagick - perl-app_src_prep - perl-app_src_compile - cd .. - fi - - emake || die "compile problem" -} - -src_install() { - make DESTDIR="${D}" install || die - - if use perl ; then - cd PerlMagick - perl-module_src_install - cd .. - fi - - dosym /usr/lib/${MY_P}/ /usr/lib/GraphicsMagick - - rm -f "${D}"/usr/share/GraphicsMagick/*.txt - rm -rf "${D}"/usr/share/${MY_P}/www - - if use doc ; then - dohtml -r www/* - fi - - dosed "s:-I/usr/include ::" /usr/bin/GraphicsMagick-config - dosed "s:-I/usr/include ::" /usr/bin/GraphicsMagick++-config -} |