From f551c228f2912aa1d5934208739b5c4bbdeecea0 Mon Sep 17 00:00:00 2001 From: Heinrich Wendel Date: Wed, 15 Dec 2004 15:02:36 +0000 Subject: security bump, bug #74406 --- app-text/acroread/ChangeLog | 7 +- app-text/acroread/Manifest | 18 ++---- app-text/acroread/acroread-5.010.ebuild | 93 +++++++++++++++++++++++++++ app-text/acroread/files/digest-acroread-5.010 | 1 + 4 files changed, 105 insertions(+), 14 deletions(-) create mode 100644 app-text/acroread/acroread-5.010.ebuild create mode 100644 app-text/acroread/files/digest-acroread-5.010 (limited to 'app-text') diff --git a/app-text/acroread/ChangeLog b/app-text/acroread/ChangeLog index 6279376f13e3..4305bb94c777 100644 --- a/app-text/acroread/ChangeLog +++ b/app-text/acroread/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/acroread # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/ChangeLog,v 1.38 2004/10/25 07:32:10 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/ChangeLog,v 1.39 2004/12/15 15:02:36 lanius Exp $ + +*acroread-5.010 (15 Dec 2004) + + 15 Dec 2004; lanius@gentoo.org +acroread-5.010.ebuild: + security bump, bug #74406 25 Oct 2004; Mamoru KOMACHI acroread-5.09-r1.ebuild, acroread-5.09.ebuild: diff --git a/app-text/acroread/Manifest b/app-text/acroread/Manifest index 8229f99125a8..a5542a801f24 100644 --- a/app-text/acroread/Manifest +++ b/app-text/acroread/Manifest @@ -1,16 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +MD5 c9fc7a5209e46cef66d68e327c11ddd9 acroread-5.09-r1.ebuild 2358 +MD5 9178090775aeac98ce721ded58a99b88 acroread-5.09.ebuild 2166 +MD5 15c176c42c97cbbb9c2e2ebb7c63a793 acroread-5.010.ebuild 2368 MD5 6dcd851661865f8547fc615b2181092a ChangeLog 6827 MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161 -MD5 9178090775aeac98ce721ded58a99b88 acroread-5.09.ebuild 2166 -MD5 c9fc7a5209e46cef66d68e327c11ddd9 acroread-5.09-r1.ebuild 2358 -MD5 b27aee5f7e9cf1c2026531792e263b1c files/digest-acroread-5.09-r1 62 MD5 b27aee5f7e9cf1c2026531792e263b1c files/digest-acroread-5.09 62 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFBfKqRVWNWqTUmv+0RAn41AKCyRw7Tc1bSGBvDWNYTr2VTPw2Q0ACfcLL1 -ImgBEEKd+SDWqRDd9SHuYng= -=xhwP ------END PGP SIGNATURE----- +MD5 b27aee5f7e9cf1c2026531792e263b1c files/digest-acroread-5.09-r1 62 +MD5 d0981fc5a58874b78a6f2a2b73d3e43d files/digest-acroread-5.010 63 diff --git a/app-text/acroread/acroread-5.010.ebuild b/app-text/acroread/acroread-5.010.ebuild new file mode 100644 index 000000000000..eb110797f330 --- /dev/null +++ b/app-text/acroread/acroread-5.010.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/acroread-5.010.ebuild,v 1.1 2004/12/15 15:02:36 lanius Exp $ + +inherit nsplugins eutils + +MY_P=linux-${PV/./} +DESCRIPTION="Adobe's PDF reader" +HOMEPAGE="http://www.adobe.com/products/acrobat/" +SRC_URI="ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/5.x/${MY_P}.tar.gz" + +LICENSE="Adobe" +SLOT="0" +KEYWORDS="-* x86 ~amd64" +IUSE="cjk noplugin" +RESTRICT="nostrip" + +DEPEND="virtual/libc + >=sys-apps/sed-4" +RDEPEND="cjk? ( media-fonts/acroread-asianfonts ) + amd64? ( >=app-emulation/emul-linux-x86-xlibs-1.2-r1 )" +PROVIDE="virtual/pdfviewer" + +INSTALLDIR=/opt/Acrobat5 + +S="${WORKDIR}/installers" + +pkg_setup() { + if ! use noplugin ; then + einfo + einfo "gtk2 USE flag can cause a slowdown in Mozilla's performance" + einfo "especially when using the acroread plugin to view a PDF file." + einfo + fi +} + +src_compile() { + tar -xvf LINUXRDR.TAR --no-same-owner + tar -xvf COMMON.TAR --no-same-owner + + sed -e "s:REPLACE_ME:${INSTALLDIR}/Reader:" \ + bin/acroread.sh > acroread + + #epatch ${FILESDIR}/acroread-utf8-gentoo.diff + + # Workaround till lib symlinks change from lib64 to lib32 + # Danny van Dyk 2004/08/30 + if use amd64 ; then + sed -i \ + -e "s:^install_dir:export XLOCALEDIR=/usr/X11R6/lib32/X11/locale/\n&:1" acroread \ + || die "sed failed" + fi +} + +src_install() { + local i + + dodir ${INSTALLDIR} + DIRS="Reader Resource" + use !noplugin && DIRS="${DIRS} Browsers" + for i in ${DIRS} + do + if [ -d ${i} ] ; then + chown -R --dereference root:root ${i} + cp -Rd ${i} ${D}${INSTALLDIR} + fi + done + + sed -i \ + -e "s:\$PROG =.*:\$PROG = '${INSTALLDIR}/acroread.real':" \ + acroread || die "sed acroread failed" + + exeinto ${INSTALLDIR} + doexe acroread || die "doexe failed" + dodoc README LICREAD.TXT + + if ! use noplugin ; then + dodir /opt/netscape/plugins + dosym ${INSTALLDIR}/Browsers/intellinux/nppdf.so /opt/netscape/plugins + inst_plugin ${INSTALLDIR}/Browsers/intellinux/nppdf.so + fi + + #dynamic environment by T.Henderson@cs.ucl.ac.uk (Tristan Henderson) + dodir /etc/env.d + echo -e "PATH=${INSTALLDIR}\nROOTPATH=${INSTALLDIR}" > \ + ${D}/etc/env.d/10acroread5 + +} + +pkg_postinst () { + # fix wrong directory permissions (bug #25931) + find ${INSTALLDIR} -type d | xargs chmod 755 || die +} diff --git a/app-text/acroread/files/digest-acroread-5.010 b/app-text/acroread/files/digest-acroread-5.010 new file mode 100644 index 000000000000..c020575fd1b5 --- /dev/null +++ b/app-text/acroread/files/digest-acroread-5.010 @@ -0,0 +1 @@ +MD5 9721b85d54aab1d9ece37758cc6d64f2 linux-5010.tar.gz 9286383 -- cgit v1.2.3-65-gdbad