- do not run with a predictable directory as root: firefox,

thunderbird, seamonkey, xulrunner
- add comment for xulrunner why -devel needs to be bumped
suggested and ok naddy@;  ok kurt@
This commit is contained in:
martynas 2009-01-09 15:54:31 +00:00
parent 96b9b7169f
commit ce3ab68a5a
8 changed files with 20 additions and 26 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.33 2009/01/06 23:31:45 martynas Exp $
# $OpenBSD: Makefile,v 1.34 2009/01/09 15:54:31 martynas Exp $
ONLY_FOR_ARCHS= alpha amd64 arm i386 powerpc sparc sparc64
@ -8,8 +8,10 @@ COMMENT-devel= devel files for Gecko
VER= 1.8.1.19
DISTNAME= mozilla
PKGNAME= xulrunner-${VER}
PKGNAME-main= xulrunner-${VER}p0
PKGNAME-devel= xulrunner-devel-${VER}p0
PKGNAME-main= xulrunner-${VER}p1
# NOTE: Must bump package name if -main changes, since -devel depends
# on -main (plist changes).
PKGNAME-devel= xulrunner-devel-${VER}p1
SO_VERSION= 2.0
# NOTE: Must bump minor version if any shlib's are removed from the
# components dir to avoid pkg_add -r issues.

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-main,v 1.6 2008/07/05 16:00:29 martynas Exp $
@comment $OpenBSD: PLIST-main,v 1.7 2009/01/09 15:54:31 martynas Exp $
@unexec xulrunner --unregister-global
%%SHARED%%
bin/xulrunner
@ -363,9 +363,7 @@ xulrunner/run-mozilla.sh
@bin xulrunner/xulrunner-stub
@sample ${SYSCONFDIR}/gre.d/
@exec xulrunner --register-global
@exec rm -rf /tmp/.mozilla
@exec cd %D/xulrunner && env HOME=/tmp LD_LIBRARY_PATH=%D/xulrunner ./regxpcom
@exec rm -rf /tmp/.mozilla
@exec TEMP=`mktemp -d` && cd %D/xulrunner && env HOME=$TEMP LD_LIBRARY_PATH=%D/xulrunner ./regxpcom && rm -fr $TEMP
@unexec rm -f %D/xulrunner/components/compreg.dat
@unexec rm -f %D/xulrunner/components/xpti.dat
@unexec rm -rf %D/xulrunner/extensions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.77 2009/01/09 15:44:50 martynas Exp $
# $OpenBSD: Makefile,v 1.78 2009/01/09 15:54:31 martynas Exp $
SHARED_ONLY= Yes
ONLY_FOR_ARCHS= alpha amd64 arm i386 powerpc sparc sparc64
@ -7,7 +7,7 @@ COMMENT= redesign of Mozilla's mail component
VER= 2.0.0.19
DISTNAME= mozilla
PKGNAME= mozilla-thunderbird-${VER}
PKGNAME= mozilla-thunderbird-${VER}p0
SO_VERSION= 13.0
# NOTE: Must bump minor version if any shlib's are removed from the
# components dir to avoid pkg_add -r issues. Whenever PKGNAME gets

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.14 2008/07/24 10:10:34 martynas Exp $
@comment $OpenBSD: PLIST,v 1.15 2009/01/09 15:54:31 martynas Exp $
%%SHARED%%
bin/mozilla-thunderbird
bin/thunderbird
@ -426,9 +426,7 @@ mozilla-thunderbird/run-mozilla.sh
share/applications/thunderbird.desktop
@exec %D/bin/update-desktop-database
@unexec %D/bin/update-desktop-database
@exec rm -rf /tmp/.mozilla
@exec cd %D/mozilla-thunderbird && env HOME=/tmp LD_LIBRARY_PATH=%D/mozilla-thunderbird ./regxpcom
@exec rm -rf /tmp/.mozilla
@exec TEMP=`mktemp -d` && cd %D/mozilla-thunderbird && env HOME=$TEMP LD_LIBRARY_PATH=%D/mozilla-thunderbird ./regxpcom && rm -fr $TEMP
@unexec rm -f %D/mozilla-thunderbird/components/compreg.dat
@unexec rm -f %D/mozilla-thunderbird/components/xpti.dat
@unexec rm -f %D/mozilla-thunderbird/chrome/chrome.rdf

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.107 2008/12/18 19:27:13 martynas Exp $
# $OpenBSD: Makefile,v 1.108 2009/01/09 15:54:31 martynas Exp $
SHARED_ONLY= Yes
ONLY_FOR_ARCHS= alpha amd64 arm i386 powerpc sparc sparc64
@ -7,7 +7,7 @@ COMMENT= redesign of Mozilla's browser component
VER= 3.0.5
DISTNAME= mozilla
PKGNAME= mozilla-firefox-${VER}
PKGNAME= mozilla-firefox-${VER}p0
SO_VERSION= 20.0
# NOTE: Must bump minor version if any shlib's are removed from the
# components dir to avoid pkg_add -r issues.

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.22 2008/12/18 19:27:13 martynas Exp $
@comment $OpenBSD: PLIST,v 1.23 2009/01/09 15:54:31 martynas Exp $
@conflict firefox3-*
@conflict mozilla-firebird-*
@pkgpath www/firefox3
@ -404,8 +404,6 @@ mozilla-firefox/searchplugins/yahoo.xml
share/applications/firefox.desktop
@exec %D/bin/update-desktop-database
@unexec %D/bin/update-desktop-database
@exec rm -rf /tmp/.mozilla
@exec cd %D/mozilla-firefox && env HOME=/tmp LD_LIBRARY_PATH=%D/mozilla-firefox ./regxpcom
@exec rm -rf /tmp/.mozilla
@exec TEMP=`mktemp -d` && cd %D/mozilla-firefox && env HOME=$TEMP LD_LIBRARY_PATH=%D/mozilla-firefox ./regxpcom && rm -fr $TEMP
@unexec rm -f %D/mozilla-firefox/components/compreg.dat
@unexec rm -f %D/mozilla-firefox/components/xpti.dat

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.30 2008/12/18 21:05:59 martynas Exp $
# $OpenBSD: Makefile,v 1.31 2009/01/09 15:54:31 martynas Exp $
SHARED_ONLY= Yes
ONLY_FOR_ARCHS= alpha amd64 i386 powerpc sparc sparc64
@ -7,7 +7,7 @@ COMMENT= integrated mozilla application suite
VER= 1.1.14
DISTNAME= seamonkey-${VER}.source
PKGNAME= seamonkey-${VER}
PKGNAME= seamonkey-${VER}p0
SO_VERSION= 10.0
# NOTE: Must bump minor version if any shlib's are removed from the

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.5 2008/10/24 21:06:58 jasper Exp $
@comment $OpenBSD: PLIST,v 1.6 2009/01/09 15:54:31 martynas Exp $
@pkgpath www/seamonkey,-main
bin/seamonkey
@man man/man1/seamonkey.1
@ -623,10 +623,8 @@ seamonkey/searchplugins/google.src
seamonkey/searchplugins/jeeves.gif
seamonkey/searchplugins/jeeves.src
share/applications/seamonkey.desktop
@exec rm -rf /tmp/.mozilla
@exec cd %D/seamonkey && env HOME=/tmp LD_LIBRARY_PATH=%D/seamonkey ./regchrome
@exec cd %D/seamonkey && env HOME=/tmp LD_LIBRARY_PATH=%D/seamonkey ./regxpcom
@exec rm -rf /tmp/.mozilla
@exec TEMP=`mktemp -d` && cd %D/seamonkey && env HOME=$TEMP LD_LIBRARY_PATH=%D/seamonkey ./regchrome && rm -fr $TEMP
@exec TEMP=`mktemp -d` && cd %D/seamonkey && env HOME=$TEMP LD_LIBRARY_PATH=%D/seamonkey ./regxpcom && rm -fr $TEMP
@unexec rm -f %D/seamonkey/chrome/chrome.rdf
@unexec rm -f %D/seamonkey/chrome/overlays.rdf
@unexec rm -f %D/seamonkey/chrome/stylesheets.rdf