aboutsummaryrefslogtreecommitdiffstats
path: root/www/firefox35
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-08-06 03:53:30 +0800
committermarcus <marcus@FreeBSD.org>2004-08-06 03:53:30 +0800
commit54cc9169654c19c9fca5badc0b1fa9a8a5f52827 (patch)
tree46670567bfefb650a84618136a516b29f63778ef /www/firefox35
parentca0733fafb887770478b8c4d34c7a2118caebb5e (diff)
downloadfreebsd-ports-gnome-54cc9169654c19c9fca5badc0b1fa9a8a5f52827.tar.gz
freebsd-ports-gnome-54cc9169654c19c9fca5badc0b1fa9a8a5f52827.tar.zst
freebsd-ports-gnome-54cc9169654c19c9fca5badc0b1fa9a8a5f52827.zip
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/firefox35')
-rw-r--r--www/firefox35/Makefile6
-rw-r--r--www/firefox35/distinfo4
-rw-r--r--www/firefox35/pkg-deinstall.in23
3 files changed, 29 insertions, 4 deletions
diff --git a/www/firefox35/Makefile b/www/firefox35/Makefile
index 5eeeb7b36085..4cf8da901bc2 100644
--- a/www/firefox35/Makefile
+++ b/www/firefox35/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/firefox35/distinfo b/www/firefox35/distinfo
index dd967eb6a528..53764c79efd8 100644
--- a/www/firefox35/distinfo
+++ b/www/firefox35/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/firefox35/pkg-deinstall.in b/www/firefox35/pkg-deinstall.in
new file mode 100644
index 000000000000..3fe1644fc054
--- /dev/null
+++ b/www/firefox35/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