HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Configuration issues for Class 1 modems, and the newsecurity patches



On Sun, 15 Nov 1998, Nico Kadel-Garcia wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> 
> On Sun, 15 Nov 1998, Tim Rice wrote:
> 
> > [snip]
> > > 
> > > Also: the new security patches for faxsetup, recvstats, probemodem,
> > > etc. use the "noclobber" shell option. This option is unfortunately a
> > > *BASH* option, and is not available under the older SunOS shell. I'm
> > > not quite sure what to do about that....
> > 
> > noclober seems to be in ksh.
> > All my SCO Unix and UnixWare platforms seem to run them under
> > ksh (#! /bin/ksh).
> > Do the older SunOS's not have ksh?
> 
> SunOS does not come with ksh. I'd *REALLY* rather not have to
> add a new shell to my machines to make HylaFAX work: can we set up
> the equivalent of the "noclobber" functionality by other means?

I suspect that if you want the "noclobber" functionality on SunOS
you are going to have to use a different shell.

The real question is how do we get the security patches in the next
patch level without breaking things.

One option would be to leave out the set -o noclobber and set +o noclobber
lines.

Another option would to have configure add them in if supported.
So faxsetup.sh.in would look something like
....
        while true; do
            if [ "$ok" != skip ]; then
                test -f $PROMPTS || (
               @MINUS_NOCLOBBER@
                > $PROMPTS || exit 1
               @PLUS_NOCLOBBER@
                compilePrompts>$PROMPTS<<EOF
....

and then at a minuium have two new entries in config.site.
#MINUS_NOCLOBBER=set -o noclobber
#PLUS_NOCLOBBER=set +o noclobber

Anyone want to write a script to test noclobber at configure time.
Be sure to use whatever shell is selected buy configure. $SCRIPT_SH


> 
> Solaris is its own story....
> 
> -----BEGIN PGP SIGNATURE-----
> Version: 2.6.2
> 
> iQCVAwUBNk8tOD/+ItycgIJRAQHchwP+OUBS6jYttm5pbHg70Wl3YxatDWg1ODDd
> gLqhYndoMguCHeU4ZxsPDk9b3xawnxz8eJQlfiJtbdbaYVVaNBxKVlwPPXFLXrdF
> HY+OfvLeEQYJD2hlmjvYt4typV3bErX4ptU/t/oif15hwTteFU58YfON37epTotK
> ceAJPOBIRyc=
> =rWl/
> -----END PGP SIGNATURE-----
> 
> 

-- 
Tim Rice			Multitalents	(707) 887-1469 (voice)
tim@trr.metro.net




Project hosted by iFAX Solutions