freebsd-ports/french/netscape7/scripts/configure
Trevor Johnson b2b32546c4 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.
2003-07-03 09:55:03 +00:00

60 lines
1.5 KiB
Bash

#!/bin/sh
#
# $FreeBSD$
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 6 Sélection composants" --clear \
--checklist "\n\
Choisissez les composants que vous souhaitez télécharger et installer. \n\
Appuyez sur la barre d'espace pour basculer entre les états \n\
sélectionné et désélectionné." -1 -1 10 \
"browser" "navigateur" ON \
"deflfrfr" "profil français par défaut" ON \
"flash" "plugin Flash" ON \
"langfrfr" "locale français" ON \
"mail" "lecteur de courrier et de nouvelles" ON \
"regfr" "configurations régionales pour la France" ON \
"regus" "configurations régionales pour les Etats-Unis" ON \
"spellchecker" "vérificateur d'orthographe" ON \
"talkback" "analyseur de problèmes (envoi à Netscape)" 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 "Aucune sélection"
exit 1;
fi
;;
1) echo "Annulation demandée."
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 "Maintenant vous devez courir <<make>> encore."
echo "Veuillez ignorer le message <<Error code 1>>."
exit 1