summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2005-02-06 12:07:19 +0000
committerjdolecek <jdolecek>2005-02-06 12:07:19 +0000
commitc515da74d1ef1386be3f038576e826633301d563 (patch)
treecdd203c9b0ba81d536810995e02bab1eda4c2464 /www
parent089dbd06711d816d1972c6f707f1330c44723eaa (diff)
downloadpkgsrc-c515da74d1ef1386be3f038576e826633301d563.tar.gz
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 (limited to 'www')
-rw-r--r--www/opera7/Makefile33
-rw-r--r--www/opera7/distinfo14
2 files changed, 31 insertions, 16 deletions
diff --git a/www/opera7/Makefile b/www/opera7/Makefile
index 80249590261..8289a00ec69 100644
--- a/www/opera7/Makefile
+++ b/www/opera7/Makefile
@@ -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 @@ USE_LANGUAGES= # empty
.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 @@ OPERA_DIST_VERSION= ${OPERA_PKG_VERSION:C/beta.*//:C/u.*//}-${OPERA_VER_DATE}.1-
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 @@ WRKSRC= ${WRKDIR}/opera-${OPERA_DIST_VERSION}${OPERA_ARCH}-${OPERA_LANG}
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 @@ PLIST_SUBST+= OPERA_PKG_VERSION=${OPERA_PKG_VERSION}
.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 @@ SUBST_SED.opera7= -e 's,/usr/,${PREFIX}/,g'
.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 @@ post-install-manpage:
. 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 @@ 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.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 --git a/www/opera7/distinfo b/www/opera7/distinfo
index e4ed4144bf3..62167186c13 100644
--- a/www/opera7/distinfo
+++ b/www/opera7/distinfo
@@ -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