From dceea1e566311db13fc39318e18852769de649d9 Mon Sep 17 00:00:00 2001 From: ghen Date: Sat, 31 Mar 2007 22:51:24 +0000 Subject: chmod u+w all files under lib/${MOZILLA}/defaults in post-install phase for firefox and seamonkey to make user profiles writable. Bump PKGREVISION for firefox2(-gtk1) and seamonkey(-gtk1). Fixes PR#35596. --- www/firefox/Makefile.common | 5 ++++- www/firefox2-gtk1/Makefile | 3 ++- www/firefox2/Makefile | 3 ++- www/seamonkey-gtk1/Makefile | 4 ++-- www/seamonkey/Makefile | 4 ++-- www/seamonkey/Makefile.common | 5 ++++- 6 files changed, 16 insertions(+), 8 deletions(-) (limited to 'www') diff --git a/www/firefox/Makefile.common b/www/firefox/Makefile.common index 08ec7dda113..ec1a7e97a14 100644 --- a/www/firefox/Makefile.common +++ b/www/firefox/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.17 2007/03/07 21:32:54 dmcmahill Exp $ +# $NetBSD: Makefile.common,v 1.18 2007/03/31 22:51:24 ghen Exp $ MOZ_DIST_VER?= ${MOZ_VER} DISTNAME?= mozilla-${MOZ_DIST_VER}-source @@ -200,6 +200,9 @@ pre-install: do-install: ${SETENV} ${SCRIPTS_ENV} DESTDIR=${DESTDIR} ${SH} ${FILESDIR:Q}/moz-install +post-install: + ${FIND} ${PREFIX}/lib/${MOZILLA}/defaults -type f -exec ${CHMOD} u+w {} \; + .include "../../mk/pthread.buildlink3.mk" .if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none") diff --git a/www/firefox2-gtk1/Makefile b/www/firefox2-gtk1/Makefile index 841785f6fed..ecf03e1af03 100644 --- a/www/firefox2-gtk1/Makefile +++ b/www/firefox2-gtk1/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.6 2007/03/21 13:45:21 ghen Exp $ +# $NetBSD: Makefile,v 1.7 2007/03/31 22:51:24 ghen Exp $ MOZILLA= firefox-gtk1 +PKGREVISION= 1 COMMENT= Lightweight gecko-based web browser built with GTK+-1.x .include "../../www/firefox2/Makefile-firefox.common" diff --git a/www/firefox2/Makefile b/www/firefox2/Makefile index 29fc7383e4b..966416220e9 100644 --- a/www/firefox2/Makefile +++ b/www/firefox2/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.7 2007/03/21 13:45:20 ghen Exp $ +# $NetBSD: Makefile,v 1.8 2007/03/31 22:51:24 ghen Exp $ MOZILLA= firefox +PKGREVISION= 1 EXTRACT_SUFX= .tar.bz2 COMMENT= Lightweight gecko-based web browser diff --git a/www/seamonkey-gtk1/Makefile b/www/seamonkey-gtk1/Makefile index 475ce468afd..42ac24c8ed4 100644 --- a/www/seamonkey-gtk1/Makefile +++ b/www/seamonkey-gtk1/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.13 2007/03/07 21:32:56 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.14 2007/03/31 22:51:24 ghen Exp $ MOZILLA= seamonkey-gtk1 -PKGREVISION= 1 +PKGREVISION= 2 COMMENT= Full featured gecko-based browser built with GTK1 diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile index c225ef998c6..615009cb06a 100644 --- a/www/seamonkey/Makefile +++ b/www/seamonkey/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.20 2007/03/07 21:32:55 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.21 2007/03/31 22:51:24 ghen Exp $ MOZILLA= seamonkey -PKGREVISION= 1 +PKGREVISION= 2 COMMENT= Full featured gecko-based browser diff --git a/www/seamonkey/Makefile.common b/www/seamonkey/Makefile.common index 63ee6818d13..664c026802c 100644 --- a/www/seamonkey/Makefile.common +++ b/www/seamonkey/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.20 2007/03/07 21:32:56 dmcmahill Exp $ +# $NetBSD: Makefile.common,v 1.21 2007/03/31 22:51:24 ghen Exp $ MOZ_DIST_VER?= ${MOZ_VER} DISTNAME?= seamonkey-${MOZ_DIST_VER}.source @@ -204,6 +204,9 @@ pre-install: do-install: ${SETENV} ${SCRIPTS_ENV} ${SH} ${FILESDIR:Q}/moz-install +post-install: + ${FIND} ${PREFIX}/lib/${MOZILLA}/defaults -type f -exec ${CHMOD} u+w {} \; + .include "../../mk/pthread.buildlink3.mk" .if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none") -- cgit v1.2.3