freebsd-ports/www/linux-mozilla/scripts/configure
Trevor Johnson ffaf47260d 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.
2002-05-09 00:03:03 +00:00

45 lines
1.1 KiB
Bash

#!/bin/sh
#
# $FreeBSD$
echo ${WRKSRC}/components.conf
if [ -f ${WRKSRC}/components.conf ]; then
exit
fi
tempfile=`/usr/bin/mktemp -t checklist`
echo "browser langenus regus venkman 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 7 \
"chatzilla" "IRC client (102 kB) DO NOT USE: HAS SECURITY BUG!" OFF \
"deflenus" "American English profile defaults (8 kB)" ON \
"inspector" "DOM inspector (240 kB)" ON \
"mail" "Mozilla Mail and News (1728 kB)" ON \
"psm" "Personal Security Manager--recommended (656 kB)" ON \
"talkback" "sends crash logs to Mozilla staff (832 kB)" ON \
"venkman" "JavaScript debugger (150 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