From caaaac5581e1d99f74efbad694da575254867ad5 Mon Sep 17 00:00:00 2001 From: "Kevin F. Quinn" Date: Sun, 14 Jan 2007 08:51:27 +0000 Subject: [PATCH] Version bump for security issues; bug #159874 Package-Manager: portage-2.1.2_rc4-r5 --- app-text/acroread/ChangeLog | 11 +- app-text/acroread/Manifest | 48 ++-- app-text/acroread/acroread-7.0.9.ebuild | 226 ++++++++++++++++++ app-text/acroread/files/digest-acroread-7.0.9 | 48 ++++ app-text/acroread/metadata.xml | 9 + 5 files changed, 322 insertions(+), 20 deletions(-) create mode 100644 app-text/acroread/acroread-7.0.9.ebuild create mode 100644 app-text/acroread/files/digest-acroread-7.0.9 diff --git a/app-text/acroread/ChangeLog b/app-text/acroread/ChangeLog index 45c72afe3526..9d3b556d968b 100644 --- a/app-text/acroread/ChangeLog +++ b/app-text/acroread/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-text/acroread -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/ChangeLog,v 1.88 2006/12/03 17:57:49 tove Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/ChangeLog,v 1.89 2007/01/14 08:51:27 kevquinn Exp $ + +*acroread-7.0.9 (14 Jan 2007) + + 14 Jan 2007; Kevin F. Quinn metadata.xml, + +acroread-7.0.9.ebuild: + Version bump to 7.0.9; fixes some security flaws, especially in the browser + plugin (bug #159874). *acroread-7.0.8-r1 (22 Nov 2006) diff --git a/app-text/acroread/Manifest b/app-text/acroread/Manifest index a10ee11c9354..7ba0e4bb9a07 100644 --- a/app-text/acroread/Manifest +++ b/app-text/acroread/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX acroread-expr.patch 959 RMD160 8ccb8bed1f96b0f75453963b40ae5f8ca198be79 SHA1 d00decfaaefa8d2679c5ab16a3731f4bb7df01c2 SHA256 2ee1362347f32d25fd0c7abdcd017d5fd997e4724ca7f58ac81fee715202261e MD5 2d25638bfc8501de70f92062e7573bc0 files/acroread-expr.patch 959 RMD160 8ccb8bed1f96b0f75453963b40ae5f8ca198be79 files/acroread-expr.patch 959 @@ -14,20 +11,35 @@ MD5 00414d6be2296740cc5225ca93a3d035 files/acroread-scim.patch 488 RMD160 a4b6466a2afd7be298d46aa039f3e882ea6c12ce files/acroread-scim.patch 488 SHA256 4c826838f8ab1e8a9aa288609e04e2141308e57b4038d6e68fb0c869a6b4d808 files/acroread-scim.patch 488 DIST AdobeReader_chs-7.0.8-1.i386.tar.gz 61037822 RMD160 f06ce32be2eb881dd9b3bb0c25edbd3f9b89bbc3 SHA1 8ce600469dda616c579e6af9d1933c69d41f51dd SHA256 27676b998c7730f8408a7557c57ea9a5be0db68d235226c79b525fc1dd47b209 +DIST AdobeReader_chs-7.0.9-1.i386.tar.gz 61049609 RMD160 2b810e1e3c773fe6bf57bcd0cdb11aaf0630a477 SHA1 76bfc0d1931a85493d11c25a4d7d2066f96f9935 SHA256 81b44b97111c481666b021d102ce4d9bed1ef2bdb3ac877b2d8f72f659913e60 DIST AdobeReader_cht-7.0.8-1.i386.tar.gz 56699976 RMD160 a096052ebb350ee1bdeed48018f64eb7cefe295b SHA1 77cd3fbc4bb605c9f8732889c44ad7a6b74bd94b SHA256 1d80ea465190d9d9fea969494819708a0687869fdf74c2f1c6552095287bd1bf +DIST AdobeReader_cht-7.0.9-1.i386.tar.gz 56715430 RMD160 f93d1f32ae0b4ff834454669c3f8d8bcff065f52 SHA1 f66b774d8ffe24827ef0da7c1743c43ca41912b0 SHA256 2832595aef5933170c192d7f27dc8b37d0aef52a710f53f7e1c1fac059bc0db5 DIST AdobeReader_dan-7.0.8-1.i386.tar.gz 48116001 RMD160 2add95edbe5be6cfcb3966d33971a3357ca36c78 SHA1 b3fdc5c2e69ad5c11527bfbd9651b993c4f04e5e SHA256 993342c1ece81902f1b9770528df12bdadbc4f1035646b444d336f53e4a939b5 +DIST AdobeReader_dan-7.0.9-1.i386.tar.gz 48129423 RMD160 f46a5e3d3c5b695431d39cc6f886763c70244f19 SHA1 ae65d075f4a968f96d97d86c6720c5f4d29a0cad SHA256 95d3e657a8e1da5aa7f32113508fc3c157e3d01d1c37a2f332227ddcec496f5c DIST AdobeReader_deu-7.0.8-1.i386.tar.gz 49371428 RMD160 1a79cf1fad25e4bc515967214c1c34b85736d9f6 SHA1 767640e60dd70498294a7bb42dd9c05399ad175e SHA256 329a688ad9d27c40064ea7b0c10cd6d10cfbf067c39a31a4913ce67add634af8 +DIST AdobeReader_deu-7.0.9-1.i386.tar.gz 49388396 RMD160 6da97fb8349df8215a28118ad86bf997e44d9622 SHA1 a41e1cf35e200bf28b5a500fdeb5ddec201cea73 SHA256 f4446408b8b2a94c7e54bfd5480b2772f645f68956ffb9a639f1dfaca71cbc87 DIST AdobeReader_enu-7.0.8-1.i386.tar.gz 44150042 RMD160 22c51f70bcafcd0f0b2fc2b0f0cd3c3aa42ed983 SHA1 ed3f955a0e9ba252fcb45263de00a37e392b7b72 SHA256 eb4a883910733ad63a93b168f20b9c2ca8f21d7174b0aedd6eba1ee6c2a2746f +DIST AdobeReader_enu-7.0.9-1.i386.tar.gz 44165526 RMD160 b9d7b2068be3314054581ff129d6cb5fee7677f6 SHA1 793cc8bcf59a6c24b6e74881bad978efcd447df9 SHA256 1e161174d932788c17e784a626ec02eec79158ecd813e206117356f54ed94863 DIST AdobeReader_esp-7.0.8-1.i386.tar.gz 48221122 RMD160 bba9c7fecb8c5404976fada7dbdede5871c6c3e4 SHA1 f9635e3a416dc69147eb0789fc0ae28c69e79e19 SHA256 807cad63709f3f53af7f46bfa002c640d5c77cae3be923faa2cd18a695a89f31 +DIST AdobeReader_esp-7.0.9-1.i386.tar.gz 48236413 RMD160 acbc255aade77f35db69a942787e287318be13f1 SHA1 fd48713078bfd1226dfab0c0a8f863cea3f6d4b3 SHA256 fe18aea3831696badedd3f7cf505acfce154d4180afc65ee6191f4e5231439c4 DIST AdobeReader_fra-7.0.8-1.i386.tar.gz 48506996 RMD160 e4a0b67a8594bb316944cc8ee55c559352fe403f SHA1 7c5ad616121285e1ae7914693c6e490d00d9f330 SHA256 1b7235a6c549d34008fc08677b4f398da1d05f6d712ccf6c75088816e65853a3 +DIST AdobeReader_fra-7.0.9-1.i386.tar.gz 48516382 RMD160 7c61343f03b2a466fc385834f6981eb64d4cb023 SHA1 2146a9893a47362f9e0afe46aa766b4b6dc6401e SHA256 97d1fd53ba34953f398aed9d1fc648de0cfa0fd728f29b0f5d3244c0f17b4581 DIST AdobeReader_ita-7.0.8-1.i386.tar.gz 48020971 RMD160 d8f6558d64dc3c43833165c4ad5bdaf6f431c49b SHA1 b001275ecb16790a96b0b7034f1eb817b2be4385 SHA256 17bf8f6e831085279c3ec808338f5b22852eda84a401e5a63bafe72e2e08120a +DIST AdobeReader_ita-7.0.9-1.i386.tar.gz 48035548 RMD160 6e43fa6c02c778e844c6e26586d4707d3f9ab17a SHA1 d180e3561fe518c7df7b46e6b3bb51e19e5c6859 SHA256 f591c20760aa17615707d2f8e079986f95d446ee65da5655129329e741e315cd DIST AdobeReader_jpn-7.0.8-1.i386.tar.gz 57908025 RMD160 a610b5ba814eae3c98f9814f4281f7958f6092be SHA1 974d58847a95868123e976eeefec1d42373d6819 SHA256 90fde50a5a60afc70e6e32c222eaf7e172386b36d412e9d9a4a0103beb66964a +DIST AdobeReader_jpn-7.0.9-1.i386.tar.gz 57921998 RMD160 b3c02a96f5ec0cbb32e65249101107e8e8ef4b89 SHA1 843c70dc64b4dff24eba5cab30db66f38a317425 SHA256 519f65a4af242fedbe4e0d7b58a9eeaf7d8abd217ab4276c0caa763cf257faa9 DIST AdobeReader_kor-7.0.8-1.i386.tar.gz 52801200 RMD160 d534b35e0d3ca05af1ce39ea92d45ff9983ba7ff SHA1 6f47254c65df43523a961add7360a2c7abdc1897 SHA256 a924f0967b3d869f7afadbfcff879879ed353972effc97cf57b436341fb6f811 +DIST AdobeReader_kor-7.0.9-1.i386.tar.gz 52817384 RMD160 68e73c8effe033024a0d6054b0ceb4960c773914 SHA1 07695dbbd584f7f023d05fb0fed35060fafc54c7 SHA256 ed8f5523b24759f4977f7cfe825d01201a83cb5210d62abf03a570e62df9e4ab DIST AdobeReader_nld-7.0.8-1.i386.tar.gz 48343452 RMD160 4106450ce5bf6afc14ea355876de29a64d32c00c SHA1 d411dfbc9aefbc131cb6c40fda0c00f8fa4c1e8d SHA256 15b188095f5de5aeb48f82d05cdc22a0222ae9d1b8a53b3c6ea0708e4610a097 +DIST AdobeReader_nld-7.0.9-1.i386.tar.gz 48354998 RMD160 32fd83acff5e89ef4a5d59b45fbacb3eb885e884 SHA1 e2cc4efa89a59428207a36e99e05265a6ebbc24f SHA256 2704879d5a40a06eb2260018ae9ef7f5e54f6f78ca93f26f18ec78bda6aef95d DIST AdobeReader_nor-7.0.8-1.i386.tar.gz 48329913 RMD160 da35b11359c3b15abe87ce7443bb026bd8305a75 SHA1 cb63d48aee9b5020d70f6fa9b44c3329caa0305e SHA256 30fbaed0fd5113903d3d72fab6621d7d1d6e5321178965148d06fc1544d1a269 +DIST AdobeReader_nor-7.0.9-1.i386.tar.gz 48349118 RMD160 24b820519261a23f742b8a3ffc80d3c80775bdce SHA1 777264427d3c1e8e4dfd40654537b1a1e0c8eac1 SHA256 f111e0b180c47c7f7072bc1009394ea75bc2d01bb2abbe50a103aabc92401d23 DIST AdobeReader_ptb-7.0.8-1.i386.tar.gz 48183826 RMD160 1b47a8329a65a128b098671932386658f1e2b222 SHA1 9ad052350f9b846468f4f9b1771e780abb75bccc SHA256 ff1cf589da1ea6ab0adb5fdafd10cfb81210d774f46a7dd15b7f518f7f3d6093 +DIST AdobeReader_ptb-7.0.9-1.i386.tar.gz 48194861 RMD160 3784ef2a4d08a9b63337ab39b5e45ec5c08686af SHA1 60d51dda92097aabc634f1e349cce93d3732be2b SHA256 4e78333bc6a3af013bbb5d59721afee4c4a0462f1bdcb1a1a54e7c2cbe79541b DIST AdobeReader_suo-7.0.8-1.i386.tar.gz 48240289 RMD160 21f4c7627d57448c18a4fd80ef9c1b8567fe82cc SHA1 f004a2423e6569150a5704a2c5278f253f55b1ca SHA256 4a13136924519166fde26b34f39b1101f1acaee768f704c9c5fca8d3385b4e39 +DIST AdobeReader_suo-7.0.9-1.i386.tar.gz 48256107 RMD160 77c47af7d67fd4a8f17c419088658664872cf10e SHA1 7f628a7f91ec7569f9c56d48e65283f2974cdee9 SHA256 523d07091fe29b37eb21f314ee513a258c5b6a5b039caab30dab5ffc53829977 DIST AdobeReader_sve-7.0.8-1.i386.tar.gz 49181229 RMD160 210335f85ac392ccb5f915e3e19b4a4e75fe2602 SHA1 d659d83e7adc7f7b0b008e595693cadbbbb3982d SHA256 d8c519900f3b2a9936af218891ae4781c5dbe32143c2cb054ee20332c5dcc4ae +DIST AdobeReader_sve-7.0.9-1.i386.tar.gz 49194849 RMD160 a93add1f6fb9e54272da283c848ef61d7b953baa SHA1 a494b65e2f7b2916ef346a13d8825c5b32b24239 SHA256 8b09ab347ab4b307b70ea44f0dfe3c3a2e19cfeafe936e43fe8f042464b50c26 DIST libcups.so-i386.bz2 50564 RMD160 a8bedc7151eb1d547616124bfdd4844699a33c15 SHA1 d55609b2889c0cb668fb73b59d9d0ea4b3094a47 SHA256 77eb5cd6aeab630812f7e911db04b6042cd6dee6aa7b9d8cf7756dca14e24b38 EBUILD acroread-7.0.8-r1.ebuild 7309 RMD160 dbf1b447e363308971fdea61bd4ff88c730ac23a SHA1 60e99d6d13bd86a95617bf0c5e063e82225a1c5b SHA256 1b439592d8a20f5c357ecaf66ceca116cea5be15a33b4c1efb0ae7c986dec29a MD5 58610a70368ab6f2362374a93fdf0be4 acroread-7.0.8-r1.ebuild 7309 @@ -37,24 +49,24 @@ EBUILD acroread-7.0.8.ebuild 4902 RMD160 dcb6bc89e546993e5af6057047670e3ad35095a MD5 a42f7cd5b030e12bc92494cd84272cec acroread-7.0.8.ebuild 4902 RMD160 dcb6bc89e546993e5af6057047670e3ad35095a8 acroread-7.0.8.ebuild 4902 SHA256 4afd6f43fcf834c5518620e309fa80b929938b064a9dda01c7ca632831668c8a acroread-7.0.8.ebuild 4902 -MISC ChangeLog 16037 RMD160 50efb5948a2b45689347127b9c9ebe4bc0637b13 SHA1 3034fc245e76cbb49ee9b745b2492f499de92fb3 SHA256 983d0a0d224a76e8d247600dedb0a1f1a70bab178bac53f5090c852807ec94e8 -MD5 6f1f3395e8495684f3d688a588fdf2b2 ChangeLog 16037 -RMD160 50efb5948a2b45689347127b9c9ebe4bc0637b13 ChangeLog 16037 -SHA256 983d0a0d224a76e8d247600dedb0a1f1a70bab178bac53f5090c852807ec94e8 ChangeLog 16037 -MISC metadata.xml 161 RMD160 1e5b1e42553c8869b93c4a5448e9a2a2ed9fe525 SHA1 209c6a46e4cdd891980115e42ba419e3799f8088 SHA256 7c85e6739a71f5bb23e8de36c88677d772946e61f7285892f7554e37bd2bca76 -MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161 -RMD160 1e5b1e42553c8869b93c4a5448e9a2a2ed9fe525 metadata.xml 161 -SHA256 7c85e6739a71f5bb23e8de36c88677d772946e61f7285892f7554e37bd2bca76 metadata.xml 161 +EBUILD acroread-7.0.9.ebuild 7308 RMD160 154a02729b3e33c5099a428a3555094847369673 SHA1 7a316fad8061081a00dcbe5eed0513ceb25ada2b SHA256 0eb79fef2df8eb15d81049d21661d3886ac7662ddfe2ea1fa7a0c88f89d1a562 +MD5 210c7c3c6da0420a8d348d06c521b68d acroread-7.0.9.ebuild 7308 +RMD160 154a02729b3e33c5099a428a3555094847369673 acroread-7.0.9.ebuild 7308 +SHA256 0eb79fef2df8eb15d81049d21661d3886ac7662ddfe2ea1fa7a0c88f89d1a562 acroread-7.0.9.ebuild 7308 +MISC ChangeLog 16267 RMD160 988b535c662c1d816069bd6d4063f043c134fc82 SHA1 2839964c234ff51270174b2b20ad5c7667886e8f SHA256 5ef5d98eae05f3b8a619f9996631b90245bbe1055fab7e0049903e90bad3c674 +MD5 38a1d5429048a611bbc41a3e3564b633 ChangeLog 16267 +RMD160 988b535c662c1d816069bd6d4063f043c134fc82 ChangeLog 16267 +SHA256 5ef5d98eae05f3b8a619f9996631b90245bbe1055fab7e0049903e90bad3c674 ChangeLog 16267 +MISC metadata.xml 411 RMD160 65693cf6d0a923442846552356219d5ab38bdea6 SHA1 13d21cc263bf180593abac9225b50a570ebe5b88 SHA256 e77c1ebd41c534bdc21610c46336162538a3d4a0623b3f4f1d08aa425782dd79 +MD5 98b1b45da9a6bf58f5ebb15e9dd3d00a metadata.xml 411 +RMD160 65693cf6d0a923442846552356219d5ab38bdea6 metadata.xml 411 +SHA256 e77c1ebd41c534bdc21610c46336162538a3d4a0623b3f4f1d08aa425782dd79 metadata.xml 411 MD5 a1316b7c14f9b63a4cc2729e369d10c6 files/digest-acroread-7.0.8 4615 RMD160 a685fdc13b36b3b299fc26788ede78cd490aa114 files/digest-acroread-7.0.8 4615 SHA256 5ee72dba69e5972240b048efe005b3ea10b95f844e9bf8f8e5ae81b92e5feb51 files/digest-acroread-7.0.8 4615 MD5 a1316b7c14f9b63a4cc2729e369d10c6 files/digest-acroread-7.0.8-r1 4615 RMD160 a685fdc13b36b3b299fc26788ede78cd490aa114 files/digest-acroread-7.0.8-r1 4615 SHA256 5ee72dba69e5972240b048efe005b3ea10b95f844e9bf8f8e5ae81b92e5feb51 files/digest-acroread-7.0.8-r1 4615 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) - -iD8DBQFFcxAiV3J2n04EauwRAmTtAKC51vv5EEmgmptOD99P6Q12qiiBCgCfaiea -yvsWukOk+PIbQGNlzCgYA+Q= -=AVuP ------END PGP SIGNATURE----- +MD5 ddb00dfe94be8ed7d58257c6349b8587 files/digest-acroread-7.0.9 4615 +RMD160 077b5bc629ce347d9ecefc120c0d7ef0f1f4a16f files/digest-acroread-7.0.9 4615 +SHA256 698c24c0320413f4db1a938ce737c83121f92ce556686e1ff0906fa853214614 files/digest-acroread-7.0.9 4615 diff --git a/app-text/acroread/acroread-7.0.9.ebuild b/app-text/acroread/acroread-7.0.9.ebuild new file mode 100644 index 000000000000..e1a02aa8cd2e --- /dev/null +++ b/app-text/acroread/acroread-7.0.9.ebuild @@ -0,0 +1,226 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/acroread-7.0.9.ebuild,v 1.1 2007/01/14 08:51:27 kevquinn Exp $ + +inherit eutils nsplugins + +DESCRIPTION="Adobe's PDF reader" +HOMEPAGE="http://www.adobe.com/products/acrobat/" +IUSE="cups ldap nsplugin" + +SRC_HEAD="http://ardownload.adobe.com/pub/adobe/reader/unix/7x/${PV}" +SRC_FOOT="-${PV}-1.i386.tar.gz" + +LINGUA_LIST="en:enu de:deu fr:fra sv:sve es:esp pt:ptb nb:nor it:ita fi:suo nl:nld da:dan ja:jpn ko:kor zh_CN:chs zh_TW:cht" +SRC_URI= +DEFAULT_URI="${SRC_HEAD}/enu/AdobeReader_enu${SRC_FOOT}" +for ll in ${LINGUA_LIST}; do + iuse_l="linguas_${ll/:*}" + src_l=${ll/*:} + IUSE="${IUSE} ${iuse_l}" + DEFAULT_URI="!${iuse_l}? ( ${DEFAULT_URI} )" + SRC_URI="${SRC_URI} + ${iuse_l}? ( ${SRC_HEAD}/${src_l}/AdobeReader_${src_l}${SRC_FOOT} )" +done +SRC_URI="${SRC_URI} + ${DEFAULT_URI} + x86? ( !cups? ( mirror://gentoo/libcups.so-i386.bz2 ) )" + +LICENSE="Adobe" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +RESTRICT="strip mirror" + +RDEPEND="~virtual/libstdc++-3.3 + x86? ( >=x11-libs/gtk+-2.0 + cups? ( net-print/cups ) + ldap? ( net-nds/openldap ) ) + amd64? ( >=app-emulation/emul-linux-x86-baselibs-2.4.2 + >=app-emulation/emul-linux-x86-gtklibs-2.0 )" +QA_TEXTRELS_x86="opt/Acrobat7/Reader/intellinux/lib/libCoolType.so.5.01 + opt/Acrobat7/Reader/intellinux/lib/libcrypto.so.0.9.6 + opt/Acrobat7/Reader/intellinux/lib/libJP2K.so + opt/Acrobat7/Reader/intellinux/lib/libAXSLE.so + opt/Acrobat7/Reader/intellinux/lib/librt3d.so + opt/Acrobat7/Reader/intellinux/SPPlugins/ADMPlugin.apl + opt/Acrobat7/Reader/intellinux/plug_ins3d/tesselate.x3d + opt/Acrobat7/Reader/intellinux/plug_ins3d/drvSOFT.x3d + opt/Acrobat7/Reader/intellinux/plug_ins3d/3difr.x3d + opt/Acrobat7/Reader/intellinux/plug_ins3d/drvOpenGL.x3d + opt/Acrobat7/Reader/intellinux/plug_ins3d/2d.x3d + opt/Acrobat7/Reader/intellinux/plug_ins/checkers.api + opt/Acrobat7/Reader/intellinux/plug_ins/EFS.api + opt/Acrobat7/Reader/intellinux/plug_ins/MakeAccessible.api + opt/Acrobat7/Reader/intellinux/plug_ins/DigSig.api + opt/Acrobat7/Reader/intellinux/plug_ins/wwwlink.api + opt/Acrobat7/Reader/intellinux/plug_ins/SaveAsRTF.api + opt/Acrobat7/Reader/intellinux/plug_ins/PPKLite.api + opt/Acrobat7/Reader/intellinux/plug_ins/ewh.api + opt/Acrobat7/Reader/intellinux/plug_ins/PDDom.api + opt/Acrobat7/Reader/intellinux/plug_ins/SOAP.api + opt/Acrobat7/Reader/intellinux/plug_ins/SendMail.api + opt/Acrobat7/Reader/intellinux/plug_ins/Annots.api + opt/Acrobat7/Reader/intellinux/plug_ins/SearchFind.api + opt/Acrobat7/Reader/intellinux/plug_ins/Spelling.api + opt/Acrobat7/Reader/intellinux/plug_ins/Accessibility.api + opt/Acrobat7/Reader/intellinux/plug_ins/EScript.api + opt/Acrobat7/Reader/intellinux/plug_ins/AcroForm.api + opt/netscape/plugins/nppdf.so + opt/Acrobat7/Reader/intellinux/sidecars/RdLang32*" + +INSTALLDIR=/opt/Acrobat7 + +S=${WORKDIR}/AdobeReader + +pkg_setup() { + # x86 binary package, ABI=x86 + # Danny van Dyk 2005/03/25 + has_multilib_profile && ABI="x86" +} + +# Determine lingua from filename +acroread_get_ll() { + local f_src_l ll lingua src_l + f_src_l=${1/${SRC_FOOT}} + f_src_l=${f_src_l/*_} + for ll in ${LINGUA_LIST}; do + lingua=${ll/:*} + src_l=${ll/*:} + if [[ ${src_l} == ${f_src_l} ]]; then + echo ${lingua} + return + fi + done + die "Failed to match file $1 to a LINGUA; please report" +} + +src_unpack() { + local ll linguas fl + # Unpack all into the same place; overwrite common files. + fl="" + for pkg in ${A}; do + cd ${WORKDIR} + unpack ${pkg} + if [[ "${pkg}" =~ "^AdobeReader_" ]]; then + cd ${S} + tar xf ILINXR.TAR || + die "Failed to unpack ILINXR.TAR; is distfile corrupt?" + tar xf COMMON.TAR || + die "Failed to unpack COMMON.TAR; is distfile corrupt?" + epatch ${FILESDIR}/acroread-scim.patch + epatch ${FILESDIR}/acroread-low-startup-fontissue.patch + epatch ${FILESDIR}/acroread-expr.patch + ll=$(acroread_get_ll ${pkg}) + mv bin/acroread bin/acroread.${ll} + if [[ -z ${fl} ]]; then + fl=${ll} + linguas="${ll}" + else + linguas="${linguas} ${ll}" + fi + fi + done + if [[ ${linguas} == ${fl} ]]; then + # Only one lingua selected - skip building the wrapper + mv ${S}/bin/acroread.${fl} ${S}/bin/acroread || + die "Failed to put acroread.${fl} back to acroread; please report" + else + # Build wrapper. Launch the acroread for the environment variable + # LANG (matched with a trailing * so that for example 'de_DE' matches + # 'de', 'en_GB' matches 'en' etc). + cat > bin/acroread <<-EOF + #!/bin/bash + # Copyright 1999-2007 Gentoo Foundation + # Distributed under the terms of the GNU General Public License v2 + # + # Automatically generated by ${CATEGORY}/${PF} + + # Exec the acroread script for the language chosen in + # LC_ALL/LC_MESSAGES/LANG (first found takes precedence, as in glibc) + L=\${LC_ALL} + L=\${L:-\${LC_MESSAGES}} + L=\${L:-\${LANG}} + case \${L} in + EOF + for ll in ${linguas}; do + echo "${ll}*) exec ${INSTALLDIR}/acroread.${ll} ;;" >> bin/acroread + done + # default to English (in particualr for LANG=C) + cat >> bin/acroread <<-EOF + *) exec ${INSTALLDIR}/acroread.${fl} ;; + esac + EOF + chmod 755 bin/acroread + fi +} + +src_install() { + local i + + cp Resource/Support/AdobeReader_KDE.desktop AdobeReader.desktop + domenu AdobeReader.desktop + doicon Resource/Icons/AdobeReader.png + + dodir ${INSTALLDIR} + DIRS="Reader Resource" + for i in ${DIRS} + do + if [ -d ${i} ] ; then + chown -R --dereference -L root:0 ${i} + mv ${i} ${D}${INSTALLDIR} + fi + done + + exeinto ${INSTALLDIR} + for exe in bin/acroread*; do + doexe ${exe} || die "doexe failed" + done + # The Browser_Plugin_HowTo.txt is now in a subdirectory, which + # is named according to the language the user is using. + # Ie. for German, it is in a DEU directory. See bug #118015 + #dodoc Browser/${LANG_TAG}/Browser_Plugin_HowTo.txt + dodoc Browser/HowTo/*/Browser_Plugin_HowTo.txt + + if use nsplugin ; then + exeinto /opt/netscape/plugins + doexe Browser/intellinux/nppdf.so + inst_plugin /opt/netscape/plugins/nppdf.so + fi + + if ! use ldap ; then + rm ${D}${INSTALLDIR}/Reader/intellinux/plug_ins/PPKLite.api + fi + + # libcups is needed for printing support (bug 118417) + if use x86 && ! use cups ; then + mv ${WORKDIR}/libcups.so-i386 ${WORKDIR}/libcups.so.2 + exeinto ${INSTALLDIR}/Reader/intellinux/lib + doexe ${WORKDIR}/libcups.so.2 + dosym libcups.so.2 ${INSTALLDIR}/Reader/intellinux/lib/libcups.so + fi + + dodir /opt/bin + dosym ${INSTALLDIR}/acroread /opt/bin/acroread + + # fix wrong directory permissions (bug #25931) + find ${D}${INSTALLDIR}/. -type d | xargs chmod 755 || die +} + +pkg_postinst () { + local ll lc + use ldap || + einfo "The Acrobat(TM) Security Plugin can be enabled with USE=ldap" + use nsplugin || + einfo "The Acrobat(TM) Browser Plugin can be enabled with USE=nsplugin" + lc=0 + for ll in ${LINGUA_LIST}; do + use linguas_${ll/:*} && (( lc = ${lc} + 1 )) + done + if [[ ${lc} > 1 ]]; then + einfo "Multiple languages have been installed, selected via a wrapper script." + einfo "The language is selected according to the LANG environment variable" + einfo "(defaulting to English if LANG is not set, or no matching language" + einfo "version is installed). Users may need to remove their preferences in" + einfo "~/.adobe to switch languages." + fi +} diff --git a/app-text/acroread/files/digest-acroread-7.0.9 b/app-text/acroread/files/digest-acroread-7.0.9 new file mode 100644 index 000000000000..48c223ef6ed0 --- /dev/null +++ b/app-text/acroread/files/digest-acroread-7.0.9 @@ -0,0 +1,48 @@ +MD5 1f584f657a075f660867a27b8fb78017 AdobeReader_chs-7.0.9-1.i386.tar.gz 61049609 +RMD160 2b810e1e3c773fe6bf57bcd0cdb11aaf0630a477 AdobeReader_chs-7.0.9-1.i386.tar.gz 61049609 +SHA256 81b44b97111c481666b021d102ce4d9bed1ef2bdb3ac877b2d8f72f659913e60 AdobeReader_chs-7.0.9-1.i386.tar.gz 61049609 +MD5 30bd5636e1088409dcaaaaec0be91216 AdobeReader_cht-7.0.9-1.i386.tar.gz 56715430 +RMD160 f93d1f32ae0b4ff834454669c3f8d8bcff065f52 AdobeReader_cht-7.0.9-1.i386.tar.gz 56715430 +SHA256 2832595aef5933170c192d7f27dc8b37d0aef52a710f53f7e1c1fac059bc0db5 AdobeReader_cht-7.0.9-1.i386.tar.gz 56715430 +MD5 d295cf9da8b81ecac17155ee9f98a1f6 AdobeReader_dan-7.0.9-1.i386.tar.gz 48129423 +RMD160 f46a5e3d3c5b695431d39cc6f886763c70244f19 AdobeReader_dan-7.0.9-1.i386.tar.gz 48129423 +SHA256 95d3e657a8e1da5aa7f32113508fc3c157e3d01d1c37a2f332227ddcec496f5c AdobeReader_dan-7.0.9-1.i386.tar.gz 48129423 +MD5 67ea0de3f6394d1ed43d213183569257 AdobeReader_deu-7.0.9-1.i386.tar.gz 49388396 +RMD160 6da97fb8349df8215a28118ad86bf997e44d9622 AdobeReader_deu-7.0.9-1.i386.tar.gz 49388396 +SHA256 f4446408b8b2a94c7e54bfd5480b2772f645f68956ffb9a639f1dfaca71cbc87 AdobeReader_deu-7.0.9-1.i386.tar.gz 49388396 +MD5 a8e79a1af58f90640cf9e7e1532a5745 AdobeReader_enu-7.0.9-1.i386.tar.gz 44165526 +RMD160 b9d7b2068be3314054581ff129d6cb5fee7677f6 AdobeReader_enu-7.0.9-1.i386.tar.gz 44165526 +SHA256 1e161174d932788c17e784a626ec02eec79158ecd813e206117356f54ed94863 AdobeReader_enu-7.0.9-1.i386.tar.gz 44165526 +MD5 99e5758b923866d0007af5a99a170edf AdobeReader_esp-7.0.9-1.i386.tar.gz 48236413 +RMD160 acbc255aade77f35db69a942787e287318be13f1 AdobeReader_esp-7.0.9-1.i386.tar.gz 48236413 +SHA256 fe18aea3831696badedd3f7cf505acfce154d4180afc65ee6191f4e5231439c4 AdobeReader_esp-7.0.9-1.i386.tar.gz 48236413 +MD5 67be9afd2607e3c15e44c92a1c6e1a04 AdobeReader_fra-7.0.9-1.i386.tar.gz 48516382 +RMD160 7c61343f03b2a466fc385834f6981eb64d4cb023 AdobeReader_fra-7.0.9-1.i386.tar.gz 48516382 +SHA256 97d1fd53ba34953f398aed9d1fc648de0cfa0fd728f29b0f5d3244c0f17b4581 AdobeReader_fra-7.0.9-1.i386.tar.gz 48516382 +MD5 99a8af84d0466180b3e70f9109e2ff51 AdobeReader_ita-7.0.9-1.i386.tar.gz 48035548 +RMD160 6e43fa6c02c778e844c6e26586d4707d3f9ab17a AdobeReader_ita-7.0.9-1.i386.tar.gz 48035548 +SHA256 f591c20760aa17615707d2f8e079986f95d446ee65da5655129329e741e315cd AdobeReader_ita-7.0.9-1.i386.tar.gz 48035548 +MD5 7908e80fdb34ae99f26a473dbda10e09 AdobeReader_jpn-7.0.9-1.i386.tar.gz 57921998 +RMD160 b3c02a96f5ec0cbb32e65249101107e8e8ef4b89 AdobeReader_jpn-7.0.9-1.i386.tar.gz 57921998 +SHA256 519f65a4af242fedbe4e0d7b58a9eeaf7d8abd217ab4276c0caa763cf257faa9 AdobeReader_jpn-7.0.9-1.i386.tar.gz 57921998 +MD5 ad75b40d88d5325a59b6c7d682f5d359 AdobeReader_kor-7.0.9-1.i386.tar.gz 52817384 +RMD160 68e73c8effe033024a0d6054b0ceb4960c773914 AdobeReader_kor-7.0.9-1.i386.tar.gz 52817384 +SHA256 ed8f5523b24759f4977f7cfe825d01201a83cb5210d62abf03a570e62df9e4ab AdobeReader_kor-7.0.9-1.i386.tar.gz 52817384 +MD5 b207dd21d547d08c1e89c6cca97480bc AdobeReader_nld-7.0.9-1.i386.tar.gz 48354998 +RMD160 32fd83acff5e89ef4a5d59b45fbacb3eb885e884 AdobeReader_nld-7.0.9-1.i386.tar.gz 48354998 +SHA256 2704879d5a40a06eb2260018ae9ef7f5e54f6f78ca93f26f18ec78bda6aef95d AdobeReader_nld-7.0.9-1.i386.tar.gz 48354998 +MD5 de0495e14c542fa2dbdd56c661b88e14 AdobeReader_nor-7.0.9-1.i386.tar.gz 48349118 +RMD160 24b820519261a23f742b8a3ffc80d3c80775bdce AdobeReader_nor-7.0.9-1.i386.tar.gz 48349118 +SHA256 f111e0b180c47c7f7072bc1009394ea75bc2d01bb2abbe50a103aabc92401d23 AdobeReader_nor-7.0.9-1.i386.tar.gz 48349118 +MD5 9615ae24d2f326a25d598b18757fe714 AdobeReader_ptb-7.0.9-1.i386.tar.gz 48194861 +RMD160 3784ef2a4d08a9b63337ab39b5e45ec5c08686af AdobeReader_ptb-7.0.9-1.i386.tar.gz 48194861 +SHA256 4e78333bc6a3af013bbb5d59721afee4c4a0462f1bdcb1a1a54e7c2cbe79541b AdobeReader_ptb-7.0.9-1.i386.tar.gz 48194861 +MD5 62bbb0bd4173e4831a1b302ad3200fca AdobeReader_suo-7.0.9-1.i386.tar.gz 48256107 +RMD160 77c47af7d67fd4a8f17c419088658664872cf10e AdobeReader_suo-7.0.9-1.i386.tar.gz 48256107 +SHA256 523d07091fe29b37eb21f314ee513a258c5b6a5b039caab30dab5ffc53829977 AdobeReader_suo-7.0.9-1.i386.tar.gz 48256107 +MD5 0bcde0f9b58a089cda082ea8e7564e21 AdobeReader_sve-7.0.9-1.i386.tar.gz 49194849 +RMD160 a93add1f6fb9e54272da283c848ef61d7b953baa AdobeReader_sve-7.0.9-1.i386.tar.gz 49194849 +SHA256 8b09ab347ab4b307b70ea44f0dfe3c3a2e19cfeafe936e43fe8f042464b50c26 AdobeReader_sve-7.0.9-1.i386.tar.gz 49194849 +MD5 262fe0ef8f6de053c410e175aafa25b9 libcups.so-i386.bz2 50564 +RMD160 a8bedc7151eb1d547616124bfdd4844699a33c15 libcups.so-i386.bz2 50564 +SHA256 77eb5cd6aeab630812f7e911db04b6042cd6dee6aa7b9d8cf7756dca14e24b38 libcups.so-i386.bz2 50564 diff --git a/app-text/acroread/metadata.xml b/app-text/acroread/metadata.xml index 1fa0ca569505..6ba720d0d3a9 100644 --- a/app-text/acroread/metadata.xml +++ b/app-text/acroread/metadata.xml @@ -2,4 +2,13 @@ printing + + genstef@gentoo.org + Primary maintainer + + + kevquinn@gentoo.org + Kevin F. Quinn + Backup maintainer :) + -- 2.26.2