Commit graph

2219 commits

Author SHA1 Message Date
Bruce Evans 248e6ea0a3 Oops, the last change added an extra ${LIBSCRYPT} to ${DPADD}, but
it should have reordered the existing one (so that ${DPADD} can be
compared with ${LDADD}).

Use ${} consistently.
1997-01-10 05:18:23 +00:00
Bruce Evans 7afeece433 Use ${} consistently. 1997-01-10 05:18:02 +00:00
Mike Pritchard 4fc96a56f5 Fix a couple of typos in a comment and in the usage output. 1997-01-09 07:36:14 +00:00
Mike Pritchard c0d4d042e9 Fix some formatting problems. Closed PR# 2377.
Pointed out by: David O'Brien
1997-01-08 06:42:27 +00:00
Bill Paul 9c171de035 yp_server.c:
- Fail YPPROC_ALL requests when we hit the child process limit. This
  is a little harsh, but it helps prevent the parent from blocking
  and causing other requests to time out.

yp_dnslookup.c:
- Check for duplicate RPC transaction IDs that indicate duplicate
  requests sent due to RPC retransmissions. We don't want to send
  a second DNS request for the same data while an existing request
  is in progress.

- Fix small formatting bogon in snprintf() in yp_async_lookup_addr().
1997-01-07 06:07:21 +00:00
Nate Williams 9c45d91e00 Fix typo I introduced in the DEBUG code last night. 1997-01-06 17:12:00 +00:00
Jordan K. Hubbard fb25893d57 Add extra tweak for -current compilation and some debugging. 1997-01-06 11:32:44 +00:00
Jordan K. Hubbard 29d851f6c2 Do a better job of CDROM detection.
Use consistent spelling throughout.
Remove unmount in fixit_common() since that's bogus in the CDROM case and
properly "shut down" the media device instead.
1997-01-06 11:10:25 +00:00
Nate Williams 16a960917f - A pass at staticizing things.
- Try to have all output go through the routines in util.c [logerr(),
  log_1s(), die()]
- Add *some* code in util.c to allow pccardd to run out of sysinstall.

Submitted by: Mostly me, but some by Tatsumi Hosokawa <hosokawa@jp.FreeBSD.org>
1997-01-06 08:35:06 +00:00
Nate Williams dc9d5eda2a Alphabetize the sources in the Makefile (this will help us to sync with
the Nomad sources in the future).
1997-01-06 08:11:23 +00:00
Bruce Evans 856a02a96f Updated DPADD to match LDADD. 1997-01-06 07:05:08 +00:00
Bill Paul cb73ffc8b7 Eek: the 'check for / in map names' test I added a while back detects
slashes in map names but doesn't return failure if it finds them. Add
missing return(1) to fix this.
1997-01-06 06:27:55 +00:00
Nate Williams 3a9b8d5000 Remove an un-needed static declaration. 1997-01-06 06:09:13 +00:00
Nate Williams e46ea891b4 Re-write the driver to use getopt(), add the new display suspend
function of the kernel, and other assorted misc. cleanups.

Submitted by:	nate & HOSOKAWA, Tatsumi <hosokawa@jp.FreeBSD.org>
1997-01-06 06:04:42 +00:00
David Nugent f1d684fad9 Adds optional NIS passwd file updating and optionally rebuilding
NIS maps.

Suggested by:	Peter Wemm
1997-01-05 07:15:37 +00:00
David Nugent c7fefa0352 Remove duplicated #include. 1997-01-05 04:54:24 +00:00
David Nugent 9d8caa0abd Fix reference /etc/acct/pw.conf -> /etc/pw.conf.
Pointed-Out-By: Peter Wemm.
1997-01-05 04:05:22 +00:00
Stephen McKay e06d6c7b85 Fix a couple of typos.
Safe for 2.2.
1997-01-04 16:12:06 +00:00
Jordan K. Hubbard 719de2bced Clean up device handling WRT slip and ppp devices. An incomplete transition
from one convention to another had things pretty fouled up in here.
1997-01-04 13:29:10 +00:00
Jordan K. Hubbard 6befaa491c Add a few strategic screen clears in network setup.
Disable saving of SCSI device parameters in userconfig saving in hopes
of working around a reported problem in the no-device case; there's no
point in saving this information here anyway.

2nd patch submitted-by:  "Eric L. Hernes" <erich@lodgenet.com>
1997-01-04 12:36:39 +00:00
Garrett Wollman 702a1d0148 Update to match changes in <net/if.h>. 1997-01-03 20:19:50 +00:00
Jordan K. Hubbard e960bb4911 Unlink LogName before attempting to open it. Since we now have a lovely
bug in syslogd which causes it to die after random amounts of time (widely
reported), this at least allows the administrator to easily restart it
without wondering why it simply exits again each time.
1997-01-03 07:13:20 +00:00
Jordan K. Hubbard a686b628ba Adjust the maximum displayed length.
Submitted-By: Tatsumi Hosokawa <hosokawa@mt.cs.keio.ac.jp>
1997-01-03 06:41:41 +00:00
Jordan K. Hubbard e5b09b7d10 Do something I've wanted to do for quite some time - collapse all the
common layout code into some work functions and make all the layout-using
routine adopt them.  Also reorganize includes and generally clean up.
1997-01-03 06:32:39 +00:00
David Nugent f2400d4658 Implemented /home -> /usr/home symlink kludge.
If home basedir would be created in the root partition, create
it under /usr instead, and symlink /basedir -> /usr/basedir.
1997-01-03 04:42:18 +00:00
Jordan K. Hubbard 434a0eeb38 1. Correct bogon in cdromInit when running multi-user which took cdrom offline
if wrong version.
2. Make sure network device is initialized in ftpInit
3. Eliminate bogus size values in the menus.  For now, we'll have to admit
   that nobody's added it up yet.  In the future, these menus should be
   build dynamically anyway, not declared static.
4. Add more debugging to networking code to chase the mystery ppp device
   problem.
1997-01-01 12:36:09 +00:00
Peter Wemm 6c9cfdd2f1 Remove dmalloc here too. 1997-01-01 09:30:13 +00:00
Jordan K. Hubbard 95183e1c42 Include ns_udp.c here too. 1997-01-01 05:17:23 +00:00
Bruce Evans 015a0dc2e4 Use ${COPY} instead of -c for installing non-source files. 1997-01-01 04:22:23 +00:00
David E. O'Brien 1a728844c1 Added the package catagories astro, chinese, mbone, and vietnamese;
along with applicable descriptions.
1996-12-31 14:37:06 +00:00
Peter Wemm fc7f1f8f58 Add two missing links (hoststat/purgestat) 1996-12-31 12:38:57 +00:00
Mike Smith 8c0e9645ab Cosmetic fix for pppd; login() updates both utmp and wtmp, so don't
call logwtmp() again ourselves.  This avoids 'last' showing duplicate
logins.

Submitted by:	Daniel O'Callaghan <danny@hilink.com.au>
1996-12-31 01:17:07 +00:00
Peter Wemm ae5fc38127 Make the select() call work like the others in the system.. ie: don't
assume that the timeval will be preserved.  As the man page says:
".. it is unwise to assume that the timeout value will be unmodified
by the select() call."  This happens on Linux and on my system at least.
1996-12-30 18:51:59 +00:00
Peter Wemm 09dfbc4024 Fix harmless bug found by new pointer-to-function prototypes. 1996-12-30 15:32:43 +00:00
Peter Wemm 08bdf9d1a9 Fix problem caused by new prototypes. Cast object to (caddr_t) as
expected.
1996-12-30 15:31:26 +00:00
David Nugent 39791ab333 1) Base home directory is created if it does not already exist if
useradd -m or useradd -D -b are used.
2)	Hyphen allowed in username if not first character. Fix trivial
	bug in error fmt string.
3)	/etc/skeykeys updating changed to do 'inplace' update, commenting
	out a username rather than removing it completely.
1996-12-30 11:52:34 +00:00
Jordan K. Hubbard 33bdf4c4ae Remove breakage of 1.8.2.2, choose slightly better character for quit. 1996-12-30 09:01:50 +00:00
Wolfram Schneider d26d5268ed Allow dash -' (except for first char) and underscore _' in usernames.
pointed out by: max
1996-12-29 21:56:31 +00:00
Wolfram Schneider 9a43d0d77b remove group limits checks 1996-12-29 15:06:52 +00:00
Wolfram Schneider c84f83e0c2 increase username length limit to 16 1996-12-29 15:05:19 +00:00
Jordan K. Hubbard 18926d84a6 Support the use of the 2nd CDROM as a fixit aid. Also put the EHS
into a submenu in case you need to start it again (or at some other point
in the installation).

Submitted-By: joerg
1996-12-29 05:51:40 +00:00
Jordan K. Hubbard 38597f2be6 Add a "catpages" distribution for the catman stuff.
Submitted-By: joerg
1996-12-29 05:28:41 +00:00
Peter Wemm 619b759747 Allow an optional setting to specify a .cf file to be built and installed
into /etc during the sendmail build.  Not for the feint hearted.
(I have been using something like this for some time since I only ever
 edit my system's .mc file)
1996-12-28 18:11:08 +00:00
Peter Wemm 4a4550eb01 Use the label that Bruce suggested, it seems the src/etc/Makefile "helpers"
are all prefixed with "etc-".
1996-12-28 18:02:06 +00:00
Peter Wemm 9ced612d99 Add a hook for installing the /etc/sendmail.cf file
Submitted by: bde
1996-12-28 17:57:28 +00:00
Poul-Henning Kamp 35c40fc2fa Be a little less fatalistic in case of problems.
Reviewed by:	phk
Submitted by:	wosch
1996-12-28 13:50:34 +00:00
Warner Losh 2519fdb867 Fix various buffer overflow cases in sliplogin. These might have been
able to be exploited, or might not.  However, it is better to be safe
than sorry.

Definitely a 2.2 fix, and a -stable if there is someone to commit it.

Reviewed by:	Jordan Hubbard <jkh@freebsd.org>
Submitted by:	Marc Slemko
1996-12-27 05:49:51 +00:00
Peter Wemm d7b025c3ae Tidy up the generated config.c file. Use #include "opt_config.h", comment
out text after #endif line, add missing \n at end of file, only install new
config.c if it's different to the last one which preserves the timestamp.
1996-12-26 23:40:32 +00:00
Mike Pritchard f52a35b581 Fix some spelling errors.
Jordan, I'll let you merge this into 2.2o that I don't
stomp on you.
1996-12-26 21:53:11 +00:00
Jordan K. Hubbard 9f2e984973 Clean up some calls to close(). 1996-12-26 21:03:04 +00:00