head	1.2;
access;
symbols
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1
	old_RELEASE_6_1_0:1.1
	old_RELEASE_5_5_0:1.1
	old_RELEASE_6_0_0:1.1
	old_RELEASE_5_4_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2010.12.31.17.35.16;	author rene;	state dead;
branches;
next	1.1;

1.1
date	2005.02.26.09.32.01;	author marcus;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Garbage-collect expired ports:
2010-12-30 databases/p5-sqlrelay: broken and upstream disapeared
2010-12-30 devel/php-dbg2: No upstream support
2010-12-30 dns/fourcdns: upstream has disapeared
2010-12-31 emulators/win4bsd: Development has ceased and distfile is no longer available
2010-12-31 french/mozilla-flp: www/seamonkey port is deprecated. Consider using the www/firefox-i18n.
2010-12-31 french/xtel: Minitel services will be discontinued at the end of 2010.
2010-12-30 ftp/ftpq: upstream has disapeared
2010-12-30 graphics/paintlib: does not compile with new tiff and no more maintained upstream
2010-12-30 graphics/g3dviewer: does not build with gcc 4.2, upstream disapeared
2010-12-30 lang/scriba: Does not compile with gcc 4.2+, looks like abandonware
2010-12-30 math/rascal: Broken on every arch since 2008, looks like an abandonware
2010-12-31 net-mgmt/nrg: Project has vanished. Use cacti instead.
2010-12-31 security/hostsentry: Project is dead.
2010-12-31 sysutils/kcube: Project has vanished
2010-12-31 www/cybercalendar: has been unmaintained since 2001 and is unusable with dates after 2010 (see ports/150974)
2010-12-31 www/flock: Flock 3 moves from Firefox to Chromium
2010-12-31 www/linux-flock: Flock 3 moves from Firefox to Chromium
2010-12-30 x11-clocks/xtu: Looks like abandonware

Leave java/tya in for now, as it has outstanding PRs.
@
text
@#!/bin/sh
#

# S50cleanhome
# a script to clean up users' Mozilla home directories to make upgrading
# less painful.

# We run in our own subshell

# First, verify protocol
[ "$1" != "start" ] && exit 1
[ -z "${MOZ_PIS_API}" -o ${MOZ_PIS_API} -ne 2 ] && exit 1
[ -z "${MOZ_PIS_MOZBINDIR}" -o ! -d "${MOZ_PIS_MOZBINDIR}" ] && exit 1
[ -z "${HOME}" -o ! -d "${HOME}" ] && exit 1
[ -z "${MOZ_PIS_USER_DIR}" -o ! -d "${HOME}/${MOZ_PIS_USER_DIR}" ] && exit 1

# Try to cleanup ${HOME}/${MOZ_PIS_USER_DIR}

if [ -f "${HOME}/${MOZ_PIS_USER_DIR}/profiles.ini" ]; then
    sed -e '/Path=/! d' -e "s,Path=,${HOME}/${MOZ_PIS_USER_DIR}/," \
    	"${HOME}/${MOZ_PIS_USER_DIR}/profiles.ini" \
	| while read dir
    do
	[ ! -d "${dir}" ] && continue
	# Debian does this for new builds
	# rm -f "${dir}/XUL.mfasl"
	# force a rebuild of compreg.dat and xpti.dat for new installations
	[ "${dir}/compreg.dat" -ot "${MOZ_PIS_MOZBINDIR}/components.ini" ] &&
		rm -f "${dir}/compatibility.ini" "${dir}/XUL.mfasl"
    done
fi
@


1.1
log
@Add a Mozilla Mozilla Plugable Init Script (PIS) to handle automatically
sanitizing each users' home directory when starting Firefox.  This should
make upgrades much more painless.

PR:		75816
Submitted by:	Jose M Rodriguez (freebsd) <josemi@@freebsd.jazztel.es>
@
text
@@

