Commit Graph

2295 Commits

Author SHA1 Message Date
fenner
b161bbd010 Update wording of the one message that was in the DIAGNOSTICS section.
Add three other common messages.

This should be in 2.2 to go with the netinet/if_ether.c rewording.
1996-11-17 23:25:17 +00:00
phk
e696736e52 Make the case where there is no changes look less fatal. 1996-11-17 08:11:18 +00:00
wosch
6b96105e09 install rmuser, addgroup, rmgroup in /usr/sbin 1996-11-17 03:51:33 +00:00
joerg
ddd4c56592 Initialize memory obtained by malloc().
Detected by: phkmalloc -AJ
1996-11-16 22:49:02 +00:00
joerg
7f32fc4e01 Provide a symlink for /bin/sh when the fixit floppy is mounted, so
scripts using #!/bin/sh (like /mnt2/dev/MAKEDEV) will work.

Observed by:	andreas
1996-11-16 22:42:13 +00:00
se
ddd974cb42 Fix core dump after printing usage message (pointed out by BDE).
Add printing of PCI header type register. (This makes the output
80 columns wide. Ughh. I'm looking for a better way to put the
information on one line ...)
1996-11-16 22:05:52 +00:00
phk
f0c019885a Check bogus and ignore against the relative name, not the absolute. 1996-11-16 22:05:46 +00:00
phk
8f3378d1da Improve mkctm.c so we can use it, and start using it.
This should help quite a bit on the load.  Notice that
some minor changes in config files will be needed.
Contact me for details.
1996-11-16 19:30:14 +00:00
peter
45b9775b70 Disallow non-root users to start in daemon mode.
Obtained from: Eric Allman <eric@sendmail.org>
1996-11-16 16:41:17 +00:00
jkh
c228a8734e Add vx to list of devices. 1996-11-15 19:53:08 +00:00
wpaul
c80b197509 Eek! When I added the YP_INTERDOMAIN and YP_SECURE support, I documented
and set the B and S variables here, but I forgot to actually add them to
the master.passwd and hosts.* targets. In other words, they weren't being
passed to yp_mkdb as needed.

This needs to go into 2.2; it doesn't break things a lot, but it leaves
your master.passwd maps available to unprivileged users without you
realizing it.
1996-11-15 18:01:59 +00:00
peter
f30080a608 oops, forgot to commit this. the sockaddr_un init code was missing
initialisers for sun_len and not accounting for it in the sizeof
calculation.  Ie: it was potentially sending an unterminated string into
the kernel.
1996-11-15 15:56:45 +00:00
peter
6926a0a5d1 Fix harmless bugs found while hunting for chpass nis failure 1996-11-15 14:13:51 +00:00
peter
f4d89c626a Uninitialised length variable passed to accept(), causing random accept()
failures due to EFAULT.

This is screaming out to go into 2.2
1996-11-15 14:12:21 +00:00
ache
e1ccbc2171 Use new ftpGetURL interface, as result, report FTP error
via ftpErrString or net error via hstrerror(h_errno)
1996-11-14 07:30:17 +00:00
jkh
8abee3fb20 "over 600 packages" (geeze, this has been sitting uncommitted in my
source tree for 5 days! :-( ).
1996-11-14 05:46:22 +00:00
jkh
7b067e2a3b Bring forward doc changes from 2.2. Much will need changing for 3.0,
which is where this is headed, but it's better than the 2.2-SNAP
docs.
1996-11-13 12:35:17 +00:00
pst
483afbf1c7 Back out freebsd local change which always forced SMTP to assume an 8-bit
clear channel.  This change was originally put in for freefall, and is
completely irrelevant given that freefaill defines the generic SMTP
service to use the smtp8 mailer (which is standard mechanism.)

[The original patch violated RFC-821.]

Apply to: 2.2 (please)
1996-11-13 08:06:26 +00:00
pst
3edb536d3f Manage UTMP entry if we're doing username/password PAP logins 1996-11-13 01:33:10 +00:00
jkh
37631e6b23 Only save userconfig changes if the boot floppy version and the
installed version match.

Pointed-out-by: hosokawa@mt.cs.keio.ac.jp (HOSOKAWA Tatsumi)
1996-11-12 18:39:35 +00:00
phk
177b1ceb35 doc/1987, table heading in error.
Submitted by:	Mark Valentine Mark Valentine <mark@linus.demon.co.uk>
1996-11-12 13:37:51 +00:00
fenner
eb4f38517a Update to the unreleased mrouted 3.8a . This includes a minor
endian-ness fix, Router Alert options on IGMP messages, and a
new keyword, "advert_metric", for fine-tuning tunnel metrics.

This also includes a new mtrace, which is also unreleased but
builds significantly on the experiences of users' troubles with
using and understanding mtrace in release 3.8 .

(unreleased does not, of course, mean untested!)

This is a candidate for both 2.2 and 2.1.6 .
1996-11-11 03:50:15 +00:00
julian
f447087e68 Reviewed by: Bill fenner
Submitted by:	Archie Cobbs (Archie@whistle.com)

Changes to allow inted to control the number of servers to
start on each service. This is a defence against a denial of service attack
in which the system is made unusable by
an external party. It also allows the behaviour of
small memory systems to be more accuratly predicted, by
bounding the extent to which processes can multiply.
1996-11-10 21:12:44 +00:00
julian
5278ea869e Reviewed by: Bill fenner
Submitted by:	 Archie Cobbs (archie@whistle.com)

changes to make inetd compile cleaner under -Wall
1996-11-10 21:07:27 +00:00
wosch
e15ba7df33 Add sendmail option '-oi'
-oi	Do not take dots on a line by themselves as a
		message terminator.

Now this crontab entry works:
* * * *	*	echo foo; echo .; echo blah
1996-11-10 04:46:58 +00:00
jkh
050dc7a285 Disgusting kludge to make depend rule work again in the fact of
Joerg's keymap.[ch] changes.  If there's a better way, I'd like to know.
1996-11-09 20:50:23 +00:00
jkh
8cbeefe2ba Whups, we need the VGA16 server by default too. 1996-11-09 19:47:24 +00:00
jkh
1efb28c052 1. Saner ldconfig path.
2. Choose DIST_XF86_CFG in defaults; XF86Setup isn't happy otherwise.
1996-11-09 19:26:01 +00:00
jkh
d21e76e0ba 1. Take out console setup in options now that Joerg has moved it into
the main menu.
2. Conditionalized a few small things which needed it.
3. Put PC98 X servers in their own menu, there are so many of them now.
4. Rampaged on the menus.c file in general, reformatting and cleaning up.
1996-11-09 18:12:17 +00:00
joerg
88d8c0377c Sysinstall now offers the installation of a keymap early in the game!
Not all mappings are supported, most languages come only with one
encoding since this should be sufficient to get up & running in using
sysinstall, and we are already pretty tight on space.  (My previous
commit has already bumped the boot MFS size by another 50 KB for
this.)

This feature requires the `kbdcontrol -L' i've just committed.  Plain
text keymaps and the entire scanner are overkill for sysinstall.

Also updated the list of available keymaps while i was at it.

Reviewed by:	jkh
1996-11-09 16:47:08 +00:00
joerg
ce411f960d Several improvements to the `fixit' configuration:
. Don't gzip the crunched binary by now; it just fits, and execution is
  a lot faster this way (it's truly demand-paged again).

. Add more(1), ft(8), protocols(5), a stripped down services(5).

. Improve the .profile, and make sysinstall actually use it again.

Still no go for a 4 MB configuration though. :-(
1996-11-09 16:25:47 +00:00
joerg
5e95f3ceb1 Implement a -L option that dumps the compiled keymap (as C code) to
stdout.  The next commit to sysinstall will use this...
1996-11-09 16:16:19 +00:00
joerg
99f986b1f6 If mounting the fixit floppy fails in the first place, warn the user
but make a second attempt using MNT_FORCE, just in case it has been
unclean from a previous crash.  That's dangerous, but far better than
keeping the despaired user standing in the rain...

(Experienced admins can still fsck it then, and remount.  Others will
either totally crash, or incidentally succeed, without much further
help possible...)

Btw., mount(2) misses the description of MNT_FORCE for the mount
syscall.
1996-11-09 11:57:40 +00:00
jkh
f8952e421c 1. Eliminate the sendmail.cw bogon again. Peter fixed it correctly.
2. Preload the ldconfig cache before calling X setup.
1996-11-08 05:38:27 +00:00
peter
e0450ac1fb make the /etc/sendmail.cw file optional by default.
Definately should go into 2.2..

Requested by: lots of people
1996-11-08 05:22:50 +00:00
jkh
80280d6037 More cosmetic tweaks, get the prefixes adjusted properly to XFree86 3.2's
new packaging scheme.
1996-11-07 18:30:59 +00:00
jkh
e570bb4c0c Make sure current_chunk is 0 each time we enter the editor. 1996-11-07 16:40:10 +00:00
jkh
a216a996d5 This warning is too annoying now. Kill it. 1996-11-07 16:34:12 +00:00
jkh
5e17097f62 Install an evil work-around for /etc/sendmail.cw
[same as from 2.2]
1996-11-07 15:45:59 +00:00
jkh
cc06811526 Complete switch-over to XF86 3.2. 1996-11-07 15:35:48 +00:00
jkh
3c0a53e417 Properly clear FTP site selection info when network init fails; the
site name may have been wrong, or need to be specified by IP.
1996-11-07 14:17:09 +00:00
jkh
0096c37cc7 Joerg's changes to add screen font and screenmap setting.
Some changes of my own to make screen saver configuration a little
more sane, and also make it easier to get to the keyboard/screen
setup from the options menu.
1996-11-07 08:03:29 +00:00
pst
3fc22aee34 The standard .mc files shipped with the new sendmail have an extra divert(0)
at the top.  Make our freebsd-supplied files match the standard files.

Apply-to: 2.2
1996-11-06 22:30:29 +00:00
phk
d9dd74baff when you try to run iostat is fails with invalid dk_ndrive 0
Reviewed by:	 phk
Submitted by:	John-Mark Gurney <jmg@nike.efn.org>
1996-11-06 19:43:10 +00:00
jkh
cfca50b054 Update to XFree86 3.2 1996-11-06 19:15:30 +00:00
joerg
e06484e173 Update the man page: the Philips CDD2000 is now supported.
2.2 candidate, iff the driver update has been merged.
1996-11-06 13:35:27 +00:00
phk
044dd6aa9d Remove a bogon from version 1.69. Just because we say "use all disk"
doesn't mean that our geometry can be flushed down the drain.
1996-11-05 19:53:20 +00:00
wosch
ff98acfec9 export PATH variable 1996-11-04 23:57:40 +00:00
wosch
224bcd3062 add PATH variable, use it 1996-11-04 23:54:01 +00:00
wosch
6cafac377a export PATH variable 1996-11-04 23:50:58 +00:00
jkh
ee3ca8f901 Placate Joerg some more by making screen savers get a reasonable default
timeout.
2.2-RELEASE candidate, like all the work here in release/sysinstall.
1996-11-04 17:42:22 +00:00
wosch
7336c227c5 manpages for rmgroup(8) and addgroup(8) 1996-11-04 17:21:11 +00:00
bde
7aa4a66a12 Fixed recently-introduced bugs:
- `slstat' with no args dumped core.
- `slstat unit' always failed with a "sysctl linkspecific" error.
- the usage message was nonstandard.

Fixed old bugs:
- missing prototypes, Wformat errors, and other lint.
1996-11-04 17:14:43 +00:00
bde
7a91a5fea3 The interface number hasn't been a _single_ digit since prehistoric times. 1996-11-04 17:13:46 +00:00
jkh
dbb1ac2255 Use macros for package names so it's easier to update them in one
place (sysinstall.h) when packages change rev.

Change the way that the routing daemon is configured entirely, to
placate Joerg.  Also auto-load gated if it's specified, while we're at it.
1996-11-04 12:56:33 +00:00
jkh
1d95a77aa2 Make it clearer that DNS has succeeded for your host choice. 1996-11-04 02:12:49 +00:00
adam
c8eaf0b8b6 typo 1996-11-03 12:25:21 +00:00
jkh
1ba8fe776a Fix a bogus decent into the network setup screen when running
multi-user.

Don't clear media on dist failure - this was one of those "seemed like a good
idea at the time" sorts of features.
1996-11-02 19:50:32 +00:00
imp
a508b60adc Fix minor buffer problems:
Off by one in verify allowed one to march one byte off the end of
	wd.wd_hostname if wd.wd_hostname had no NUL characters in it.

	strncpy of myname into mywd used the source buffer's length, rather
	than the dest.
1996-11-01 06:29:34 +00:00
alex
8d80515b00 Fix incorrect length argument to memset() function. Closes PR#1937.
Submitted by:	Archie Cobbs <archie@whistle.com>
1996-11-01 01:42:08 +00:00
joerg
3029e93724 Improve the sample login script now that our sh(1) understands -p.
Closes PR # docs/1383: ppp(8) man page suggests using shell script...
1996-10-31 19:55:05 +00:00
ache
2e12dc9fbc Fix base64->8bit conversion
Submitted by: Eric Allman <eric@sendmail.org>
1996-10-31 00:45:43 +00:00
ache
9331b2cc7e Oops, don't suppress initial output header (from previous commit),
it is superfluous
1996-10-31 00:03:14 +00:00
ache
9bed9d0fb5 1) print only errors if -v not given, it allows non-verbose
crontab runnig
2) use full path /usr/bin/mail for security reasons
3) Use time_t instead of long for time (in one place)
1996-10-30 23:58:08 +00:00
wosch
aafdab57f3 rmgroup - delete a Unix group
usage: rmgroup group
1996-10-30 20:58:47 +00:00
wosch
7736b90b96 addgroup - add a group or add users to a group
addgroup [-g gid] group [user[,user,...]]
1996-10-29 20:31:43 +00:00
se
348afbb79a Correct indentation of multi-LUN device info. (Slightly different fix
than suggested by Bruce Evans).

Submitted by:	bde
1996-10-29 19:32:31 +00:00
peter
f46f416def Integrate our changes from bin/rmail. Mainly it causes immediate
delivery rather than queueing it and forgetting it.

(and some -Wall fixes where gcc is too dumb to see it's a "cant happen")
1996-10-29 11:32:22 +00:00
peter
7bfbad3404 Convert the DONT_FSYNC compile time option to a runtime option (like
nobiff).  The options to turn these on are specified in the
LOCAL_MAILER_ARGS define the the sendmail.mc that you build from.
1996-10-29 05:35:24 +00:00
peter
6d127efe9f Merge in our changes from src/libexec/mail.local. This version doesn't
violate disk quotas, has more robust locking, is still being developed,
etc.  The main changes merged in were the ability to not fsync() the
mailbox, not do biff/comsat broadcasts, man page fixes.
1996-10-29 05:22:52 +00:00
joerg
e9e54bcde4 Do not modify a malloc()ed pointer; instead, use memmove().
Detected by: phkmalloc - AJ :)
1996-10-28 23:02:38 +00:00
joerg
ccc0f03f6b Back out the entire change from rev 1.11 of syslogd.c. It was bogus.
Correct the man page to reflect the new reality.
1996-10-28 08:25:13 +00:00
alex
63862d7113 Fix a typo, putput --> output.
Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
1996-10-27 23:12:48 +00:00
imp
354a4db3b5 lpc/cmds.c:
From NetBSD via OpenBSD to fix NetBSD PR #506
	More descriptive message for printer status
	(OpenBSD: 1.2)

	Various warnings cleaned up (OpenBSD: 1.4)

lpc/lpc.c:
	Various warnings cleaned up (OpenBSD: 1.3)

lpd/lpd.c:
	Remove trailing blank lines (OpenBSD: 1.2)

	Potential umask problem with creating /dev/printer
	(OpenBSD: 1.4 and 1.5)

	Ftp bounce attack (untested on FreeBSD)
	(OpenBSD: 1.6, 1.8, 1.9)
	Fencepost in strncpy
	(OpenBSD: 1.6)

lpd/printjob.c:
	Fix from freebsd for waiting for an exiting filter, that
	appears not in the FreeBSD CVS tree.
	(OpenBSD: 1.6)

lpd/recvjob.c:
	Buffer overflow protection: use strncpy rather than strcpy.
	(OpenBSD: 1.3)

lpr/lpr.c:
	NetBSD change of return type for main()
	(OpenBSD: 1.2)

	Restrict time running as root
	(OpenBSD: 1.7)

	Use getcwd rather than getwd (from NetBSD)

	Use snprintf rather than sprintf
	(OpenBSD: 1.8)

	Minor tweak to end of loop and buffer overflow sanity.  card()
	overflow already in FreeBSD
	(OpenBSD: 1.9)

lptest/lptest.c:
	void -> int return type of main, from NetBSD via OpenBSD
	(OpenBSD: 1.2)

pac/pac.c:
	void -> int return type of main, from NetBSD via OpenBSD
	(OpenBSD: 1.3)

Obtained from: OpenBSD
1996-10-27 03:06:52 +00:00
imp
a5f434cb1c Fix transcription error I introduced in last patch. This created a
fencepost error that would run one off the end of the buffer.

Noticed by: Bruce Evans
1996-10-26 00:46:34 +00:00
imp
96b7b01c64 Fix a problem where the command line could be used to overflow a stack
buffer which could be made to lead to a root shell.  This patch is
OpenBSD's solution to the problem, and will silently truncate the
output rather than overflow the buffer.

Obtained from: OpenBSD
1996-10-25 18:14:48 +00:00
bde
104718bd5b Made this work for non-root again. The security fixes in rev.1.11
were equivalent to disabling its setgid'ness, since the default
kernel was not distinguished from a user-specified kernel.
1996-10-25 15:36:42 +00:00
wpaul
23c458cf11 Add support for handling the YP_SECURE and YP_INTERDOMAIN keys from
any maps that may have them. If the YP_SECURE key is present, ypserv
will only allow access to the map from clients on reserved ports.
If the YP_INTERDOMAIN key is present, the server will do DNS lookups
for hostnames that it can't find in hosts.byname or hosts.byaddr.
This is the same as the -d flag (which is retained for backwards
compatibility) but it can be set on a per-map/per-domain basis.

Also modified /var/yp/Makefile to add YP_INTERDOMAIN to the hosts.*
maps and YP_SECURE to master.passwd.* maps by default.
1996-10-24 18:58:26 +00:00
wpaul
9c6283900e Add -b and -s flags for adding YP_INTERDOMAIN and YP_SECURE entries to
map databases. Also document said flags in the man page.

Adding YP_INTERDOMAIN to a map causes ypserv(8) to do a DNS lookup
when a yp_match() on the map fails. (This affects only the hosts.by*
maps; for all other maps it's ignored.) The YP_SECURE entry causes
ypserv(8) to restrict access to the map so that only clients making
requests from reserved ports can get at it.

Our ypserv doesn't currently support these features so they're silently
ignored for the moment, but this will change. :)
1996-10-24 14:52:50 +00:00
peter
3c73db0636 Untangle NEWDB/NDBM options.
Enable praliases.c to not use NDBM.
1996-10-24 14:04:03 +00:00
peter
0c4d52e349 missed this praliases.8 <-> praliases.0 change 1996-10-24 05:20:52 +00:00
peter
c927066f54 Fold sendmail-8.8.2 changes into files that have been touched.
(^!&@$#&^! delete !!@^@^ trailing !@^&#$!& whitespace!!!)
1996-10-24 05:07:25 +00:00
peter
c25f71c7e5 Import sendmail-8.8.2 onto the vendor branch
Obtained from: Eric Allman <eric@sendmail.org>
1996-10-24 04:51:14 +00:00
peter
117b06cef4 This commit was generated by cvs2svn to compensate for changes in r19146,
which included commits to RCS files with non-trunk default branches.
1996-10-24 04:51:14 +00:00
wosch
c7268b1813 fix FAQ URL. Note for Jordan: don't merge this change into 2.1.6! 1996-10-23 22:28:56 +00:00
wpaul
c2980df722 Add extra sanity checking to the in-place update routine. Sometimes you
find two users with the same UID (i.e. root and toor), but yp_mkdb(8)
forbits duplicate keys, so only one of them will end up in the *.byuid
maps (probably toor, since it comes after root in the template file).
If I asked rpc.yppasswdd(8) to change toor's password, it would update
the *.byname maps correctly, but incorrectly modify root's entry in
the *.byuid maps since the only matching record with UID=0 in those
maps belongs to root.

To fix this, we check that both the name and UID are correct before trying
to write new entries to the maps.
1996-10-23 21:46:17 +00:00
julian
b9fc5c00e5 Reviewed by: various (mailing list feedback)
Submitted by:	whistle communications

move the socket from /dev to /var/run by default
TRANSITIONALLY make syslog add a symlink..
I PROMISE I'll remove that as soon as I have the makefiles etc fixed as well.
1996-10-23 20:17:57 +00:00
wpaul
b7a42c0562 In ypxfr_callback(), the failure to create an RPC CLIENT * handle for
the callback is a fatal error for this function; return immediatlely if
this happens. Also make the "failed to establish callback handle" error
mesaage print the IP address of the target callback host.
1996-10-23 15:49:22 +00:00
wpaul
f8eb2a9fb7 Make error messages more informative. 1996-10-23 15:42:37 +00:00
scrappy
5371bc9b5c Fixes:
>Description:
        pppd failes to set control terminal if -detach option is given.

Submitted by: enami@ba2.so-net.or.jp
1996-10-22 21:41:43 +00:00
se
0e8236f24c Add pciconf. 1996-10-22 20:58:14 +00:00
se
1aed9ce9d1 This commit was generated by cvs2svn to compensate for changes in r19102,
which included commits to RCS files with non-trunk default branches.
1996-10-22 20:27:47 +00:00
se
97741b92a3 Initial version of the user land code for the PCI config register
access functions. Written by Garrett Wollman and modified by me to
better match my view of the (PCI) world.

Submitted by:	wollman
1996-10-22 20:27:47 +00:00
wpaul
37e1a46671 Two small changes that were in my development sources at home
but never made it here for some reason:

- 'u' option was missing from getopt string
- Use daemon() to become daemonic.
1996-10-22 14:58:10 +00:00
scrappy
5624ede1e3 Fixes:
If timed is running when system clock is changed by date command,
improper wtmp entry is made.  According to wtmp(5), two entries, one
with "|" as ut_line field and one with "{" for ut_line, should be
recorded, but, one with "|" and one with "}" are made.

Closes: PR#bin/1182

Submitted by:	 Masafumi NAKANE <masafumi@tky007.tth.expo96.ad.jp>
1996-10-22 05:13:42 +00:00
wpaul
66f320435d Since rpc.yppasswdd(8) also supports adding entries to the
/var/yp/master.passwd template file and it uses the same kind of code
as chpass(1), it may also be vulnerable to the bug from PR #1519.
May as well deal with it since I'm in the area. (yppasswdd in -stable
doesn't do additions, therefore it shouldn't be have this problem.)
1996-10-22 03:53:06 +00:00
wpaul
46b1a4aff5 Begin closing out PR #1519 (this requires a change to chpass too,
and both changes need to be pulled into the stable branch). The
problem here is that when pwd_mkdb creates /etc/passwd, it turns
empty UID and GID fields into zeroes. To fix this, we check the
_PWF_UID and _PWF_GID bits in the pw_fields flag: if the bits
are not set, we print an empty field instead of a zero. This way,
you don't get zeroes in the UID or GID fields unless you explicit
want them.
1996-10-22 03:18:11 +00:00
pst
7fae940052 Fix a YTK bug. 1996-10-20 17:55:36 +00:00
joerg
0c6cd17945 Make pstat -s (aka. sswapinfo) print ``[NFS]'' as opposed to
``/dev/??'' for NFS swap.

I had a hard time to figure out whether it's possible to print the
actual mounted swap file, but i failed to get any information.  If
anybody knows how to get ``192.168.0.1:/swap.192.168.0.3'' instead,
please step forward!
1996-10-20 12:54:55 +00:00
jkh
a95b9bd326 Make changes suggested in PR#1825, closing it. Removes default local
hack behavior better than previous commit.
Submitted-By: Peter Childs <pjchilds@imforei.apana.org.au>
1996-10-18 03:47:53 +00:00
jkh
4822eb7860 Turn LOCALHACK off by default (whoops!)
Noticed-By: Atsushi Murai <amurai@spec.co.jp>
1996-10-18 01:44:45 +00:00
jkh
4bf196a8f9 Don't casually blow away FTP site settings now that it's easy for user
to override them.
1996-10-14 21:50:38 +00:00
jkh
1583864055 Remove the now-unusable ports configuration code. Swapping CDs is bogus. 1996-10-14 21:32:39 +00:00
jkh
34c1fc6b4c Fix PR#1557 - chained package dependencies using URLs didn't work. 1996-10-14 19:41:44 +00:00
sos
75d85a7c3c Fixed the security leek I introduced the other day, now
shell command is only executabel from command files, not
from the commandline.
1996-10-13 15:05:14 +00:00
jkh
3287a8d4c6 Be less draconian about distribution extraction errors - still write
/etc file changes out.
1996-10-12 23:48:33 +00:00
erich
69b9dc90e9 Get the pysical address for id_maddr when opening an -incore kernel.
This fixes the kernel panic when propagating userconfig changes to
arbitrary kernels.

Remove obsoleted `#include <tcl.h>' added a few <stdio.h> where
necessary.

Fix getting scsi bus information from an -incore kernel.

Turned on SAVE_USERCONFIG by default.
1996-10-12 20:23:26 +00:00
jkh
1689251411 Some cosmetic tweaks, attempt to fix package wait problem by checking
for error return as well (not sure if this is it, but it's one possible
explanation).
1996-10-12 19:30:26 +00:00
jkh
bba6a15120 1. Room to calculate MD5 for CHAP negotiation is shorter than
required. a core is not dumped at first connecting time and
   dumped at second or third time. (patch I)
2. A routine for "show route" refers out of allocated space.
   Values pointed by "lp" should be read as CHAR, I think.
   there is also no free() for disallocation. (patch II)

Here is also a patch for an improvement: In current imprementation,
even if PPP connection is disconnected by time out, prompt of
interactive mode does not change from "PPP>" to "ppp>" to
indicate the disconnection on a terminal.
So I modified the code to do that. (patch III)

Submitted-By: NAKAMURA Motonori <motonori@econ.kyoto-u.ac.jp>
1996-10-12 16:20:34 +00:00
wollman
19def30c85 De-cruftify.
Use the link MIB interface rather than groveling around in kmem.
(No longer works on dead kernels, big deal.)
1996-10-11 18:47:10 +00:00
sos
aedb306d8b Allow shell commands in all modes.
Old behavior can be had with define SHELL_ONLY_INTERACTIVELY
1996-10-10 11:27:35 +00:00
jkh
2bb87dfc53 Ahem. It might be nice if I included /usr/src/contrib in with the other
src dists.  This alone is a good reason to re-roll the SNAP before putting
it on CD.
1996-10-10 09:22:37 +00:00
pst
f6fcd56289 Enable NIS support 1996-10-09 20:34:09 +00:00
jkh
b3eb03e7b2 DTRT if ESC is hit in a Yes/No dialog.
Noticed-by: jfieber
1996-10-09 09:53:41 +00:00
sos
7510af99b9 Add the feature to use MYADDR & HISADDR macroes as arguments to
a shell escape.
1996-10-07 10:01:17 +00:00
jkh
e80eb7c648 Properly include prototypes.
Submitted-by: "Daniel O'Callaghan" <danny@panda.hilink.com.au>
1996-10-07 04:21:09 +00:00
jkh
5a5660018d Add passwdauth to list of vars.
Submitted-by: Peter Childs <pjchilds@imforei.apana.org.au>
1996-10-06 19:39:08 +00:00
jkh
5afa2e19b1 Sigh. There are still some weird boundry cases (argh!). Turn
off SAVE_USERCONFIG again until Eric comes back from his trip.
1996-10-06 16:31:12 +00:00
jkh
77e964b083 Detect the zero-chunks case properly, now that I've reversed the order
of the distribution probes over ftp.

Properly #ifdef the SAVE_USERCONFIG code.
1996-10-06 14:45:57 +00:00
jkh
0126fef03c Add support for the Evil Microsoft ppp extentions. Yes, they did it
on their own without even attempting to get concensus in the IETF, but
there are also lots of Win95/NT boxes out there.

CLoses PR#1494
Submitted-By: Peter Childs <pjchilds@imforei.apana.org.au>
1996-10-06 13:32:37 +00:00
jkh
c2c9760ed5 Correctly re-adjust current slice # when slices are deleted.
Beautify the code a little.
1996-10-06 11:40:31 +00:00
jkh
04e3c42800 Turn SAVE_USERCONFIG on again - I found the bug. 1996-10-06 03:20:12 +00:00
jkh
6039717098 Better PKG_TMPDIR handling. 1996-10-06 03:18:55 +00:00
jkh
e125f9e30d Be more paranoid about clearing the FTP path when we have the slightest
reason to doubt its authenticity.
1996-10-06 02:10:54 +00:00
wosch
000fb64288 delete doubled words, e.g.: "the the" -> "the" 1996-10-05 22:27:30 +00:00
jkh
5ab8a530e6 Make the save_userconfig() stuff conditional and turned off by default
(for now - still a few more wrinkles here).  Add more debugging code
and some cosmetic tweaks.
1996-10-05 16:33:05 +00:00
peter
57a32f2a60 syslogd has always bugged me with it's async startup at boot time.
For me, more often than not, the backgrounded syslogd daemon is not
yet ready to process log messages before other things (such as named)
want to log a heap of them.  It seems that it's the O_SYNC writes of
the stuff coming in from /dev/klog that's the slowdown.

Anyway, instead of using the libc daemon, roll a modified version.  This
one has a timeout.  The child will wait for either the timeout to expire
or the child process to signal it to let it know that it's "ready" and
the /dev/log socket is set up and active, so it's safe to continue the
boot.  It adds a small fraction of a second pause to the boot time, but on
the other hand the overall boot time is *quicker* since the disk is not
being thrashed while the log messages are getting written out synchronously
one by one while other daemons are loading in parallel.

The timeout is in case the child segfaults or something before becoming
fully operational.
1996-10-05 15:20:51 +00:00
jkh
eec9c7de18 Wait for any stray processes we might be sent while running as init.
I have cautious hopes that this will fix the package installer zombie
accumulation problem.
1996-10-05 12:28:36 +00:00
jkh
dfd125f0a8 Correct check for ensuring that the network configuration isn't fiddled with
when running multi-user.
1996-10-05 12:16:49 +00:00
jkh
4da4b8bed3 1. Change device probing so that high speed network devices are found before
SLIP/PPP devices, putting them before the others in the network device
   selection menu.

2. Change "Other" to "URL" so as not to conflict with the keyboard accellerator
   for the "OK" button in FTP site selection menu.

3. Detect the NULL last symbol in the name list and initialize the other
   members correctly.
1996-10-05 11:56:50 +00:00
jkh
92667e3313 Multiple changes stacked as one commit since they all depend on one another.
First, change sysinstall and the Makefile rules to not build the kernel
nlist directly into sysinstall now.  Instead, spit it out as an ascii
file in /stand and parse it from sysinstall later.  This solves the chicken-n-
egg problem of building sysinstall into the fsimage before BOOTMFS is built
and can have its symbols extracted.  Now we generate the symbol file in
release.8.

Second, add Poul-Henning's USERCONFIG_BOOT changes.  These have two
effects:

	1. Userconfig is always entered, rather than only after a -c
	   (don't scream yet, it's not as bad as it sounds).

	2. Userconfig reads a message string which can optionally be
	   written just past the boot blocks.  This string "preloads"
	   the userconfig input buffer and is parsed as user input.
	   If the first command is not "USERCONFIG", userconfig will
	   treat this as an implied "quit" (which is why you don't need
	   to scream - you never even know you went through userconfig
	   and back out again if you don't specifically ask for it),
	   otherwise it will read and execute the following commands
	   until a "quit" is seen or the end is reached, in which case
	   the normal userconfig command prompt will then be presented.

  How to create your own startup sequences, using any boot.flp image
from the next snap forward (not yet, but soon):

	% dd of=/dev/rfd0 seek=1 bs=512 count=1 conv=sync <<WAKKA_WAKKA_DOO
USERCONFIG
irq ed0 10
iomem ed0 0xcc000
disable ed1
quit
WAKKA_WAKKA_DOO


Third, add an intro screen to UserConfig so that users aren't just thrown
into this strange screen if userconfig is auto-launched.  The default
boot.flp startup sequence is now, in fact, this:

	USERCONFIG
	intro
	visual

(Since visual never returns, we don't need a following "quit").

Submitted-By: phk & jkh
1996-10-05 10:44:07 +00:00
jkh
904a4501a7 Add stuff to CLEANFILES. 1996-10-05 06:04:03 +00:00
jkh
aa98e00181 Various cosmetic tweaks. 1996-10-04 14:53:52 +00:00
jkh
177253487a Syncronize my tree so Eric can access the latest code. 1996-10-04 13:33:49 +00:00
jkh
6a223e1fce Temporarily disable userconfig saving until I figure out why uc_open()
loops internally for BOOTMFS (not being able to run gdb on sysinstall
when it's running as init is a real pain!).
1996-10-03 08:54:37 +00:00
jkh
7b9bca9cdf Check return values from uc_open() correctly. Note: This seems to work
really well when running the GENERIC kernel but not with the BOOTMFS kernel.
Further work is needed.
1996-10-03 08:17:16 +00:00
jkh
1330da5e15 Fix the "missing nameserver value" bug. Simplify some unnecessarily
crufty code, here and there.
1996-10-03 07:50:09 +00:00
jkh
24d72148ec First cut at a "copy userconfig changes from installation kernel to installed
kernel" mechanism.  This is just the foundation - more work follows
and will be committed over the next few hours.
Submitted-by: "Eric L. Hernes" <erich@lodgenet.com> & jkh
1996-10-03 06:01:44 +00:00
jkh
957d8e74af One small policy tweak to something I like better. 1996-10-02 10:44:31 +00:00
jkh
12b9772c91 More strategic screen clears(). 1996-10-02 10:32:28 +00:00
jkh
4259119b91 Fixes and a place-holder for future work. 1996-10-02 08:25:11 +00:00
jkh
ece7db74ef Catch a clear() I missed. 1996-10-02 02:19:35 +00:00
jkh
b19ed7e5c8 Don't annoyingly reconfigure the network when you don't have to. 1996-10-02 02:02:18 +00:00
jkh
c5daba2dfd More tweaks to FTP reselection code - allow "none" to stand for
"no specific release - use anything you can find"
1996-10-02 01:30:37 +00:00
jkh
5f7e240fef Try to get the info file before the whole file - it eliminates
a gratuitous fetch attempt in most situations.
1996-10-02 00:52:38 +00:00
jkh
919bb2c57c Make FTP site reselection work the way it always should have. 1996-10-02 00:41:40 +00:00
fenner
f0be48c6af Release setuid immediately after initializing; this minimizes the
possibility of security holes allowing root penetration.

Inspired by:	Mark Handley <M.Handley@cs.ucl.ac.uk> and
		Theo de Raadt <deraadt@theos.com> independently
Submitted by:	Theo de Raadt <deraadt@theos.com>
1996-10-01 23:14:35 +00:00
jkh
08e7912c56 Round 2.5 1996-10-01 14:08:28 +00:00
jkh
49e94fab07 Installation cleanup, round II. 1996-10-01 12:13:29 +00:00
jkh
117f14cc94 Saner screen refresh changes, part I. 1996-10-01 04:56:34 +00:00
pst
52622b0ef0 Fix potential buffer overrun 1996-10-01 03:41:28 +00:00
wpaul
c8132b2e31 Close a potential security hole: if yp_access() is passed a map name,
have it check to see that it doesn't contain any '/' characters. This
prevents possible silliness like ypcat "../../../kernel". We already
test the domain name for this in yp_validdomain(), and ypserv itself
tests the map name in yp_open_db(), but it doesn't hurt to be paranoid
and test for it in the generic access routine too. rpc.ypxfrd does not
test the map name for slashes, but it does call yp_access() with the
map name, so this removes a potential vulnerability from there.

Also make the tests for IPPORT_RESERVED a little more selective: make
sure it trips when map == master.passwd.*, prog == YPPROC and proc ==
YPPROC_XFR, and prog == YPXFRD_FREEBSD_PROG and proc == YPXFRD_GETMAP.
Also use IPPORT_RESERVED instead of hard-coded value.
1996-09-30 22:27:00 +00:00
fenner
8c9f462db0 Grab traceroute out of src/contrib/traceroute 1996-09-30 19:49:54 +00:00
jkh
4a1af9f20b Make this more usable from shell scripts and such by adding a non-interactive
flag and some checking to see if it's even reasonable to ask for confirmation
at all.
1996-09-30 03:10:30 +00:00
bde
3d1181fd33 Include <fcntl.h> so that this doesn't depend on the KERNEL version
of <sys/file.h> including <sys/fcntl.h>.  Only the !KERNEL version
of <sys/file.h> will do that when I unspam the kernel headers.
1996-09-29 19:25:10 +00:00
bde
b8b5ca9390 Close files up to getdtablesize(), instead of up to NOFILE.
lpd was one of 3 programs in /usr/src that (mis)used NOFILE.
1996-09-29 19:12:55 +00:00
jkh
dd396da376 Correct a minor misspelling.
Noticed-by: der
1996-09-29 10:03:30 +00:00
bde
3b6e5aad90 Removed references to pathconf-related variables that were never handled
by sysctl and never can be in their documented form (kern.name_max would
have to become fs.filesystemname.name_max, etc.).

Added missing references to user.stream_max and user.tzname_max.  These
seem to misnamed.  <sys/sysconf.h> says that they correspond to POSIX2
names, but the sysconf names don't have POSIX2 or "posix2" like all the
other POSIX2 names.
1996-09-28 14:43:03 +00:00
bde
8600cf9297 Moved getdtablesize() out of a loop. 1996-09-28 11:25:47 +00:00
pst
b17ff2d106 Add info field.
Closes pr docs/1679.
1996-09-27 20:31:26 +00:00
pst
34bee73043 Rate limit the "xxx bytes read from" message to a maximum of one per
chunk or one per second, whichever is less.  Outputting this message once every
couple of K was really crazy on a 9600bps serial console.
1996-09-26 22:12:07 +00:00
pst
20036679ec If we're running through the FTP setup dialog the *first* time, skip
the FTP path if we've already configured one (this allows preconfigured ftp
servers).
1996-09-26 22:07:32 +00:00
pst
1093963d9f If we're unable to open /dev/ttyv0, assume that we're on a single tty system
and use /dev/console.

I really think the proper test is to determine which device has been configured
to be the console (remember the RB_SERIAL flag?) and use it instead of always
trying to open /dev/ttyv0 first.
1996-09-26 21:07:11 +00:00
pst
a090bd867f If /install.cfg exists on the local floppy (or if LOAD_CONFIG_FILE is defined
and the user inserts a floppy), read the config file to pre-define variables
for a custom installation.

[Note: I fixed one bug in LOAD_CONFIG_FILE code, but it's still not perfect.]
1996-09-26 21:03:35 +00:00
bde
86c863abe8 Really eliminated includes of the "temporary" backwards compatibility
header <sys/dir.h> in applications.  My previous sweep didn't find the
places that included it without needing it.
1996-09-24 08:43:04 +00:00
bde
d2512c2bf9 Eliminated includes of the "temporary" backwards compatibility header
<sys/dir.h> in applications.  Maintained existing (inadequate) ifdefs
for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any
new ones.
1996-09-24 08:08:11 +00:00
wosch
89dea7c61d add missing comma(s) in .Xr macros 1996-09-23 22:24:39 +00:00
ache
1c313429bb Fix one byte buffer overflow
Submitted by: Eric Allman <eric@sendmail.org>
1996-09-22 14:57:00 +00:00
jkh
d5953cd2b2 Remove some gratutious screen saves. 1996-09-22 00:48:55 +00:00
ache
ed571fa244 Fix & expansion (from pw_gecos field), sizeof buf used when
buf is pointer, not array, buflen must be used instead.
Charlie & from root name was expanded to junk as result.
1996-09-21 23:37:35 +00:00
wosch
d3f8d45ce4 fix .Xr macro 1996-09-21 15:08:10 +00:00
nate
c6c987075a ts_sec -> tv_sec
ts_nsec -> tv_nsec

Pointed out by:	bde
1996-09-20 04:13:44 +00:00
peter
0c5fd5b5a0 aarghh! what is it with this CVSROOT/val-tags regexp anyway? how
many times do I have to do this to get it right? :-]
1996-09-19 08:41:49 +00:00
peter
07e1eb470f Merge import conflicts 1996-09-19 03:12:11 +00:00
peter
a118315f66 Import of sendmail-8.7.6 1996-09-19 03:01:32 +00:00
peter
607f2df42c This commit was generated by cvs2svn to compensate for changes in r18366,
which included commits to RCS files with non-trunk default branches.
1996-09-19 03:01:32 +00:00
jkh
0687f90040 Don't call copySelf() when upgrading. 1996-09-18 18:40:37 +00:00
wosch
881d2edd2e warn if reach group line limit (>200 users, >1024 bytes per line)
close PR#1595

suggested by: Seppo Kallio <kallio@beeblebrox.cc.jyu.fi
1996-09-17 19:34:56 +00:00
wollman
5dd2c963ce Delete old routed(8). 1996-09-16 16:56:00 +00:00
wollman
51fe89959d Disable build of old routed. 1996-09-16 16:53:54 +00:00
jkh
e4df920fb2 Remove some bogosities I introduced with the init file hack (not serious,
just bogus).  Also turn off by default - whoops!
1996-09-15 23:55:23 +00:00
wpaul
3fe96e591a Toss the mkaliases script into the attic and remove its install
target from the Makefile. We don't need it anymore, and it was
broken anyway.
1996-09-15 00:39:20 +00:00
wosch
3d9135fb86 Do not backup master.passwd if pwd_mkdb returned an error. This
was to paranoid, pwd_mkdb(8) is carefully enough to not
corrupt master.passwd on failure.

Submitted by: joerg
1996-09-14 23:22:23 +00:00
bde
6ed5ccfb8f Don't use __dead or __pure in user code. They were obfuscations
for gcc >= 2.5 and no-ops for gcc >= 2.6.  Converted to use __dead2
or __pure2 where it wasn't already done, except in math.h where use
of __pure was mostly wrong.
1996-09-14 03:00:32 +00:00
jkh
3ed54b5319 Make passwords no longer echo or display. Because of this, we now also
ask for matching confirmation.  I'm sure there is a clever direct-from-perl
ioctl way of putting the terminal into noecho mode, but I don't feel like
learning perl so I just used system.  [yes, I'll put stty on the installation
boot floppy as necessary]
1996-09-11 08:36:54 +00:00
peter
f5b99ab554 Argh! there's no need for moused to be setuid-root! Now that it
works from startup, and works with XFree86 via /dev/sysmouse, it should
be started at boot and left running.

Pointed out by: Sujal Patel <smpatel@umiacs.umd.edu>
1996-09-10 19:17:25 +00:00
peter
8b1c3c6eb6 gut and overhaul moused, it was simply not working for me on any mouse
I could find.  This change does the following:
  - s/usage()/break;/ in handling the -s switch.
  - use err/warn instead of fprintf(stderr, ... strerror()); exit(1);
  - implement Hitachi PUMA HitTablet support from the XFree86 code,
    whatever the hell that is. :-)
  - correctly implement baud rate setting, too much was cut from the
    XFree86 code, the critical parts were a sweep over all likely
    mouse powerup baud rates to switch it to the reqested rate.
  - logitech support was busted (at least on mine, which is autosensing
    and runs in either mmseries or logitech mode depending on the handshake
    code at startup.  Among other things, you talk to it at 1200, then
    switch to the target baud later.

Some remaining problems..  samplerate setting is missing, but I've not
found where this is meant to be set yet.  I presume this is resolution
setting of some kind.
1996-09-10 18:20:46 +00:00
peter
9733973c2d personal (ie: with the crontab command) cron tabs were broken by the
last change. :-(
ie: /var/cron/log would report: .. cron[206]: (usage) CAN'T OPEN (%s/%s)
1996-09-10 03:38:20 +00:00
fenner
c5a6fcbc6c Change strcpy() to strncpy() in several places, and give gethostname()
the real buffer size.  Note that the strncpy(domain, ...) doesn't need to
be a strncpy(), since it is copying from itself to itself, but belts
and suspenders don't hurt and this is not time-critical code.

Fixes the half of PR bin/1581 that wasn't fixed in rev 1.7

Submitted by:	Karl <karl@codebase.mcs.net>
1996-09-10 00:50:13 +00:00
sos
a6a179df03 Fix for the problem that moused hangs if it is started from /etc/rc
Introduces the /dev/consolectl device for controlling various
console related things (given syscons is used).
1996-09-09 18:47:47 +00:00
jkh
398ef266db Doh! Actually read the patch I applied and see what it was *trying* to do,
then make it do that.
Error-of-my-ways-pointed-out-by: Bob Willcox <bob@luke.pmr.com>
1996-09-09 15:32:26 +00:00
pst
c292e5a7ba Fix some buffer overflow problems... 1996-09-08 23:50:23 +00:00
jkh
c80572fdca Various minor improvements. 1996-09-08 01:39:25 +00:00
peter
9106ad3301 Add dequeue script for the record. 1996-09-07 21:09:41 +00:00
peter
ceb03294dd make it slightly less verbose while creating queue entries.. 1996-09-07 21:06:19 +00:00
peter
85136fdd2a make the "-l logfile" option actually do something.. 1996-09-07 20:41:09 +00:00
peter
c9bf73c078 After queueing deltas, send out an initial two mails since that will cover
99.9% of the cases at with out delay as before.
1996-09-07 19:50:48 +00:00
peter
fbca19d5a2 fts_children() returns NULL if there are no files. If there was a failure
then errno != 0.
1996-09-07 19:46:29 +00:00
peter
79ba94b99f - resync with configs running on freefall
- add ctm_conf.gnats from freefall
- add support for doing both the immediate mailout and the queued mailout.
- use "sendmail -odq -t" rather than "sendamil -t" to make it queue to
  the mailqueue rather than immediately begin transmission. This allows
  us to take advantage of our ordered dequeueing system without blowing
  WC's T1 to hell with a 50 part mailout in parallel.
- bump the max ctm size from 3MB to 10MB....  This is mainly for the fast
  list.
1996-09-07 18:48:52 +00:00
peter
7e1f106f1d When looking for "group daemon" (since that's what's in mtree), make sure
we actually look for the *group* and not the user's gid.  user daemon
has traditionally been group 31 (guest).

Also clear out the groups vector so that it doesn't inherit the groups
of the invoking user (ever run rwhod by hand before?)  Unfortunately, we
can't empty the supplemental groups list because the !&@^#! egid is stored
in there! :-(
1996-09-07 01:43:08 +00:00
phk
9640e2d9e8 remove devconf tools from make tree. 1996-09-06 23:07:35 +00:00
phk
7d0d2d1609 Remove lsdev. Devconf never grew up. 1996-09-06 23:05:22 +00:00
peter
39220f3d9a Turn on SO_KEEPALIVE on network connections. Since we limit the number
of connections, we cannot afford to allow "disappeared" client to cause
us to leave one of the 14 connections open and hanging in a read() forever.

(SO_KEEPALIVE causes probe packets to be sent after a few hours of IDLE
time where no data has been transferred.  Sup should NEVER do this, so the
only time it will have an effect is if it looses the remote machine)
1996-09-06 16:08:32 +00:00
peter
2e47243854 Rewrite part of the compression support so that it does not leave
files in /var/tmp.  Sup needs to send the file size, so that
prevents running gzip in a pipeline (sigh).

It now opens a temporary file, and immediately unlinks it.  It sends
gzip's output to the temp file, and when gzip is done, it rewinds the
file and sends it. When the last fd is closed, the file storage is
reclaimed.  With luck, this will stop those 15MB
gzip < emacs-19.30.tgz > /var/tmp/tmp.xxxx files from being left behind
and blowing out /var on freefall.

While I have the platform, let me quote a fortune entry which sup reminds
me of:  "It is a crock of sh!t, and it stinks!"
1996-09-06 15:40:08 +00:00
jkh
bbacb62fd0 PR#2724 in NetBSD notes that newsyslog save log files even if the number
of copies to save is zero.  Incorporate suggested fix with some stylistic
cleanup to make the resulting code more readable.
Submitted-By: Kenneth Stailey <kstailey@dol-esa.gov>
1996-09-06 06:36:07 +00:00
jkh
c93475e95f Close a security hole in anonymous ftp setup.
Submitted-By: Jason Garman <garman@phs.k12.ar.us>
1996-09-06 05:58:27 +00:00
bde
11546f4616 Fixed DPADD. 1996-09-05 17:16:10 +00:00
wpaul
3383de51c2 When updating a password via the standard RPC handler, reset the password
change time (pw_change) to zero.
1996-09-05 15:53:42 +00:00
adam
f2a35e5d56 typo 1996-09-05 11:18:27 +00:00
bde
e50d1f7293 Removed bogus unused `-I..' and unnecessary override of BINDIR. Didn't
clean up.
1996-09-04 22:43:20 +00:00
bde
3bfa745e51 Removed another unused `-I.' and cleaned up. 1996-09-04 22:31:32 +00:00
bde
22cf3c1924 Removed unused `-I.'s from CFLAGS.
"." means the object directory, so it is just confusing to use it
when nothing is included from the object directory unless the object
directory is also the source directory.  It is confusing for "."
not to mean the source directory anyway, so used `-I.'s should be
replaced by `-I${.OBJDIR}'.
1996-09-04 22:25:35 +00:00
peter
e6c0bad151 Set ${DPADD}, use +=, add $Id$ 1996-09-02 23:38:58 +00:00
jkh
4470be7e2a Simplify some dialogs on the basis of my changes to ui_objects.c in libdialog.
Also update copyright notices.
1996-09-01 08:17:14 +00:00
ache
d0ce4be42f Unlocalize date 1996-09-01 00:48:29 +00:00
phk
d564e18313 Some new options, useful for restoring single files or subtrees from the
deltas.

Submitted by:	A JOSEPH KOSHY <koshy@fakir.india.hp.com>
1996-08-30 10:21:00 +00:00
peter
14a33b0771 Use a variable to prevent multiple inclusion from duplicating CFLAGS args. 1996-08-30 03:03:21 +00:00
peter
25e4891743 Delete temporary man page rules 1996-08-30 03:01:34 +00:00
peter
0debdf16c2 Hmm, well, whaddya know? ypserv was making calls to the undocumented
private internal _gethostbydnsname() resolver functions..
1996-08-30 01:17:47 +00:00
peter
60f630a42e delete bind, add named named.reload named.restart ndc 1996-08-29 22:20:58 +00:00
peter
82bd48fe73 kill these, they were declared a bad idea. 1996-08-29 22:19:21 +00:00
peter
38c55c3ac6 build bind-4.9.4-P1 named.restart in it's own directory 1996-08-29 21:48:19 +00:00
peter
0b5f1a4307 build bind-4.9.4-P1 named.reload in it's own directory 1996-08-29 21:47:33 +00:00
peter
2ea25bcd92 build bind-4.9.4-P1 ndc in it's own directory 1996-08-29 21:46:46 +00:00
peter
7a5c6bbe57 Build bind-4.9.4-P1 nslookup 1996-08-29 21:40:09 +00:00
peter
e9b0417229 Revert back to building bind-4.9.4-P1 in seperate directories... 1996-08-29 21:38:16 +00:00
peter
60be0b5320 Swing the SUBDIR entry across for the new bind-4.9.4-p1 dir.. 1996-08-29 20:15:11 +00:00
peter
af86866cca This commit was generated by cvs2svn to compensate for changes in r17897,
which included commits to RCS files with non-trunk default branches.
1996-08-29 19:43:00 +00:00
peter
7b5e65a988 Import some bmake glue for bind-4.9.4-p1.
This is based on Paul Vixie's makefiles, but some of it doesn't look much
like it now.
1996-08-29 19:43:00 +00:00
wosch
ab0ebe585d [HISTORY] command appeared in Version 1 AT&T UNIX
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
1996-08-29 18:06:19 +00:00
wpaul
b5e2023626 Add one line fix to stop my old 'don't barf if you see the same
hostname/IP twice on same line in /etc/exports' fix from dumping core
due to bogus /etc/exports entries.

Submitted by: Toshihiro Kanda <candy@fct.kgc.co.jp>
1996-08-29 14:20:57 +00:00
adam
56decd4563 typo police
I couldn't make any sense of the sentence "Eval variables in this file." so I
left it alone.

also allow creation of new local group when NIS groups are used.
this can probably be done more elegantly, and needs more thought.
1996-08-28 17:54:14 +00:00
wosch
0210175107 sync copyright with /usr/share/examples/etc/bsd-style-copyright 1996-08-27 20:04:45 +00:00
wollman
d8acfc1242 Merge new routed from vendor branch. 1996-08-27 16:22:05 +00:00
wollman
87713737a8 Initial revision 1996-08-27 16:12:46 +00:00
pst
ec45279a6d Run as daemon.daemon, not nobody.daemon 1996-08-26 17:01:58 +00:00
pst
01d5123979 Fix buffer overrun, and run as nobody 1996-08-25 21:37:11 +00:00
wpaul
48ad282fbc It appears that with FreeBSD-current, we need to set the ethernet
frame type in network byte order. The htons() that wasn't needed in
2.1 is now required in 2.2.

Ultimately, this rarpd should be replaced with the more recent one
supplied with the new BPF distribution.
1996-08-24 23:05:08 +00:00
mpp
543eab92a5 Convert to mdoc format. 1996-08-24 16:34:23 +00:00
mpp
bef6fb830a Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
jkh
d3739879c9 Conditionalize some annoying debug statements, update the docs. 1996-08-23 07:56:06 +00:00
mpp
b4aab8b6f6 Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
wosch
654c394b55 bye, bye 1996-08-22 17:41:22 +00:00
pst
2cdf366009 Fix typo in last commit...sigh 1996-08-21 21:39:44 +00:00
mpp
52a48de0c5 Add the -o option to the usage line. 1996-08-21 20:54:38 +00:00
cvs2svn
05992d6e54 This commit was manufactured by cvs2svn to create branch 'SENDMAIL'. 1996-08-21 20:47:59 +00:00
mpp
357f60e0ec Oops, forgot to actually add the new man page. 1996-08-21 20:47:58 +00:00
mpp
c4fc551727 Add a man page for mailstats(8).
Obtained from:  NetBSD
1996-08-21 20:45:20 +00:00
pst
dc46a50db4 Change DISTDIR to TCPDUMP_DISTDIR 1996-08-21 17:11:41 +00:00
ache
cb3f7aca30 Bugfix: all device counts >= 256 was broken, they truncated by % 255
because of u_char count field size. It hits when device
header file already present.
1996-08-21 17:00:54 +00:00