Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2006 11:19:11 +0100
From:      "Arjan van Leeuwen" <freebsd-maintainer@opera.com>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/106860: Update www/opera to version 9.10
Message-ID:  <1166437151.58814@avl.oslo.opera.com>
Resent-Message-ID: <200612181050.kBIAoENQ087451@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         106860
>Category:       ports
>Synopsis:       Update www/opera to version 9.10
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 18 10:50:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Arjan van Leeuwen
>Release:        FreeBSD 6.2-PRERELEASE amd64
>Organization:
Opera Software ASA 
>Environment:


System: FreeBSD 6.2-PRERELEASE #0: Thu Oct 12 19:48:57 CEST 2006
    root@avl.oslo.opera.com:/usr/obj/usr/src/sys/SMP



>Description:


This patch updates Opera (www/opera) to version 9.1. This version includes:

- Support for using Linux plugins such as Flash and Acrobat Reader on FreeBSD
- New anti-fraud (anti-phishing) features

A new port is included (www/opera-linuxplugins) that can be installed when Linux plugin support is wanted.


>How-To-Repeat:





>Fix:


--- opera.diff begins here ---
diff -urN /usr/ports/www/opera/Makefile opera/Makefile
--- /usr/ports/www/opera/Makefile	Fri Dec 15 12:58:52 2006
+++ opera/Makefile	Sun Dec 17 15:31:05 2006
@@ -28,11 +28,11 @@
 MAINTAINER=	freebsd-maintainer@opera.com
 COMMENT=	A blazingly fast, full-featured, standards-compliant browser
 
-OPERA_VER=	9.02
-OPERA_MINVER=	
+OPERA_VER=	9.10
+OPERA_MINVER=
 OPERA_REL=	final
-OPERA_DATE=	20060919
-OPERA_BUILD=	434
+OPERA_DATE=	20061214
+OPERA_BUILD=	521
 
 DATADIR=	${PREFIX}/share/${PORTNAME}
 DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}
@@ -48,7 +48,7 @@
 NO_FILTER_SHLIBS=yes
 
 OPTIONS=	ASPELL	"Use the aspell library for spell checking"	on \
-		SHARED	"Use a shared Qt library (instead of static)"	${QT_PRESENT}
+		SHARED	"Use a shared Qt library (instead of static)"	on
 
 .if exists(${X11BASE}/lib/libqt-mt.prl)
 QT_PRESENT=	on
@@ -124,8 +124,6 @@
 	@${INSTALL_DATA} ${WRKSRC}/symhack.so ${DATADIR}/
 .endif
 
-.if defined(WITHOUT_SHARED) && ${OSVERSION} >= 500000
 	@${CAT} ${PKGMESSAGE}
-.endif
 
 .include <bsd.port.post.mk>
diff -urN /usr/ports/www/opera/distinfo opera/distinfo
--- /usr/ports/www/opera/distinfo	Sun Sep 24 19:31:34 2006
+++ opera/distinfo	Sun Dec 17 13:50:23 2006
@@ -1,9 +1,9 @@
-MD5 (opera-9.02-20060919.1-static-qt.i386.freebsd-en.tar.bz2) = ad16b2895b4e4921935433d32a367a4f
-SHA256 (opera-9.02-20060919.1-static-qt.i386.freebsd-en.tar.bz2) = f89b245ac50c4e68863fda165fa1e174f0380181d31145d69ba155cd1006aca4
-SIZE (opera-9.02-20060919.1-static-qt.i386.freebsd-en.tar.bz2) = 6455356
-MD5 (opera-9.02-20060919.3-shared-qt.i386.freebsd-en.tar.bz2) = 337fe151ae68773d2c085de9d5f3bda3
-SHA256 (opera-9.02-20060919.3-shared-qt.i386.freebsd-en.tar.bz2) = 402aa4d30bbaf23b5d1ee15220bed9d8aaf0a7eb271e5eed67cbc6152fd3d061
-SIZE (opera-9.02-20060919.3-shared-qt.i386.freebsd-en.tar.bz2) = 5061149
-MD5 (opera-9.02-20060919.4-shared-qt.i386.freebsd-en.tar.bz2) = 5c6833af434acb16dc37fd59bbd5dd57
-SHA256 (opera-9.02-20060919.4-shared-qt.i386.freebsd-en.tar.bz2) = cf711c6aeeebdf03cc4891c8d1596f3a45e3545b2cf6b8d3752f449547a41e66
-SIZE (opera-9.02-20060919.4-shared-qt.i386.freebsd-en.tar.bz2) = 5057395
+MD5 (opera-9.10-20061214.1-static-qt.i386.freebsd-en.tar.bz2) = 72bcdaf0d674590e913ff85617a80726
+SHA256 (opera-9.10-20061214.1-static-qt.i386.freebsd-en.tar.bz2) = d9ef50faa78daa52f0c204b3e71620de439880b59279b573dd7dd727f2fbb377
+SIZE (opera-9.10-20061214.1-static-qt.i386.freebsd-en.tar.bz2) = 6469740
+MD5 (opera-9.10-20061214.3-shared-qt.i386.freebsd-en.tar.bz2) = 73a804205ec4df3cfeb2478281e8dff7
+SHA256 (opera-9.10-20061214.3-shared-qt.i386.freebsd-en.tar.bz2) = a7674a817c2448c4c9c7d2726ffeb8fd68fee5b61e2155d09dc9d7f817a19613
+SIZE (opera-9.10-20061214.3-shared-qt.i386.freebsd-en.tar.bz2) = 5070903
+MD5 (opera-9.10-20061214.4-shared-qt.i386.freebsd-en.tar.bz2) = fc6d9252233f784df8fe9957dce754ce
+SHA256 (opera-9.10-20061214.4-shared-qt.i386.freebsd-en.tar.bz2) = eef25201c0c45d6ff5eae4739844dc9ef624cea8d7e9f9809506a9789f2cb7e4
+SIZE (opera-9.10-20061214.4-shared-qt.i386.freebsd-en.tar.bz2) = 5070029
diff -urN /usr/ports/www/opera/files/patch-ini_pluginpath.ini opera/files/patch-ini_pluginpath.ini
--- /usr/ports/www/opera/files/patch-ini_pluginpath.ini	Fri Dec  8 20:57:24 2006
+++ opera/files/patch-ini_pluginpath.ini	Sun Dec 17 15:31:52 2006
@@ -1,6 +1,6 @@
---- ini/pluginpath.ini.orig	Tue Sep 19 19:09:09 2006
-+++ ini/pluginpath.ini	Fri Dec  8 22:38:49 2006
-@@ -6,46 +6,20 @@
+--- ini/pluginpath.ini.orig	Thu Dec 14 15:06:40 2006
++++ ini/pluginpath.ini	Sun Dec 17 14:43:05 2006
+@@ -6,46 +6,22 @@
  plugins=$HOME/.kde/share/config/kcmnspluginrc
  
  [Paths]
@@ -13,7 +13,7 @@
 +%%PREFIX%%/share/opera/plugins=1
 +%%LOCALBASE%%/share/opera/plugins=1
  
- ; Adobe Acrobat
+-; Adobe Acrobat
 -/usr/local/Acrobat7.0/Browsers/intellinux=1
 -/usr/local/Acrobat7/Browsers/intellinux=1
 -/usr/local/Acrobat5/Browsers/intellinux=1
@@ -34,25 +34,31 @@
 -/usr/Acrobat7/Browsers/intellinux=1
 -/usr/Acrobat5/Browsers/intellinux=1
 -/usr/Acrobat4/Browsers/intellinux=1
-+%%X11BASE%%/Acrobat7/Browser/intellinux=1
-+%%LOCALBASE%%/Acrobat5/Browsers/intellinux=1
-+%%LOCALBASE%%/Acrobat4/Browsers/intellinux=1
++; Adobe Reader
++%%X11BASE%%/Adobe/Acrobat7.0/ENU/Browser/intellinux=1
  
- ; Realplayer
+-; Realplayer
 -/usr/lib/RealPlayer8/Plugins=1
 -/usr/lib/realplay/plugins=1
 -/usr/lib/RealPlayer8=1
 -/usr/lib/realplay=1
-+%%LOCALBASE%%/lib/RealPlayer8/Plugins=1
- 
- ; Netscape Plug-in Paths
--$HOME/.netscape6/plugins=1
++; FreeBSD Plug-in Paths
 +%%X11BASE%%/lib/browser_plugins=1
 +%%LOCALBASE%%/lib/browser_plugins=1
- $HOME/.netscape/plugins=1
++%%X11BASE%%/lib/npapi/symlinks/opera=1
++%%LOCALBASE%%/lib/npapi/symlinks/opera=1
++
++; FreeBSD Linux Plug-in Paths
++%%LOCALBASE%%/lib/browser_linux_plugins=1
++%%X11BASE%%/lib/browser_linux_plugins=1
++%%LOCALBASE%%/lib/npapi/symlinks/linux-opera=1
++%%X11BASE%%/lib/npapi/symlinks/linux-opera=1
+ 
+-; Netscape Plug-in Paths
+-$HOME/.netscape6/plugins=1
+-$HOME/.netscape/plugins=1
 -/opt/netscape/plugins=1
 -/usr/lib/netscape/plugins=1
 -/usr/local/netscape/plugins=1
 -/usr/local/lib/netscape/plugins=1
 -$HOME/.kde/.konqueror/nsplugins=1
-+
diff -urN /usr/ports/www/opera/pkg-message opera/pkg-message
--- /usr/ports/www/opera/pkg-message	Tue Jun 20 17:46:20 2006
+++ opera/pkg-message	Sun Dec 17 15:09:32 2006
@@ -1,6 +1,6 @@
 ###########################################################################
 
-Warning: Plugin support on FreeBSD 5.x or higher is only available if you 
-use a version of Opera that uses shared Qt.
+To use Linux plugins such as Adobe Flash and Acrobat Reader, install the
+www/opera-linuxplugins port.
 
 ###########################################################################
diff -urN /usr/ports/www/opera/pkg-plist opera/pkg-plist
--- /usr/ports/www/opera/pkg-plist	Fri Dec  8 20:57:24 2006
+++ opera/pkg-plist	Sun Dec 17 13:53:37 2006
@@ -52,6 +52,9 @@
 %%DATADIR%%/styles/images/bar.png
 %%DATADIR%%/styles/images/center.png
 %%DATADIR%%/styles/images/opera.png
+%%DATADIR%%/styles/images/red_center.png
+%%DATADIR%%/styles/images/red_left.png
+%%DATADIR%%/styles/images/red_right.png
 %%DATADIR%%/styles/images/root.png
 %%DATADIR%%/styles/images/top.png
 %%DATADIR%%/styles/info.css
@@ -67,6 +70,7 @@
 %%DATADIR%%/styles/user/nostalgia.css
 %%DATADIR%%/styles/user/showstructure.css
 %%DATADIR%%/styles/user/textonly.css
+%%DATADIR%%/styles/warning.css
 %%DATADIR%%/styles/wml.css
 %%DATADIR%%/svg-sebd.dat
 %%DATADIR%%/svg-se.dat
--- opera.diff ends here ---
--- opera-linuxplugins.sh begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	opera-linuxplugins
#	opera-linuxplugins/Makefile
#	opera-linuxplugins/distinfo
#	opera-linuxplugins/pkg-descr
#
echo c - opera-linuxplugins
mkdir -p opera-linuxplugins > /dev/null 2>&1
echo x - opera-linuxplugins/Makefile
sed 's/^X//' >opera-linuxplugins/Makefile << 'END-of-opera-linuxplugins/Makefile'
X# New ports collection makefile for:		opera-linuxplugins
X# Date created:					December 17th 2006
X# Whom:						Arjan van Leeuwen <freebsd-maintainer@opera.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	opera
XPORTVERSION=	${OPERA_VER}.${OPERA_DATE}
XCATEGORIES=	www linux
XMASTER_SITES=	ftp://opera.inode.at/linux/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/i386/static/ \
X		http://gd.tuwien.ac.at/infosys/browsers/opera/linux/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/i386/static/ \
X		http://ftp.ucr.ac.cr/WWW/opera/linux/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/i386/static/ \
X		http://www.microrpm.ca/pub/opera/linux/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/i386/static/ \
X		http://www.opera.mirroarrr.de/linux/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/i386/static/ \
X		http://opera.eurenet.net/linux/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/i386/static/ \
X		ftp://opera.ftp.fu-berlin.de/linux/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/i386/static/ \
X		http://ftp.ntua.gr/pub/www/Opera/linux/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/i386/static/ \
X		ftp://ftp.wayne.edu/opera/linux/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/i386/static/ \
X		http://mirrors.dedipower.com/opera/linux/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/i386/static/ \
X		ftp://ftp.mirror.ac.uk/sites/ftp.opera.com/linux/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/i386/static/ \
X		http://opera.nedmirror.nl/linux/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/i386/static/ \
X		ftp://ftp.tiscali.nl/pub/mirrors/opera/linux/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/i386/static/ \
X		${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/www/opera/linux/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/i386/static/&,} \
X		ftp://ftp.opera.com/pub/opera/linux/${OPERA_VER:S/.//}${OPERA_MINVER}/${OPERA_REL}/en/i386/static/
XPKGNAMESUFFIX=  -linuxplugins
XDISTNAME=	${PORTNAME}-${OPERA_VER}-${OPERA_DATE}.1-static-qt.i386-en
X
XMAINTAINER=	freebsd-maintainer@opera.com
XCOMMENT=	Linux plugin support for the native Opera browser
X
XRUN_DEPENDS=	${LOCALBASE}/share/opera/plugins/libnpp.so:${PORTSDIR}/www/opera
X
XOPERA_VER=	9.10
XOPERA_MINVER=
XOPERA_REL=	final
XOPERA_DATE=	20061214
XOPERA_BUILD=	521
X
XUSE_BZIP2=	yes
XUSE_LINUX=	yes
XUSE_XLIB=	yes
XONLY_FOR_ARCHS=	i386
XWRKSRC=		${WRKDIR}/${DISTNAME}-${OPERA_BUILD}
X
XNO_BUILD=	yes
X
XPLIST_FILES=	share/opera/bin/operapluginwrapper share/opera/bin/libnpp.so
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/plugins/operapluginwrapper ${PREFIX}/share/opera/bin
X	${CP} ${LOCALBASE}/share/opera/plugins/libnpp.so ${PREFIX}/share/opera/bin
X
X.include <bsd.port.mk>
END-of-opera-linuxplugins/Makefile
echo x - opera-linuxplugins/distinfo
sed 's/^X//' >opera-linuxplugins/distinfo << 'END-of-opera-linuxplugins/distinfo'
XMD5 (opera-9.10-20061214.1-static-qt.i386-en.tar.bz2) = dccdc5252ffc6658f3c46f32c64c8219
XSHA256 (opera-9.10-20061214.1-static-qt.i386-en.tar.bz2) = b1c7152a4c71433cb4c3bf1ae7fc148fef3ced87e658a65530e8d478db089f7f
XSIZE (opera-9.10-20061214.1-static-qt.i386-en.tar.bz2) = 6719119
END-of-opera-linuxplugins/distinfo
echo x - opera-linuxplugins/pkg-descr
sed 's/^X//' >opera-linuxplugins/pkg-descr << 'END-of-opera-linuxplugins/pkg-descr'
XThis port allows you to use Linux plugins such as Adobe Flash and Acrobat
XReader in the native version of Opera for FreeBSD.
X
XWWW: http://www.opera.com/
END-of-opera-linuxplugins/pkg-descr
exit

--- opera-linuxplugins.sh ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1166437151.58814>