head	1.6;
access;
symbols
	RELEASE_5_3_0:1.5
	RELEASE_4_10_0:1.5
	RELEASE_5_2_1:1.5
	RELEASE_5_2_0:1.5
	RELEASE_4_9_0:1.5
	old_RELEASE_5_1_0:1.3
	old_RELEASE_4_8_0:1.3
	old_RELEASE_5_0_0:1.3
	old_old_RELEASE_4_7_0:1.2
	old_old_RELEASE_4_6_2:1.2
	old_old_RELEASE_4_6_1:1.2
	old_old_RELEASE_4_6_0:1.2
	old_old_RELEASE_5_0_DP1:1.1;
locks; strict;
comment	@# @;


1.6
date	2004.12.19.02.15.23;	author linimon;	state dead;
branches;
next	1.5;

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

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

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

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

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


desc
@@


1.6
log
@As previously announced, remove localized versions of Netscape which
remained at 7.0 or 7.1.  The www/netscape7 version, at 7.2, is apparently
not affected.
@
text
@#!/bin/sh
#
# $FreeBSD: ports/portuguese/netscape7/scripts/configure,v 1.5 2003/07/03 09:55:03 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 11 \
"browser"	"browser"				ON \
"deflptbr"	"Brazilian Portuguese profile defaults"	ON \
"flash"		"Flash plugin"				ON \
"langptbr"	"Brazilian Portuguese language pack"	ON \
"mail"		"e-mail and news"			ON \
"regbr"		"regional settings for Brazil"		ON \
"spellchecker"	"spell-checker"				ON \
"talkback"	"sends bug reports to Netscape staff"	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/AIM 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.5
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 1
# $FreeBSD: ports/portuguese/netscape7/scripts/configure,v 1.4 2003/06/02 19:33:15 trevor Exp $
@


1.4
log
@new port of the Brazilian Portuguese edition of Netscape 7
@
text
@d3 1
a3 1
# $FreeBSD$
a20 1
"jre"		"Java plugin"				ON \
d54 4
@


1.3
log
@I remove the linux-netscape6 ports from ports/french, ports/german,
ports/japanese and ports/www.  In their place, I add corresponding netscape7
ports, after repo copies.  Now ports/www/netscape7 will no longer be a slave
port.  Instead it is the master port for the others.

The French, German, and Japanese ports now have AIM, because I had trouble
getting them to work without it.

I add a security warning to all these ports, about the "forward referrer" bug
(Mozilla bug 145579).
@
text
@d3 1
a3 1
# $FreeBSD: ports/german/netscape7/scripts/configure,v 1.2 2002/05/23 13:00:10 trevor Exp $
d14 1
a14 1
/usr/bin/dialog --title "Netscape 6 component selection" --clear \
d16 1
a16 1
Choose components of Netscape 6 to download and install. \n\
d19 1
a19 1
"defldede"	"German profile defaults"		ON \
d21 2
a22 2
"jre"		"Java plugin (requires linux_base-6"	ON \
"langdede"	"German language pack"			ON \
d24 1
a24 2
"regde"		"regional settings for Germany"		ON \
"regfr"		"regional settings for France"		ON \
@


1.2
log
@Remove some unused code.
@
text
@d3 1
a3 1
# $FreeBSD: ports/german/linux-netscape6/scripts/configure,v 1.1 2002/03/04 06:29:22 trevor Exp $
d18 10
a27 11
"browser"	"browser (6576 kB)"				ON \
"defldede"	"German profile defaults (26 kB)"		ON \
"flash"		"Flash plugin (576 kB)"				ON \
"jre"		"Java plugin (13808 kB)"			ON \
"langdede"	"German language pack (592 kB)"			ON \
"mail"		"e-mail and news (1824 kB)"			ON \
"regde"		"regional settings for Germany (56 kB)"		ON \
"regfr"		"regional settings for France (52 kB)"		ON \
"regus"		"regional settings for the USA (56 kB)"		ON \
"spellchecker"	"spell-checker (1040 kB)"			ON \
"talkback"	"sends bug reports to Netscape staff (832 kB)"	ON \
d49 1
a49 1
	| sed -e "s/browser/browser psm xpcom/g" \
@


1.1
log
@Add new port of Netscape 6 (Linux binary) with German localization.

Submitted by:	Thomas E. Zander <riggs@@hadiko.de>
@
text
@d3 1
a3 1
# $FreeBSD$
d12 1
a12 7
if [ "${BATCH}" ]; then
	if [ "${NETSCAPE6_OPTIONS}" ]; then
		set ${NETSCAPE6_OPTIONS}
	else
		set \"zlib\" \"MySQL\"
	fi
else
@

