public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-text/ghostscript-gnu: ChangeLog ghostscript-gnu-8.60.0-r2.ebuild
@ 2008-02-29 12:02 Peter Volkov (pva)
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Volkov (pva) @ 2008-02-29 12:02 UTC (permalink / raw
  To: gentoo-commits

pva         08/02/29 12:02:40

  Modified:             ChangeLog
  Added:                ghostscript-gnu-8.60.0-r2.ebuild
  Log:
  Fixed security issue (CVE-2008-0411), bug #208999, thank Robert Buchholz for report and coordination.
  (Portage version: 2.1.4.4, RepoMan options: --force)

Revision  Changes    Path
1.36                 app-text/ghostscript-gnu/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ghostscript-gnu/ChangeLog?rev=1.36&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ghostscript-gnu/ChangeLog?rev=1.36&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ghostscript-gnu/ChangeLog?r1=1.35&r2=1.36

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/ghostscript-gnu/ChangeLog,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- ChangeLog	14 Nov 2007 06:23:41 -0000	1.35
+++ ChangeLog	29 Feb 2008 12:02:39 -0000	1.36
@@ -1,6 +1,13 @@
 # ChangeLog for app-text/ghostscript-gnu
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-gnu/ChangeLog,v 1.35 2007/11/14 06:23:41 corsair Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-gnu/ChangeLog,v 1.36 2008/02/29 12:02:39 pva Exp $
+
+*ghostscript-gnu-8.60.0-r2 (29 Feb 2008)
+
+  29 Feb 2008; <pva@gentoo.org> +files/ghostscript-8.60-CVE-2008-0411.diff,
+  +ghostscript-gnu-8.60.0-r2.ebuild:
+  Fixed security issue (CVE-2008-0411), bug #208999, thank Robert Buchholz for
+  report and coordination.
 
   14 Nov 2007; Markus Rothe <corsair@gentoo.org>
   ghostscript-gnu-8.60.0-r1.ebuild:



1.1                  app-text/ghostscript-gnu/ghostscript-gnu-8.60.0-r2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ghostscript-gnu/ghostscript-gnu-8.60.0-r2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ghostscript-gnu/ghostscript-gnu-8.60.0-r2.ebuild?rev=1.1&content-type=text/plain

Index: ghostscript-gnu-8.60.0-r2.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-gnu/ghostscript-gnu-8.60.0-r2.ebuild,v 1.1 2008/02/29 12:02:39 pva Exp $

WANT_AUTOMAKE=1.9

inherit autotools elisp-common eutils versionator flag-o-matic

DESCRIPTION="GNU Ghostscript - patched GPL Ghostscript"
HOMEPAGE="http://www.gnu.org/software/ghostscript/"

MY_P=gnu-ghostscript-${PV}
PVM=$(get_version_component_range 1-2)
SRC_URI="cjk? ( ftp://ftp.gyve.org/pub/gs-cjk/adobe-cmaps-200406.tar.gz
		ftp://ftp.gyve.org/pub/gs-cjk/acro5-cmaps-2001.tar.gz )
	mirror://gnu/ghostscript/${MY_P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="X cups cjk gtk jpeg2k"

DEP="virtual/libc
	>=media-libs/jpeg-6b
	>=media-libs/libpng-1.2.5
	>=sys-libs/zlib-1.1.4
	>=media-libs/tiff-3.7
	X? ( x11-libs/libXt x11-libs/libXext )
	gtk? ( >=x11-libs/gtk+-2.0 )
	cups? ( >=net-print/cups-1.1.20 )
	!app-text/ghostscript-esp
	!app-text/ghostscript-gpl"

RDEPEND="${DEP}
	cjk? ( media-fonts/arphicfonts
		media-fonts/kochi-substitute
		media-fonts/baekmuk-fonts )
	media-fonts/gnu-gs-fonts-std"

DEPEND="${DEP}
	gtk? ( dev-util/pkgconfig )"

S=${WORKDIR}/${MY_P}

src_unpack() {
	unpack ${A/adobe-cmaps-200406.tar.gz acro5-cmaps-2001.tar.gz}
	if use cjk; then
		cat "${FILESDIR}"/ghostscript-esp-8.15.2-cidfmap.cjk >> "${S}"/lib/cidfmap
		cat "${FILESDIR}"/ghostscript-esp-8.15.2-FAPIcidfmap.cjk >> "${S}"/lib/FAPIcidfmap
		cd "${S}"/Resource
		unpack adobe-cmaps-200406.tar.gz
		unpack acro5-cmaps-2001.tar.gz
		cd "${WORKDIR}"
	fi

	cd "${S}"

	epatch "${FILESDIR}"/ghostscript-CVE-2007-2721.patch
	epatch "${FILESDIR}"/ghostscript-8.60-CVE-2008-0411.diff

	# search path fix
	sed -i -e "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/${PVM}/$(get_libdir):" \
		-e 's:$(gsdir)/fonts:/usr/share/fonts/default/ghostscript/:' \
		-e "s:exdir=.*:exdir=/usr/share/doc/${PF}/examples:" \
		-e "s:docdir=.*:docdir=/usr/share/doc/${PF}/html:" \
		-e "s:GS_DOCDIR=.*:GS_DOCDIR=/usr/share/doc/${PF}/html:" \
		Makefile.in src/*.mak || die "sed failed"
}

src_compile() {
	econf $(use_with X x) \
		$(use_with jpeg2k jasper) \
		$(use_enable cups) \
		$(use_enable gtk) \
		--with-ijs \
		--with-jbig2dec \
		--disable-compile-inits \
		--enable-dynamic \
		|| die "econf failed"

	emake -j1 so all || die "emake failed"

	cd ijs
	econf || die "ijs econf failed"
	emake || die "ijs emake failed"
}

src_install() {
	emake DESTDIR="${D}" install-so install || die "emake install failed"

	rm -fr "${D}"/usr/share/doc/${PF}/html/{README,PUBLIC}
	dodoc doc/README

	cd "${S}"/ijs
	emake DESTDIR="${D}" install || die "emake ijs install failed"
}



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-text/ghostscript-gnu: ChangeLog ghostscript-gnu-8.60.0-r2.ebuild
@ 2009-09-23 16:34 Patrick Lauer (patrick)
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick Lauer (patrick) @ 2009-09-23 16:34 UTC (permalink / raw
  To: gentoo-commits

patrick     09/09/23 16:34:06

  Modified:             ChangeLog ghostscript-gnu-8.60.0-r2.ebuild
  Log:
  Remove virtual/libc
  (Portage version: 2.2_rc41/cvs/Linux x86_64)

Revision  Changes    Path
1.44                 app-text/ghostscript-gnu/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ghostscript-gnu/ChangeLog?rev=1.44&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ghostscript-gnu/ChangeLog?rev=1.44&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ghostscript-gnu/ChangeLog?r1=1.43&r2=1.44

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/ghostscript-gnu/ChangeLog,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- ChangeLog	26 May 2009 06:07:23 -0000	1.43
+++ ChangeLog	23 Sep 2009 16:34:05 -0000	1.44
@@ -1,6 +1,10 @@
 # ChangeLog for app-text/ghostscript-gnu
 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-gnu/ChangeLog,v 1.43 2009/05/26 06:07:23 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-gnu/ChangeLog,v 1.44 2009/09/23 16:34:05 patrick Exp $
+
+  23 Sep 2009; Patrick Lauer <patrick@gentoo.org>
+  ghostscript-gnu-8.60.0-r2.ebuild:
+  Remove virtual/libc
 
   26 May 2009; Peter Volkov <pva@gentoo.org>
   ghostscript-gnu-8.60.0-r2.ebuild, ghostscript-gnu-8.62.0.ebuild,



1.4                  app-text/ghostscript-gnu/ghostscript-gnu-8.60.0-r2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ghostscript-gnu/ghostscript-gnu-8.60.0-r2.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ghostscript-gnu/ghostscript-gnu-8.60.0-r2.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ghostscript-gnu/ghostscript-gnu-8.60.0-r2.ebuild?r1=1.3&r2=1.4

Index: ghostscript-gnu-8.60.0-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/ghostscript-gnu/ghostscript-gnu-8.60.0-r2.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ghostscript-gnu-8.60.0-r2.ebuild	26 May 2009 06:07:23 -0000	1.3
+++ ghostscript-gnu-8.60.0-r2.ebuild	23 Sep 2009 16:34:05 -0000	1.4
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-gnu/ghostscript-gnu-8.60.0-r2.ebuild,v 1.3 2009/05/26 06:07:23 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-gnu/ghostscript-gnu-8.60.0-r2.ebuild,v 1.4 2009/09/23 16:34:05 patrick Exp $
 
 WANT_AUTOMAKE=1.9
 
@@ -20,8 +20,7 @@
 KEYWORDS="~alpha ~amd64 ~ppc ppc64 ~sparc ~x86 ~x86-fbsd"
 IUSE="X cups cjk gtk jpeg2k"
 
-DEP="virtual/libc
-	>=media-libs/jpeg-6b
+DEP=">=media-libs/jpeg-6b
 	>=media-libs/libpng-1.2.5
 	>=sys-libs/zlib-1.1.4
 	>=media-libs/tiff-3.7






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-23 16:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-23 16:34 [gentoo-commits] gentoo-x86 commit in app-text/ghostscript-gnu: ChangeLog ghostscript-gnu-8.60.0-r2.ebuild Patrick Lauer (patrick)
  -- strict thread matches above, loose matches on Subject: below --
2008-02-29 12:02 Peter Volkov (pva)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox