Commit graph

1210 commits

Author SHA1 Message Date
Jordan K. Hubbard 3eaa341f6a Bring my changes forward from 2.1 1995-12-11 16:32:33 +00:00
Peter Wemm 6d41b96fd7 Implement support for conf/options and i386/conf/options.i386
Note that this code is dormant unless the options files exist.
Also, parsing of quoted options in the config files is improved.

What this allows, is all the options in LINT to be specified to be
configured as #defines in a file rather than on the CC command line at
kernel build time.  This means that 'make depend' will catch dependencies
on actual *options*, meaning that you can run 'config' and 'make depend'
in complete safety WITHOUT removing the compile directory each time.

Unfortunately, this requires a pass over the source to get the individual
files to #include the new .h files that would be generated by config.
This has a small compile time penalty (appears up to about 2% slower)
from a "fresh" build.  Of course, you should not be needing to do complete
rebuilds very often once this was completed, so it would be an overall
win for most people.

Since this code is dormant and we've got a lot of other things happening
on the kernel tree at the moment (prototypes, devfs, static declarations
etc) I am not planning on doing any changes to activate this feature just
yet.
1995-12-11 10:52:34 +00:00
Andrey A. Chernov 4c5c144aa0 Back out "find itself" fix for security purist reasons from
sendmail mailing list. Our /etc/rc will be fixed instead.
It seems sendmail becomes more and more incompatible, f.e.
Return-Receipt-To not works anymore :-(
1995-12-09 19:36:49 +00:00
Julian Elischer fcc69d1196 Submitted by: John Hay
Ok, I shouldn't have said it was the last one previously. :-))

This fix a stupid bug in the select code.

John
1995-12-09 09:42:03 +00:00
Andrey A. Chernov 36f8da038f Fix SIGHUP restarting bug: sendmail can't find itself, it uses argv[0]
but don't uses PATH
1995-12-09 06:32:24 +00:00
Andrey A. Chernov de8c2644e5 Fix error: startslip -> sliplogin 1995-12-09 05:13:27 +00:00
Peter Wemm c46353cc1b Update sendmail's "knowledge" of the ps_strings structure.
This really is ugly, we need setproctitle() in a shared lib somewhere to
make these more transparent.
1995-12-09 05:01:24 +00:00
Peter Wemm 3d334e23c5 Specify Timeout.queuewarn.normal at 1day as well as Timeout.queuewarn.
For some reason, the documentation does not appear to be in sync with
reality.. :-)
1995-12-07 16:38:34 +00:00
Bruce Evans 4ca7e8ae71 Fixed the type of a signal handler. 1995-12-07 14:47:36 +00:00
Bruce Evans f781e76a9a Moved a test for HAVE_GETBOOTFILE to after the #include of the
configuration header that may define it.  Fixed the resulting
warnings.
1995-12-07 14:46:07 +00:00
Bruce Evans df4b6087db Added missing data to a struct initializer by copying it from similar
initializers.  This may not be correct, but the initializer shouldn't
have compiled before.
1995-12-07 14:41:22 +00:00
Bruce Evans de2bdb25ca Fixed the type of time_type. 1995-12-07 14:33:33 +00:00
Peter Wemm 40b0c0d936 Update the -current sources from the 2.1 branch.
Approved (in spirit) by: jkh
1995-12-07 10:34:59 +00:00
Peter Wemm f92e685bdf Make sendmail's setproctitle() use PS_STRINGS rather than smash
the argv.  It appears that this once didn't work, but now it seems
to work just fine.
1995-12-06 07:56:47 +00:00
Julian Elischer 61f20197ae Submitted by: john hay
>From jhay@mikom.csir.co.za Mon Dec  4 09:48:12 1995
Subject: Yet another IPXrouted fix

I think these should
should make IPXrouted fairly stable. These last problems only showed when
we had more than one route of the same cost to a net.

This will fix some endless loops in the clone code.

John
--
John Hay -- John.Hay@csir.co.za
1995-12-05 04:59:56 +00:00
Peter Wemm 2a13a5af9f Whitespace change - cosmetic alignment only. 1995-12-04 13:40:59 +00:00
Julian Elischer 55ecbbbd16 Submitted by: John Hay
patches to allow correct deletion of IPX routes
1995-12-04 10:36:02 +00:00
Peter Wemm e22b29b9fe Add in Gary's custom Received: line into the freefall.mc 1995-12-04 09:17:56 +00:00
Peter Wemm dc19cc1e87 Add "majordom" to trusted user class for freefall's sendmail.mc file.
Sigh, I really hate this "feature". I'm tempted to comment the test out
(like in sendmail 8.6.xx), especially since we log the info in the
Received: header line anyway..  Doing it like this only makes it painful
for things like uucp..
1995-12-04 08:42:22 +00:00
Nate Williams 5e15ba9fd8 Added support for the slip.hosts options 'normal', 'compress', 'noicmp',
and 'autocmp'.

Obtained from: (mostly) slattach and (slightly) 1.X
1995-12-04 06:10:29 +00:00
Jordan K. Hubbard 65e4d1b9b3 mountdbtab -> mountdtab; whoops!
A small extra diagnostic for loading packages.
1995-12-04 02:22:02 +00:00
Peter Wemm 89f3506f1f Fold in changes to files no longer on the vendor branch from 8.7.3 update. 1995-12-03 17:51:40 +00:00
Peter Wemm 62845ab15e This commit was generated by cvs2svn to compensate for changes in r12601,
which included commits to RCS files with non-trunk default branches.
1995-12-03 17:45:56 +00:00
Peter Wemm 3ba89ccd65 Import sendmail-8.7.3. One small but important bugfix.
I was about to apply this bugfix manually, not expecting 8.7.3 to be
released quite this quickly.. :-)
1995-12-03 17:45:56 +00:00
Peter Wemm 1cdee109d0 *GULP* cvs remove the uncomfortably large list of files that are no longer
part of sendmail 8.7.2...
1995-12-02 20:58:10 +00:00
Peter Wemm c46725b9d5 Update the freefall.mc file to (almost) match what is actually being
run on freefall..
Create freebsd.mc which is intended to be installed by src/etc/Makefile
onto generic freebsd systems.
1995-12-02 19:57:42 +00:00
Peter Wemm 03d7755c08 Re-disable the cf/cf SUBDIR - we were not building it before anyway.
The Makefile down there does not handle the obj dir well..
1995-12-02 18:36:12 +00:00
Peter Wemm fb1869a787 Initial round of conflict resolutions.. I need to do another
pass over this and check it more closely, but my initial concern was
to get it to all compile again.  Some of the obsoleted files 'cvs rm'ed.
1995-12-02 18:17:40 +00:00
Peter Wemm 58162a7314 Import Sendmail-8.7.2 as discussed on -current.
The conflict merge will happen shortly after.
1995-12-02 17:30:23 +00:00
Peter Wemm 95c20a2b6e This commit was generated by cvs2svn to compensate for changes in r12571,
which included commits to RCS files with non-trunk default branches.
1995-12-02 17:30:23 +00:00
Jordan K. Hubbard 32c45b7219 Fix second gets() -> fgets() conversion botch I missed. 1995-12-02 11:01:43 +00:00
Poul-Henning Kamp 7de4ce7671 Commit the longstanding bin/410 & kern/411 fix, in the hope that somebody
will find out if it works/breaks before we do our next release.  It's all
about bad blocks in the remap area of the disk.
1995-12-01 11:07:01 +00:00
Jordan K. Hubbard b80417f9ab Adjust a perror() to print the actual target of the error. 1995-12-01 10:36:12 +00:00
Jordan K. Hubbard 6474989dfe Account for newline in fgets(). Whoops!
Noticed by:	peter
1995-12-01 10:26:20 +00:00
Jordan K. Hubbard 1c71c164fc Stamp out more calls to gets(). 1995-12-01 08:02:06 +00:00
Garrett Wollman 8e7fbe0241 If CONFIG_NO_CLOBBER_EVER is defined (e.g., in /etc/make.conf), don't make
it possible for config to ever blow away a work directory.  Default behavior
remains broken.
1995-11-28 20:29:58 +00:00
Peter Wemm a92a00527e Disconnect fsdb in preperation for move to /sbin 1995-11-24 23:00:02 +00:00
Peter Wemm d57885c30d If sendmail is collecting a message *not* via SMTP, then this patch will
turn off the read data block timeouts.  This was inspired by the same fix
in sendmail-8.7, but the code in this area is somewhat different. (8.7
is much more sensible).  This will stop the infamous
"timeout waiting for input during message body read" on long running jobs,
eg: /etc/daily | mail root.
1995-11-20 23:32:21 +00:00
Joerg Wunsch 1cc09ccecf Avoid bogus free() of a junk pointer.
Detected by: phkmalloc
Submitted by:	grog@lemis.de (Greg Lehey)
1995-11-17 23:22:34 +00:00
Poul-Henning Kamp 6dcfd07215 Make this compile again by adding the necessary includes. 1995-11-17 16:29:24 +00:00
Poul-Henning Kamp 07f16e5324 Make sysctl compile again by removing all the debug stuff. 1995-11-17 16:28:42 +00:00
Jordan K. Hubbard 07dae43c52 Warn the user extra special for /etc/sysconfig. 1995-11-17 14:17:12 +00:00
Peter Wemm be467afaff With the recent 'make install' change in the kernel build makefiles, an
`interesting' feature of syslogd turned up.  It calls getbootfile() for each
log entry.  Since the kernel makefile now changes kern.bootfile when doing
a 'make install', it's quite startling to see the syslog lines change.

This change makes it call getbootfile() once at startup and cache it,
saving a syscall per loop, and keeping something a little more asthetically
pleasing in /var/log/messages...
1995-11-14 23:39:39 +00:00
Julian Elischer 789fb00734 Submitted by: John Hay <jhay@mikom.csir.co.za>
Here is some patches to IPXrouted. It does the following:

Always use the sap port in the destination address of sap broadcasts.
Clear the host part of network addresses so that routes will really
be deleted in the kernel.
1995-11-13 21:01:36 +00:00
Jordan K. Hubbard 1c0aaa3778 More helpful error messages. 1995-11-12 20:47:15 +00:00
Jordan K. Hubbard 24bf38d797 Initialize ld.so.hints if necessary. 1995-11-12 11:02:43 +00:00
Jordan K. Hubbard bfa80732bd Make editor start on right screen for anonFTP setup.
Don't clobber mediaDevice if post-configuring networking from CDROM.
1995-11-12 07:27:58 +00:00
Jordan K. Hubbard 0ad65298ab Bring my pkg_install improvements forward from 2.1. 1995-11-12 04:55:40 +00:00
Jordan K. Hubbard 5b5222d0c0 Add verbosity to add in tracking a mystery sig-11 with this.. 1995-11-11 11:56:40 +00:00
Jordan K. Hubbard 5ea15b92f1 Fix some missing parameters to the anon ftp setup area. 1995-11-11 11:49:22 +00:00