summaryrefslogtreecommitdiffstats
path: root/www/firefox10
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-08-05 19:53:30 +0000
committermarcus <marcus@FreeBSD.org>2004-08-05 19:53:30 +0000
commit54cc9169654c19c9fca5badc0b1fa9a8a5f52827 (patch)
tree46670567bfefb650a84618136a516b29f63778ef /www/firefox10
parentca0733fafb887770478b8c4d34c7a2118caebb5e (diff)
downloadFreeBSD-ports-54cc9169654c19c9fca5badc0b1fa9a8a5f52827.zip
FreeBSD-ports-54cc9169654c19c9fca5badc0b1fa9a8a5f52827.tar.gz
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
Diffstat (limited to 'www/firefox10')
-rw-r--r--www/firefox10/Makefile6
-rw-r--r--www/firefox10/distinfo4
-rw-r--r--www/firefox10/pkg-deinstall.in23
3 files changed, 29 insertions, 4 deletions
diff --git a/www/firefox10/Makefile b/www/firefox10/Makefile
index 5eeeb7b36..4cf8da9 100644
--- a/www/firefox10/Makefile
+++ b/www/firefox10/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/firefox10/distinfo b/www/firefox10/distinfo
index dd967eb..53764c7 100644
--- a/www/firefox10/distinfo
+++ b/www/firefox10/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/firefox10/pkg-deinstall.in b/www/firefox10/pkg-deinstall.in
new file mode 100644
index 0000000..3fe1644
--- /dev/null
+++ b/www/firefox10/pkg-deinstall.in
@@ -0,0 +1,23 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+# Date created: Mon Nov 29, 2003
+# Whom: Thierry Thomas (<thierry@pompo.net>)
+# 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
OpenPOWER on IntegriCloud