summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2004-06-03 12:24:40 +0000
committerHeinrich Wendel <lanius@gentoo.org>2004-06-03 12:24:40 +0000
commitf87b5cc762280287c59585fe54d63b381254c8ef (patch)
tree74d9abd2099e0ef837a8de2f0c4339d2ff6b7f8d /net-www/opera
parentAdded -r1 with a CAN-2004-0394 fix (Manifest recommit) (diff)
downloadgentoo-2-f87b5cc762280287c59585fe54d63b381254c8ef.tar.gz
gentoo-2-f87b5cc762280287c59585fe54d63b381254c8ef.tar.bz2
gentoo-2-f87b5cc762280287c59585fe54d63b381254c8ef.zip
version bump, add spell use flag, mark stable because of security issues,bug #52867
Diffstat (limited to 'net-www/opera')
-rw-r--r--net-www/opera/ChangeLog8
-rw-r--r--net-www/opera/Manifest9
-rw-r--r--net-www/opera/files/digest-opera-7.516
-rw-r--r--net-www/opera/opera-7.51.ebuild114
4 files changed, 132 insertions, 5 deletions
diff --git a/net-www/opera/ChangeLog b/net-www/opera/ChangeLog
index 673d5305f5de..451ebdd7b9c3 100644
--- a/net-www/opera/ChangeLog
+++ b/net-www/opera/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-www/opera
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/opera/ChangeLog,v 1.64 2004/05/28 21:53:45 kugelfang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/opera/ChangeLog,v 1.65 2004/06/03 12:24:40 lanius Exp $
+
+*opera-7.51 (03 Jun 2004)
+
+ 03 Jun 2004; Heinrich Wendel <lanius@gentoo.org> opera-7.51.ebuild:
+ version bump, add spell use flag, mark stable because of security issues, bug
+ #52867
28 May 2004; Danny van Dyk <kugelfang@gentoo.org> opera-7.50-r1.ebuild:
Refixed dependency problem on amd64 (BUG #51281).
diff --git a/net-www/opera/Manifest b/net-www/opera/Manifest
index 0c7c7655ce54..8c099b61ae76 100644
--- a/net-www/opera/Manifest
+++ b/net-www/opera/Manifest
@@ -1,10 +1,11 @@
-MD5 41a42d746f2fc737ed32081331f56818 ChangeLog 10899
-MD5 503ccb1138f9c49f0855884d830988a6 metadata.xml 253
MD5 5f73745f3ea4dea663aee6a41b11162d opera-6.12.ebuild 3335
-MD5 e717c585919f1e6db3c5be9c218474a9 opera-7.11-r2.ebuild 3711
+MD5 3fa2b7e941b73f1bd7d0c9a0e71750bc opera-7.51.ebuild 4040
MD5 5d0800451456126fff5ec532817d83bd opera-7.23-r1.ebuild 3860
-MD5 2f2e0a3fd9395935602b35d3203e0f8d opera-7.50-r1.ebuild 3881
+MD5 e717c585919f1e6db3c5be9c218474a9 opera-7.11-r2.ebuild 3711
+MD5 41a42d746f2fc737ed32081331f56818 ChangeLog 10899
+MD5 503ccb1138f9c49f0855884d830988a6 metadata.xml 253
MD5 cbaaedfc5f57eea800b4a64928d77683 files/digest-opera-6.12 89
+MD5 65aef7951b182fd430f7556cb174d6ba files/digest-opera-7.51 558
MD5 fd6b6eba741abd18ba590e9a5c0f225f files/digest-opera-7.11-r2 177
MD5 9a8a982857424445242430340a70783c files/digest-opera-7.23-r1 558
MD5 0084aae5ea2c92ac79c91b3467225005 files/digest-opera-7.50-r1 558
diff --git a/net-www/opera/files/digest-opera-7.51 b/net-www/opera/files/digest-opera-7.51
new file mode 100644
index 000000000000..0d0712354032
--- /dev/null
+++ b/net-www/opera/files/digest-opera-7.51
@@ -0,0 +1,6 @@
+MD5 c3266835c2b8e3b54598775802b4e7eb opera-7.51-20040602.1-static-qt.i386-en.tar.bz2 4852011
+MD5 9765ce92dd512d2dc7e3f705eacb7fbd opera-7.51-20040602.5-shared-qt.i386-en.tar.bz2 3662703
+MD5 87158b9c06ad1941778a60b3738323de opera-7.51-20040602.1-static-qt.ppc-en.tar.bz2 4916157
+MD5 436425416dfdbd6ad28655eb0f30076b opera-7.51-20040602.2-shared-qt.ppc-en.tar.bz2 3631424
+MD5 95e725b2d87d0ae1e430abe4ed9505ed opera-7.51-20040602.1-static-qt.sparc-en.tar.bz2 4877639
+MD5 a140c983880b1fbfcd0e383450d46c16 opera-7.51-20040602.2-shared-qt.sparc-en.tar.bz2 3592852
diff --git a/net-www/opera/opera-7.51.ebuild b/net-www/opera/opera-7.51.ebuild
new file mode 100644
index 000000000000..25ddac284449
--- /dev/null
+++ b/net-www/opera/opera-7.51.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/opera/opera-7.51.ebuild,v 1.1 2004/06/03 12:24:40 lanius Exp $
+
+IUSE="static spell"
+
+OPERAVER="7.51-20040602"
+OPERAFTPDIR="751"
+
+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:' \
+ 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
+
+ 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."
+}