home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / bsd / 4540 < prev    next >
Encoding:
Internet Message Format  |  1992-08-21  |  19.1 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!ira.uka.de!smurf.sub.org!rnihd!rnivh!acwbust!andrew
  2. From: andrew@acwbust.sub.org (A.W. Root)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Patch for smail (Re: UUCP woes with 386BSD)
  5. Message-ID: <Bt6C0n.38w@acwbust.sub.org>
  6. Date: 18 Aug 92 10:05:08 GMT
  7. References: <HNFDPB1w163w@coyote.datalog.com> <1992Aug15.170940.13095@unixland.natick.ma.us>
  8. Organization: A.Wheadon,6140-Bensheim-4,FRG
  9. Lines: 606
  10.  
  11. In article <1992Aug15.170940.13095@unixland.natick.ma.us> bill@unixland.natick.ma.us (Bill Heiser) writes:
  12. >mink@coyote.datalog.com (Clint Ruoho) writes:
  13. >
  14. >However I have not had any luck getting MAIL to work in a UUCP environment.
  15. >I tried to set up sendmail.cf to use UUCP, but it still fails with
  16. >"hostname lookup failed" errors.  Seems maybe it's trying to use a nameserver?
  17. >Anyone have outbound mail working on 386BSD in a UUCP environment?
  18.  
  19. All you need to do is replace sendmail with smail-3.1.25 which after
  20. changing mkdefs.sh to run with ash or bash will compile with practically
  21. no problems.
  22.  
  23. Attached is a patch to get smail running, I still seem to have a problem
  24. with bind and smail as a daemon but used normally it works perfectly.
  25. You can't use ndbm as smail wants some type of ndbm_fileno or something
  26. which doesn't exist.
  27.  
  28.              Patch follows
  29.  
  30. diff +context +recursive ./conf/EDITME ../smail-3.1.25.new/conf/EDITME
  31. *** ./conf/EDITME    Wed Jul 22 18:14:54 1992
  32. --- ../smail-3.1.25.new/conf/EDITME    Wed Jul 22 02:53:08 1992
  33. ***************
  34. *** 113,119 ****
  35.   # This may save some disk space at the expence of the ability to do
  36.   # symbolic debugging.
  37.   
  38. ! #STRIP=yes
  39.   
  40.   
  41.   # USE_SYMLINKS - define this if you wish to use symlinks when installing
  42. --- 113,119 ----
  43.   # This may save some disk space at the expence of the ability to do
  44.   # symbolic debugging.
  45.   
  46. ! STRIP=yes
  47.   
  48.   
  49.   # USE_SYMLINKS - define this if you wish to use symlinks when installing
  50. ***************
  51. *** 127,133 ****
  52.   # one copy of the smail binary to be installed.  Do not define this
  53.   # if your system does not have symbolic links.
  54.   
  55. ! #USE_SYMLINKS=yes
  56.   
  57.   
  58.   # OS_TYPE - define the operating system type for your machine
  59. --- 127,133 ----
  60.   # one copy of the smail binary to be installed.  Do not define this
  61.   # if your system does not have symbolic links.
  62.   
  63. ! USE_SYMLINKS=yes
  64.   
  65.   
  66.   # OS_TYPE - define the operating system type for your machine
  67. ***************
  68. *** 282,288 ****
  69.   # doesn't work for you, try defining OBSOLETE_RESOLVER.
  70.   
  71.   #MISC_DEFINES=ISC_SOCKET_TIME_BUG
  72. ! #MISC_DEFINES=NO_FORWARDTO_FILE        # recommended for BSD systems
  73.   #MISC_DEFINES=ISC_SOCKET_TIME_BUG:NO_FORWARDTO_FILE
  74.   #MISC_DEFINES=OBSOLETE_RESOLVER
  75.   
  76. --- 282,288 ----
  77.   # doesn't work for you, try defining OBSOLETE_RESOLVER.
  78.   
  79.   #MISC_DEFINES=ISC_SOCKET_TIME_BUG
  80. ! MISC_DEFINES=NO_FORWARDTO_FILE        # recommended for BSD systems
  81.   #MISC_DEFINES=ISC_SOCKET_TIME_BUG:NO_FORWARDTO_FILE
  82.   #MISC_DEFINES=OBSOLETE_RESOLVER
  83.   
  84. ***************
  85. *** 386,392 ****
  86.   # transports, inet_uusmtp and inet_demand_uusmtp use compliant
  87.   # protocols.
  88.   
  89. ! #UUCP_ZONE=true                    # this site is in the UUCP zone
  90.   #UUCP_ZONE=                    # this site is on the Internet
  91.   
  92.   
  93. --- 386,392 ----
  94.   # transports, inet_uusmtp and inet_demand_uusmtp use compliant
  95.   # protocols.
  96.   
  97. ! UUCP_ZONE=true                    # this site is in the UUCP zone
  98.   #UUCP_ZONE=                    # this site is on the Internet
  99.   
  100.   
  101. ***************
  102. *** 427,433 ****
  103.   #    wish to be able to receive mail from anywhere in the world
  104.   #    should get a registered domain.
  105.   
  106. ! DOMAINS=uucp                    # common
  107.   #DOMAINS=ussr.comm:uucp                # example only
  108.   
  109.   
  110. --- 427,433 ----
  111.   #    wish to be able to receive mail from anywhere in the world
  112.   #    should get a registered domain.
  113.   
  114. ! DOMAINS=sub.org:uucp                    # common
  115.   #DOMAINS=ussr.comm:uucp                # example only
  116.   
  117.   
  118. ***************
  119. *** 509,515 ****
  120.   # is os-type dependent, and is commonly nobody for BSD- and sun-derived
  121.   # systems.
  122.   
  123. ! #NOBODY=nobody
  124.   #NOBODY=unknown        # some sites have this in their passwd file
  125.   
  126.   
  127. --- 509,515 ----
  128.   # is os-type dependent, and is commonly nobody for BSD- and sun-derived
  129.   # systems.
  130.   
  131. ! NOBODY=nobody
  132.   #NOBODY=unknown        # some sites have this in their passwd file
  133.   
  134.   
  135. ***************
  136. *** 549,557 ****
  137.   # under SMAIL_BIN_DIR.  The SMAIL_BIN_DIR should be a directory
  138.   # that is commonly in users search path (i.e., $PATH).
  139.   
  140. ! SMAIL_BIN_DIR=/usr/local            # BSD local convention
  141.   #SMAIL_BIN_DIR=/usr/amdahl/bin            # convention for UTS/580
  142. ! #SMAIL_BIN_DIR=/usr/local/bin            # yet another convention
  143.   #SMAIL_BIN_DIR=/usr/smail/bin            # I use this right now
  144.   
  145.   
  146. --- 549,557 ----
  147.   # under SMAIL_BIN_DIR.  The SMAIL_BIN_DIR should be a directory
  148.   # that is commonly in users search path (i.e., $PATH).
  149.   
  150. ! #SMAIL_BIN_DIR=/usr/local            # BSD local convention
  151.   #SMAIL_BIN_DIR=/usr/amdahl/bin            # convention for UTS/580
  152. ! SMAIL_BIN_DIR=/usr/local/bin            # yet another convention
  153.   #SMAIL_BIN_DIR=/usr/smail/bin            # I use this right now
  154.   
  155.   
  156. ***************
  157. *** 574,581 ****
  158.   # to the null string.  This will prevent the smail src/Makefile from
  159.   # installing it as $SMAIL_BIN_DIR/smail twice.
  160.   
  161. ! SMAIL_NAME=/usr/lib/sendmail            # common convention
  162. ! #SMAIL_NAME=                    # use smail in bin directory
  163.   
  164.   
  165.   # OTHER_SMAIL_NAMES - other names under which to install smail
  166. --- 574,581 ----
  167.   # to the null string.  This will prevent the smail src/Makefile from
  168.   # installing it as $SMAIL_BIN_DIR/smail twice.
  169.   
  170. ! #SMAIL_NAME=/usr/sbin/sendmail            # common convention
  171. ! SMAIL_NAME=                    # use smail in bin directory
  172.   
  173.   
  174.   # OTHER_SMAIL_NAMES - other names under which to install smail
  175. ***************
  176. *** 596,602 ****
  177.   #
  178.   # NOTE: A pathname CANNOT be in both SMAIL_NAME and OTHER_SMAIL_NAMES.
  179.   
  180. ! OTHER_SMAIL_NAMES=/bin/rmail            # common
  181.   #OTHER_SMAIL_NAMES=/usr/lib/sendmail        # could use this rather
  182.                           # than putting it into
  183.                           # SMAIL_NAME
  184. --- 596,602 ----
  185.   #
  186.   # NOTE: A pathname CANNOT be in both SMAIL_NAME and OTHER_SMAIL_NAMES.
  187.   
  188. ! OTHER_SMAIL_NAMES=/bin/rmail:/usr/sbin/sendmail        # common
  189.   #OTHER_SMAIL_NAMES=/usr/lib/sendmail        # could use this rather
  190.                           # than putting it into
  191.                           # SMAIL_NAME
  192. ***************
  193. *** 621,627 ****
  194.   # is required by the smail binary as it is released.  See smail(5)
  195.   # and smail(8) for more details on this and related topics.
  196.   
  197. ! LIB_DIR=/usr/lib/smail                # common convention
  198.   #LIB_DIR=/usr/local/lib/smail
  199.   #LIB_DIR=/usr/smail/lib                # I use this right now
  200.   
  201. --- 621,627 ----
  202.   # is required by the smail binary as it is released.  See smail(5)
  203.   # and smail(8) for more details on this and related topics.
  204.   
  205. ! LIB_DIR=/usr/libexec/smail                # common convention
  206.   #LIB_DIR=/usr/local/lib/smail
  207.   #LIB_DIR=/usr/smail/lib                # I use this right now
  208.   
  209. ***************
  210. *** 652,658 ****
  211.   
  212.   #NEWALIASES=$UTIL_BIN_DIR/newaliases
  213.   #NEWALIASES=/usr/local/bin/newaliases
  214. ! NEWALIASES=/usr/ucb/newaliases            # BSD location
  215.   #NEWALIASES=/usr/lib/newaliases            # UTS/580 location
  216.   
  217.   
  218. --- 652,658 ----
  219.   
  220.   #NEWALIASES=$UTIL_BIN_DIR/newaliases
  221.   #NEWALIASES=/usr/local/bin/newaliases
  222. ! NEWALIASES=/usr/bin/newaliases            # BSD location
  223.   #NEWALIASES=/usr/lib/newaliases            # UTS/580 location
  224.   
  225.   
  226. ***************
  227. *** 746,753 ****
  228.   #    YP maps.  In any case, use whatever works in your
  229.   #    environment.
  230.   
  231. ! ALIASES_FILE=/usr/lib/aliases            # compatible with sendmail
  232. ! #ALIASES_FILE=aliases                # for file under LIB_DIR
  233.   #ALIASES_FILE=mail.aliases            # for use over Sun YP
  234.   
  235.   #ALIASES_TYPE=dbm                # compatible with sendmail
  236. --- 746,753 ----
  237.   #    YP maps.  In any case, use whatever works in your
  238.   #    environment.
  239.   
  240. ! #ALIASES_FILE=/usr/lib/aliases            # compatible with sendmail
  241. ! ALIASES_FILE=aliases                # for file under LIB_DIR
  242.   #ALIASES_FILE=mail.aliases            # for use over Sun YP
  243.   
  244.   #ALIASES_TYPE=dbm                # compatible with sendmail
  245. ***************
  246. *** 788,794 ****
  247.   # directories should be colon-separated and may contain only one spool
  248.   # directory if desired.
  249.   
  250. ! SPOOL_DIRS=/usr/spool/smail            # common
  251.   #SPOOL_DIRS=/usr/spool/smail:/usr2/spool/smail    # use of alternate filesystem
  252.   #SPOOL_DIRS=/usr/smail/spool            # I use this right now
  253.   
  254. --- 788,794 ----
  255.   # directories should be colon-separated and may contain only one spool
  256.   # directory if desired.
  257.   
  258. ! SPOOL_DIRS=/var/spool/smail            # common
  259.   #SPOOL_DIRS=/usr/spool/smail:/usr2/spool/smail    # use of alternate filesystem
  260.   #SPOOL_DIRS=/usr/smail/spool            # I use this right now
  261.   
  262. ***************
  263. *** 825,831 ****
  264.   # If UNSHAR_MAP_DIR is not defined, then the getmap and uuwho utilities
  265.   # will not function.
  266.   
  267. ! UNSHAR_MAP_DIR=/usr/spool/uumaps
  268.   
  269.   
  270.   # NEWS_SPOOL_DIR - where news articles are stored
  271. --- 825,831 ----
  272.   # If UNSHAR_MAP_DIR is not defined, then the getmap and uuwho utilities
  273.   # will not function.
  274.   
  275. ! UNSHAR_MAP_DIR=/var/spool/uumaps
  276.   
  277.   
  278.   # NEWS_SPOOL_DIR - where news articles are stored
  279. ***************
  280. *** 838,844 ****
  281.   # the news articles from comp.mail.maps.
  282.   
  283.   #NEWS_SPOOL_DIR=/usr/spool/news
  284. ! #NEWS_SPOOL_DIR=/var/spool/news
  285.   
  286.   
  287.   # UUWHO_FILE - file used to store the uuwho file
  288. --- 838,844 ----
  289.   # the news articles from comp.mail.maps.
  290.   
  291.   #NEWS_SPOOL_DIR=/usr/spool/news
  292. ! NEWS_SPOOL_DIR=/var/spool/news
  293.   
  294.   
  295.   # UUWHO_FILE - file used to store the uuwho file
  296. ***************
  297. *** 890,896 ****
  298.   # It is therefore recommended that TMP_DIR not be globally writable.  
  299.   
  300.   #TMP_DIR=$UNSHAR_MAP_DIR/tmp            # common for unsecure /tmp
  301. ! #TMP_DIR=/usr/tmp                # if /usr/tmp is sticky
  302.   #TMP_DIR=$LIB_DIR/tmp
  303.   
  304.   
  305. --- 890,896 ----
  306.   # It is therefore recommended that TMP_DIR not be globally writable.  
  307.   
  308.   #TMP_DIR=$UNSHAR_MAP_DIR/tmp            # common for unsecure /tmp
  309. ! TMP_DIR=/usr/tmp                # if /usr/tmp is sticky
  310.   #TMP_DIR=$LIB_DIR/tmp
  311.   
  312.   
  313. ***************
  314. *** 904,910 ****
  315.   # normal users.  A common directory for smail utilities to append to
  316.   # SECURE_PATH is UTIL_BIN_DIR.
  317.   
  318. ! #SECURE_PATH=/bin:/usr/bin:/usr/ucb        # common for BSD systems
  319.   #SECURE_PATH=/bin:/usr/bin:/usr/amdahl/bin    # common for UTS/580 systems
  320.   #SECURE_PATH=/bin:/usr/bin            # common for System V system
  321.   
  322. --- 904,910 ----
  323.   # normal users.  A common directory for smail utilities to append to
  324.   # SECURE_PATH is UTIL_BIN_DIR.
  325.   
  326. ! SECURE_PATH=/bin:/usr/bin:/usr/sbin:/usr/local/bin    # common for BSD systems
  327.   #SECURE_PATH=/bin:/usr/bin:/usr/amdahl/bin    # common for UTS/580 systems
  328.   #SECURE_PATH=/bin:/usr/bin            # common for System V system
  329.   
  330. ***************
  331. *** 968,978 ****
  332.   # will read the compressed file: filename$DOT_Z and write the
  333.   # plain text to standard output while leaving the file compressed.
  334.   
  335. ! #COMPRESS=compress                # common
  336. ! #COMP_FLAG="-f"
  337. ! #UNCOMPRESS=uncompress
  338. ! #ZCAT=zcat
  339. ! #DOT_Z=".Z"
  340.   
  341.   #COMPRESS=pack                    # System V standard
  342.   #COMP_FLAG="-f"
  343. --- 968,978 ----
  344.   # will read the compressed file: filename$DOT_Z and write the
  345.   # plain text to standard output while leaving the file compressed.
  346.   
  347. ! COMPRESS=compress                # common
  348. ! COMP_FLAG="-f"
  349. ! UNCOMPRESS=uncompress
  350. ! ZCAT=zcat
  351. ! DOT_Z=".Z"
  352.   
  353.   #COMPRESS=pack                    # System V standard
  354.   #COMP_FLAG="-f"
  355. diff +context +recursive ./conf/lib/mkdefs.sh ../smail-3.1.25.new/conf/lib/mkdefs.sh
  356. *** ./conf/lib/mkdefs.sh    Tue Dec 24 04:02:58 1991
  357. --- ../smail-3.1.25.new/conf/lib/mkdefs.sh    Tue Jul 21 23:54:04 1992
  358. ***************
  359. *** 376,386 ****
  360.   list=$OTHER_SMAIL_NAMES
  361.   OTHER_SMAIL_NAMES=
  362.   IFS=$sep
  363. ! for i in $list; do
  364.       case "$OTHER_SMAIL_NAMES" in
  365.       ?*)    OTHER_SMAIL_NAMES="$OTHER_SMAIL_NAMES $i";;
  366.       *)    OTHER_SMAIL_NAMES="$i";
  367. !     esac
  368.   done
  369.   IFS=$save_IFS
  370.   
  371. --- 376,386 ----
  372.   list=$OTHER_SMAIL_NAMES
  373.   OTHER_SMAIL_NAMES=
  374.   IFS=$sep
  375. ! for i in $list; do if [ "$i" != "" ] ; then
  376.       case "$OTHER_SMAIL_NAMES" in
  377.       ?*)    OTHER_SMAIL_NAMES="$OTHER_SMAIL_NAMES $i";;
  378.       *)    OTHER_SMAIL_NAMES="$i";
  379. !     esac ; fi
  380.   done
  381.   IFS=$save_IFS
  382.   
  383. ***************
  384. *** 436,456 ****
  385.   
  386.   # Write out the simple variables
  387.   eval "cat <<EOF
  388. ! `for v in $VARS $LISTS $NLISTS; do echo \"\$v='\\\$\$v'\"; done`
  389.   EOF
  390.   "
  391.   
  392.   # write out the positive boolean list variables
  393. ! (IFS="$sep"; for i in $HAVE; do echo HAVE_$i=yes; done)
  394. ! (IFS="$sep"; for i in $OSNAMES; do echo $i=yes; done)
  395.   
  396.   # clear the negative boolean list variables
  397. ! (IFS="$sep"; for i in $NO_HAVE; do echo HAVE_$i=; done)
  398.   
  399.   # write the extensible set of variables that may have values
  400.   (IFS="$sep"
  401. !   for i in $MISC_DEFINES; do
  402. !     echo "$i"
  403.     done | sed -n -e 's/^\(.[^=]*\)$/\1=yes/p' \
  404.           -e 's/^\(.[^=]*\)=\(.*\)/\1='\2'/p'
  405.   )
  406. --- 436,458 ----
  407.   
  408.   # Write out the simple variables
  409.   eval "cat <<EOF
  410. ! `for v in $VARS $LISTS $NLISTS; do echo "$v='\$$v'"; done`
  411.   EOF
  412.   "
  413.   
  414.   # write out the positive boolean list variables
  415. ! #(IFS="$sep"; for i in $HAVE; do echo HAVE_$i=yes; done)
  416. ! (IFS="$sep"; for i in $HAVE; do if [ "$i" != "" ] ; then echo HAVE_$i=yes; fi ; done)
  417. ! #(IFS="$sep"; for i in $OSNAMES; do echo $i=yes; done)
  418. ! (IFS="$sep"; for i in $OSNAMES; do  if [ "$i" != "" ] ; then echo $i=yes; fi ; done)
  419.   
  420.   # clear the negative boolean list variables
  421. ! (IFS="$sep"; for i in $NO_HAVE; do  if [ "$i" != "" ] ; then echo HAVE_$i=; fi ; done)
  422.   
  423.   # write the extensible set of variables that may have values
  424.   (IFS="$sep"
  425. !   for i in $MISC_DEFINES; do if [ "$i" != "" ] ; then
  426. !     echo "$i" ; fi
  427.     done | sed -n -e 's/^\(.[^=]*\)$/\1=yes/p' \
  428.           -e 's/^\(.[^=]*\)=\(.*\)/\1='\2'/p'
  429.   )
  430. ***************
  431. *** 563,578 ****
  432.   EOF
  433.   
  434.   # write out the positibe boolean list variables
  435. ! (IFS="$sep"; for i in $HAVE; do echo "#define HAVE_$i"; done)
  436. ! (IFS="$sep"; for i in $OSNAMES; do echo "#define $i"; done)
  437.   
  438.   # clear the negative boolean list variables
  439. ! (IFS="$sep"; for i in $NO_HAVE; do echo "#undef HAVE_$i"; done)
  440.   
  441.   # write the extensible set of variables that may have values
  442.   (IFS="$sep"
  443. !   for i in $MISC_DEFINES; do
  444. !     echo "$i"
  445.     done | sed -n -e 's/^\(.[^=]*\)$/#define \1/p' \
  446.           -e 's/^\(.[^=]*\)=\(.*\)/#define \1        \2/p'
  447.   )
  448. --- 565,580 ----
  449.   EOF
  450.   
  451.   # write out the positibe boolean list variables
  452. ! (IFS="$sep"; for i in $HAVE; do if [ "$i" != "" ] ; then echo "#define HAVE_$i" ; fi; done)
  453. ! (IFS="$sep"; for i in $OSNAMES; do if [ "$i" != "" ] ; then echo "#define $i" ; fi; done)
  454.   
  455.   # clear the negative boolean list variables
  456. ! (IFS="$sep"; for i in $NO_HAVE; do if [ "$i" != "" ] ; then echo "#undef HAVE_$i" ; fi; done)
  457.   
  458.   # write the extensible set of variables that may have values
  459.   (IFS="$sep"
  460. !   for i in $MISC_DEFINES; do if [ "$i" != "" ] ; then
  461. !     echo "$i" ; fi
  462.     done | sed -n -e 's/^\(.[^=]*\)$/#define \1/p' \
  463.           -e 's/^\(.[^=]*\)=\(.*\)/#define \1        \2/p'
  464.   )
  465. ***************
  466. *** 644,663 ****
  467.   fi
  468.   
  469.   # clear the negative boolean list variables
  470. ! (IFS="$sep"; for i in $NO_HAVE; do echo "s|X_HAVE_${i}_X||g"; done)
  471.   
  472.   # write out the positive boolean list variables
  473. ! (IFS="$sep"; for i in $HAVE; do echo "s|X_HAVE_${i}_X|yes|g"; done)
  474. ! (IFS="$sep"; for i in $OSNAMES; do echo "s|X_${i}_X|yes|g"; done)
  475.   
  476.   # If this OS cannot correctly use #!/bin/sh at the beginning of bourne
  477.   # shell scripts, then convert them not to do this.
  478.   (IFS="$sep";
  479.     sed_hash_bang=true
  480. !   for i in $HAVE; do
  481.       case "$i" in
  482.       HAVE_HASH_BANG)    sed_hash_bang=false;;
  483. !     esac
  484.     done
  485.     if $sed_hash_bang; then
  486.       echo '1s|^#! */bin/sh|: /bin/sh|'
  487. --- 646,665 ----
  488.   fi
  489.   
  490.   # clear the negative boolean list variables
  491. ! (IFS="$sep"; for i in $NO_HAVE; do if [ "$i" != "" ] ; then echo "s|X_HAVE_${i}_X||g" ; fi; done)
  492.   
  493.   # write out the positive boolean list variables
  494. ! (IFS="$sep"; for i in $HAVE; do if [ "$i" != "" ] ; then echo "s|X_HAVE_${i}_X|yes|g" ; fi; done)
  495. ! (IFS="$sep"; for i in $OSNAMES; do if [ "$i" != "" ] ; then echo "s|X_${i}_X|yes|g" ; fi; done)
  496.   
  497.   # If this OS cannot correctly use #!/bin/sh at the beginning of bourne
  498.   # shell scripts, then convert them not to do this.
  499.   (IFS="$sep";
  500.     sed_hash_bang=true
  501. !   for i in $HAVE; do if [ "$i" != "" ] ; then
  502.       case "$i" in
  503.       HAVE_HASH_BANG)    sed_hash_bang=false;;
  504. !     esac ; fi
  505.     done
  506.     if $sed_hash_bang; then
  507.       echo '1s|^#! */bin/sh|: /bin/sh|'
  508. diff +context +recursive ./conf/os/bsd4.3 ../smail-3.1.25.new/conf/os/bsd4.3
  509. *** ./conf/os/bsd4.3    Sun Oct 27 08:21:43 1991
  510. --- ../smail-3.1.25.new/conf/os/bsd4.3    Wed Jul 22 02:01:30 1992
  511. ***************
  512. *** 18,24 ****
  513.   FLOCK_MAILBOX=yes
  514.   
  515.   # MAILBOX_DIR - in which directory are user mailbox files
  516. ! MAILBOX_DIR=/usr/spool/mail
  517.   
  518.   # CONSOLE - name of the console device file
  519.   CONSOLE=/dev/console
  520. --- 18,24 ----
  521.   FLOCK_MAILBOX=yes
  522.   
  523.   # MAILBOX_DIR - in which directory are user mailbox files
  524. ! MAILBOX_DIR=/var/mail
  525.   
  526.   # CONSOLE - name of the console device file
  527.   CONSOLE=/dev/console
  528. ***************
  529. *** 31,40 ****
  530.   "
  531.   
  532.   # SECURE_PATH - directories containing system-supplied user programs
  533. ! SECURE_PATH=/usr/ucb:/bin:/usr/bin
  534.   
  535.   # OSLIBS - name any object libraries containing routines we will need
  536. ! OSLIBS=-ldbm
  537.   
  538.   # DRIVER_CONFIGURATION - configuration file describing smail drivers
  539.   DRIVER_CONFIGURATION=bsd-network
  540. --- 31,40 ----
  541.   "
  542.   
  543.   # SECURE_PATH - directories containing system-supplied user programs
  544. ! # SECURE_PATH=/usr/ucb:/bin:/usr/bin
  545.   
  546.   # OSLIBS - name any object libraries containing routines we will need
  547. ! # OSLIBS=-ldbm
  548.   
  549.   # DRIVER_CONFIGURATION - configuration file describing smail drivers
  550.   DRIVER_CONFIGURATION=bsd-network
  551. ***************
  552. *** 43,53 ****
  553.   RANLIB=ranlib
  554.   
  555.   # CHOWN - command to use for accessing the chown program
  556. ! CHOWN=/etc/chown
  557.   
  558.   # HAVE - what features should be used with this operating system
  559.   HAVE=RENAME:MKDIR:BSD_NETWORKING:SYSEXITS:DBM:NDBM:BSTRING:SYS5STRLIB
  560.   HAVE=$HAVE:GETOPT:GETHOSTNAME:HASH_BANG:DUP2:READDIR:SETGROUPS:FSYNC
  561.   
  562.   # UUCP_SYSTEM_FILE - path to UUCP file containing remote systems
  563. ! UUCP_SYSTEM_FILE=/usr/lib/uucp/L.sys
  564. --- 43,54 ----
  565.   RANLIB=ranlib
  566.   
  567.   # CHOWN - command to use for accessing the chown program
  568. ! CHOWN=/usr/sbin/chown
  569.   
  570.   # HAVE - what features should be used with this operating system
  571.   HAVE=RENAME:MKDIR:BSD_NETWORKING:SYSEXITS:DBM:NDBM:BSTRING:SYS5STRLIB
  572.   HAVE=$HAVE:GETOPT:GETHOSTNAME:HASH_BANG:DUP2:READDIR:SETGROUPS:FSYNC
  573. + HAVE=$HAVE:HDB_UUCP:VFPRINTF
  574.   
  575.   # UUCP_SYSTEM_FILE - path to UUCP file containing remote systems
  576. ! UUCP_SYSTEM_FILE=/etc/uucp/sys
  577. diff +context +recursive ./src/lookup.c ../smail-3.1.25.new/src/lookup.c
  578. *** ./src/lookup.c    Mon Oct 28 07:40:28 1991
  579. --- ../smail-3.1.25.new/src/lookup.c    Wed Jul 22 02:01:13 1992
  580. ***************
  581. *** 668,674 ****
  582.       priv->proto = proto;
  583.       priv->name = name;
  584.       *db = (char *)priv;
  585. ! #ifdef lock_fd_rd_wait
  586.       if (lock_fd_rd_wait(dbm_pagfno(priv->db)) < 0) {
  587.           *error = "database is locked, try again later";
  588.           return FILE_AGAIN;
  589. --- 668,674 ----
  590.       priv->proto = proto;
  591.       priv->name = name;
  592.       *db = (char *)priv;
  593. ! #ifndef lock_fd_rd_wait
  594.       if (lock_fd_rd_wait(dbm_pagfno(priv->db)) < 0) {
  595.           *error = "database is locked, try again later";
  596.           return FILE_AGAIN;
  597. diff +context +recursive ./util/dbm_compat.h ../smail-3.1.25.new/util/dbm_compat.h
  598. *** ./util/dbm_compat.h    Tue Dec 24 04:03:10 1991
  599. --- ../smail-3.1.25.new/util/dbm_compat.h    Wed Jul 22 00:34:40 1992
  600. ***************
  601. *** 1,5 ****
  602.   /* @(#)util/dbm_compat.h    1.3 09 Dec 1991 01:37:41 */
  603.   /*
  604.    * dbm_compat.h:
  605.    *    Low-functionality compatibility header for dbm and ndbm.
  606. --- 1,5 ----
  607.   /* @(#)util/dbm_compat.h    1.3 09 Dec 1991 01:37:41 */
  608. ! #include <sys/types.h>
  609.   /*
  610.    * dbm_compat.h:
  611.    *    Low-functionality compatibility header for dbm and ndbm.
  612.  
  613. -- 
  614. He ought to be put in his place | He has a brain | andrew@acwbust.sub.org
  615. Is there a shovel around ? <mr> | but it hasn't reached his head yet. ;->
  616.