diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2004-07-07 16:04:29 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2004-07-07 16:04:29 +0000 |
commit | 0b958b063a16decf4850a1ecc8677c1dca861dfb (patch) | |
tree | 30e6746240a0bc677d1b3fc50acdf0e6c1f5dc36 /net-www/opera | |
parent | minor readme tweaks (Manifest recommit) (diff) | |
download | gentoo-2-0b958b063a16decf4850a1ecc8677c1dca861dfb.tar.gz gentoo-2-0b958b063a16decf4850a1ecc8677c1dca861dfb.tar.bz2 gentoo-2-0b958b063a16decf4850a1ecc8677c1dca861dfb.zip |
version bump, security update: bug #56311
Diffstat (limited to 'net-www/opera')
-rw-r--r-- | net-www/opera/ChangeLog | 7 | ||||
-rw-r--r-- | net-www/opera/Manifest | 2 | ||||
-rw-r--r-- | net-www/opera/files/digest-opera-7.52 | 6 | ||||
-rw-r--r-- | net-www/opera/opera-7.52.ebuild | 121 |
4 files changed, 135 insertions, 1 deletions
diff --git a/net-www/opera/ChangeLog b/net-www/opera/ChangeLog index f47f027da0ea..2a468e97ff27 100644 --- a/net-www/opera/ChangeLog +++ b/net-www/opera/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-www/opera # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/opera/ChangeLog,v 1.69 2004/07/03 08:52:03 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/opera/ChangeLog,v 1.70 2004/07/07 16:04:29 lanius Exp $ + +*opera-7.52 (07 Jul 2004) + + 07 Jul 2004; Heinrich Wendel <lanius@gentoo.org> opera-7.52.ebuild: + version bump, security update: bug #56311 *opera-7.51-r1 (03 Jul 2004) diff --git a/net-www/opera/Manifest b/net-www/opera/Manifest index a99ba962b5d5..c9002830bcc3 100644 --- a/net-www/opera/Manifest +++ b/net-www/opera/Manifest @@ -1,4 +1,5 @@ MD5 6bc54e68ebc4efff54d13094f092b6d5 opera-6.12.ebuild 3304 +MD5 8cc7f54db3dd7b79982391feeb42bc7e opera-7.52.ebuild 4340 MD5 0aca2d1be055c2194d30c8d7e2c2adb9 opera-7.51.ebuild 4014 MD5 dd93509b38e3ebd93be1454c84f7b533 opera-7.51-r1.ebuild 4212 MD5 85383966c3542de9c8fb14f62be9b1b1 opera-7.23-r1.ebuild 3842 @@ -7,6 +8,7 @@ MD5 6d29b9dc0fa4126ca453d8e006549e78 ChangeLog 11572 MD5 503ccb1138f9c49f0855884d830988a6 metadata.xml 253 MD5 cbaaedfc5f57eea800b4a64928d77683 files/digest-opera-6.12 89 MD5 65aef7951b182fd430f7556cb174d6ba files/digest-opera-7.51 558 +MD5 da219ffb13c33d195bfbf60a11aeae8d files/digest-opera-7.52 558 MD5 fd6b6eba741abd18ba590e9a5c0f225f files/digest-opera-7.11-r2 177 MD5 9a8a982857424445242430340a70783c files/digest-opera-7.23-r1 558 MD5 65aef7951b182fd430f7556cb174d6ba files/digest-opera-7.51-r1 558 diff --git a/net-www/opera/files/digest-opera-7.52 b/net-www/opera/files/digest-opera-7.52 new file mode 100644 index 000000000000..75f305c4ae42 --- /dev/null +++ b/net-www/opera/files/digest-opera-7.52 @@ -0,0 +1,6 @@ +MD5 32de80e01fdb37a3ee02d445ea656cb2 opera-7.52-20040706.1-static-qt.i386-en.tar.bz2 4871141 +MD5 4c0c89c611d36114d609f5f4ff8d4c00 opera-7.52-20040706.5-shared-qt.i386-en.tar.bz2 3672291 +MD5 eddc2c73513044d6912f9a1751ca677c opera-7.52-20040706.1-static-qt.ppc-en.tar.bz2 4918543 +MD5 716c6c6aaa9259c4e7226c99f8f68f19 opera-7.52-20040706.2-shared-qt.ppc-en.tar.bz2 3654199 +MD5 f68c3a6d5f27e11feb11be39b5f1da67 opera-7.52-20040706.1-static-qt.sparc-en.tar.bz2 4862053 +MD5 601117936c0c1c73e25d4994a53f2f51 opera-7.52-20040706.2-shared-qt.sparc-en.tar.bz2 3597144 diff --git a/net-www/opera/opera-7.52.ebuild b/net-www/opera/opera-7.52.ebuild new file mode 100644 index 000000000000..d0a889da94fa --- /dev/null +++ b/net-www/opera/opera-7.52.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/opera/opera-7.52.ebuild,v 1.1 2004/07/07 16:04:29 lanius Exp $ + +IUSE="static spell" + +OPERAVER="7.52-20040706" +OPERAFTPDIR="752" + +S=${WORKDIR}/${A/.tar.bz2/} + +DESCRIPTION="Opera web browser." +HOMEPAGE="http://www.opera.com/linux/" + +# that's an ugly workaround for the broken src_uri syntax +SRC_URI=" + x86? ( static? ( ftp://ftp.opera.com/pub/opera/linux/${OPERAFTPDIR}/final/en/i386/static/${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2 ) ) + x86? ( !static? ( ftp://ftp.opera.com/pub/opera/linux/${OPERAFTPDIR}/final/en/i386/shared/${PN}-${OPERAVER}.5-shared-qt.i386-en.tar.bz2 ) ) + amd64? ( static? ( ftp://ftp.opera.com/pub/opera/linux/${OPERAFTPDIR}/final/en/i386/static/${PN}-${OPERAVER}.1-static-qt.i386-en.tar.bz2 ) ) + amd64? ( !static? ( ftp://ftp.opera.com/pub/opera/linux/${OPERAFTPDIR}/final/en/i386/shared/${PN}-${OPERAVER}.5-shared-qt.i386-en.tar.bz2 ) ) + ppc? ( static? ( ftp://ftp.opera.com/pub/opera/linux/${OPERAFTPDIR}/final/en/ppc/static/${PN}-${OPERAVER}.1-static-qt.ppc-en.tar.bz2 ) ) + ppc? ( !static? ( ftp://ftp.opera.com/pub/opera/linux/${OPERAFTPDIR}/final/en/ppc/shared/gcc-2.95/${PN}-${OPERAVER}.2-shared-qt.ppc-en.tar.bz2 ) ) + sparc? ( static? ( ftp://ftp.opera.com/pub/opera/linux/${OPERAFTPDIR}/final/en/sparc/static/${PN}-${OPERAVER}.1-static-qt.sparc-en.tar.bz2 ) ) + sparc? ( !static? ( ftp://ftp.opera.com/pub/opera/linux/${OPERAFTPDIR}/final/en/sparc/shared/gcc-2.95/${PN}-${OPERAVER}.2-shared-qt.sparc-en.tar.bz2 ) )" + + +# Dependencies may be augmented later (see below). +DEPEND=">=sys-apps/sed-4 + amd64? ( sys-apps/linux32 )" + +RDEPEND="virtual/x11 + >=media-libs/fontconfig-2.1.94-r1 + media-libs/libexif + x11-libs/openmotif + static? ( + amd64? ( app-emulation/emul-linux-x86-xlibs ) ) + !static? ( + amd64? ( =app-emulation/emul-linux-x86-qtlibs-1* ) + !amd64? ( =x11-libs/qt-3* ) ) + spell? ( app-text/aspell )" + +SLOT="0" +LICENSE="OPERA" +KEYWORDS="x86 ~ppc ~sparc ~amd64" + +src_unpack() { + unpack ${A} + cd ${S} + 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:#\(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:" \ + install.sh || die +} + +src_compile() { + true +} + +src_install() { + # Prepare installation directories for Opera's installer script. + dodir /etc + + # Opera's native installer. + if [ ${ARCH} = "amd64" ]; then + linux32 ./install.sh --prefix="${D}"/opt/opera || die + else + ./install.sh --prefix="${D}"/opt/opera || die + fi + + # 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 + + rm ${D}/opt/opera/share/doc/opera/help + dosym /opt/share/doc/opera/help /opt/opera/share/opera/help + + dosed /opt/opera/bin/opera + dosed /opt/opera/share/opera/java/opera.policy + + # Install the icons + insinto /usr/share/pixmaps + doins images/opera.xpm + + # Install the menu entry + insinto /usr/share/applications + doins ${FILESDIR}/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 static; then + DIR=$OPERAVER.1 + else + use sparc && DIR=$OPERAVER.2 || DIR=$OPERAVER.5 + fi + echo "Spell Check Engine=/opt/opera/lib/opera/${DIR}/spellcheck.so" >> ${D}/opt/opera/share/opera/ini/spellcheck.ini + fi +} + +pkg_postinst() { + einfo "For localized language files take a look at:" + einfo "http://www.opera.com/download/languagefiles/index.dml?platform=linux" + einfo + einfo "To change the spellcheck language edit /opt/opera/share/opera/ini/spellcheck.ini" + einfo "and emerge app-text/aspell-language." + einfo + ewarn "This update will overwrite your search.ini if you" + ewarn "do not change the \"File Version\" to 4 in the file." +} |