aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-08-08 15:07:35 +0800
committermarcus <marcus@FreeBSD.org>2004-08-08 15:07:35 +0800
commit1fd1832e9de0181b494adc699445b7250ce98e08 (patch)
tree3d4d28ebaaf08dca703941eef1decd78d5406f83 /www
parenta9fbd4c0ed952d98e33cd1908afd437c89e976a2 (diff)
downloadfreebsd-ports-gnome-1fd1832e9de0181b494adc699445b7250ce98e08.tar.gz
freebsd-ports-gnome-1fd1832e9de0181b494adc699445b7250ce98e08.tar.zst
freebsd-ports-gnome-1fd1832e9de0181b494adc699445b7250ce98e08.zip
Update to 1.7.2 to fix a few security vulnerabilities, and add a pkg-deinstall
script to clean up left over automatically-generated files.
Diffstat (limited to 'www')
-rw-r--r--www/mozilla/Makefile5
-rw-r--r--www/mozilla/distinfo4
-rw-r--r--www/mozilla/pkg-deinstall.in22
3 files changed, 28 insertions, 3 deletions
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile
index 87da8ee3e75d..6d984ef3dbe4 100644
--- a/www/mozilla/Makefile
+++ b/www/mozilla/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME?= mozilla
-PORTVERSION= 1.7.1
+PORTVERSION= 1.7.2
PORTREVISION?= 0
PORTEPOCH?= 2
CATEGORIES?= www
@@ -87,6 +87,7 @@ MOZ_EXTENSIONS= default
CONFIGURE_ENV= MOZ_INTERNAL_LIBART_LGPL=1 \
LOCALBASE=${LOCALBASE}
PKGINSTALL= ${WRKDIR}/pkg-install
+PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
.if defined(WITH_GTK1)
CONFIGURE_ARGS+= --enable-default-toolkit=gtk
@@ -253,6 +254,8 @@ post-patch:
done
@${SED} -e 's|%%MOZDIR%%|${PREFIX}/lib/${MOZILLA}|g' \
< ${MASTERDIR}/pkg-install.in > ${PKGINSTALL}
+ @${SED} -e 's|%%MOZDIR%%|${PREFIX}/lib/${MOZILLA}|g' \
+ < ${MASTERDIR}/pkg-deinstall.in > ${PKGDEINSTALL}
pre-configure:
@if [ -n "`${PKG_INFO} -xI '^bind[0-9]*-base-[0-9]'`" ]; then \
diff --git a/www/mozilla/distinfo b/www/mozilla/distinfo
index 3a7cb2ef50d7..cb0a4d9cefdd 100644
--- a/www/mozilla/distinfo
+++ b/www/mozilla/distinfo
@@ -1,2 +1,2 @@
-MD5 (mozilla-source-1.7.1.tar.bz2) = fa007e53627624a17bef8bb7ebf95e08
-SIZE (mozilla-source-1.7.1.tar.bz2) = 34016500
+MD5 (mozilla-source-1.7.2.tar.bz2) = 262987cfcb793bab9fb1aebb21c527ce
+SIZE (mozilla-source-1.7.2.tar.bz2) = 34438800
diff --git a/www/mozilla/pkg-deinstall.in b/www/mozilla/pkg-deinstall.in
new file mode 100644
index 000000000000..329a58b212d6
--- /dev/null
+++ b/www/mozilla/pkg-deinstall.in
@@ -0,0 +1,22 @@
+#!/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
+
+exit 0