head	1.9;
access;
symbols
	RELEASE_5_4_0:1.8
	RELEASE_4_11_0:1.8
	RELEASE_5_3_0:1.7
	RELEASE_4_10_0:1.7
	RELEASE_5_2_1:1.7
	RELEASE_5_2_0:1.7
	RELEASE_4_9_0:1.7
	RELEASE_5_1_0:1.5
	RELEASE_4_8_0:1.5
	RELEASE_5_0_0:1.5
	RELEASE_4_7_0:1.5
	RELEASE_4_6_2:1.4
	RELEASE_4_6_1:1.4
	RELEASE_4_6_0:1.4
	old_RELEASE_5_0_DP1:1.2;
locks; strict;
comment	@# @;


1.9
date	2005.06.10.09.08.32;	author trevor;	state dead;
branches;
next	1.8;

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

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

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

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

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

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

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

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


desc
@@


1.9
log
@Remove the netscape7 port due to multiple security bugs.
Netscape 8.0 is available only for Windows.
@
text
@#!/bin/sh
#
# $FreeBSD: ports/www/netscape7/scripts/configure,v 1.8 2004/11/09 10:13:39 trevor Exp $

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

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

if [ -z "${BATCH}" ]; then

/usr/bin/dialog --title "Netscape 7 component selection" --clear \
	--checklist "\n\
Choose components of Netscape 7 to download and install. \n\
Press the space bar to toggle selections." -1 -1 12 \
"browser"	"Web browser (10288 kB)"			ON \
"AIM"		"AOL instant messenger (1504 kB)"		ON \
"chatzilla"	"Chatzilla IRC client (160 kB)"			ON \
"deflenus"	"American English profile defaults (28 kB)"	ON \
"flash"		"Flash plugin (784 kB)"				ON \
"langenus"	"American English language pack (736 kB)"	ON \
"mail"		"e-mail and news--requires browser (2288 kB)"	ON \
"regus"		"regional settings for the USA (30 kB)"		ON \
"spellchecker"	"spell-checker (544 kB)"			ON \
"inspector"	"DOM inspector (124 kB)"			ON \
"venkman"	"JavaScript debugger (224 kB)"			ON \
2> /tmp/checklist.tmp.$$

retval=$?

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

case $retval in
	0)	if [ -z "$choice" ]; then
			echo "Nothing selected"
			exit 1;
	fi
	;;
	1)	echo "Cancel pressed."
		exit 1
	;;
esac

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

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.8
log
@Update the English-language Netscape to 7.2.  Add a security warning
about cross-site scripting.
@
text
@d3 1
a3 1
# $FreeBSD: ports/www/netscape7/scripts/configure,v 1.7 2003/08/14 03:40:00 trevor Exp $
@


1.7
log
@Un-hork ID tag.

Submitted by:  John E. Hein of timing.com
@
text
@d3 1
a3 1
# $FreeBSD$
d18 8
a25 7
"browser"	"Web browser (10016 kB)"			ON \
"deflenus"	"American English profile defaults (26 kB)"	ON \
"flash"		"Flash plugin (576 kB)"				ON \
"langenus"	"American English language pack (864 kB)"	ON \
"mail"		"e-mail and news--requires browser (2064 kB)"	ON \
"regca"		"regional settings for Canada (58 kB)"		ON \
"regus"		"regional settings for the USA (60 kB)"		ON \
d27 1
a27 2
"talkback"	"sends bug reports to Netscape staff (832 kB)"	ON \
"inspector"	"DOM inspector (154 kB)"			ON \
@


1.6
log
@Security fix:  update to the latest versions:  7.1 for American
English; and 7.02 for French, German, Japanese, and Brazilian
Portuguese.  These are reportedly free of the onunload referrer bug
(#145579 in bugzilla).

The Sun Java plugin is no longer available from the same places.
AIM is needed by the 7.02 versions.  The DOM inspector and "venkman"
JavaScript debugger are available for 7.1.

Compress generated files with bzip2; omit "linux-" from their names.

The RDF files provided by the ports are no longer needed.

Update references to Netscape 6.

Run chmod to fix permissions on extracted files (for the Portuguese
slave port).

Remove unneeded XXXchecksum target.

Change the configuration process, so that extraneous files are not
downloaded.  This resolves PR 44101, submitted by Fernan Aguero.
@
text
@d3 1
a3 2
# $FreeBSD: ports/www/netscape7/scripts/configure,v 1.3 2002/05/23 13:00:10 tre
vor Exp $
@


1.5
log
@security fix:  update Netscape 7 to 7.0 (Netscape 6.2.3 ports remain
forbidden)
@
text
@d17 1
a17 1
Choose components of Netscape 7 to install. \n\
d19 1
a19 1
"browser"	"Web browser (8448 kB)"				ON \
d22 2
a23 3
"jre"		"Java plugin (28592 kB) needs linux_base-6"	OFF \
"langenus"	"American English language pack (800 kB)"	ON \
"mail"		"e-mail and news (2064 kB)"			ON \
d28 2
d58 4
@


1.4
log
@Add new port of Netscape 7 Preview Release 1 after repo copy.
@
text
@d17 1
a17 1
Choose components of Netscape 7 to download and install. \n\
d19 1
a19 1
"browser"	"Web browser (8208 kB)"				ON \
d22 1
a22 1
"jre"		"Java plugin (28592 kB) DOES NOT WORK"		OFF \
d24 1
a24 1
"mail"		"e-mail and news (2176 kB)"			ON \
d26 1
a26 1
"regus"		"regional settings for the USA (58 kB)"		ON \
@


1.3
log
@Remove some unused code.
@
text
@d3 2
a4 1
# $FreeBSD: ports/www/linux-netscape6/scripts/configure,v 1.2 2002/03/04 06:12:50 trevor Exp $
d15 1
a15 1
/usr/bin/dialog --title "Netscape 6 component selection" --clear \
d17 1
a17 1
Choose components of Netscape 6 to download and install. \n\
d19 1
a19 1
"browser"	"Web browser (6576 kB)"				ON \
d22 5
a26 7
"jre"		"Java plugin (13808 kB)"			ON \
"langenus"	"American English language pack (608 kB)"	ON \
"mail"		"e-mail and news (1824 kB)"			ON \
"regca"		"regional settings for Canada (56 kB)"		ON \
"reges"		"regional settings for Latin America (54 kB)"	ON \
"reggb"		"regional settings for the UK (58 kB)"		ON \
"regus"		"regional settings for the USA (56 kB)"		ON \
@


1.2
log
@Install the browser component if the mail component is requested.
Install the psm and xpcom components if and only if the browser
component is to be installed.

Describe the talkback component.
@
text
@d3 1
a3 1
# $FreeBSD: ports/www/linux-netscape6/scripts/configure,v 1.1 2002/01/26 11:53:00 trevor Exp $
d12 1
a12 7
if [ "${BATCH}" ]; then
	if [ "${NETSCAPE6_OPTIONS}" ]; then
		set ${NETSCAPE6_OPTIONS}
	else
		set \"zlib\" \"MySQL\"
	fi
else
@


1.1
log
@Add dialog(1) technology, cribbed from the ghostscript-gnu and
mod_php4 ports.
@
text
@d3 1
a3 1
# $FreeBSD$
d23 2
a24 2
Press the space bar to toggle selections." -1 -1 16 \
"browser"	"browser (6576 kB)"				ON \
a29 1
"psm"		"Personal Security Manager (592 kB)"		ON \
d35 1
a35 2
"talkback"	"talkback (832 kB)"				ON \
"xpcom"		"xpcom (720 kB)"				ON \
d56 3
@

