From: Eric Allman Date: Tue, 31 Aug 1993 03:38:13 +0000 (-0800) Subject: clarifications X-Git-Tag: BSD-4_4_Lite1-Snapshot-Development~1842 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/cff7779f4fec0d0f825850f48b1f9728e023972f clarifications SCCS-vsn: usr.sbin/sendmail/src/READ_ME 8.20 --- diff --git a/usr/src/usr.sbin/sendmail/src/READ_ME b/usr/src/usr.sbin/sendmail/src/READ_ME index 1cb7e306b6..6eda18f377 100644 --- a/usr/src/usr.sbin/sendmail/src/READ_ME +++ b/usr/src/usr.sbin/sendmail/src/READ_ME @@ -4,7 +4,7 @@ # # %sccs.include.redist.sh% # -# @(#)READ_ME 8.19 (Berkeley) %G% +# @(#)READ_ME 8.20 (Berkeley) %G% # This directory contains the source files for sendmail. @@ -45,7 +45,9 @@ attempt to be back compatible. The three options are NEWDB (the new Berkeley DB package), NDBM (the older DBM implementation -- the very old V7 implementation is no longer supported), and NIS (Network Information Services). Used alone -these just include the support they indicate. +these just include the support they indicate. [If you are using NEWDB, +get the latest version from FTP.CS.Berkeley.EDU in /ucb/4bsd. DO NOT +use the version from the Net2 distribution!] If NEWDB and NDBM are defined (but not NIS), then sendmail will read NDBM format alias files, but the next time a newaliases is run the @@ -147,16 +149,18 @@ ARBPTR_T The type of an arbitrary pointer -- defaults to "void *". this to be "char *". LA_TYPE The type of load average your kernel supports. These can be LA_SUBR (4) if you have the getloadavg(3) routine, - LA_FLOAT (3) if you read kmem and interpret the value - as a floating point number, LA_INT (2) to interpret as - an integer. These last two have several other parameters - that they try to divine: the name of your kernel, the name - of the variable in the kernel to examine, the number of - bits of precision in a fixed point load average, and so - forth. In desparation, use LA_ZERO -- it always returns - the load average as "zero" (and does so on all architectures). - The actual code is in conf.c -- it can be tweaked if you - are brave. + LA_MACH (5) to use MACH-style load averages (calls + processor_set_info()), LA_FLOAT (3) if you read kmem and + interpret the value as a floating point number, LA_INT (2) + to interpret as a long integer, or LA_SHORT (6) to + interpret as a short integer. These last three have + several other parameters that they try to divine: the + name of your kernel, the name of the variable in the + kernel to examine, the number of bits of precision in + a fixed point load average, and so forth. In desparation, + use LA_ZERO (1) -- it always returns the load average as + "zero" (and does so on all architectures). The actual + code is in conf.c -- it can be tweaked if you are brave. ERRLIST_PREDEFINED If set, assumes that some header file defines sys_errlist. This may be needed if you get type conflicts on this @@ -215,10 +219,17 @@ SETPROCTITLE Try to set the string printed by "ps" to something | OPERATING SYSTEM AND COMPILE QUIRKS | +-------------------------------------+ -SunOS - You may have to use -lresolv on SunOS. +SunOS 4.x (Solaris 1.x) + You may have to use -lresolv on SunOS. However, beware that + this links in a new version of gethostbyname that does not + understand NIS, so you must have all of your hosts in DNS. + I understand that resolv+ works properly, allowing you to + specify a search-path of services. I haven't tried this, as + we use DNS exclusively. + +Solaris 2.x (SunOS 5.x) + To compile for Solaris, be sure you use -DSOLARIS. -Solaris From a correspondent: For solaris 2.2, I have @@ -229,6 +240,9 @@ Solaris qualified host name. I think "files" has to be before "dns" in /etc/nsswitch.conf during bootup. + To the best of my knowledge, Solaris does not have the + gethostbyname problem described above. + OSF/1 If you are compiling on OSF/1 (DEC Alpha), you must use -lmld. @@ -250,6 +264,8 @@ NeXT in your .cf file. + You may have to use -DNeXT. + BSDI (BSD/386) I have reports that the "m4" from BSDI won't handle the config files properly. I haven't had a chance to test this myself. @@ -338,4 +354,4 @@ version.c The version number and information about this Eric Allman -(Version 8.19, last update %G% 11:22:15) +(Version 8.20, last update %G% 12:38:13)