head	1.14;
access;
symbols
	RELEASE_6_1_0:1.13
	RELEASE_5_5_0:1.13
	RELEASE_6_0_0:1.13
	RELEASE_5_4_0:1.12
	RELEASE_4_11_0:1.11
	RELEASE_5_3_0:1.9
	RELEASE_4_10_0:1.9
	RELEASE_5_2_1:1.9
	RELEASE_5_2_0:1.9
	RELEASE_4_9_0:1.8
	RELEASE_5_1_0:1.7
	RELEASE_4_8_0:1.7
	RELEASE_5_0_0:1.7
	RELEASE_4_7_0:1.6
	RELEASE_4_6_2:1.3
	RELEASE_4_6_1:1.3
	RELEASE_4_6_0:1.3
	RELEASE_5_0_DP1:1.2;
locks; strict;
comment	@# @;


1.14
date	2006.04.25.14.03.20;	author vd;	state dead;
branches;
next	1.13;

1.13
date	2005.06.11.19.40.37;	author trevor;	state Exp;
branches;
next	1.12;

1.12
date	2005.01.13.05.45.22;	author trevor;	state Exp;
branches;
next	1.11;

1.11
date	2004.11.28.23.38.43;	author trevor;	state Exp;
branches;
next	1.10;

1.10
date	2004.11.28.23.31.07;	author trevor;	state dead;
branches;
next	1.9;

1.9
date	2003.11.19.00.04.50;	author trevor;	state Exp;
branches;
next	1.8;

1.8
date	2003.07.04.18.21.45;	author trevor;	state Exp;
branches;
next	1.7;

1.7
date	2002.10.21.00.43.59;	author trevor;	state Exp;
branches;
next	1.6;

1.6
date	2002.08.28.02.16.50;	author trevor;	state Exp;
branches;
next	1.5;

1.5
date	2002.06.11.23.57.21;	author trevor;	state Exp;
branches;
next	1.4;

1.4
date	2002.06.05.22.24.14;	author trevor;	state Exp;
branches;
next	1.3;

1.3
date	2002.05.09.00.03.03;	author trevor;	state Exp;
branches;
next	1.2;

1.2
date	2002.03.12.10.04.32;	author trevor;	state Exp;
branches;
next	1.1;

1.1
date	2002.03.09.08.37.37;	author trevor;	state Exp;
branches;
next	;


desc
@@


1.14
log
@* Bring to a structure, similar to those of www/linux-firefox and
  www/linux-seamonkey
* Give maintainership to submitter

PR:		ports/96238
Submitted by:	Andrew Pantyukhin <infofarmer@@gmail.com>
@
text
@#!/bin/sh
#
# $FreeBSD: ports/www/linux-mozilla/scripts/configure,v 1.13 2005/06/11 19:40:37 trevor Exp $

echo ${WRKSRC}/components.conf
if [ -f ${WRKSRC}/components.conf ]; then
	exit
fi

tempfile=`/usr/bin/mktemp -t checklist`

echo "browser deflenus langenus psm regus xpcom" > /tmp/checklist.tmp.$$;

/usr/bin/dialog --title "Mozilla component selection" --clear \
	--checklist "\n\
Choose which components of Mozilla to download and install. \n\
Press the space bar to toggle selections." -1 -1 6 \
"chatzilla"	"IRC client (164 kB)"					ON \
"inspector"	"DOM inspector (128 kB)"				ON \
"mail"		"mail and news client (1896 kB)"			ON \
"spellcheck"	"Spelling checker for mail and news (280 kB)"		ON \
"venkman"	"JavaScript debugger (212 kB)"				ON \
2>> /tmp/checklist.tmp.$$

retval=$?

case $retval in
	1)	echo "Cancel pressed."
		exit 1
	;;
esac

choice=`cat /tmp/checklist.tmp.$$`
rm -f /tmp/checklist.tmp.$$

echo "$choice"
echo "$choice" \
	| sed -e "s/\"//g" \
	| sort -u \
	| sed -e "s/ /.xpi /g" \
	| sed -e "s/$/.xpi/g" \
	| perl -pi -e "s/ /\n/g" \
	> ${WRKSRC}/components.conf

echo "* Your choices are saved.  You must run the \"make\" command again to"
echo "* complete the build.  Ignore the \"Error code 1\" below."
exit 1
@


1.13
log
@Security update to 1.7.8.
@
text
@d3 1
a3 1
# $FreeBSD: ports/www/linux-mozilla/scripts/configure,v 1.12 2005/01/13 05:45:22 trevor Exp $
@


1.12
log
@update to 1.7.5 to avoid NNTP security bug:
<URL:http://www.isec.pl/vulnerabilities/isec-0020-mozilla.txt>
<URL:https://bugzilla.mozilla.org/show_bug.cgi?id=264388>
@
text
@d3 1
a3 1
# $FreeBSD: ports/www/linux-mozilla/scripts/configure,v 1.11 2004/11/28 23:38:43 trevor Exp $
d18 5
a22 5
"chatzilla"	"IRC client (160 kB)"					ON \
"inspector"	"DOM inspector (124 kB)"				ON \
"mail"		"mail and news client (1920 kB)"			ON \
"spellcheck"	"Spelling checker for mail and news (304 kB)"		ON \
"venkman"	"JavaScript debugger (224 kB)"				ON \
@


1.11
log
@I removed this file by mistake.
@
text
@d3 1
a3 1
# $FreeBSD: ports/www/linux-mozilla/scripts/configure,v 1.9 2003/11/19 00:04:50 trevor Exp $
d20 1
a20 1
"mail"		"mail and news client (1904 kB)"			ON \
@


1.10
log
@Update to 1.7.3.  Make deflenus and psm components mandatory.  Add
choices for Chatzilla and the spell-checker.
@
text
@d12 1
a12 1
echo "browser langenus regus xpcom" > /tmp/checklist.tmp.$$;
d18 1
a18 1
"deflenus"	"American English profile defaults (8 kB)"		ON \
d20 2
a21 3
"mail"		"Mozilla Mail and News (1968 kB)"			ON \
"psm"		"Personal Security Manager--recommended (816 kB)"	ON \
"talkback"	"sends crash logs to Mozilla staff (832 kB)"		ON \
@


1.9
log
@Update to 1.5.
@
text
@d3 1
a3 1
# $FreeBSD: ports/www/linux-mozilla/scripts/configure,v 1.8 2003/07/04 18:21:45 trevor Exp $
@


1.8
log
@Update to 1.4.

Change the configuration process, so that extraneous files are not
downloaded.
@
text
@d3 1
a3 1
# $FreeBSD: ports/www/linux-mozilla/scripts/configure,v 1.7 2002/10/21 00:43:59 trevor Exp $
d19 3
a21 3
"inspector"	"DOM inspector (154 kB)"				ON \
"mail"		"Mozilla Mail and News (1808 kB)"			ON \
"psm"		"Personal Security Manager--recommended (768 kB)"	ON \
@


1.7
log
@prettify after removal of Chatzilla
@
text
@d3 1
a3 1
# $FreeBSD: ports/www/linux-mozilla/scripts/configure,v 1.6 2002/08/28 02:16:50 trevor Exp $
d19 2
a20 2
"inspector"	"DOM inspector (240 kB)"				ON \
"mail"		"Mozilla Mail and News (1824 kB)"			ON \
d23 1
a23 1
"venkman"	"JavaScript debugger (256 kB)"				ON \
d45 4
@


1.6
log
@Update to 1.1, which no longer has the "huge fonts" security bug.
@
text
@d3 1
a3 1
# $FreeBSD: ports/www/linux-mozilla/scripts/configure,v 1.5 2002/06/11 23:57:21 trevor Exp $
d17 1
a17 1
Press the space bar to toggle selections." -1 -1 7 \
@


1.5
log
@Disable Chatzilla once again.  My earlier testing was not thorough
enough, and I have found that the security bug reported by Thor
Larholm on Bugtraq is still present.

security officer ticket:  17
@
text
@d3 1
a3 1
# $FreeBSD: ports/www/linux-mozilla/scripts/configure,v 1.4 2002/06/05 22:24:14 trevor Exp $
d20 2
a21 2
"mail"		"Mozilla Mail and News (1856 kB)"			ON \
"psm"		"Personal Security Manager--recommended (784 kB)"	ON \
d23 1
a23 1
"venkman"	"JavaScript debugger (150 kB)"				ON \
@


1.4
log
@           __   ___      __
Update to /_ | / _ \    / /
           | || | | |  / /
           | || | | | / /
           | || |_| |/_/
           |_(_)___/(_)

Have linkfarm script look for plugins in the new language-specific
Netscape 6 directories.

Make venkman optional.

Enable Chatzilla.
Reviewed by:	http://jscript.dk/2002/4/moz1rc1tests/ircbufferoverrun.html
@
text
@d3 1
a3 1
# $FreeBSD: ports/www/linux-mozilla/scripts/configure,v 1.3 2002/05/09 00:03:03 trevor Exp $
a17 1
"chatzilla"	"IRC client (104 kB)"					ON \
@


1.3
log
@Update to a nightly build.  Using the GreyMagic Mozilla Disk Explorer
and c't Browsercheck, I am no longer able to activate bug #141061
("XMLHttpRequest allows reading of local files").

In message <52D05AEFB0D95C4BAD179A054A54CDEB1BD37A@@mailsrv1.jubii.dk>
on Bugtraq, Thor Larholm described a buffer overflow in Chatzilla.
I confirmed the bug with this version of Mozilla/Chatzilla.  Therefore
the chatzilla component is now omitted from batch builds and defaults
to being omitted from interactive ones too (XFree86 did crash
once--perhaps taken down by Mozilla--when I was viewing Thor's
demonstration page for the bug, but a second visit was uneventful).
I added a warning in capitals for interactive users.  I was unable
to reproduce the other bug reported by Thor in the same message.
@
text
@d3 1
a3 1
# $FreeBSD: ports/www/linux-mozilla/scripts/configure,v 1.2 2002/03/12 10:04:32 trevor Exp $
d12 1
a12 1
echo "browser langenus regus venkman xpcom" > /tmp/checklist.tmp.$$;
d18 1
a18 1
"chatzilla"	"IRC client (102 kB) DO NOT USE:  HAS SECURITY BUG!"	OFF \
d21 2
a22 2
"mail"		"Mozilla Mail and News (1728 kB)"			ON \
"psm"		"Personal Security Manager--recommended (656 kB)"	ON \
@


1.2
log
@Update to "two nines" version.  This version has MathML, TrueType,
and SOAP.  Add inspector component.  Make venkman component optional.

new version noticed by:  Muhannad Asfour <muhannad07@@cogeco.ca>
@
text
@d3 1
a3 1
# $FreeBSD: ports/www/linux-mozilla/scripts/configure,v 1.1 2002/03/09 08:37:37 trevor Exp $
d18 1
a18 1
"chatzilla"	"IRC client (102 kB)"					ON \
@


1.1
log
@Add a selection dialog from which the user can disable the chatzilla,
deflenus, mail, psm and talkback components.  This is based on the
recent work on the www/linux-netscape6 port.  When psm is omitted,
Mozilla still shows the Privacy and Security menus, and complains
about not being able to load libpipboot.so.  When talkback is
omitted, Mozilla makes noise about the missing libqfaservices.so.
@
text
@d3 1
a3 1
# $FreeBSD$
d17 1
a17 1
Press the space bar to toggle selections." -1 -1 5 \
d20 1
d24 1
@

