pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/opera7 Update opera to 7.74u2. This fixes recely f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/016e4207f91d
branches:  trunk
changeset: 488685:016e4207f91d
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Sun Feb 06 12:07:19 2005 +0000

description:
Update opera to 7.74u2. This fixes recely found security issues.

Changes since 7.54u1:

Security
* Solved data URL issue described in Secunia Advisory SA13818
* Additional fixes for frame injection issue reported in Secunia Advisory
  SA13253

Miscellaneous
* Improvements to handling of the must-revalidate directive.
* Solved stability issue in Japanese version.

UNIX specific
* Added extra warning dialog when opening .sh, .desktop or executables
  directly from Web or from transfer manager with kfmclient exec. Addresses
  issue reported in Secunia Advisory SA13447.
* Fixed crash when importing e-mail.

Also add a 'opera-distinfo' make target, which takes care to update
distinfo for all supported ports, which should significantly reduce
amount of necessary manual work on package updates.

diffstat:

 www/opera7/Makefile |  33 ++++++++++++++++++++++++---------
 www/opera7/distinfo |  14 +++++++-------
 2 files changed, 31 insertions(+), 16 deletions(-)

diffs (107 lines):

diff -r 94dd2e8dacfc -r 016e4207f91d www/opera7/Makefile
--- a/www/opera7/Makefile       Sun Feb 06 11:28:17 2005 +0000
+++ b/www/opera7/Makefile       Sun Feb 06 12:07:19 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2004/12/29 23:19:34 tron Exp $
+# $NetBSD: Makefile,v 1.28 2005/02/06 12:07:19 jdolecek Exp $
 
 DISTNAME=      opera-${OPERA_PKG_VERSION:S/u/pl/}
 PKGREVISION=   # empty
@@ -30,10 +30,13 @@
 .include "../../mk/bsd.prefs.mk"
 
 OPERA_LANG=            en
-OPERA_VER_DATE=                20041210
-OPERA_PKG_VERSION=     7.54u1
+OPERA_VER_DATE=                20050131
+OPERA_PKG_VERSION=     7.54u2
 
-.if (${OPSYS} == NetBSD)
+_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
@@ -49,7 +52,7 @@
 RPMFILES=      ${DISTFILES}
 RPM2PKGSTRIP=  0
 
-.elif (${OPSYS} == FreeBSD)
+.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
@@ -59,7 +62,7 @@
 
 OWN_DIRS=              ${PREFIX}/share/opera/plugins
 
-.elif (${OPSYS} == SunOS) && (${MACHINE_ARCH} == sparc)
+.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
@@ -83,7 +86,7 @@
 
 .endif
 
-.if (((${OPSYS} == SunOS) && (${MACHINE_ARCH} == sparc)) || (${OPSYS} == FreeBSD))
+.if (((${_OPERA_OPSYS} == SunOS) && (${_OPERA_MACHINE_ARCH} == sparc)) || (${_OPERA_OPSYS} == FreeBSD))
 NO_BUILD=               YES
 USE_PKGINSTALL=                YES
 
@@ -95,7 +98,7 @@
 .endif
 
 do-build:
-.if (${OPSYS} == NetBSD)
+.if (${_OPERA_OPSYS} == NetBSD)
        @ ${SED} -e 's#@EMULDIR@#${EMULDIR}#g' ${FILESDIR}/opera.sh > \
                ${WRKDIR}/opera
 
@@ -116,7 +119,7 @@
 .  endif
 .endif
 
-.if (((${OPSYS} == SunOS) && (${MACHINE_ARCH} == sparc)) || (${OPSYS} == FreeBSD))
+.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"
@@ -126,4 +129,16 @@
        @${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.28 2005/02/06 12:07:19 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 94dd2e8dacfc -r 016e4207f91d www/opera7/distinfo
--- a/www/opera7/distinfo       Sun Feb 06 11:28:17 2005 +0000
+++ b/www/opera7/distinfo       Sun Feb 06 12:07:19 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.16 2004/12/29 23:19:34 tron Exp $
+$NetBSD: distinfo,v 1.17 2005/02/06 12:07:20 jdolecek Exp $
 
-SHA1 (opera-7.54-20041210.1-static-qt-sol8-sparc-local-en.tar.bz2) = 39acb0d7beb30881fe0740096e0f3279ecc69dd4
-Size (opera-7.54-20041210.1-static-qt-sol8-sparc-local-en.tar.bz2) = 5995471 bytes
-SHA1 (./opera-7.54-20041210.1-static-qt.i386-en.rpm) = c9f59d208cffdc086076d9d88f51fbcde079dc59
-Size (./opera-7.54-20041210.1-static-qt.i386-en.rpm) = 5278843 bytes
-SHA1 (opera-7.54-20041210.1-static-qt.i386.freebsd-en.tar.bz2) = 514a7357b2c3e5cb56e98e48bc0699aa5ae8a18c
-Size (opera-7.54-20041210.1-static-qt.i386.freebsd-en.tar.bz2) = 4782184 bytes
+SHA1 (./opera-7.54-20050131.1-static-qt.i386-en.rpm) = 3487d9a408ef62b39cee7bced35f792f399db953
+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
+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) = 3807523fefc168628158d02b033a0935ebb79b2b
+Size (opera-7.54-20050131.1-static-qt-sol8-sparc-local-en.tar.bz2) = 3178496 bytes



Home | Main Index | Thread Index | Old Index