pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/opera7 re-add Opera7 package - it does have a vuln...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6b884d173559
branches:  trunk
changeset: 495516:6b884d173559
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Sun Jun 12 10:52:10 2005 +0000

description:
re-add Opera7 package - it does have a vulnerability, but Opera8 isn't
usable on NetBSD MP systems ATM

diffstat:

 www/opera7/DESCR          |   21 ++++++
 www/opera7/Makefile       |  144 ++++++++++++++++++++++++++++++++++++++++++++++
 www/opera7/PLIST          |    3 +
 www/opera7/PLIST.FreeBSD  |  131 +++++++++++++++++++++++++++++++++++++++++
 www/opera7/PLIST.SunOS    |  134 ++++++++++++++++++++++++++++++++++++++++++
 www/opera7/distinfo       |   11 +++
 www/opera7/files/opera.sh |   25 +++++++
 7 files changed, 469 insertions(+), 0 deletions(-)

diffs (truncated from 497 to 300 lines):

diff -r 8cca873510dd -r 6b884d173559 www/opera7/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/opera7/DESCR  Sun Jun 12 10:52:10 2005 +0000
@@ -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 -r 8cca873510dd -r 6b884d173559 www/opera7/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/opera7/Makefile       Sun Jun 12 10:52:10 2005 +0000
@@ -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@localhost
+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 -r 8cca873510dd -r 6b884d173559 www/opera7/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/opera7/PLIST  Sun Jun 12 10:52:10 2005 +0000
@@ -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 -r 8cca873510dd -r 6b884d173559 www/opera7/PLIST.FreeBSD
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/opera7/PLIST.FreeBSD  Sun Jun 12 10:52:10 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index