From 854b5eebc761bf5ad3bc99b744ad7b523def6d55 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Thu, 5 Aug 2004 19:53:30 +0000 Subject: Update to 0.9.3 to fix a few security issues: http://bugzilla.mozilla.org/buglist.cgi?bug_id=251381,249004,250906,253121 Also, add a pkg-deinstall script to remove the auto-generated registry files. PR: 70031 --- www/firefox-esr/Makefile | 6 ++++-- www/firefox-esr/distinfo | 4 ++-- www/firefox-esr/pkg-deinstall.in | 23 +++++++++++++++++++++++ 3 files changed, 29 insertions(+), 4 deletions(-) create mode 100644 www/firefox-esr/pkg-deinstall.in (limited to 'www/firefox-esr') diff --git a/www/firefox-esr/Makefile b/www/firefox-esr/Makefile index 5eeeb7b36085..4cf8da901bc2 100644 --- a/www/firefox-esr/Makefile +++ b/www/firefox-esr/Makefile @@ -6,8 +6,7 @@ # PORTNAME= firefox -PORTVERSION= 0.9.1 -PORTREVISION= 1 +PORTVERSION= 0.9.3 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_MOZILLA} MASTER_SITE_SUBDIR= ${PORTNAME}/releases/${PORTVERSION} @@ -42,6 +41,7 @@ USE_PERL5_BUILD=yes USE_X_PREFIX= yes WRKSRC= ${WRKDIR}/mozilla PKGINSTALL= ${WRKDIR}/pkg-install +PKGDEINSTALL= ${WRKDIR}/pkg-deinstall PKGCONFIG_FILES=mozilla-gtkmozembed mozilla-js mozilla-xpcom \ mozilla-nspr mozilla-nss mozilla-plugin @@ -171,6 +171,8 @@ pre-install: ${FAKEDIR}/lib/${PORTNAME}/lib/${PORTNAME}-${PORTVERSION}/extensions.port @${SED} -e 's|%%MOZDIR%%|${LOCAL_PREFIX}/lib/${PORTNAME}-${PORTVERSION}|g' \ < ${MASTERDIR}/pkg-install.in > ${PKGINSTALL} + @${SED} -e 's|%%MOZDIR%%|${LOCAL_PREFIX}/lib/${PORTNAME}-${PORTVERSION}|g' \ + < ${MASTERDIR}/pkg-deinstall.in > ${PKGDEINSTALL} .if !defined (WITH_HEADERS) @${RM} -fr ${FAKEDIR}/share/idl ${FAKEDIR}/include diff --git a/www/firefox-esr/distinfo b/www/firefox-esr/distinfo index dd967eb6a528..53764c79efd8 100644 --- a/www/firefox-esr/distinfo +++ b/www/firefox-esr/distinfo @@ -1,2 +1,2 @@ -MD5 (firefox-0.9.1-source.tar.bz2) = 3df6fe17a5d400c1fc154df3c7a8dbb4 -SIZE (firefox-0.9.1-source.tar.bz2) = 33960883 +MD5 (firefox-0.9.3-source.tar.bz2) = 641ebf96d2211b3c5527e88389b9687e +SIZE (firefox-0.9.3-source.tar.bz2) = 33945173 diff --git a/www/firefox-esr/pkg-deinstall.in b/www/firefox-esr/pkg-deinstall.in new file mode 100644 index 000000000000..3fe1644fc054 --- /dev/null +++ b/www/firefox-esr/pkg-deinstall.in @@ -0,0 +1,23 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# Date created: Mon Nov 29, 2003 +# Whom: Thierry Thomas () +# Fix the chrome registry. + +umask 022 +PATH=/bin:/usr/bin + +[ "x$1" = "x" ] && exit 1 +[ "x$2" != "xDEINSTALL" ] && exit 0 + +MOZDIR=%%MOZDIR%% + +rm -rf ${MOZDIR}/chrome/overlayinfo +rm -f ${MOZDIR}/chrome/*.rdf +rm -f ${MOZDIR}/component.reg +rm -f ${MOZDIR}/components/*.dat +rm -rf ${MOZDIR}/extensions + +exit 0 -- cgit v1.2.3