summaryrefslogtreecommitdiff
path: root/www/firefox10
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-03-25 05:55:27 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-03-25 05:55:27 +0000
commitce7f695e6dc3eb8add4969423ff13de6541564d0 (patch)
tree6792e6507820734326e29983dce7a67f9f386f94 /www/firefox10
parent* Update to 1.0.2 to fix security issues (see (diff)
* Update to 1.0.2 to fix security issues (see
http://www.vuxml.org/freebsd/7d2aac52-9c6b-11d9-99a7-000a95bc6fae.html and http://www.vuxml.org/freebsd/741f8841-9c6b-11d9-9dbe-000a95bc6fae.html for more details) * Fix some minor cosmetic issues with the startup script Submitted by: Jose M Rodriguez (freebsd) <josemi@freebsd.jazztel.es> Approved by: portmgr (implicit)
Notes
Notes: svn path=/head/; revision=131937
Diffstat (limited to 'www/firefox10')
-rw-r--r--www/firefox10/Makefile11
-rw-r--r--www/firefox10/distinfo4
-rw-r--r--www/firefox10/files/patch-browser_app_mozilla.in10
3 files changed, 14 insertions, 11 deletions
diff --git a/www/firefox10/Makefile b/www/firefox10/Makefile
index d4a4abd8755c..e074d253a98e 100644
--- a/www/firefox10/Makefile
+++ b/www/firefox10/Makefile
@@ -6,13 +6,12 @@
#
PORTNAME= firefox
-PORTVERSION= 1.0.1
-PORTREVISION= 3
+PORTVERSION= 1.0.2
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_MOZILLA}
-MASTER_SITE_SUBDIR= ${PORTNAME}/releases/1.0.1/source
-DISTNAME= ${PORTNAME}-1.0.1-source
+MASTER_SITE_SUBDIR= ${PORTNAME}/releases/1.0.2/source
+DISTNAME= ${PORTNAME}-${PORTVERSION}-source
MAINTAINER= gnome@FreeBSD.org
COMMENT= Web browser based on the browser portion of Mozilla
@@ -227,8 +226,8 @@ pre-install:
${ECHO_CMD} @dirrm include/${FIREFOX} >> ${PLIST}
${ECHO_CMD} lib/browser_plugins/.${PORTNAME}.keep >> ${PLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/browser_plugins 2>/dev/null || ${TRUE}" >> ${PLIST}
- ${ECHO_CMD} "@exec update-desktop-database > /dev/null || ${TRUE}" >> ${PLIST}
- ${ECHO_CMD} "@unexec update-desktop-database > /dev/null || ${TRUE}" >> ${PLIST}
+ ${ECHO_CMD} "@exec ${LOCALBASE}/bin/update-desktop-database > /dev/null || ${TRUE}" >> ${PLIST}
+ ${ECHO_CMD} "@unexec ${LOCALBASE}/bin/update-desktop-database > /dev/null || ${TRUE}" >> ${PLIST}
do-install:
${MKDIR} ${PREFIX}/lib/${FIREFOX}
diff --git a/www/firefox10/distinfo b/www/firefox10/distinfo
index 2ce601d09de4..8118b7249f8f 100644
--- a/www/firefox10/distinfo
+++ b/www/firefox10/distinfo
@@ -1,2 +1,2 @@
-MD5 (firefox-1.0.1-source.tar.bz2) = ebaea974fea9460ab7050fff76b41cb1
-SIZE (firefox-1.0.1-source.tar.bz2) = 32671529
+MD5 (firefox-1.0.2-source.tar.bz2) = fd1a0dec3e763e93eb45c0c34b399712
+SIZE (firefox-1.0.2-source.tar.bz2) = 32760074
diff --git a/www/firefox10/files/patch-browser_app_mozilla.in b/www/firefox10/files/patch-browser_app_mozilla.in
index 492dacc527e4..6389a61b5e8b 100644
--- a/www/firefox10/files/patch-browser_app_mozilla.in
+++ b/www/firefox10/files/patch-browser_app_mozilla.in
@@ -1,5 +1,5 @@
--- browser/app/mozilla.in.orig Tue Oct 26 11:26:11 2004
-+++ browser/app/mozilla.in Mon Feb 28 23:32:14 2005
++++ browser/app/mozilla.in Wed Mar 23 20:43:07 2005
@@ -29,51 +29,83 @@
## the mozilla-bin binary to work.
##
@@ -123,7 +123,7 @@
# Use run-mozilla.sh in the current dir if it exists
# If not, then start resolving symlinks until we find run-mozilla.sh
-@@ -82,149 +114,217 @@
+@@ -82,149 +114,221 @@
curdir=`dirname "$progname"`
progbase=`basename "$progname"`
run_moz="$curdir/run-mozilla.sh"
@@ -421,8 +421,12 @@
+ # FIXME problems with freedesktop StartupNotify
+ if [ -n "${debugging}" ]; then
+ echo "${run_moz} ${script_args} ${MOZ_CLIENT_PROGRAM} ${_remote_cmd}"
++ ${run_moz} ${script_args} ${MOZ_CLIENT_PROGRAM} ${_remote_cmd} &&
++ exit 0
++ else
++ ${run_moz} ${script_args} ${MOZ_CLIENT_PROGRAM} ${_remote_cmd} \
++ >/dev/null 2>&1 && exit 0
+ fi
-+ ${run_moz} ${script_args} ${MOZ_CLIENT_PROGRAM} ${_remote_cmd} && exit 0
+fi
+
+# fallback to direct invocation