diff options
author | Jeroen Roovers <jer@gentoo.org> | 2008-11-02 16:58:49 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2008-11-02 16:58:49 +0000 |
commit | a396379e688010d4ffdca8a3315132140f772323 (patch) | |
tree | 084e713fea17a718b7d956de5ab94611a8ad5172 /www-client | |
parent | Removing zaheerm as a maintainer since he was retired. (diff) | |
download | historical-a396379e688010d4ffdca8a3315132140f772323.tar.gz historical-a396379e688010d4ffdca8a3315132140f772323.tar.bz2 historical-a396379e688010d4ffdca8a3315132140f772323.zip |
Remove old, vulnerable (bug #244980).
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.25-gentoo-r7-JeR i686
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/opera/ChangeLog | 6 | ||||
-rw-r--r-- | www-client/opera/Manifest | 26 | ||||
-rw-r--r-- | www-client/opera/opera-9.60.ebuild | 251 | ||||
-rw-r--r-- | www-client/opera/opera-9.61.ebuild | 251 |
4 files changed, 6 insertions, 528 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog index f67f0c66bb13..f7c34fa211d9 100644 --- a/www-client/opera/ChangeLog +++ b/www-client/opera/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-client/opera # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.304 2008/11/01 23:50:33 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.305 2008/11/02 16:58:49 jer Exp $ + + 02 Nov 2008; Jeroen Roovers <jer@gentoo.org> -opera-9.60.ebuild, + -opera-9.61.ebuild: + Remove old, vulnerable (bug #244980). 01 Nov 2008; Markus Meier <maekke@gentoo.org> opera-9.62.ebuild: x86 stable, bug #244980 diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index e68551b98272..ed40a3c8ab75 100644 --- a/www-client/opera/Manifest +++ b/www-client/opera/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX opera-9.00-install.patch 320 RMD160 2bc2e345193c007d10db4b39335e7695cd85e4ba SHA1 aff6a31af75ffe1b073059ae5b89d3416daac384 SHA256 c0415f9832624b0f4527b4707f01f1bf069bc9cb63c25fc180218c5543471ed2 AUX opera-9.21-pluginpath.patch 387 RMD160 009157fd0f3e32e3409dd3fdd3be3c03bd90eb1e SHA1 0533c681e26f2521c38a93e3c731ffe42cd1f54d SHA256 4fc3ae28d7d105bd45c30a45696222cd2bfa9e49bd32c2e7cb8073dd59b2da19 AUX opera-9.23-pluginpath-fbsd.patch 297 RMD160 d2f1039d2d84f6fd0b7dc1430ade806431b74d70 SHA1 28640e570ef2654baae09337ab18b9444ea0c975 SHA256 5f3f7ae85c4329d54f9aeeaf16e5db280c4c966d5f776342946da2231163a482 @@ -15,18 +12,6 @@ DIST opera-9.27-20080331.1-static-qt.ppc-en.tar.bz2 6860940 RMD160 5e109dabb20cc DIST opera-9.27-20080331.1-static-qt.sparc-en.tar.bz2 6758934 RMD160 b928a79da7f8d3f2c3df0dd4de6df4803f647691 SHA1 4b793bbce6136d9bc236fe05e40c81753bdd3b6a SHA256 74242143d1cd35268d93b355c02621c68398a83ae7b882aaeb2bdbd90d2e0672 DIST opera-9.27-20080331.4-shared-qt.i386.freebsd-en.tar.bz2 5137208 RMD160 c578844e0e2e9067a28e0a71772fafdd77f890d1 SHA1 451f38510de9043e2c9c5c486e34192b7b4ed814 SHA256 07b5ba9d9f012a281f76de272b06d7cb8c74fcd3a87f82ed3bde6cb42996017a DIST opera-9.27-20080331.6-shared-qt.i386-en.tar.bz2 5244003 RMD160 bf288e1dae863261d8e72447dfb2b7626a2c5bc2 SHA1 86ec33375f3cf98a72c8bcdf4dc45bcbdfaf39ef SHA256 8466810e3c9cd20dc6c25bf152c9edd074b6181d86236a6b9d4ccd799fea9a36 -DIST opera-9.60-freebsd5-shared-qt3.i386.tar.bz2 7342693 RMD160 5a6c43869123949310d565fd2d14075006b3b66d SHA1 6a0ffacb5557ab708d4aa153e36e73bd3c5edade SHA256 ff5a9f022f6dbab5faabd1195c0af5edd091218377b93698ee1c0c88562a6d04 -DIST opera-9.60.gcc4-qt4.i386.tar.bz2 9440112 RMD160 47d2dfd13b792a69ca65ccdfed8a58a4385c565b SHA1 d93748e4161591e28bf5400567075b057c92d127 SHA256 0803824397ab4ad3f2e5780a8932e19d0ee08c02ef8d4c201d606a5164683fdc -DIST opera-9.60.gcc4-shared-qt3.i386.tar.bz2 7218947 RMD160 e1b41000bba8ab3b804377202e337ded6084b274 SHA1 229137e8f5f373d36b39d348e992774bc0ce094d SHA256 b136be1f245d159a947c3b3f44934c33fa51e1cceaaa64137896ecbce427d4e5 -DIST opera-9.60.gcc4-shared-qt3.ppc.tar.bz2 7282185 RMD160 a1ba27d545a18edf4c8a734212d2f0d61754b0f8 SHA1 0dad99dd89495ffb76a1334e9924124288ddd38a SHA256 697b851188725f1f3b4d2412e0c0aabea65740d3ee7240338e75d0fc34267660 -DIST opera-9.60.gcc4-shared-qt3.x86_64.tar.bz2 7825070 RMD160 9302b27ae78062b5f560021689f5949d1a5614a5 SHA1 fef45219fac04d9630f73355d6fe6f2d4b9fe07f SHA256 30f7165821179ba38c2c72b9eea10abc8b56e538601b92d19203776dd99799fd -DIST opera-9.60.gcc4-static-qt3.i386.tar.bz2 9142543 RMD160 ed1404eab43c07ef3494109dd310bf9606e6b5ad SHA1 c805abcc32b3b79f09b9162e268d9375703ac0bd SHA256 4f6f097ebaf3ba95f5bd35a2d7087800a4cf4e739e47e2297edb339c7797f30f -DIST opera-9.61-freebsd5-shared-qt3.i386.tar.bz2 7485931 RMD160 84024ee9ce0fadc39469569e7b030d156259aa92 SHA1 687e683cf6ea73bbf6e91667cc293db549f98296 SHA256 bc4b94ac23812dd3e0a2a5c18413feac32cbf407e9072a23d5bca5e598bd43f9 -DIST opera-9.61.gcc4-qt4.i386.tar.bz2 9565643 RMD160 33d1887607ac8375ed7ead302d7e9df064eb6818 SHA1 c77d1925a04fb87221bae8470d797b635d941326 SHA256 eb398b6a41ad2d9f850fc9b593274659136f46d67edda065711506e6f124b8d8 -DIST opera-9.61.gcc4-shared-qt3.i386.tar.bz2 7342201 RMD160 43c5842a74268223e13f530825793332d563e667 SHA1 0329b5c7b6827272b7312990b458f2950769218d SHA256 75848f1e78d3c7f27642785a6b558d689b9e06d86a1577efff2174adc0716d78 -DIST opera-9.61.gcc4-shared-qt3.ppc.tar.bz2 7406368 RMD160 31b5bc666841510c68c1c6d4e0c528e932d72e66 SHA1 0947fa0a8f8488ed675b67f761b62d90ae4cfac5 SHA256 3d6f9b202325b8455e73790d16d01b78b9552c0fc6cf27a69bfc0d245b4a7a34 -DIST opera-9.61.gcc4-shared-qt3.x86_64.tar.bz2 7952833 RMD160 2de2c612615e7cd248d8dc8cf81379da7f6840d1 SHA1 5c7ea81cf5022d48eab05c3bb324a605cd5ac058 SHA256 7614b3a6c345124b276d650d42d00b074d41e97fcd92717323affd72f3f8e972 -DIST opera-9.61.gcc4-static-qt3.i386.tar.bz2 9265862 RMD160 a954fadea30bb8b3e64dde615051250a50f89d5b SHA1 097bb955a4ccdfd80019a306e1d5367219ff7857 SHA256 528868f581833db2833567eb136d29a590b5148c02e6fce7f1b763e959f75e18 DIST opera-9.62-freebsd5-shared-qt3.i386.tar.bz2 7486872 RMD160 51d04edf3b7325952b1994ac7500b47149db4258 SHA1 211054fdf1c62433aa634d7ada82f30d38d68641 SHA256 fee89e3bc9578a85aa686294272f3de28475fe1c72f151e1a05435836e6fae0f DIST opera-9.62.gcc4-qt4.i386.tar.bz2 9565863 RMD160 6a6cf6dadc0dca8ba9d15a08592453d06c9cf83a SHA1 73a2ee5d03cf1a32118e17dc6646dd439429bb81 SHA256 5cc6b6ec73dcee6141dcbffb3c2b5e7b6d7925c787ef14a0ded6cfc85dfb5991 DIST opera-9.62.gcc4-shared-qt3.i386.tar.bz2 7341368 RMD160 95e0b4b779810ed76d5bce9650f145ff9c82e827 SHA1 d0667db37743084774a3ae6513c9ac47a36b1f46 SHA256 de614b277e909b9d02586e63143a1142e4f12423e9eca9134c24f392d37002a3 @@ -34,15 +19,6 @@ DIST opera-9.62.gcc4-shared-qt3.ppc.tar.bz2 7408013 RMD160 6f82d25c08dbcbf02948c DIST opera-9.62.gcc4-shared-qt3.x86_64.tar.bz2 7953641 RMD160 1da00ef57f292434d2e3fc588e9730304ce5d1da SHA1 ae6894e5698b3c448cd2ee377b96ba913892e016 SHA256 976d1d80e7252be1d395f2d69814b046bff22b236ffcce218153b78f86b22662 DIST opera-9.62.gcc4-static-qt3.i386.tar.bz2 9265616 RMD160 3cc970dce3656f68842e8e34666c0e17c79a567c SHA1 c03bba3c1b5e8421608a23f22e9300fe859a4153 SHA256 55c41ca2627687eba794c819f9b4357182dd8c76ac04df4f1e1c594947d1b1ff EBUILD opera-9.27.ebuild 5937 RMD160 fe418d4b5a2f34664f46bb6bcee56b27f3d182e0 SHA1 bda2f3ec16759f92c4227203a3a22927cd3b811e SHA256 fff41046fb4e6c58fc1c4cb73df98857c1c2ea89a9c6131aa03f3ce6aee19e98 -EBUILD opera-9.60.ebuild 7655 RMD160 06514436f64ee91b062c08e4f6a0006a3f18df91 SHA1 c176826f8e086aa5b04f699df11a73fec2696153 SHA256 c12a811ee2f62418188d18a520717359d31aa14d22a2a67245d4cc419d336228 -EBUILD opera-9.61.ebuild 7659 RMD160 e0b17aa23662596cfe7365e4b48892e81af6e3f6 SHA1 eb043c53f3021b2e6ae0926e285726a0ccbd3ac6 SHA256 d2309ca52a6a003bc51c46297d369b12d0af7f4d9ffc597d7259c2ca5432f9dd EBUILD opera-9.62.ebuild 7668 RMD160 f4988c90d16aa9d0556fa0c44018745a71dc0228 SHA1 c04555fd8bc1aa7f5e3f85bc52bf7960c01eefba SHA256 498ee35225ed52ea4b2a250ec1c0015cc9cf3148c60efad187d2cfb66e658ec6 -MISC ChangeLog 60380 RMD160 35a283c0c665b33a60abf05f18b9e673b1b0e577 SHA1 52d6b17a2eb0b190b77558235ca63e0303969748 SHA256 f75f3c00b04f1cb9f551bcf5f6ec6555c340d2f3a51d74049448c7311038e6b9 +MISC ChangeLog 60507 RMD160 c2a01d3cd435b5e6971d42d571b0bb598196a6aa SHA1 0692c2b9e58b0635dffbe054726ea1364d5b4e5f SHA256 39e5c9cd04a07d6d58c857a804f13db6fe52e993bb536e3cfd0c2c58e79327ae MISC metadata.xml 697 RMD160 704ad62aa31055fa9c677a77b86ae8aab2a919aa SHA1 809cd142def2fe81ecce28c5d9fb8d54abb52120 SHA256 e65a1cc3846a285fa12fa8a751722c21baa2df029fbdf15b4ec86581dd911657 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkkM61cACgkQkKaRLQcq0GLO4wCgp86VYvxD5EEa0iyzdBKZ/XMz -dfkAn2ZRNaxlach6DZV0nITgQZoW1yvS -=2jVC ------END PGP SIGNATURE----- diff --git a/www-client/opera/opera-9.60.ebuild b/www-client/opera/opera-9.60.ebuild deleted file mode 100644 index 4ad094ada271..000000000000 --- a/www-client/opera/opera-9.60.ebuild +++ /dev/null @@ -1,251 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-9.60.ebuild,v 1.6 2008/10/24 20:52:55 jer Exp $ - -GCONF_DEBUG="no" - -inherit eutils gnome2 - -DESCRIPTION="A standards-compliant graphical Web browser" -HOMEPAGE="http://www.opera.com/" - -SLOT="0" -LICENSE="OPERA-9.0" -KEYWORDS="amd64 ppc x86 ~x86-fbsd" - -RESTRICT="mirror strip test" - -IUSE="elibc_FreeBSD gnome ia32 qt-static qt3-static spell" -MY_LINGUAS="be bg cs da de el en en-GB es-ES es-LA fi fr fr-CA fy hi hr hu id it ja ka ko lt mk nb nl nn pl pt pt-BR ru sv tr uk zh-CN zh-TW" - -for MY_LINGUA in ${MY_LINGUAS}; do - IUSE="${IUSE} linguas_${MY_LINGUA/-/_}" -done - -O_URI="mirror://opera/" -O_FTP="/960/final/en/" -O_SUFF="2444" - -SRC_URI=" - x86-fbsd? ( ${O_URI}unix/freebsd/960/en/intel/shared/${P}-freebsd5-shared-qt3.i386.tar.bz2 ) - ppc? ( ${O_URI}linux${O_FTP}ppc/shared/${P}.gcc4-shared-qt3.ppc.tar.bz2 ) - qt-static? ( - qt3-static? ( - amd64? ( - ia32? ( ${O_URI}linux${O_FTP}i386/static/${P}.gcc4-static-qt3.i386.tar.bz2 ) - !ia32? ( ${O_URI}linux${O_FTP}x86_64/${P}.gcc4-shared-qt3.x86_64.tar.bz2 ) - ) - x86? ( ${O_URI}linux${O_FTP}i386/static/${P}.gcc4-static-qt3.i386.tar.bz2 ) - ) - !qt3-static? ( - amd64? ( - ia32? ( ${O_URI}linux${O_FTP}i386/${P}.gcc4-qt4.i386.tar.bz2 ) - !ia32? ( ${O_URI}linux${O_FTP}x86_64/${P}.gcc4-shared-qt3.x86_64.tar.bz2 ) - ) - x86? ( ${O_URI}linux${O_FTP}i386/${P}.gcc4-qt4.i386.tar.bz2 ) - ) - ) - !qt-static? ( - qt3-static? ( - amd64? ( - ia32? ( ${O_URI}linux${O_FTP}i386/shared/${P}.gcc4-shared-qt3.i386.tar.bz2 ) - !ia32? ( ${O_URI}linux${O_FTP}x86_64/${P}.gcc4-shared-qt3.x86_64.tar.bz2 ) - ) - x86? ( ${O_URI}linux${O_FTP}i386/shared/${P}.gcc4-shared-qt3.i386.tar.bz2 ) - ) - !qt3-static? ( - amd64? ( - ia32? ( ${O_URI}linux${O_FTP}i386/shared/${P}.gcc4-shared-qt3.i386.tar.bz2 ) - !ia32? ( ${O_URI}linux${O_FTP}x86_64/${P}.gcc4-shared-qt3.x86_64.tar.bz2 ) - ) - x86? ( ${O_URI}linux${O_FTP}i386/shared/${P}.gcc4-shared-qt3.i386.tar.bz2 ) - ) - ) - " - -DEPEND=">=sys-apps/sed-4" - -RDEPEND="media-libs/libexif - media-libs/jpeg - >=media-libs/fontconfig-2.1.94-r1 - x11-libs/libXrandr - x11-libs/libXp - x11-libs/libXmu - x11-libs/libXi - x11-libs/libXft - x11-libs/libXext - x11-libs/libXcursor - x11-libs/libX11 - x11-libs/libSM - x11-libs/libICE - x86? ( !qt-static? ( !qt3-static? ( =x11-libs/qt-3* ) ) ) - amd64? ( - ia32? ( app-emulation/emul-linux-x86-qtlibs ) - !ia32? ( =x11-libs/qt-3* ) - ) - ppc? ( =x11-libs/qt-3* ) - spell? ( app-text/aspell ) - x86-fbsd? ( - =virtual/libstdc++-3* - !qt-static? ( !qt3-static? ( =x11-libs/qt-3* ) ) - ) - " - -opera_cd() { - cd "${WORKDIR}"/${O_P}* || die "failed to enter work directory" - S="$(pwd)" - einfo "Working in ${S}" -} - -src_unpack() { - unpack ${A} - opera_cd - - #epatch "${FILESDIR}/${PN}-9.00-install.patch" - epatch "${FILESDIR}/${PN}-gentoo.patch" - epatch "${FILESDIR}/${PN}-simplify-desktop.patch" - epatch "${FILESDIR}/${PN}-freedesktop.patch" - - # bug #181300: - if use elibc_FreeBSD; then - epatch "${FILESDIR}/${PN}-9.50-pluginpath-fbsd.patch" - else - epatch "${FILESDIR}/${PN}-9.50-pluginpath.patch" - fi - -# sed -i -e "s:config_dir=\"/etc\":config_dir=\"${D}/etc/\":g" \ -# -e "s:/usr/share/applnk:${D}/usr/share/applnk:g" \ -# -e "s:/usr/share/pixmaps:${D}/usr/share/pixmaps:g" \ -# -e "s:/usr/share/icons:${D}/usr/share/icons:g" \ -# -e "s:/etc/X11:${D}/etc/X11:g" \ -# -e "s:/usr/share/gnome:${D}/usr/share/gnome:g" \ -# -e "s:/opt/gnome/share:${D}/opt/gnome/share:g" \ -# -e 's:#\(OPERA_FORCE_JAVA_ENABLED=\):\1:' \ -# -e 's:#\(export LD_PRELOAD OPERA_FORCE_JAVA_ENABLED\):\1:' \ -# -e 's:read str_answer:return 0:' \ -# -e "s:/opt/kde:${D}/usr/kde:" \ -# -e "s:\(str_localdirplugin=\).*$:\1/opt/opera/lib/opera/plugins:" \ -# install.sh || die "sed failed" - - sed -i -e "s:config_dir=\"/etc\":config_dir=\"${D}/etc/\":g" \ - -e "s:\(str_localdirplugin=\).*$:\1/opt/opera/lib/opera/plugins:" \ - -e 's:#\(export LD_PRELOAD OPERA_FORCE_JAVA_ENABLED\):\1:' \ - -e 's:#\(OPERA_FORCE_JAVA_ENABLED=\):\1:' \ - install.sh || die "sed failed" - -} - -src_compile() { - # This workaround is sadly needed because gnome2.eclass doesn't check - # whether a configure script or Makefile exists. - true -} - -src_install() { - opera_cd - # Prepare installation directories for Opera's installer script. - dodir /etc - - # Opera's native installer. - ./install.sh --prefix="${D}"/opt/opera || die "install.sh failed" - - einfo "It is safe to ignore warnings about failed checksums" - einfo "and about files that would be ignored ..." - einfo "Completing the installation where install.sh abandoned us ..." - - # java workaround - sed -i -e 's:LD_PRELOAD="${OPERA_JAVA_DIR}/libawt.so":LD_PRELOAD="$LD_PRELOAD"\:"${OPERA_JAVA_DIR}/libawt.so":' "${D}"/opt/opera/bin/opera - - dosed /opt/opera/bin/opera - dosed /opt/opera/share/opera/java/opera.policy - - # Install the icons -# insinto /usr/share/pixmaps -# doins usr/share/pixmaps/opera.xpm - -# local res -# for res in 16x16 22x22 32x32 48x48 ; do -# insinto /usr/share/icons/hicolor/${res}/apps -# doins usr/share/icons/hicolor/${res}/apps/opera.png -# done - - # Install the menu entry -# make_desktop_entry opera Opera /usr/share/pixmaps/opera.xpm 'Network;WebBrowser;Email;FileTransfer;IRCClient' - - # Adapt desktop file to Gnome when needed - use gnome && sed -i -e s:"GenericName\[":"Comment\[": "${D}"/usr/share/applications/opera.desktop - - # Install a symlink /usr/bin/opera - dodir /usr/bin - dosym /opt/opera/bin/opera /usr/bin/opera - - # fix plugin path - echo "Plugin Path=/opt/opera/lib/opera/plugins" >> "${D}"/etc/opera6rc - - # enable spellcheck - if use spell; then - if use qt-static; then - DIR=${P}.1 - else - use sparc && DIR=${P}.2 || DIR=${P}.5 - fi - echo "Spell Check Engine=/opt/opera/lib/opera/${DIR}/spellcheck.so" >> "${D}"/opt/opera/share/opera/ini/spellcheck.ini - fi - - dodir /etc/revdep-rebuild - echo 'SEARCH_DIRS_MASK="/opt/opera/lib/opera/plugins"' > "${D}"/etc/revdep-rebuild/90opera - - # Change libz.so.3 to libz.so.1 for gentoo/freebsd - if use elibc_FreeBSD; then - scanelf -qR -N libz.so.3 -F "#N" "${D}"/opt/${PN}/ | \ - while read i; do - if [[ $(strings "$i" | fgrep -c libz.so.3) -ne 1 ]]; - then - export SANITY_CHECK_LIBZ_FAILED=1 - break - fi - sed -i -e 's/libz\.so\.3/libz.so.1/g' "$i" - done - [[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] && die "failed to change libz.so.3 to libz.so.1" - fi - - # Add the Opera man dir to MANPATH: - insinto /etc/env.d - echo 'MANPATH="/opt/opera/share/man"' >> "${D}"/etc/env.d/90opera - - # Remove unwanted LINGUAS: - local LINGUA - local LNGDIR="${D}/opt/opera/share/opera/locale" - einfo "Keeping these locales: ${LINGUAS}." - for LINGUA in ${MY_LINGUAS}; do - if ! use linguas_${LINGUA/-/_}; then - LINGUA=$(find "${LNGDIR}" -maxdepth 1 -type d -iname ${LINGUA/_/-}) - rm -r "${LINGUA}" - fi - done -} - -pkg_postinst() { - use gnome && gnome2_pkg_postinst - - elog "To change the UI language, choose [Tools] -> [Preferences], open the" - elog "[General] tab, click on [Details...] then [Choose...] and point the" - elog "file chooser at /opt/opera/share/opera/locale/, then enter the" - elog "directory for the language you want and [Open] the .lng file." - elog - elog "To use the spellchecker (USE=spell) for non-English simply do" - elog "$ emerge app-dicts/aspell-[your language]." - - if use elibc_FreeBSD; then - elog - elog "To improve shared memory usage please set:" - elog "$ sysctl kern.ipc.shm_allow_removed=1" - fi - - elog "The current Opera builds may still have issues with plugins, notably" - elog "net-www/netscape-flash. See also https://bugs.gentoo.org/198162" -} - -pkg_postrm() { - use gnome && gnome2_pkg_postrm -} diff --git a/www-client/opera/opera-9.61.ebuild b/www-client/opera/opera-9.61.ebuild deleted file mode 100644 index e80df4caa110..000000000000 --- a/www-client/opera/opera-9.61.ebuild +++ /dev/null @@ -1,251 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-9.61.ebuild,v 1.4 2008/10/24 22:58:51 maekke Exp $ - -GCONF_DEBUG="no" - -inherit eutils gnome2 - -DESCRIPTION="A standards-compliant graphical Web browser" -HOMEPAGE="http://www.opera.com/" - -SLOT="0" -LICENSE="OPERA-9.0" -KEYWORDS="amd64 ~ppc x86 ~x86-fbsd" - -RESTRICT="mirror strip test" - -IUSE="elibc_FreeBSD gnome ia32 qt-static qt3-static spell" -MY_LINGUAS="be bg cs da de el en en-GB es-ES es-LA fi fr fr-CA fy hi hr hu id it ja ka ko lt mk nb nl nn pl pt pt-BR ru sv tr uk zh-CN zh-TW" - -for MY_LINGUA in ${MY_LINGUAS}; do - IUSE="${IUSE} linguas_${MY_LINGUA/-/_}" -done - -O_URI="mirror://opera/" -O_FTP="/961/final/en/" -O_SUFF="2456" - -SRC_URI=" - x86-fbsd? ( ${O_URI}unix/freebsd/961/en/intel/shared/${P}-freebsd5-shared-qt3.i386.tar.bz2 ) - ppc? ( ${O_URI}linux${O_FTP}ppc/shared/${P}.gcc4-shared-qt3.ppc.tar.bz2 ) - qt-static? ( - qt3-static? ( - amd64? ( - ia32? ( ${O_URI}linux${O_FTP}i386/static/${P}.gcc4-static-qt3.i386.tar.bz2 ) - !ia32? ( ${O_URI}linux${O_FTP}x86_64/${P}.gcc4-shared-qt3.x86_64.tar.bz2 ) - ) - x86? ( ${O_URI}linux${O_FTP}i386/static/${P}.gcc4-static-qt3.i386.tar.bz2 ) - ) - !qt3-static? ( - amd64? ( - ia32? ( ${O_URI}linux${O_FTP}i386/${P}.gcc4-qt4.i386.tar.bz2 ) - !ia32? ( ${O_URI}linux${O_FTP}x86_64/${P}.gcc4-shared-qt3.x86_64.tar.bz2 ) - ) - x86? ( ${O_URI}linux${O_FTP}i386/${P}.gcc4-qt4.i386.tar.bz2 ) - ) - ) - !qt-static? ( - qt3-static? ( - amd64? ( - ia32? ( ${O_URI}linux${O_FTP}i386/shared/${P}.gcc4-shared-qt3.i386.tar.bz2 ) - !ia32? ( ${O_URI}linux${O_FTP}x86_64/${P}.gcc4-shared-qt3.x86_64.tar.bz2 ) - ) - x86? ( ${O_URI}linux${O_FTP}i386/shared/${P}.gcc4-shared-qt3.i386.tar.bz2 ) - ) - !qt3-static? ( - amd64? ( - ia32? ( ${O_URI}linux${O_FTP}i386/shared/${P}.gcc4-shared-qt3.i386.tar.bz2 ) - !ia32? ( ${O_URI}linux${O_FTP}x86_64/${P}.gcc4-shared-qt3.x86_64.tar.bz2 ) - ) - x86? ( ${O_URI}linux${O_FTP}i386/shared/${P}.gcc4-shared-qt3.i386.tar.bz2 ) - ) - ) - " - -DEPEND=">=sys-apps/sed-4" - -RDEPEND="media-libs/libexif - media-libs/jpeg - >=media-libs/fontconfig-2.1.94-r1 - x11-libs/libXrandr - x11-libs/libXp - x11-libs/libXmu - x11-libs/libXi - x11-libs/libXft - x11-libs/libXext - x11-libs/libXcursor - x11-libs/libX11 - x11-libs/libSM - x11-libs/libICE - x86? ( !qt-static? ( !qt3-static? ( =x11-libs/qt-3* ) ) ) - amd64? ( - ia32? ( app-emulation/emul-linux-x86-qtlibs ) - !ia32? ( =x11-libs/qt-3* ) - ) - ppc? ( =x11-libs/qt-3* ) - spell? ( app-text/aspell ) - x86-fbsd? ( - =virtual/libstdc++-3* - !qt-static? ( !qt3-static? ( =x11-libs/qt-3* ) ) - ) - " - -opera_cd() { - cd "${WORKDIR}"/${O_P}* || die "failed to enter work directory" - S="$(pwd)" - einfo "Working in ${S}" -} - -src_unpack() { - unpack ${A} - opera_cd - - #epatch "${FILESDIR}/${PN}-9.00-install.patch" - epatch "${FILESDIR}/${PN}-gentoo.patch" - epatch "${FILESDIR}/${PN}-simplify-desktop.patch" - epatch "${FILESDIR}/${PN}-freedesktop.patch" - - # bug #181300: - if use elibc_FreeBSD; then - epatch "${FILESDIR}/${PN}-9.50-pluginpath-fbsd.patch" - else - epatch "${FILESDIR}/${PN}-9.50-pluginpath.patch" - fi - -# sed -i -e "s:config_dir=\"/etc\":config_dir=\"${D}/etc/\":g" \ -# -e "s:/usr/share/applnk:${D}/usr/share/applnk:g" \ -# -e "s:/usr/share/pixmaps:${D}/usr/share/pixmaps:g" \ -# -e "s:/usr/share/icons:${D}/usr/share/icons:g" \ -# -e "s:/etc/X11:${D}/etc/X11:g" \ -# -e "s:/usr/share/gnome:${D}/usr/share/gnome:g" \ -# -e "s:/opt/gnome/share:${D}/opt/gnome/share:g" \ -# -e 's:#\(OPERA_FORCE_JAVA_ENABLED=\):\1:' \ -# -e 's:#\(export LD_PRELOAD OPERA_FORCE_JAVA_ENABLED\):\1:' \ -# -e 's:read str_answer:return 0:' \ -# -e "s:/opt/kde:${D}/usr/kde:" \ -# -e "s:\(str_localdirplugin=\).*$:\1/opt/opera/lib/opera/plugins:" \ -# install.sh || die "sed failed" - - sed -i -e "s:config_dir=\"/etc\":config_dir=\"${D}/etc/\":g" \ - -e "s:\(str_localdirplugin=\).*$:\1/opt/opera/lib/opera/plugins:" \ - -e 's:#\(export LD_PRELOAD OPERA_FORCE_JAVA_ENABLED\):\1:' \ - -e 's:#\(OPERA_FORCE_JAVA_ENABLED=\):\1:' \ - install.sh || die "sed failed" - -} - -src_compile() { - # This workaround is sadly needed because gnome2.eclass doesn't check - # whether a configure script or Makefile exists. - true -} - -src_install() { - opera_cd - # Prepare installation directories for Opera's installer script. - dodir /etc - - # Opera's native installer. - ./install.sh --prefix="${D}"/opt/opera || die "install.sh failed" - - einfo "It is safe to ignore warnings about failed checksums" - einfo "and about files that would be ignored ..." - einfo "Completing the installation where install.sh abandoned us ..." - - # java workaround - sed -i -e 's:LD_PRELOAD="${OPERA_JAVA_DIR}/libawt.so":LD_PRELOAD="$LD_PRELOAD"\:"${OPERA_JAVA_DIR}/libawt.so":' "${D}"/opt/opera/bin/opera - - dosed /opt/opera/bin/opera - dosed /opt/opera/share/opera/java/opera.policy - - # Install the icons -# insinto /usr/share/pixmaps -# doins usr/share/pixmaps/opera.xpm - -# local res -# for res in 16x16 22x22 32x32 48x48 ; do -# insinto /usr/share/icons/hicolor/${res}/apps -# doins usr/share/icons/hicolor/${res}/apps/opera.png -# done - - # Install the menu entry -# make_desktop_entry opera Opera /usr/share/pixmaps/opera.xpm 'Network;WebBrowser;Email;FileTransfer;IRCClient' - - # Adapt desktop file to Gnome when needed - use gnome && sed -i -e s:"GenericName\[":"Comment\[": "${D}"/usr/share/applications/opera.desktop - - # Install a symlink /usr/bin/opera - dodir /usr/bin - dosym /opt/opera/bin/opera /usr/bin/opera - - # fix plugin path - echo "Plugin Path=/opt/opera/lib/opera/plugins" >> "${D}"/etc/opera6rc - - # enable spellcheck - if use spell; then - if use qt-static; then - DIR=${P}.1 - else - use sparc && DIR=${P}.2 || DIR=${P}.5 - fi - echo "Spell Check Engine=/opt/opera/lib/opera/${DIR}/spellcheck.so" >> "${D}"/opt/opera/share/opera/ini/spellcheck.ini - fi - - dodir /etc/revdep-rebuild - echo 'SEARCH_DIRS_MASK="/opt/opera/lib/opera/plugins"' > "${D}"/etc/revdep-rebuild/90opera - - # Change libz.so.3 to libz.so.1 for gentoo/freebsd - if use elibc_FreeBSD; then - scanelf -qR -N libz.so.3 -F "#N" "${D}"/opt/${PN}/ | \ - while read i; do - if [[ $(strings "$i" | fgrep -c libz.so.3) -ne 1 ]]; - then - export SANITY_CHECK_LIBZ_FAILED=1 - break - fi - sed -i -e 's/libz\.so\.3/libz.so.1/g' "$i" - done - [[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] && die "failed to change libz.so.3 to libz.so.1" - fi - - # Add the Opera man dir to MANPATH: - insinto /etc/env.d - echo 'MANPATH="/opt/opera/share/man"' >> "${D}"/etc/env.d/90opera - - # Remove unwanted LINGUAS: - local LINGUA - local LNGDIR="${D}/opt/opera/share/opera/locale" - einfo "Keeping these locales: ${LINGUAS}." - for LINGUA in ${MY_LINGUAS}; do - if ! use linguas_${LINGUA/-/_}; then - LINGUA=$(find "${LNGDIR}" -maxdepth 1 -type d -iname ${LINGUA/_/-}) - rm -r "${LINGUA}" - fi - done -} - -pkg_postinst() { - use gnome && gnome2_pkg_postinst - - elog "To change the UI language, choose [Tools] -> [Preferences], open the" - elog "[General] tab, click on [Details...] then [Choose...] and point the" - elog "file chooser at /opt/opera/share/opera/locale/, then enter the" - elog "directory for the language you want and [Open] the .lng file." - elog - elog "To use the spellchecker (USE=spell) for non-English simply do" - elog "$ emerge app-dicts/aspell-[your language]." - - if use elibc_FreeBSD; then - elog - elog "To improve shared memory usage please set:" - elog "$ sysctl kern.ipc.shm_allow_removed=1" - fi - - elog "The current Opera builds may still have issues with plugins, notably" - elog "net-www/netscape-flash. See also https://bugs.gentoo.org/198162" -} - -pkg_postrm() { - use gnome && gnome2_pkg_postrm -} |