summaryrefslogtreecommitdiff
path: root/www/opera
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2005-04-30 22:25:15 +0000
committertron <tron@pkgsrc.org>2005-04-30 22:25:15 +0000
commitbb9e8fb01a34fffda6e449602dc59b8abc7656ac (patch)
tree5ceae07be625e26d23be4d6e1468515de4725397 /www/opera
parentb4cb11f8f87e131b6ffb4f7a49f0475f015d82c1 (diff)
downloadpkgsrc-bb9e8fb01a34fffda6e449602dc59b8abc7656ac.tar.gz
Replace outdated an insecure "opera7" package with a new "opera" package
based on version 8.0. Major changes since version 7.54u2: - New and improved security features - "Fit to window width" abolishes horizontal scrolling - Improved default menu and toolbar setups - Support for XmlHttpRequest giving full Gmail support - New Start bar gives easy access to useful features - Notification of blocked pop-ups - Simple retrieval of closed pages and blocked pop-ups. - Elegant e-mail attachment handling - Improved newsfeed reader - Automated weekly check for new updates - New User JavaScript feature
Diffstat (limited to 'www/opera')
-rw-r--r--www/opera/DESCR21
-rw-r--r--www/opera/Makefile143
-rw-r--r--www/opera/PLIST3
-rw-r--r--www/opera/PLIST.FreeBSD131
-rw-r--r--www/opera/PLIST.SunOS134
-rw-r--r--www/opera/distinfo9
-rw-r--r--www/opera/files/opera.sh25
7 files changed, 466 insertions, 0 deletions
diff --git a/www/opera/DESCR b/www/opera/DESCR
new file mode 100644
index 00000000000..ddcb436e126
--- /dev/null
+++ b/www/opera/DESCR
@@ -0,0 +1,21 @@
+Opera7 is powerful if you use the either web for work or for entertainment.
+Features:
+* Supports HTML 3.2, 4.0, 4.01; XHTML 1.0; WML 1.3 & 2.0; XML; CSS 1.0, 2.0,
+ 2.1, 3.0; EcmaScript ECMA-262 2ed, 3ed (JavaScript 1.3/1.5 Core); DOM 1, 2
+* BiDi support, Small Screen Rendering (TM)
+* Browses FTP Sites, support for browsing local files
+* Proxy server support
+* File transfer, File upload support
+* Built-in M2 mail client
+* IRC-compatible chat client, Newsreader, and RSS newsfeeds
+* Hot list, bookmarks and bookmark bar
+* Unique mouse gestures for easier browsing
+* Pop-up defense features
+* Imports Netscape, Konqueror and IE bookmarks/favorites
+* Communication through SSL and TLS
+* HTTP Authorization
+* Asynchronous DNS with threading
+* Customizable toolbar icons
+* Keyboard link navigation
+* Printing (PostScript)
+* Handles cookies
diff --git a/www/opera/Makefile b/www/opera/Makefile
new file mode 100644
index 00000000000..6e689768b4c
--- /dev/null
+++ b/www/opera/Makefile
@@ -0,0 +1,143 @@
+# $NetBSD: Makefile,v 1.32 2005/04/30 22:25:15 tron Exp $
+
+DISTNAME= opera-${OPERA_PKG_VERSION:S/u/pl/}
+PKGREVISION= # empty
+CATEGORIES= www
+MASTER_SITES= http://www.panix.com/opera/files/${OPERA_DIR}/ \
+ ftp://ftp.hu-berlin.de/pub/www/opera/${OPERA_DIR}/ \
+ http://ftp.sunet.se/pub/www/clients/Opera/${OPERA_DIR}/ \
+ http://opera.online.no/${OPERA_DIR}/ \
+ ftp://ftp.task.gda.pl/pub/opera/${OPERA_DIR}/ \
+ ftp://ftp.tuwien.ac.at/infosys/browsers/opera/${OPERA_DIR}/ \
+ ftp://ftp.opera.com/pub/opera/${OPERA_DIR}/
+DISTFILES= opera-${OPERA_DIST_VERSION}${OPERA_ARCH}-${OPERA_LANG}${EXTRACT_SUFX}
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.opera.com/
+COMMENT= Small, fast and customizable WWW client
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386 SunOS-*-sparc FreeBSD-*-i386
+
+LICENSE= opera-license
+
+#PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+NO_CONFIGURE= YES
+NO_TOOLS= YES
+USE_LANGUAGES= # empty
+
+.include "../../mk/bsd.prefs.mk"
+
+OPERA_LANG= en
+OPERA_VER_DATE= 20050415
+OPERA_PKG_VERSION= 8.0
+
+_OPERA_OPSYS?= ${OPSYS}
+_OPERA_MACHINE_ARCH?= ${MACHINE_ARCH}
+
+.if (${_OPERA_OPSYS} == NetBSD)
+DEPENDS+= suse_x11>=7.3:../../emulators/${SUSE_DIR_PREFIX}_x11
+
+# we need the DIST_SUBDIR=. because of the inclusion of suse's Makefile.common
+DIST_SUBDIR= .
+EXTRACT_ONLY= # empty
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+
+EXTRACT_SUFX= .rpm
+OPERA_ARCH= .i386
+OPERA_DIR= linux/${OPERA_PKG_VERSION:S/.//g:C/beta.*//}/final/${OPERA_LANG}/${OPERA_ARCH:S/.//}/static
+OPERA_DIST_VERSION= ${OPERA_PKG_VERSION:C/beta.*//:C/u.*//}-${OPERA_VER_DATE}.1-static-qt
+
+RPMFILES= ${DISTFILES}
+RPM2PKGSTRIP= 0
+
+.elif (${_OPERA_OPSYS} == FreeBSD)
+EXTRACT_SUFX= .tar.bz2
+OPERA_ARCH= .i386.freebsd
+OPERA_DIR= unix/freebsd/${OPERA_PKG_VERSION:S/.//g:}/final/${OPERA_LANG}/static
+OPERA_DIST_VERSION= ${OPERA_PKG_VERSION:C/u.*//}-${OPERA_VER_DATE}.1-static-qt
+
+WRKSRC= ${WRKDIR}/opera-${OPERA_DIST_VERSION}${OPERA_ARCH}-${OPERA_LANG}
+
+OWN_DIRS= ${PREFIX}/share/opera/plugins
+
+.elif (${_OPERA_OPSYS} == SunOS) && (${_OPERA_MACHINE_ARCH} == sparc)
+EXTRACT_SUFX= .tar.bz2
+OPERA_ARCH= -sol8-sparc-local
+OPERA_DIR= unix/solaris/${OPERA_PKG_VERSION:S/.//g}/final/${OPERA_LANG}/static
+OPERA_DIST_VERSION= ${OPERA_PKG_VERSION:C/u.*//}-${OPERA_VER_DATE}.1-static-qt
+
+WRKSRC= ${WRKDIR}/opera-${OPERA_DIST_VERSION}${OPERA_ARCH}-${OPERA_LANG}
+
+BUILD_DEFS+= INSTALL_ETC_OPERARC
+INSTALL_ETC_OPERARC?= no
+OWN_DIRS= ${PREFIX}/lib/opera/plugins
+
+. if !empty(INSTALL_ETC_OPERARC:M[yY][eE][sS])
+CONF_FILES+= ${PREFIX}/share/opera/config/opera6rc \
+ /etc/opera6rc
+CONF_FILES+= ${PREFIX}/share/opera/config/opera6rc.fixed \
+ /etc/opera6rc.fixed
+. endif
+
+PLIST_SUBST+= OPERA_VER_DATE=${OPERA_VER_DATE}
+PLIST_SUBST+= OPERA_PKG_VERSION=${OPERA_PKG_VERSION:C/u.*//}
+
+.endif
+
+.if (((${_OPERA_OPSYS} == SunOS) && (${_OPERA_MACHINE_ARCH} == sparc)) || (${_OPERA_OPSYS} == FreeBSD))
+NO_BUILD= YES
+USE_PKGINSTALL= YES
+
+SUBST_CLASSES+= opera7
+SUBST_STAGE.opera7= pre-install
+SUBST_FILES.opera7= ${WRKSRC}/man/opera.1
+SUBST_SED.opera7= -e 's,/usr/,${PREFIX}/,g'
+
+.endif
+
+do-build:
+.if (${_OPERA_OPSYS} == NetBSD)
+ @ ${SED} -e 's#@EMULDIR@#${EMULDIR}#g' ${FILESDIR}/opera.sh > \
+ ${WRKDIR}/opera
+
+post-install: post-install-manpage
+ ${INSTALL_SCRIPT} ${WRKDIR}/opera ${PREFIX}/bin
+
+.include "../../emulators/suse_linux/Makefile.application"
+
+post-install-manpage:
+ # The SuSE common makefile defines "MANCOMPRESSED".
+. if defined(MANCOMPRESSED)
+ ${GZIP_CMD} ${EMULDIR}/usr/share/man/man1/opera.1
+ ${LN} -fs ../../${EMULSUBDIR}/usr/share/man/man1/opera.1.gz \
+ ${PREFIX}/man/man1
+. else
+ ${LN} -fs ../../${EMULSUBDIR}/usr/share/man/man1/opera \
+ ${PREFIX}/man/man1
+. endif
+.endif
+
+.if (((${_OPERA_OPSYS} == SunOS) && (${_OPERA_MACHINE_ARCH} == sparc)) || (${_OPERA_OPSYS} == FreeBSD))
+do-install:
+ @cd ${WRKSRC} && ${ECHO} "n" | ./install.sh --prefix=${PREFIX}
+ @${ECHO} "=> You can ignore any previous lines about opera6rc"
+ @${ECHO}
+
+post-install:
+ @${INSTALL_MAN} ${WRKSRC}/man/opera.1 ${PREFIX}/man/man1
+.endif
+
+# regenerate distinfo for all ports supported by this package
+opera-distinfo:
+ ( echo '$$NetBSD: Makefile,v 1.32 2005/04/30 22:25:15 tron Exp $$'; echo ''; \
+ _OPERA_OPSYS=NetBSD ${MAKE} distinfo 1>&2; \
+ ${GREP} opera distinfo; \
+ _OPERA_OPSYS=FreeBSD ${MAKE} distinfo 1>&2; \
+ ${GREP} opera distinfo; \
+ _OPERA_OPSYS=SunOS _OPERA_MACHINE_ARCH=sparc make distinfo 1>&2; \
+ ${GREP} opera distinfo; \
+ ) > distinfo.new
+ ${MV} -f distinfo.new distinfo
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/opera/PLIST b/www/opera/PLIST
new file mode 100644
index 00000000000..9e5e7ce9021
--- /dev/null
+++ b/www/opera/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.3 2005/04/30 22:25:15 tron Exp $
+bin/opera
+man/man1/opera.1
diff --git a/www/opera/PLIST.FreeBSD b/www/opera/PLIST.FreeBSD
new file mode 100644
index 00000000000..5cad4879e98
--- /dev/null
+++ b/www/opera/PLIST.FreeBSD
@@ -0,0 +1,131 @@
+@comment $NetBSD: PLIST.FreeBSD,v 1.1 2005/04/30 22:25:15 tron Exp $
+bin/opera
+man/man1/opera.1
+share/doc/opera/LICENSE
+share/doc/opera/help
+share/opera/bin/missingsyms.so
+share/opera/bin/spellcheck.so
+share/opera/bin/opera
+share/opera/bin/works
+share/opera/chartables.bin
+share/opera/config/opera6rc
+share/opera/config/opera6rc.fixed
+share/opera/help/advertising.html
+share/opera/help/background.png
+share/opera/help/chat.html
+share/opera/help/dialogs.html
+share/opera/help/filetypes.html
+share/opera/help/fonts.html
+share/opera/help/glossary.html
+share/opera/help/help.css
+share/opera/help/history.html
+share/opera/help/hotlist.html
+share/opera/help/index.html
+share/opera/help/input.html
+share/opera/help/keyboard.html
+share/opera/help/languages.html
+share/opera/help/layout.html
+share/opera/help/license.txt
+share/opera/help/m2.html
+share/opera/help/mail.html
+share/opera/help/menus.html
+share/opera/help/mouse.html
+share/opera/help/multimedia.html
+share/opera/help/network.html
+share/opera/help/page.html
+share/opera/help/panels.html
+share/opera/help/paths.html
+share/opera/help/personal.html
+share/opera/help/preferences.html
+share/opera/help/privacy.html
+share/opera/help/search.html
+share/opera/help/security.html
+share/opera/help/skin.html
+share/opera/help/sounds.html
+share/opera/help/start.html
+share/opera/help/toc.html
+share/opera/help/toolbars.html
+share/opera/help/windows.html
+share/opera/hhd.ssr
+share/opera/images/background.gif
+share/opera/images/blank.gif
+share/opera/images/drive.gif
+share/opera/images/file.gif
+share/opera/images/folder.gif
+share/opera/images/link.gif
+share/opera/images/opera.xpm
+share/opera/images/opera_16x16.png
+share/opera/images/opera_22x22.png
+share/opera/images/opera_32x32.png
+share/opera/images/opera_48x48.png
+share/opera/images/operabanner.png
+share/opera/images/shared.gif
+share/opera/images/splash.png
+share/opera/images/startup1.png
+share/opera/images/startup2.png
+share/opera/ini/dialog.ini
+share/opera/ini/fastforward.ini
+share/opera/ini/filehandler.ini
+share/opera/ini/pluginpath.ini
+share/opera/ini/spellcheck.ini
+share/opera/ini/standard_keyboard.ini
+share/opera/ini/standard_menu.ini
+share/opera/ini/standard_mouse.ini
+share/opera/ini/standard_toolbar.ini
+share/opera/ini/unix_keyboard.ini
+share/opera/java/opera.jar
+share/opera/java/opera.policy
+share/opera/jsconsole.html
+share/opera/lngcode.txt
+share/opera/locale/en/default.adr
+share/opera/locale/en/lngcode.txt
+share/opera/locale/en/search.ini
+share/opera/locale/english.lng
+share/opera/opera6.adr
+share/opera/plugins/libnpp.so
+share/opera/plugins/operamotifwrapper
+share/opera/plugins/operaplugincleaner
+share/opera/search.ini
+share/opera/skin/standard_skin.zip
+share/opera/skin/windows_skin.zip
+share/opera/styles/about.css
+share/opera/styles/cache.css
+share/opera/styles/csr.css
+share/opera/styles/dir.css
+share/opera/styles/drives.css
+share/opera/styles/email.css
+share/opera/styles/history.css
+share/opera/styles/im.css
+share/opera/styles/info.css
+share/opera/styles/mime.css
+share/opera/styles/mimehead.css
+share/opera/styles/opf.css
+share/opera/styles/plugins.css
+share/opera/styles/user/accessibility.css
+share/opera/styles/user/contrastbw.css
+share/opera/styles/user/contrastwb.css
+share/opera/styles/user/debugwithoutline.css
+share/opera/styles/user/disabletables.css
+share/opera/styles/user/hidecertainsizes.css
+share/opera/styles/user/hidenonlinkimages.css
+share/opera/styles/user/imageandlinkonly.css
+share/opera/styles/user/nostalgia.css
+share/opera/styles/user/showstructure.css
+share/opera/styles/user/textonly.css
+share/opera/styles/user/userstyle.ini
+share/opera/styles/wml.css
+share/opera/styles/OPF.css
+@dirrm share/doc/opera
+@dirrm share/opera/styles/user
+@dirrm share/opera/styles
+@dirrm share/opera/skin
+@comment @dirrm share/opera/plugins
+@dirrm share/opera/locale/en
+@dirrm share/opera/locale
+@dirrm share/opera/java
+@dirrm share/opera/ini
+@dirrm share/opera/images
+@dirrm share/opera/help
+@dirrm share/opera/config
+@dirrm share/opera/bin
+@comment @dirrm share/opera
diff --git a/www/opera/PLIST.SunOS b/www/opera/PLIST.SunOS
new file mode 100644
index 00000000000..babd12770cc
--- /dev/null
+++ b/www/opera/PLIST.SunOS
@@ -0,0 +1,134 @@
+@comment $NetBSD: PLIST.SunOS,v 1.3 2005/04/30 22:25:15 tron Exp $
+bin/opera
+lib/opera/${OPERA_PKG_VERSION}-${OPERA_VER_DATE}.1/missingsyms.so
+lib/opera/${OPERA_PKG_VERSION}-${OPERA_VER_DATE}.1/opera
+lib/opera/${OPERA_PKG_VERSION}-${OPERA_VER_DATE}.1/spellcheck.so
+lib/opera/${OPERA_PKG_VERSION}-${OPERA_VER_DATE}.1/works
+lib/opera/plugins/libnpp.so
+lib/opera/plugins/operamotifwrapper-1
+lib/opera/plugins/operamotifwrapper-2
+lib/opera/plugins/operamotifwrapper-3
+lib/opera/plugins/operamotifwrapper-4
+lib/opera/plugins/operaplugincleaner
+man/man1/opera.1
+share/doc/opera/LICENSE
+share/doc/opera/help
+share/opera/chartables-be.bin
+share/opera/config/opera6rc
+share/opera/config/opera6rc.fixed
+share/opera/help/advertising.html
+share/opera/help/background.png
+share/opera/help/chat.html
+share/opera/help/dialogs.html
+share/opera/help/filetypes.html
+share/opera/help/fonts.html
+share/opera/help/glossary.html
+share/opera/help/help.css
+share/opera/help/history.html
+share/opera/help/index.html
+share/opera/help/input.html
+share/opera/help/keyboard.html
+share/opera/help/languages.html
+share/opera/help/layout.html
+share/opera/help/license.txt
+share/opera/help/m2.html
+share/opera/help/mail.html
+share/opera/help/menus.html
+share/opera/help/mouse.html
+share/opera/help/multimedia.html
+share/opera/help/network.html
+share/opera/help/page.html
+share/opera/help/panels.html
+share/opera/help/paths.html
+share/opera/help/personal.html
+share/opera/help/preferences.html
+share/opera/help/privacy.html
+share/opera/help/search.html
+share/opera/help/security.html
+share/opera/help/skin.html
+share/opera/help/sounds.html
+share/opera/help/start.html
+share/opera/help/toc.html
+share/opera/help/toolbars.html
+share/opera/help/windows.html
+share/opera/hhd.ssr
+share/opera/images/background.gif
+share/opera/images/blank.gif
+share/opera/images/drive.gif
+share/opera/images/file.gif
+share/opera/images/folder.gif
+share/opera/images/link.gif
+share/opera/images/opera.xpm
+share/opera/images/opera_16x16.png
+share/opera/images/opera_22x22.png
+share/opera/images/opera_32x32.png
+share/opera/images/opera_48x48.png
+share/opera/images/operabanner.png
+share/opera/images/shared.gif
+share/opera/images/splash.png
+share/opera/images/startup1.png
+share/opera/images/startup2.png
+share/opera/ini/dialog.ini
+share/opera/ini/fastforward.ini
+share/opera/ini/filehandler.ini
+share/opera/ini/pluginpath.ini
+share/opera/ini/spellcheck.ini
+share/opera/ini/standard_keyboard.ini
+share/opera/ini/standard_menu.ini
+share/opera/ini/standard_mouse.ini
+share/opera/ini/standard_toolbar.ini
+share/opera/ini/unix_keyboard.ini
+share/opera/java/opera.jar
+share/opera/java/opera.policy
+share/opera/jsconsole.html
+share/opera/lngcode.txt
+share/opera/locale/en/default.adr
+share/opera/locale/en/lngcode.txt
+share/opera/locale/en/search.ini
+share/opera/locale/english.lng
+share/opera/opera6.adr
+share/opera/search.ini
+share/opera/skin/standard_skin.zip
+share/opera/skin/windows_skin.zip
+share/opera/styles/OPF.css
+share/opera/styles/about.css
+share/opera/styles/cache.css
+share/opera/styles/csr.css
+share/opera/styles/dir.css
+share/opera/styles/drives.css
+share/opera/styles/email.css
+share/opera/styles/history.css
+share/opera/styles/im.css
+share/opera/styles/info.css
+share/opera/styles/mime.css
+share/opera/styles/mimehead.css
+share/opera/styles/opf.css
+share/opera/styles/plugins.css
+share/opera/styles/user/accessibility.css
+share/opera/styles/user/contrastbw.css
+share/opera/styles/user/contrastwb.css
+share/opera/styles/user/debugwithoutline.css
+share/opera/styles/user/disabletables.css
+share/opera/styles/user/hidecertainsizes.css
+share/opera/styles/user/hidenonlinkimages.css
+share/opera/styles/user/imageandlinkonly.css
+share/opera/styles/user/nostalgia.css
+share/opera/styles/user/showstructure.css
+share/opera/styles/user/textonly.css
+share/opera/styles/user/userstyle.ini
+share/opera/styles/wml.css
+@dirrm share/opera/styles/user
+@dirrm share/opera/styles
+@dirrm share/opera/skin
+@dirrm share/opera/locale/en
+@dirrm share/opera/locale
+@dirrm share/opera/java
+@dirrm share/opera/ini
+@dirrm share/opera/images
+@dirrm share/opera/help
+@dirrm share/opera/config
+@dirrm share/opera
+@dirrm share/doc/opera
+@dirrm lib/opera/${OPERA_PKG_VERSION}-${OPERA_VER_DATE}.1
+@comment @dirrm lib/opera/plugins
+@comment @dirrm lib/opera
diff --git a/www/opera/distinfo b/www/opera/distinfo
new file mode 100644
index 00000000000..8a36194ba17
--- /dev/null
+++ b/www/opera/distinfo
@@ -0,0 +1,9 @@
+SHA1 (./opera-8.0-20050415.1-static-qt.i386-en.rpm) = 6666be613f76d84fc541543a241dd936c3ffb5d1
+RMD160 (./opera-8.0-20050415.1-static-qt.i386-en.rpm) = 4dab6bcae6a88023666e8d7782bfd5c6b813d330
+Size (./opera-8.0-20050415.1-static-qt.i386-en.rpm) = 5603836 bytes
+SHA1 (opera-8.0-20050415.1-static-qt.i386.freebsd-en.tar.bz2) = a67de89e8edb1f9ecb33fc8430d25877fd394611
+RMD160 (opera-8.0-20050415.1-static-qt.i386.freebsd-en.tar.bz2) = 0b957ac39e5ad270d30d7417bb1875434616018b
+Size (opera-8.0-20050415.1-static-qt.i386.freebsd-en.tar.bz2) = 5099452 bytes
+SHA1 (opera-8.0-20050415.1-static-qt-sol8-sparc-local-en.tar.bz2) = d7527821e6c6feaa3e36fff67c005c0c14378476
+RMD160 (opera-8.0-20050415.1-static-qt-sol8-sparc-local-en.tar.bz2) = b183a33314ae2fe529f8a042819b3eee8c054925
+Size (opera-8.0-20050415.1-static-qt-sol8-sparc-local-en.tar.bz2) = 6392863 bytes
diff --git a/www/opera/files/opera.sh b/www/opera/files/opera.sh
new file mode 100644
index 00000000000..e42c0b923c0
--- /dev/null
+++ b/www/opera/files/opera.sh
@@ -0,0 +1,25 @@
+#!/bin/sh
+LINUX_KERN_OSREL=`/sbin/sysctl -n emul.linux.kern.osrelease 2>/dev/null`
+if [ -z "$LINUX_KERN_OSREL" -o "$LINUX_KERN_OSREL" = "2.0.38" ]
+then
+ OPERADIR=$HOME/.opera
+ mkdir -p $OPERADIR || exit 1
+ for FILE in $OPERADIR/opera6.ini $OPERADIR/opera.ini
+ do
+ if [ -f ${FILE} ]
+ then
+ if grep -q '^Synchronous DNS Lookup=0$' ${FILE}
+ then
+ cp -p ${FILE} ${FILE}.patch
+ sed -e 's#^\(Synchronous DNS Lookup\)=0$#\1=1#' ${FILE}.patch >${FILE}
+ rm -f ${FILE}.patch
+ fi
+ else
+ echo >${FILE} "[Performance]"
+ echo >>${FILE} "Synchronous DNS Lookup=1"
+ fi
+ done
+fi
+
+unset LD_LIBRARY_PATH
+exec @EMULDIR@/bin/bash /usr/bin/opera "$@"