home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-08-29 | 34.8 KB | 1,336 lines |
- Newsgroups: comp.sources.misc
- From: Raphael Manfredi <ram@acri.fr>
- Subject: v39i058: dist-3.0 - Configure script generator and related tools, Patch07
- Message-ID: <1993Aug29.163251.24141@sparky.sterling.com>
- X-Md4-Signature: 24935f36e755c081d51d008219c5277b
- Sender: kent@sparky.sterling.com (Kent Landfield)
- Organization: Advanced Computer Research Institute, Lyon, France
- Date: Sun, 29 Aug 1993 16:32:51 GMT
- Approved: kent@sparky.sterling.com
-
- Submitted-by: Raphael Manfredi <ram@acri.fr>
- Posting-number: Volume 39, Issue 58
- Archive-name: dist-3.0/patch07
- Environment: UNIX, Perl, RCS
- Patch-To: dist-3.0: Volume 39, Issue 5-32
-
- [The latest patch for dist version 3.0 is #7.]
-
- System: dist version 3.0
- Patch #: 7
- Priority: MEDIUM
- Subject: updated Configure with metaconfig 3.0 PL6-7
- Subject: added support for OSF/1 machines
- Subject: not all 'test' programs support the -x option
- Subject: now prompts user for its e-mail address
- Subject: no longer silent when mail has been sent
- Subject: now sticks to the question when no default and empty answer
- Subject: added entry for /usr/shlib/libc.so (OSF/1 machines)
- Subject: random cleanup
- Subject: two files were wrongly appended to patsend instead
- Subject: forgot to unlink temporary file
- Date: Fri Aug 27 16:41:14 MET DST 1993
- From: Raphael Manfredi <ram@acri.fr>
-
- Description:
- Updated Configure with metaconfig 3.0 PL6-7, mainly to propagate
- my changes to MailAuthor.U.
-
- Added support for OSF/1 machines. No wonder, I am using a DEC
- AXP running DEC OSF/1.
-
- Not all 'test' programs support the -x option, so I changed Head.U
- to use 'test -f' on /bin/ksh instead of 'test -x'.
-
- MailAuthor.U now prompts user for its e-mail address and is
- no longer silent when mail has been sent
-
- Myread now sticks to the question when no default and empty answer.
-
- Added entry for /usr/shlib/libc.so (OSF/1 machines).
-
- Random cleanup in manual page for pat.
-
- Two files were wrongly appended to patsend instead of patnotify,
- hence causing it to fail when editing the address list...
-
- Forgot to unlink temporary file in the listedit routine.
-
-
- Fix: From rn, say "| patch -p -N -d DIR", where DIR is your dist source
- directory. Outside of rn, say "cd DIR; patch -p -N <thisarticle".
- If you don't have the patch program, apply the following by hand,
- or get patch (version 2.0, latest patchlevel).
-
- After patching:
- Configure -ders
- make
- make install
- make install.man
-
- If patch indicates that patchlevel is the wrong version, you may need
- to apply one or more previous patches, or the patch may already
- have been applied. See the patchlevel.h file to find out what has or
- has not been applied. In any event, don't continue with the patch.
-
- If you are missing previous patches they can be obtained from me:
-
- Raphael Manfredi <ram@acri.fr>
-
- If you send a mail message of the following form it will greatly speed
- processing:
-
- Subject: Command
- @SH mailpatch PATH dist 3.0 LIST
- ^ note the c
-
- where PATH is a return path FROM ME TO YOU either in Internet notation,
- or in bang notation from some well-known host, and LIST is the number
- of one or more patches you need, separated by spaces, commas, and/or
- hyphens. Saying 35- says everything from 35 to the end.
-
- To get some more detailed instructions, send me the following mail:
-
- Subject: Command
- @SH mailhelp PATH
-
-
- Index: patchlevel.h
- Prereq: 6
- 4c4
- < #define PATCHLEVEL 6
- ---
- > #define PATCHLEVEL 7
-
- Index: Configure
- Prereq: 3.0
- *** Configure.old Fri Aug 27 16:41:00 1993
- --- Configure Fri Aug 27 16:41:03 1993
- ***************
- *** 18,26 ****
- # archive site. Check with Archie if you don't know where that can be.)
- #
-
- ! # $Id: Configure,v 3.0 1993/08/18 12:03:51 ram Exp $
- #
- ! # Generated on Wed Aug 18 11:02:42 MET DST 1993 [metaconfig 3.0 PL0]
-
- cat >/tmp/c1$$ <<EOF
- ARGGGHHHH!!!!!
- --- 18,26 ----
- # archive site. Check with Archie if you don't know where that can be.)
- #
-
- ! # $Id: Configure,v 3.0.1.1 1993/08/27 14:36:14 ram Exp $
- #
- ! # Generated on Fri Aug 27 16:25:17 MET DST 1993 [metaconfig 3.0 PL6]
-
- cat >/tmp/c1$$ <<EOF
- ARGGGHHHH!!!!!
- ***************
- *** 60,66 ****
- fi
-
- : On HP-UX, large Configure scripts may exercise a bug in /bin/sh
- ! if test -f /hp-ux -a -x /bin/ksh; then
- if (alias -x) >/dev/null 2>&1; then
- : already under /bin/ksh
- else
- --- 60,66 ----
- fi
-
- : On HP-UX, large Configure scripts may exercise a bug in /bin/sh
- ! if test -f /hp-ux -a -f /bin/ksh; then
- if (alias -x) >/dev/null 2>&1; then
- : already under /bin/ksh
- else
- ***************
- *** 151,156 ****
- --- 151,157 ----
- zcat=''
- mailpatches=''
- notifypatches=''
- + usermail=''
- hint=''
- myuname=''
- Author=''
- ***************
- *** 204,216 ****
- startperl=''
- startsh=''
- sysman=''
- - ccflags=''
- - cppflags=''
- - i_sysfile=''
- - i_sysselct=''
- - i_whoami=''
- - large=''
- - libs=''
- CONFIG=''
-
- : script used to extract .SH files with variable substitutions
- --- 205,210 ----
- ***************
- *** 332,338 ****
- -s) shift; silent=true;;
- -E) shift; alldone=exit;;
- -S) shift; extractsh=true;;
- ! -V) echo "Configure generated by metaconfig 3.0 PL0." >&2
- exit 0;;
- --) break;;
- -*) echo "Configure: unknown option $1" >&2; shift; error=true;;
- --- 326,332 ----
- -s) shift; silent=true;;
- -E) shift; alldone=exit;;
- -S) shift; extractsh=true;;
- ! -V) echo "Configure generated by metaconfig 3.0 PL6." >&2
- exit 0;;
- --) break;;
- -*) echo "Configure: unknown option $1" >&2; shift; error=true;;
- ***************
- *** 569,574 ****
- --- 563,574 ----
- $myecho
- ;;
- esac
- + case "\$ans\$xxxm" in
- + '')
- + ans=!
- + $myecho
- + ;;
- + esac
- done
- case "\$ans" in
- '') ans="\$xxxm";;
- ***************
- *** 1408,1421 ****
- : make some quick guesses about what we are up against
- echo " "
- $echo $n "Hmm... $c"
- $cat /usr/include/signal.h /usr/include/sys/signal.h >foo 2>/dev/null
- ! if test `echo abc | tr a-z A-Z` = Abc ; then
- xxx=`./loc addbib blurfl $pth`
- if $test -f $xxx; then
- echo "Looks kind of like a USG system with BSD features, but we'll see..."
- echo exit 0 >bsd
- echo exit 0 >usg
- - echo exit 1 >v7
- else
- if $contains SIGTSTP foo >/dev/null 2>&1 ; then
- echo "Looks kind of like an extended USG system, but we'll see..."
- --- 1408,1430 ----
- : make some quick guesses about what we are up against
- echo " "
- $echo $n "Hmm... $c"
- + echo exit 1 >bsd
- + echo exit 1 >usg
- + echo exit 1 >v7
- + echo exit 1 >osf1
- + echo exit 1 >eunice
- + echo exit 1 >xenix
- + echo exit 1 >venix
- $cat /usr/include/signal.h /usr/include/sys/signal.h >foo 2>/dev/null
- ! if test -f /osf_boot || $contains 'OSF/1' /usr/include/ctype.h; then
- ! echo "Looks kind of like an OSF/1 system, but we'll see..."
- ! echo exit 0 >osf1
- ! elif test `echo abc | tr a-z A-Z` = Abc ; then
- xxx=`./loc addbib blurfl $pth`
- if $test -f $xxx; then
- echo "Looks kind of like a USG system with BSD features, but we'll see..."
- echo exit 0 >bsd
- echo exit 0 >usg
- else
- if $contains SIGTSTP foo >/dev/null 2>&1 ; then
- echo "Looks kind of like an extended USG system, but we'll see..."
- ***************
- *** 1422,1430 ****
- else
- echo "Looks kind of like a USG system, but we'll see..."
- fi
- - echo exit 1 >bsd
- echo exit 0 >usg
- - echo exit 1 >v7
- fi
- d_bsd="$undef"
- elif $contains SIGTSTP foo >/dev/null 2>&1 ; then
- --- 1431,1437 ----
- ***************
- *** 1431,1443 ****
- echo "Looks kind of like a BSD system, but we'll see..."
- d_bsd="$define"
- echo exit 0 >bsd
- - echo exit 1 >usg
- - echo exit 1 >v7
- else
- echo "Looks kind of like a Version 7 system, but we'll see..."
- d_bsd="$undef"
- - echo exit 1 >bsd
- - echo exit 1 >usg
- echo exit 0 >v7
- fi
- case "$eunicefix" in
- --- 1438,1446 ----
- ***************
- *** 1446,1452 ****
- There is, however, a strange, musty smell in the air that reminds me of
- something...hmm...yes...I've got it...there's a VMS nearby, or I'm a Blit.
- EOI
- ! echo "exit 0" >eunice
- d_eunice="$define"
- : it so happens the Eunice I know will not run shell scripts in Unix format
- ;;
- --- 1449,1455 ----
- There is, however, a strange, musty smell in the air that reminds me of
- something...hmm...yes...I've got it...there's a VMS nearby, or I'm a Blit.
- EOI
- ! echo exit 0 >eunice
- d_eunice="$define"
- : it so happens the Eunice I know will not run shell scripts in Unix format
- ;;
- ***************
- *** 1454,1470 ****
- echo " "
- echo "Congratulations. You aren't running Eunice."
- d_eunice="$undef"
- - echo "exit 1" >eunice
- ;;
- esac
- if test -f /xenix; then
- echo "Actually, this looks more like a XENIX system..."
- ! echo "exit 0" >xenix
- d_xenix="$define"
- else
- echo " "
- echo "It's not Xenix..."
- - echo "exit 1" >xenix
- d_xenix="$undef"
- fi
- chmod +x xenix
- --- 1457,1471 ----
- echo " "
- echo "Congratulations. You aren't running Eunice."
- d_eunice="$undef"
- ;;
- esac
- if test -f /xenix; then
- echo "Actually, this looks more like a XENIX system..."
- ! echo exit 0 >xenix
- d_xenix="$define"
- else
- echo " "
- echo "It's not Xenix..."
- d_xenix="$undef"
- fi
- chmod +x xenix
- ***************
- *** 1471,1477 ****
- $eunicefix xenix
- if test -f /venix; then
- echo "Actually, this looks more like a VENIX system..."
- ! echo "exit 0" >venix
- else
- echo " "
- if xenix; then
- --- 1472,1478 ----
- $eunicefix xenix
- if test -f /venix; then
- echo "Actually, this looks more like a VENIX system..."
- ! echo exit 0 >venix
- else
- echo " "
- if xenix; then
- ***************
- *** 1479,1488 ****
- else
- echo "Nor is it Venix..."
- fi
- - echo "exit 1" >venix
- fi
- ! chmod +x bsd usg v7 eunice venix
- ! $eunicefix bsd usg v7 eunice venix
- $rm -f foo
-
- : see if we have to deal with yellow pages, now NIS.
- --- 1480,1488 ----
- else
- echo "Nor is it Venix..."
- fi
- fi
- ! chmod +x bsd usg v7 osf1 eunice xenix venix
- ! $eunicefix bsd usg v7 eunice xenix venix
- $rm -f foo
-
- : see if we have to deal with yellow pages, now NIS.
- ***************
- *** 1876,1929 ****
-
- EOM
- rp='Should I send mail to ram@acri.fr?'
- . ./myread
- case "$ans" in
- [yY]*)
- echo " "
- ! echo "Great!. You cooperation is really appreciated."
- ! echo " "
- ! opt=''
- ! rp='Would you like to have new patches automatically mailed to you?'
- ! case "$mailpatches" in
- ! true) dflt=y;;
- ! *) dflt=n;;
- esac
- . ./myread
- case "$ans" in
- ! [yY]*) opt=' mailpatches'; mailpatches=true;;
- *)
- ! mailpatches=false
- ! rp='Ok, would you like to simply be notified of new patches?'
- ! case "$notifypatches" in
- ! false) dflt=n;;
- ! *) dflt=y;;
- ! esac
- ! . ./myread
- ! echo " "
- ! case "$ans" in
- ! [yY]*) opt=' notifypatches'; notifypatches=true;;
- ! *)
- ! echo "Fine, you will only be registered as a user then."
- ! notifypatches=false
- ! ;;
- ! esac
- ;;
- esac
- ! echo "Sending mail to ram@acri.fr..." >&4
- ! atsh='@SH'
- ! $mailer ram@acri.fr <<EOM >/dev/null 2>&1
- Subject: Command
- Precedence: junk
- To: ram@acri.fr
-
- ! $atsh package - $package $baserev $patchlevel$opt
- EOM
- ! $rm -f ../.config/mailauthor
- ! cp ../patchlevel.h ../.config/mailauthor
- ! ;;
- ! *) echo "Oh well, maybe next time.";;
- esac
- ! fi
-
- : end of configuration questions
- echo " "
- --- 1876,1989 ----
-
- EOM
- rp='Should I send mail to ram@acri.fr?'
- + else
- + status="register yourself as a $package user";
- + case "$mailpatches" in
- + true) status='have patches mailed to you as they are issued';;
- + esac
- + case "$notifypatches" in
- + true) status='be notified when new patches are issued';;
- + esac
- + $cat <<EOM
- +
- + You have already sent the author of $package (ram@acri.fr) a mail to
- + $status. If you wish, you may modify
- + your previous request by sending a new mail with different options.
- +
- + EOM
- + rp='Should I send a status update to ram@acri.fr?'
- + fi
- + . ./myread
- + case "$ans" in
- + [yY]*)
- + echo " "
- + echo "Great!. You cooperation is really appreciated."
- + $cat <<EOM
- +
- + Some sites do not set a proper return address in their outgoing mail,
- + especially when connected to the Internet via UUCP. If the supplied
- + address in the From: header field is wrong, the author won't be able
- + to get back to you, should there be a need to do so.
- +
- + EOM
- + case "$usermail" in
- + '') dflt=y;;
- + *) dflt=n;;
- + esac
- + rp='Would you like to supply the return address yourself?'
- . ./myread
- case "$ans" in
- [yY]*)
- + $cat <<EOM
- +
- + Ok, I need your e-mail address then, something like user@domain.top. If you
- + wish to let the mail transport agent set it for you or do not know what your
- + e-mail address is, use the word "none".
- +
- + EOM
- + case "$usermail" in
- + '-') dflt=none;;
- + '') dflt='';;
- + *) dflt="$usermail";;
- + esac
- + rp='Which return address shall I use?'
- + . ./myread
- + case "$ans" in
- + none) usermail='-';;
- + *) usermail="$ans";;
- + esac
- + ;;
- + esac
- + case "$usermail" in
- + '') usermail='-';;
- + esac
- + echo " "
- + opt=''
- + rp='Would you like to have new patches automatically mailed to you?'
- + case "$mailpatches" in
- + true) dflt=y;;
- + *) dflt=n;;
- + esac
- + . ./myread
- + case "$ans" in
- + [yY]*) opt=' mailpatches'; mailpatches=true;;
- + *)
- + mailpatches=false
- echo " "
- ! rp='Ok, would you like to simply be notified of new patches?'
- ! case "$notifypatches" in
- ! false) dflt=n;;
- ! *) dflt=y;;
- esac
- . ./myread
- + echo " "
- case "$ans" in
- ! [yY]*) opt=' notifypatches'; notifypatches=true;;
- *)
- ! echo "Fine, you will only be registered as a user then."
- ! notifypatches=false
- ;;
- esac
- ! ;;
- ! esac
- ! echo "Sending mail to ram@acri.fr..." >&4
- ! atsh='@SH'
- ! $mailer ram@acri.fr <<EOM >/dev/null 2>&1
- Subject: Command
- Precedence: junk
- To: ram@acri.fr
-
- ! $atsh package $usermail $package $baserev $patchlevel$opt
- EOM
- ! $rm -f ../.config/mailauthor
- ! cp ../patchlevel.h ../.config/mailauthor
- ! ;;
- ! *)
- ! case "$dflt" in
- ! "y") echo "Oh well, maybe next time.";;
- esac
- ! ;;
- ! esac
-
- : end of configuration questions
- echo " "
- ***************
- *** 2034,2039 ****
- --- 2094,2100 ----
- zcat='$zcat'
- mailpatches='$mailpatches'
- notifypatches='$notifypatches'
- + usermail='$usermail'
- hint='$hint'
- myuname='$myuname'
- Author='$Author'
-
- Index: mcon/U/MailAuthor.U
- Prereq: 3.0
- *** mcon/U/MailAuthor.U.old Fri Aug 27 16:41:06 1993
- --- mcon/U/MailAuthor.U Fri Aug 27 16:41:06 1993
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: MailAuthor.U,v 3.0 1993/08/18 12:05:06 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: MailAuthor.U,v 3.0.1.1 1993/08/27 14:38:38 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- ***************
- *** 11,16 ****
- --- 11,20 ----
- ?RCS: Original Author: Graham Stoney <greyham@research.canon.oz.au>
- ?RCS:
- ?RCS: $Log: MailAuthor.U,v $
- + ?RCS: Revision 3.0.1.1 1993/08/27 14:38:38 ram
- + ?RCS: patch7: now prompts user for its e-mail address
- + ?RCS: patch7: no longer silent when mail has been sent
- + ?RCS:
- ?RCS: Revision 3.0 1993/08/18 12:05:06 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ***************
- *** 23,30 ****
- ?X: when their package is out of date, and to allow users to be notified of
- ?X: any future patches.
- ?X:
- ! ?MAKE:MailAuthor mailpatches notifypatches: test cat mailer package Myread \
- ! patchlevel baserev rm Oldconfig Configdir
- ?MAKE: -pick wipe $@ %<
- ?S:mailpatches:
- ?S: Indicates whether the user would like future patches to be mailed
- --- 27,34 ----
- ?X: when their package is out of date, and to allow users to be notified of
- ?X: any future patches.
- ?X:
- ! ?MAKE:MailAuthor mailpatches notifypatches usermail: test cat mailer \
- ! package Myread patchlevel baserev rm Oldconfig Configdir
- ?MAKE: -pick wipe $@ %<
- ?S:mailpatches:
- ?S: Indicates whether the user would like future patches to be mailed
- ***************
- *** 34,40 ****
- ?S: Indicates whether the user would like notification of future patches
- ?S: mailed to them.
- ?S:.
- ! ?T:opt mailpatches notifypatches atsh needmail
- : notify author that his package is used
- case "$mailpatches$notifypatches" in
- '') dflt=y;;
- --- 38,50 ----
- ?S: Indicates whether the user would like notification of future patches
- ?S: mailed to them.
- ?S:.
- ! ?S:usermail:
- ! ?S: This variable is used internally by Configure to keep track of the
- ! ?S: user e-mail address, where notifications or patches should be sent.
- ! ?S: A '-' value means the return address will be extracted by parsing
- ! ?S: the mail headers.
- ! ?S:.
- ! ?T:opt mailpatches notifypatches atsh needmail status
- : notify author that his package is used
- case "$mailpatches$notifypatches" in
- '') dflt=y;;
- ***************
- *** 58,112 ****
-
- EOM
- rp='Should I send mail to <MAINTLOC>?'
- . ./myread
- case "$ans" in
- [yY]*)
- echo " "
- ! echo "Great!. You cooperation is really appreciated."
- ! echo " "
- ! opt=''
- ! rp='Would you like to have new patches automatically mailed to you?'
- ! case "$mailpatches" in
- ! true) dflt=y;;
- ! *) dflt=n;;
- esac
- . ./myread
- case "$ans" in
- ! [yY]*) opt=' mailpatches'; mailpatches=true;;
- *)
- ! mailpatches=false
- ! rp='Ok, would you like to simply be notified of new patches?'
- ! case "$notifypatches" in
- ! false) dflt=n;;
- ! *) dflt=y;;
- ! esac
- ! . ./myread
- ! echo " "
- ! case "$ans" in
- ! [yY]*) opt=' notifypatches'; notifypatches=true;;
- ! *)
- ! echo "Fine, you will only be registered as a user then."
- ! notifypatches=false
- ! ;;
- ! esac
- ;;
- esac
- ! echo "Sending mail to <MAINTLOC>..." >&4
- ?X: Bizarre hack here. We can't just put @SH in the hereis lines below, because
- ?X: metaconfig will interpret it as a command, and there's no quoting mechanism.
- ?X: Do it via a variable instead.
- ! atsh='@SH'
- ! $mailer <MAINTLOC> <<EOM >/dev/null 2>&1
- Subject: Command
- Precedence: junk
- To: <MAINTLOC>
-
- ! $atsh package - $package $baserev $patchlevel$opt
- EOM
- ! $rm -f ../.config/mailauthor
- ! cp ../patchlevel.h ../.config/mailauthor
- ! ;;
- ! *) echo "Oh well, maybe next time.";;
- esac
- ! fi
-
- --- 68,182 ----
-
- EOM
- rp='Should I send mail to <MAINTLOC>?'
- + else
- + status="register yourself as a $package user";
- + case "$mailpatches" in
- + true) status='have patches mailed to you as they are issued';;
- + esac
- + case "$notifypatches" in
- + true) status='be notified when new patches are issued';;
- + esac
- + $cat <<EOM
- +
- + You have already sent the author of $package (<MAINTLOC>) a mail to
- + $status. If you wish, you may modify
- + your previous request by sending a new mail with different options.
- +
- + EOM
- + rp='Should I send a status update to <MAINTLOC>?'
- + fi
- + . ./myread
- + case "$ans" in
- + [yY]*)
- + echo " "
- + echo "Great!. You cooperation is really appreciated."
- + $cat <<EOM
- +
- + Some sites do not set a proper return address in their outgoing mail,
- + especially when connected to the Internet via UUCP. If the supplied
- + address in the From: header field is wrong, the author won't be able
- + to get back to you, should there be a need to do so.
- +
- + EOM
- + case "$usermail" in
- + '') dflt=y;;
- + *) dflt=n;;
- + esac
- + rp='Would you like to supply the return address yourself?'
- . ./myread
- case "$ans" in
- [yY]*)
- + $cat <<EOM
- +
- + Ok, I need your e-mail address then, something like user@domain.top. If you
- + wish to let the mail transport agent set it for you or do not know what your
- + e-mail address is, use the word "none".
- +
- + EOM
- + case "$usermail" in
- + '-') dflt=none;;
- + '') dflt='';;
- + *) dflt="$usermail";;
- + esac
- + rp='Which return address shall I use?'
- + . ./myread
- + case "$ans" in
- + none) usermail='-';;
- + *) usermail="$ans";;
- + esac
- + ;;
- + esac
- + case "$usermail" in
- + '') usermail='-';;
- + esac
- + echo " "
- + opt=''
- + rp='Would you like to have new patches automatically mailed to you?'
- + case "$mailpatches" in
- + true) dflt=y;;
- + *) dflt=n;;
- + esac
- + . ./myread
- + case "$ans" in
- + [yY]*) opt=' mailpatches'; mailpatches=true;;
- + *)
- + mailpatches=false
- echo " "
- ! rp='Ok, would you like to simply be notified of new patches?'
- ! case "$notifypatches" in
- ! false) dflt=n;;
- ! *) dflt=y;;
- esac
- . ./myread
- + echo " "
- case "$ans" in
- ! [yY]*) opt=' notifypatches'; notifypatches=true;;
- *)
- ! echo "Fine, you will only be registered as a user then."
- ! notifypatches=false
- ;;
- esac
- ! ;;
- ! esac
- ! echo "Sending mail to <MAINTLOC>..." >&4
- ?X: Bizarre hack here. We can't just put @SH in the hereis lines below, because
- ?X: metaconfig will interpret it as a command, and there's no quoting mechanism.
- ?X: Do it via a variable instead.
- ! atsh='@SH'
- ! $mailer <MAINTLOC> <<EOM >/dev/null 2>&1
- Subject: Command
- Precedence: junk
- To: <MAINTLOC>
-
- ! $atsh package $usermail $package $baserev $patchlevel$opt
- EOM
- ! $rm -f ../.config/mailauthor
- ! cp ../patchlevel.h ../.config/mailauthor
- ! ;;
- ! *)
- ! case "$dflt" in
- ! "y") echo "Oh well, maybe next time.";;
- esac
- ! ;;
- ! esac
-
-
- Index: mcon/U/Guess.U
- Prereq: 3.0
- *** mcon/U/Guess.U.old Fri Aug 27 16:41:04 1993
- --- mcon/U/Guess.U Fri Aug 27 16:41:04 1993
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: Guess.U,v 3.0 1993/08/18 12:04:57 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: Guess.U,v 3.0.1.1 1993/08/27 14:37:37 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- ***************
- *** 9,14 ****
- --- 9,17 ----
- ?RCS: of the source tree for dist 3.0.
- ?RCS:
- ?RCS: $Log: Guess.U,v $
- + ?RCS: Revision 3.0.1.1 1993/08/27 14:37:37 ram
- + ?RCS: patch7: added support for OSF/1 machines
- + ?RCS:
- ?RCS: Revision 3.0 1993/08/18 12:04:57 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ***************
- *** 59,76 ****
- : make some quick guesses about what we are up against
- echo " "
- $echo $n "Hmm... $c"
- ?X:
- ?X: Do not use 'usrinc', or we get a circular dependency. because
- ?X: usrinc is defined in model.U, which relies on us...
- ?X:
- $cat /usr/include/signal.h /usr/include/sys/signal.h >foo 2>/dev/null
- ! if test `echo abc | tr a-z A-Z` = Abc ; then
- xxx=`./loc addbib blurfl $pth`
- if $test -f $xxx; then
- echo "Looks kind of like a USG system with BSD features, but we'll see..."
- echo exit 0 >bsd
- echo exit 0 >usg
- - echo exit 1 >v7
- else
- if $contains SIGTSTP foo >/dev/null 2>&1 ; then
- echo "Looks kind of like an extended USG system, but we'll see..."
- --- 62,88 ----
- : make some quick guesses about what we are up against
- echo " "
- $echo $n "Hmm... $c"
- + echo exit 1 >bsd
- + echo exit 1 >usg
- + echo exit 1 >v7
- + echo exit 1 >osf1
- + echo exit 1 >eunice
- + echo exit 1 >xenix
- + echo exit 1 >venix
- ?X:
- ?X: Do not use 'usrinc', or we get a circular dependency. because
- ?X: usrinc is defined in model.U, which relies on us...
- ?X:
- $cat /usr/include/signal.h /usr/include/sys/signal.h >foo 2>/dev/null
- ! if test -f /osf_boot || $contains 'OSF/1' /usr/include/ctype.h; then
- ! echo "Looks kind of like an OSF/1 system, but we'll see..."
- ! echo exit 0 >osf1
- ! elif test `echo abc | tr a-z A-Z` = Abc ; then
- xxx=`./loc addbib blurfl $pth`
- if $test -f $xxx; then
- echo "Looks kind of like a USG system with BSD features, but we'll see..."
- echo exit 0 >bsd
- echo exit 0 >usg
- else
- if $contains SIGTSTP foo >/dev/null 2>&1 ; then
- echo "Looks kind of like an extended USG system, but we'll see..."
- ***************
- *** 77,85 ****
- else
- echo "Looks kind of like a USG system, but we'll see..."
- fi
- - echo exit 1 >bsd
- echo exit 0 >usg
- - echo exit 1 >v7
- fi
- d_bsd="$undef"
- elif $contains SIGTSTP foo >/dev/null 2>&1 ; then
- --- 89,95 ----
- ***************
- *** 86,98 ****
- echo "Looks kind of like a BSD system, but we'll see..."
- d_bsd="$define"
- echo exit 0 >bsd
- - echo exit 1 >usg
- - echo exit 1 >v7
- else
- echo "Looks kind of like a Version 7 system, but we'll see..."
- d_bsd="$undef"
- - echo exit 1 >bsd
- - echo exit 1 >usg
- echo exit 0 >v7
- fi
- case "$eunicefix" in
- --- 96,104 ----
- ***************
- *** 101,107 ****
- There is, however, a strange, musty smell in the air that reminds me of
- something...hmm...yes...I've got it...there's a VMS nearby, or I'm a Blit.
- EOI
- ! echo "exit 0" >eunice
- d_eunice="$define"
- : it so happens the Eunice I know will not run shell scripts in Unix format
- ;;
- --- 107,113 ----
- There is, however, a strange, musty smell in the air that reminds me of
- something...hmm...yes...I've got it...there's a VMS nearby, or I'm a Blit.
- EOI
- ! echo exit 0 >eunice
- d_eunice="$define"
- : it so happens the Eunice I know will not run shell scripts in Unix format
- ;;
- ***************
- *** 109,125 ****
- echo " "
- echo "Congratulations. You aren't running Eunice."
- d_eunice="$undef"
- - echo "exit 1" >eunice
- ;;
- esac
- if test -f /xenix; then
- echo "Actually, this looks more like a XENIX system..."
- ! echo "exit 0" >xenix
- d_xenix="$define"
- else
- echo " "
- echo "It's not Xenix..."
- - echo "exit 1" >xenix
- d_xenix="$undef"
- fi
- chmod +x xenix
- --- 115,129 ----
- echo " "
- echo "Congratulations. You aren't running Eunice."
- d_eunice="$undef"
- ;;
- esac
- if test -f /xenix; then
- echo "Actually, this looks more like a XENIX system..."
- ! echo exit 0 >xenix
- d_xenix="$define"
- else
- echo " "
- echo "It's not Xenix..."
- d_xenix="$undef"
- fi
- chmod +x xenix
- ***************
- *** 126,132 ****
- $eunicefix xenix
- if test -f /venix; then
- echo "Actually, this looks more like a VENIX system..."
- ! echo "exit 0" >venix
- else
- echo " "
- if xenix; then
- --- 130,136 ----
- $eunicefix xenix
- if test -f /venix; then
- echo "Actually, this looks more like a VENIX system..."
- ! echo exit 0 >venix
- else
- echo " "
- if xenix; then
- ***************
- *** 134,142 ****
- else
- echo "Nor is it Venix..."
- fi
- - echo "exit 1" >venix
- fi
- ! chmod +x bsd usg v7 eunice venix
- ! $eunicefix bsd usg v7 eunice venix
- $rm -f foo
-
- --- 138,145 ----
- else
- echo "Nor is it Venix..."
- fi
- fi
- ! chmod +x bsd usg v7 osf1 eunice xenix venix
- ! $eunicefix bsd usg v7 osf1 eunice xenix venix
- $rm -f foo
-
-
- Index: mcon/U/Head.U
- Prereq: 3.0
- *** mcon/U/Head.U.old Fri Aug 27 16:41:05 1993
- --- mcon/U/Head.U Fri Aug 27 16:41:05 1993
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: Head.U,v 3.0 1993/08/18 12:04:58 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: Head.U,v 3.0.1.1 1993/08/27 14:38:07 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- ***************
- *** 9,14 ****
- --- 9,17 ----
- ?RCS: of the source tree for dist 3.0.
- ?RCS:
- ?RCS: $Log: Head.U,v $
- + ?RCS: Revision 3.0.1.1 1993/08/27 14:38:07 ram
- + ?RCS: patch7: not all 'test' programs support the -x option
- + ?RCS:
- ?RCS: Revision 3.0 1993/08/18 12:04:58 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ***************
- *** 53,59 ****
- ?X: by your version, not mine: It credits your work.
- ?X:
-
- ! # $Id: Head.U,v 3.0 1993/08/18 12:04:58 ram Exp $
- #
- # Generated on <DATE> [metaconfig <VERSION> PL<PATCHLEVEL>]
-
- --- 56,62 ----
- ?X: by your version, not mine: It credits your work.
- ?X:
-
- ! # $Id: Head.U,v 3.0.1.1 1993/08/27 14:38:07 ram Exp $
- #
- # Generated on <DATE> [metaconfig <VERSION> PL<PATCHLEVEL>]
-
- ***************
- *** 105,111 ****
- fi
-
- : On HP-UX, large Configure scripts may exercise a bug in /bin/sh
- ! if test -f /hp-ux -a -x /bin/ksh; then
- if (alias -x) >/dev/null 2>&1; then
- : already under /bin/ksh
- else
- --- 108,114 ----
- fi
-
- : On HP-UX, large Configure scripts may exercise a bug in /bin/sh
- ! if test -f /hp-ux -a -f /bin/ksh; then
- if (alias -x) >/dev/null 2>&1; then
- : already under /bin/ksh
- else
-
- Index: pat/pat.man
- Prereq: 3.0.1.2
- *** pat/pat.man.old Fri Aug 27 16:41:10 1993
- --- pat/pat.man Fri Aug 27 16:41:11 1993
- ***************
- *** 1,5 ****
- .rn '' }`
- ! ''' $Id: pat.man,v 3.0.1.2 1993/08/25 14:05:02 ram Exp $
- '''
- ''' Copyright (c) 1991-1993, Raphael Manfredi
- '''
- --- 1,5 ----
- .rn '' }`
- ! ''' $Id: pat.man,v 3.0.1.3 1993/08/27 14:40:19 ram Exp $
- '''
- ''' Copyright (c) 1991-1993, Raphael Manfredi
- '''
- ***************
- *** 10,15 ****
- --- 10,18 ----
- ''' of the source tree for dist 3.0.
- '''
- ''' $Log: pat.man,v $
- + ''' Revision 3.0.1.3 1993/08/27 14:40:19 ram
- + ''' patch7: random cleanup
- + '''
- ''' Revision 3.0.1.2 1993/08/25 14:05:02 ram
- ''' patch6: new -q option for patsend and patnotify
- '''
- ***************
- *** 302,308 ****
- .I Patftp
- merely copies the patch into your public ftp directory.
- .PP
- ! .I Patnotify simply notifies users that a new patch has been released so that
- they can retrieve it by themselves from an archive site or via e-mail if they
- are interested. The \fB\-u\fR switch can be used to include all the currently
- registered users who have asked for such a notification.
- --- 305,312 ----
- .I Patftp
- merely copies the patch into your public ftp directory.
- .PP
- ! .I Patnotify
- ! simply notifies users that a new patch has been released so that
- they can retrieve it by themselves from an archive site or via e-mail if they
- are interested. The \fB\-u\fR switch can be used to include all the currently
- registered users who have asked for such a notification.
-
- Index: pat/patnotify.SH
- Prereq: 3.0.1.3
- *** pat/patnotify.SH.old Fri Aug 27 16:41:12 1993
- --- pat/patnotify.SH Fri Aug 27 16:41:12 1993
- ***************
- *** 20,26 ****
- eval "exec perl -S \$0 \$*"
- if \$running_under_some_shell;
-
- ! # $Id: patnotify.SH,v 3.0.1.3 1993/08/25 14:07:43 ram Exp $
- #
- # Copyright (c) 1991-1993, Raphael Manfredi
- #
- --- 20,26 ----
- eval "exec perl -S \$0 \$*"
- if \$running_under_some_shell;
-
- ! # $Id: patnotify.SH,v 3.0.1.4 1993/08/27 14:40:42 ram Exp $
- #
- # Copyright (c) 1991-1993, Raphael Manfredi
- #
- ***************
- *** 31,36 ****
- --- 31,39 ----
- # of the source tree for dist 3.0.
- #
- # $Log: patnotify.SH,v $
- + # Revision 3.0.1.4 1993/08/27 14:40:42 ram
- + # patch7: two files were wrongly appended to patsend instead
- + #
- # Revision 3.0.1.3 1993/08/25 14:07:43 ram
- # patch6: now asks for recipient list edition by default
- # patch6: new -q option to suppress that
- ***************
- *** 160,166 ****
- $grep -v '^;#' ../pl/package.pl >>patnotify
- $grep -v '^;#' ../pl/users.pl >>patnotify
- $grep -v '^;#' ../pl/patseq.pl >>patnotify
- ! $grep -v '^;#' ../pl/editor.pl >>patsend
- ! $grep -v '^;#' ../pl/listedit.pl >>patsend
- chmod +x patnotify
- $eunicefix patnotify
- --- 163,169 ----
- $grep -v '^;#' ../pl/package.pl >>patnotify
- $grep -v '^;#' ../pl/users.pl >>patnotify
- $grep -v '^;#' ../pl/patseq.pl >>patnotify
- ! $grep -v '^;#' ../pl/editor.pl >>patnotify
- ! $grep -v '^;#' ../pl/listedit.pl >>patnotify
- chmod +x patnotify
- $eunicefix patnotify
-
- Index: mcon/U/ccflags.U
- Prereq: 3.0.1.1
- *** mcon/U/ccflags.U.old Fri Aug 27 16:41:08 1993
- --- mcon/U/ccflags.U Fri Aug 27 16:41:08 1993
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: ccflags.U,v 3.0.1.1 1993/08/25 14:00:24 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: ccflags.U,v 3.0.1.2 1993/08/27 14:39:38 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- ***************
- *** 9,14 ****
- --- 9,17 ----
- ?RCS: of the source tree for dist 3.0.
- ?RCS:
- ?RCS: $Log: ccflags.U,v $
- + ?RCS: Revision 3.0.1.2 1993/08/27 14:39:38 ram
- + ?RCS: patch7: added support for OSF/1 machines
- + ?RCS:
- ?RCS: Revision 3.0.1.1 1993/08/25 14:00:24 ram
- ?RCS: patch6: added defaults for cppflags, ccflags and ldflags
- ?RCS:
- ***************
- *** 120,127 ****
- esac;
- fi'
-
- ?X: SCO unix uses NO_PROTOTYPE instead of _NO_PROTO
- ! set signal.h LANGUAGE_C; eval $inctest
- set signal.h NO_PROTOTYPE; eval $inctest
- set signal.h _NO_PROTO; eval $inctest
-
- --- 123,137 ----
- esac;
- fi'
-
- + ?X:
- ?X: SCO unix uses NO_PROTOTYPE instead of _NO_PROTO
- ! ?X: OSF/1 uses __LANGUAGE_C__ instead of LANGUAGE_C
- ! ?X:
- ! if ./osf1; then
- ! set signal.h __LANGUAGE_C__; eval $inctest
- ! else
- ! set signal.h LANGUAGE_C; eval $inctest
- ! fi
- set signal.h NO_PROTOTYPE; eval $inctest
- set signal.h _NO_PROTO; eval $inctest
-
-
- Index: pl/listedit.pl
- Prereq: 3.0.1.1
- *** pl/listedit.pl.old Fri Aug 27 16:41:13 1993
- --- pl/listedit.pl Fri Aug 27 16:41:13 1993
- ***************
- *** 1,4 ****
- ! ;# $Id: listedit.pl,v 3.0.1.1 1993/08/25 14:08:12 ram Exp $
- ;#
- ;# Copyright (c) 1991-1993, Raphael Manfredi
- ;#
- --- 1,4 ----
- ! ;# $Id: listedit.pl,v 3.0.1.2 1993/08/27 14:40:57 ram Exp $
- ;#
- ;# Copyright (c) 1991-1993, Raphael Manfredi
- ;#
- ***************
- *** 9,19 ****
- ;# of the source tree for dist 3.0.
- ;#
- ;# $Log: listedit.pl,v $
- ;# Revision 3.0.1.1 1993/08/25 14:08:12 ram
- ;# patch6: created
- ;#
- - ;#
- ;# Requires geteditor.pl
- # Allow user to inplace-edit a list of items held in an array
- sub listedit {
- local(*list) = @_;
- --- 9,22 ----
- ;# of the source tree for dist 3.0.
- ;#
- ;# $Log: listedit.pl,v $
- + ;# Revision 3.0.1.2 1993/08/27 14:40:57 ram
- + ;# patch7: forgot to unlink temporary file
- + ;#
- ;# Revision 3.0.1.1 1993/08/25 14:08:12 ram
- ;# patch6: created
- ;#
- ;# Requires geteditor.pl
- + ;#
- # Allow user to inplace-edit a list of items held in an array
- sub listedit {
- local(*list) = @_;
- ***************
- *** 28,32 ****
- --- 31,36 ----
- open(TMP, "$tmp") || die "Can't reopen $tmp: $!\n";
- chop(@list = <TMP>);
- close TMP;
- + unlink $tmp;
- }
-
-
- Index: mcon/U/libc.U
- Prereq: 3.0
- *** mcon/U/libc.U.old Fri Aug 27 16:41:09 1993
- --- mcon/U/libc.U Fri Aug 27 16:41:09 1993
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: libc.U,v 3.0 1993/08/18 12:08:57 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: libc.U,v 3.0.1.1 1993/08/27 14:40:03 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- ***************
- *** 9,14 ****
- --- 9,17 ----
- ?RCS: of the source tree for dist 3.0.
- ?RCS:
- ?RCS: $Log: libc.U,v $
- + ?RCS: Revision 3.0.1.1 1993/08/27 14:40:03 ram
- + ?RCS: patch7: added entry for /usr/shlib/libc.so (OSF/1 machines)
- + ?RCS:
- ?RCS: Revision 3.0 1993/08/18 12:08:57 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ***************
- *** 80,85 ****
- --- 83,89 ----
- unknown)
- set /usr/ccs/lib/libc.so
- $test -r $1 || set /usr/lib/libc.so
- + $test -r $1 || set /usr/shlib/libc.so
- $test -r $1 || set /usr/lib/libc.so.[0-9]*
- $test -r $1 || set /lib/libsys_s.a
- eval set \$$#
-
- Index: mcon/U/Myread.U
- Prereq: 3.0
- *** mcon/U/Myread.U.old Fri Aug 27 16:41:07 1993
- --- mcon/U/Myread.U Fri Aug 27 16:41:07 1993
- ***************
- *** 1,4 ****
- ! ?RCS: $Id: Myread.U,v 3.0 1993/08/18 12:05:08 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- --- 1,4 ----
- ! ?RCS: $Id: Myread.U,v 3.0.1.1 1993/08/27 14:39:20 ram Exp $
- ?RCS:
- ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
- ?RCS:
- ***************
- *** 9,14 ****
- --- 9,17 ----
- ?RCS: of the source tree for dist 3.0.
- ?RCS:
- ?RCS: $Log: Myread.U,v $
- + ?RCS: Revision 3.0.1.1 1993/08/27 14:39:20 ram
- + ?RCS: patch7: now sticks to the question when no default and empty answer
- + ?RCS:
- ?RCS: Revision 3.0 1993/08/18 12:05:08 ram
- ?RCS: Baseline for dist 3.0 netwide release.
- ?RCS:
- ***************
- *** 128,133 ****
- --- 131,143 ----
- ans=!
- ;;
- esac
- + $myecho
- + ;;
- + esac
- + ?X: Stick in myread if no default answer and nothing was answered
- + case "\$ans\$xxxm" in
- + '')
- + ans=!
- $myecho
- ;;
- esac
-
- *** End of Patch 7 ***
-
- exit 0 # Just in case...
-