summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2005-06-12 10:52:10 +0000
committerjdolecek <jdolecek@pkgsrc.org>2005-06-12 10:52:10 +0000
commit01298b5ef366e2ab08cf0f27ed826199f31a796a (patch)
tree3192d1dae8aaeb8e6adbc553929c85dbea4100d2 /www
parentdd71035ec0eeb79d5e9ff2280277e781a7851d5e (diff)
downloadpkgsrc-01298b5ef366e2ab08cf0f27ed826199f31a796a.tar.gz
re-add Opera7 package - it does have a vulnerability, but Opera8 isn't
usable on NetBSD MP systems ATM
Diffstat (limited to 'www')
-rw-r--r--www/opera7/DESCR21
-rw-r--r--www/opera7/Makefile144
-rw-r--r--www/opera7/PLIST3
-rw-r--r--www/opera7/PLIST.FreeBSD131
-rw-r--r--www/opera7/PLIST.SunOS134
-rw-r--r--www/opera7/distinfo11
-rw-r--r--www/opera7/files/opera.sh25
7 files changed, 469 insertions, 0 deletions
diff --git a/www/opera7/DESCR b/www/opera7/DESCR
new file mode 100644
index 00000000000..ddcb436e126
--- /dev/null
+++ b/www/opera7/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/opera7/Makefile b/www/opera7/Makefile
new file mode 100644
index 00000000000..a5d6a260fbd
--- /dev/null
+++ b/www/opera7/Makefile
@@ -0,0 +1,144 @@
+# $NetBSD: Makefile,v 1.32 2005/06/12 10:52:10 jdolecek 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= jdolecek@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_BUILDLINK= YES
+NO_CONFIGURE= YES
+NO_TOOLS= YES
+USE_LANGUAGES= # empty
+
+.include "../../mk/bsd.prefs.mk"
+
+OPERA_LANG= en
+OPERA_VER_DATE= 20050131
+OPERA_PKG_VERSION= 7.54u2
+
+_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/06/12 10:52:10 jdolecek 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/opera7/PLIST b/www/opera7/PLIST
new file mode 100644
index 00000000000..14a52505073
--- /dev/null
+++ b/www/opera7/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.3 2005/06/12 10:52:10 jdolecek Exp $
+bin/opera
+man/man1/opera.1
diff --git a/www/opera7/PLIST.FreeBSD b/www/opera7/PLIST.FreeBSD
new file mode 100644
index 00000000000..7f769d89da9
--- /dev/null
+++ b/www/opera7/PLIST.FreeBSD
@@ -0,0 +1,131 @@
+@comment $NetBSD: PLIST.FreeBSD,v 1.4 2005/06/12 10:52:10 jdolecek 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/opera7/PLIST.SunOS b/www/opera7/PLIST.SunOS
new file mode 100644
index 00000000000..abae57c6b2b
--- /dev/null
+++ b/www/opera7/PLIST.SunOS
@@ -0,0 +1,134 @@
+@comment $NetBSD: PLIST.SunOS,v 1.6 2005/06/12 10:52:10 jdolecek 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/opera7/distinfo b/www/opera7/distinfo
new file mode 100644
index 00000000000..aac826fc52c
--- /dev/null
+++ b/www/opera7/distinfo
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.21 2005/06/12 10:52:10 jdolecek Exp $
+
+SHA1 (./opera-7.54-20050131.1-static-qt.i386-en.rpm) = 3487d9a408ef62b39cee7bced35f792f399db953
+RMD160 (./opera-7.54-20050131.1-static-qt.i386-en.rpm) = d264a2a5933097aad63214ad07bda82127810491
+Size (./opera-7.54-20050131.1-static-qt.i386-en.rpm) = 5280121 bytes
+SHA1 (opera-7.54-20050131.1-static-qt.i386.freebsd-en.tar.bz2) = 887c0b611f8be2669e814f51b40ec59ee372700f
+RMD160 (opera-7.54-20050131.1-static-qt.i386.freebsd-en.tar.bz2) = 588138145197ee9df0fa34db33420e955c67d8d1
+Size (opera-7.54-20050131.1-static-qt.i386.freebsd-en.tar.bz2) = 4782908 bytes
+SHA1 (opera-7.54-20050131.1-static-qt-sol8-sparc-local-en.tar.bz2) = 1326826616e941045d305a99e36ba3d4629840cd
+RMD160 (opera-7.54-20050131.1-static-qt-sol8-sparc-local-en.tar.bz2) = b500f4de235cb06653e544f90ac748da9e9611d7
+Size (opera-7.54-20050131.1-static-qt-sol8-sparc-local-en.tar.bz2) = 5993766 bytes
diff --git a/www/opera7/files/opera.sh b/www/opera7/files/opera.sh
new file mode 100644
index 00000000000..e42c0b923c0
--- /dev/null
+++ b/www/opera7/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 "$@"