Commit Graph

12524 Commits

Author SHA1 Message Date
Jordan K. Hubbard
83274713b2 Problem:
Accounts that have "pw_change" set, are supposed to change their passwords
by the date specified in "pw_change".  If they have not changed their passwords
by that date, currently they get "LOCKED OUT" of the system.  This is not the
correct behavior, the user should be prompt (forced?) to change their password
at this time.  If the behavior of "pw_change" was meant to be a LOCKOUT,
then you should use "pw_expire".

Solution:
     Instead of locking out the user, prompt them to change their password.

Reviewed by:	jkh
Submitted by:	rls
1994-09-07 01:42:29 +00:00
Andreas Schulz
222de0c67e Reviewed by:
Add entries for the speed 57600 and 115200 to the allowed speeds.
1994-09-06 11:17:30 +00:00
Bruce Evans
ff18d3781d New flag -u to suppress functions whose name does not begin with an
underscore.  Use it to avoid seeing badsw when profiling the kernel.

Print times more accurately (e.g. usec in %8.0f format instead of
msec in %8.2f format for averages) if hz >= 10000.  This should have
no effect now since profhz is only 1024.
1994-09-05 16:14:54 +00:00
Bruce Evans
ce2554c5ac Build database at build time instead of at install time. 1994-09-05 14:07:37 +00:00
Bruce Evans
8b69568f11 u_long -> unsigned long so that we don't depend on namespace pollution
in <stdio.h>.
1994-09-05 14:02:42 +00:00
Bruce Evans
cb570515b4 Define __GNUC__ as 2 same as cc -E would do. 1994-09-05 13:58:58 +00:00
Andreas Schulz
cee425927c Reviewed by:
Submitted by:
Get the man page installed. Does anyone know the reason for the name
xinstall instead of install for this directory ? Would life more
easy to get this whole thing under install.
1994-09-04 22:35:27 +00:00
Andreas Schulz
b54c304080 Reviewed by:
Submitted by:
Add back the baud rates above 19200, as we have them already under 1.1.x.
1994-09-04 16:52:12 +00:00
Geoff Rehmet
8f84178bbe Shell script containing the steps followed in importing file(1).
Reviewed by:	Geoff.
Submitted by:	Rod Grimes.
1994-09-03 23:08:40 +00:00
Geoff Rehmet
53d5f08816 Changes to file(1) for FreeBSD:
- Makefile: bmake the sucker
- file.1, magic.5: replace __MAGIC__ and __SECTION__
- add Magdir/freebsd
- add file to usr.bin/Makefile

A note on the FreeBSD magic entry:
The magic number "000000407" is reported as "impure format".  This
stops file(1) telling us that our object files are "PDP-11 executables".
(Saying anything more than "impure format" would probably be bogus.
Submitted by:	Geoff.
1994-09-03 19:31:29 +00:00
Geoff Rehmet
c7510038dc Bring in file 3.14 by Ian Darwin (and Christos Zoulas)
The following files were moved to different names:
- file.man -> file.1
- magic.man -> magic.5

The following file was removed:
- Magdir/Makefile
1994-09-03 19:16:28 +00:00
Geoff Rehmet
87e1d90a3d This commit was generated by cvs2svn to compensate for changes in r2479,
which included commits to RCS files with non-trunk default branches.
1994-09-03 19:16:28 +00:00
Andrey A. Chernov
62c58beedb Add and properly install locales 1994-09-03 14:00:40 +00:00
Geoff Rehmet
c58ea67a1b - Bring in -x option changes from 1.x
- eval -> err_val : slightly more meaningful (eval is what you do in Linda ;-))
Submitted by:	Geoff.
1994-09-03 12:58:05 +00:00
David Greenman
f114b8260c Fixed stupid bug which prevented any command line options from being
understood.

Submitted by:	Uwe Arndt (arndt@mailhost.uni-koblenz.de)
1994-08-31 17:20:12 +00:00
Bruce Evans
207a4c998a Use cc -E instead of cpp for the preprocessor by default. cc -E is
correct for C sources that are compiled by cc, while cpp (/usr/bin/cpp)
is bogus since it invokes /usr/libexec/cpp with different flags.
1.1.5 uses plain cc.  This should be equivalent after -M is added, but
cc -M foo.s is completely broken (it invokes the assembler) while
cc -E -M foo.s just does nothing instead of generating a foo.o: foo.s
dependency.

IF $MKDEP_CPP is set, use it as the cpp instead of cc -E.  Assembler
sources that are preprocessed using cpp directly should be mkdep'ed
with MKDEP_CPP=cpp.  Such sources shouldn't exist but we still have
lots.  foo.S should be compiled by cc -traditional (cc will invoke the
preprocessor) and foo.s should be compiled by cc (cc won't invoke the
preprocessor).
1994-08-30 16:36:49 +00:00
David Greenman
14810c626c Use gnumalloc. 1994-08-29 17:01:06 +00:00
Bruce Evans
2577a8acef Add dependencies on libraries to DPADD. Someday this should be done
automagically.  -lfoo has to be right to work, but ${LIBFO0} is too
easy to forget or misspell; nothing checks it and it should be
different for shared libraries.
1994-08-28 18:49:06 +00:00
Andreas Schulz
b013076737 Reviewed by:
Submitted by:
Put in a signal handler to catch the SIGSYS signal that indicates that
ktrace was not built into the kernel and prevent ktrace to core dump
somewhere.
1994-08-28 15:49:55 +00:00
Geoff Rehmet
dae09d454d add rup rusers rwall
Submitted by:	Geoff
1994-08-28 15:17:56 +00:00
Geoff Rehmet
c207889672 rwall from FreeBSD 1.1.5.1
Reviewed by:	Geoff
Submitted by:	Christopher G. Demetriou
1994-08-28 15:11:02 +00:00
Geoff Rehmet
61ce166c6c rusers from FreeBSD 1.1.5.1
Reviewed by:	Geoff.
Submitted by:	John Brezak
1994-08-28 15:06:02 +00:00
Geoff Rehmet
a82f86e105 rup from FreeBSD 1.1.5.1
Reviewed by:	Geoff
Submitted by:	John Brezak
1994-08-28 15:01:31 +00:00
Geoff Rehmet
c59d31f62f Fix big f*ckup by doing "make nocrypt"
(Don't think I don't realize what a big f*ckup this was.)
Submitted by:	geoff.
1994-08-27 15:46:29 +00:00
Geoff Rehmet
e6e1bbd3fe Change references to flex(1) and flexdoc(1) to lex(1) and
lexdoc(1).
Submitted by:	geoff
1994-08-27 10:00:14 +00:00
Geoff Rehmet
c5e63f9aec Do not install as flex
Submitted by:	Geoff
1994-08-27 09:52:32 +00:00
Garrett Wollman
ee307ac8ce We really, really /don't/ want to have a shared lex library. Also,
current users should note that the old 1.1.5 lex can't process the
new scan.l, so you have to copy initscan.c to obj/scan.c before it will
build.
1994-08-25 23:11:07 +00:00
Sean Eric Fagan
7267a81cea Fix a problem with passing quoted strings down to commands.
Reviewed by:	Sean Eric Fagan
1994-08-24 21:14:27 +00:00
Guido van Rooij
2355afcfc6 Also create a link "view" to nvi, in stead of nview solely.
Reviewed by:
Submitted by:	guido
1994-08-24 20:09:47 +00:00
Geoff Rehmet
90b7e68847 Add lex to makefile
Submitted by:	Geoff.
1994-08-24 13:29:01 +00:00
Geoff Rehmet
8387c24d79 Flex version 2.4.7 from LBL
Reviewed by:	Geoff.
1994-08-24 13:10:34 +00:00
Geoff Rehmet
4738f75303 This commit was generated by cvs2svn to compensate for changes in r2258,
which included commits to RCS files with non-trunk default branches.
1994-08-24 13:10:34 +00:00
Jordan K. Hubbard
faf2c5cc56 Bring symorder over from 1.1.5.1
Submitted by:	jkh
1994-08-23 11:08:08 +00:00
Jordan K. Hubbard
b6cedfa8ad gcpp has ceased to exist - point to the right place.
Submitted by:	jkh
1994-08-23 03:52:40 +00:00
Jordan K. Hubbard
5093d47a56 Add back `at'
Submitted by:	jkh
1994-08-23 03:10:12 +00:00
Guido van Rooij
f88fe8675b Implemnet fbtab ala SunOS (thanks to WZV, see login_fbtab.c)
Reviewed by:
Submitted by:	guido
1994-08-22 19:56:14 +00:00
Geoff Rehmet
c1b99fe68e move #include of <sys/errno.h> so that #defining KERNEL actually has an effect,
and then also add a declaration of ernno as an extern int, because we
lose that due to having KERNEL defined while we include errno.h.
Reviewed by:	Geoff.
1994-08-22 14:28:54 +00:00
Guido van Rooij
7c4c6e58ba Add skey supprot
Reviewed by:
Submitted by:	guido
1994-08-21 19:26:22 +00:00
Paul Richards
6b4c995bf9 Change cc back to cpp for now.
Reviewed by:
Submitted by:
1994-08-21 07:56:40 +00:00
Geoff Rehmet
fa1313397e LDADD= -lcrypt
Submitted by:	Geoff
1994-08-20 21:29:33 +00:00
Geoff Rehmet
4714bb15be LDADD= -lcrypt
Submitted by:	Geoff
1994-08-20 21:19:46 +00:00
Paul Richards
74ed9b13d8 Changed cpp to cc since cpp is hidden away in /usr/libexec
Reviewed by:
Submitted by:
1994-08-20 11:22:58 +00:00
Jordan K. Hubbard
e526625999 I don't like what they did to cmp(1) in 4.4 Lite; now it whines all
the time, even with -s.  Make cmp SHUT UP about non-existant files
when run with -s.
Submitted by:	jkh
1994-08-20 11:14:07 +00:00
Bruce Evans
13a2898404 Install with group BINGRP, not BINOWN. 1994-08-20 05:51:48 +00:00
Jordan K. Hubbard
ce3f4aeddc Correct missing backslash braindamage pointed out by Julian Elischer.
Reviewed by:	jkh
Submitted by:	julian
1994-08-20 00:36:36 +00:00
Guido van Rooij
12f78166cb Added entries for key, keyinfo, keyinit
Reviewed by:
Submitted by:	guido
1994-08-19 18:19:34 +00:00
David Greenman
fa7844fed9 Kill explicit OS specification. 1994-08-19 13:39:20 +00:00
David Greenman
52e40974dd Terry Lambert's loadable kernel module support - modstat utility with
improvements from the NetBSD group.
1994-08-19 12:14:10 +00:00
Jordan K. Hubbard
15a08e5fb2 Link to "vi" and "ex" too.
Submitted by:	jkh
1994-08-18 12:53:50 +00:00
Jordan K. Hubbard
709895c923 Don't bodge around with vi.1, just go get and copy the file.
Submitted by:	jkh
1994-08-18 12:50:59 +00:00
Jordan K. Hubbard
dbc3117819 Put back dependencies on header files.
Submitted by:	jkh
1994-08-18 12:43:14 +00:00
Sean Eric Fagan
3171c2b4bc Bringing in version 1.34.
Reviewed by:	Sean Eric Fagan
1994-08-18 01:15:57 +00:00
Sean Eric Fagan
e03164ffd4 Bringing in nvi 1.34.
Reviewed by:	Sean Eric Fagan
1994-08-18 01:15:30 +00:00
Sean Eric Fagan
b2e899c41f Bringin in nvi 1.34.
Reviewed by:	Sean Eric Fagan
1994-08-18 01:14:32 +00:00
Sean Eric Fagan
a036a0d1f2 Bringing in version 1.34.
Reviewed by:	 Sean Eric Fagan
1994-08-18 01:13:30 +00:00
Sean Eric Fagan
74225af9b5 Bringing in nvi 1.34. Keith is too active.
Reviewed by:	Sean Eric Fagan
1994-08-18 01:12:10 +00:00
Sean Eric Fagan
57665fa8c0 Incorporating nvi 1.34. Keith needs to get away from the keyboard.
Reviewed by:	Sean Eric Fagan
1994-08-18 00:56:19 +00:00
Jordan K. Hubbard
2b52592f54 vi.0 -> vi.1
Submitted by:	jkh
1994-08-17 23:39:15 +00:00
Sean Eric Fagan
6d20d793f5 Bringing up to version 1.33.
Reviewed by:	Sean Eric Fagan
1994-08-17 22:18:26 +00:00
Sean Eric Fagan
57eb4d53f7 Bringing up to version 1.33
Reviewed by:	Sean Eric Fagan
1994-08-17 22:18:03 +00:00
Sean Eric Fagan
d236b04b4b Include ../../Makefile.inc so BINDIR gets set. This should make installs
work *much* better.

Submitted by:	Sean Eric Fagan
1994-08-17 17:04:51 +00:00
Sean Eric Fagan
bf5cfe7295 It wasn't put in during the initial import.
Reviewed by:	Sean Eric Fagan
1994-08-17 05:36:45 +00:00
Sean Eric Fagan
03b50ed143 Build vi (nvi), now that it's checked in.
Submitted by:	Sean Eric Fagan
1994-08-16 23:58:00 +00:00
Sean Eric Fagan
18fd508d01 Latest public release of nvi, from Keith Bostic. I hope I got this
right ;).
Reviewed by:	Sean Eric Fagan
1994-08-16 23:36:45 +00:00
Sean Eric Fagan
4feef85f47 This commit was generated by cvs2svn to compensate for changes in r2081,
which included commits to RCS files with non-trunk default branches.
1994-08-16 23:36:45 +00:00
Jordan K. Hubbard
2c6983854a Change .0 man extents to .1, as reported by Julian Elischer. Whoops,
thought I'd gotten this one the first time around.
Reviewed by:
Submitted by:
1994-08-13 05:00:39 +00:00
David Greenman
2150dea8de The last commit was bogus...the putenv doesn't affect the parent process,
so the BLOCKSIZE doesn't need to be preserved.
1994-08-12 10:19:05 +00:00
David Greenman
ebf93438bf Implemented the -k flag more properly...don't destroy the user's setting
of the BLOCKSIZE environment variable.
1994-08-12 07:26:52 +00:00
Garrett Wollman
40460a7a82 Make it set-uid until procfs is fixed. 1994-08-11 20:11:00 +00:00
Jordan K. Hubbard
c28e4c86c0 Fix man extents from .0 to .1
Submitted by:	jkh
1994-08-11 01:42:28 +00:00
Jordan K. Hubbard
5398226dc7 Use the right man page.
Submitted by:	jkh
1994-08-11 01:38:23 +00:00
Jordan K. Hubbard
48df4d52ad Add renice's correct man page to the Makefile.
Submitted by:	jkh
1994-08-11 01:33:22 +00:00
Jordan K. Hubbard
97ad975557 Somewhere in the shuffle this lost its man page. Use the 1.1.5
one.
Submitted by:	jkh
1994-08-11 01:06:29 +00:00
Garrett Wollman
abb5479a19 Gimme my `-k' option back! 1994-08-10 19:25:34 +00:00
Garrett Wollman
73407b3433 Move more YP user programs over. 1994-08-08 01:13:35 +00:00
Garrett Wollman
5f51a9a8d5 Delete obsolete reference to librpc.a. 1994-08-08 00:10:09 +00:00
Geoff Rehmet
ffde931732 Removed des_rw.c from rlogin - this is now in libkrb.
I hope there will be no problems at the moment with programs depending
on this - I think Garrett has commented kerberos out of everything though
1994-08-07 20:56:28 +00:00
Garrett Wollman
e99a5be395 Move rpcinfo program over from 1.1.5. Based on original work by J.T. Conklin
in 1.x.
1994-08-07 18:23:25 +00:00
Garrett Wollman
4e115012be Move RPC stub generator program over from 1.1.5.
Submitted by:	Original work in 1.x by J. T. Conklin.
1994-08-07 18:01:39 +00:00
Garrett Wollman
104a05478d Make the %zfod display make more sense by comparing zfod versus the total
zfod + nzfod, rather than zfod / nzfod, which doesn't make a whole lot of sense.
1994-08-07 00:16:29 +00:00
Garrett Wollman
ba053ca0cf Use the GNU tree patch. 1994-08-05 22:10:00 +00:00
Garrett Wollman
cad15b000e We call our cpp by a different name. 1994-08-05 21:08:10 +00:00
Garrett Wollman
b9717ddb85 Don't use Berkeley zcat, use more powerful gzip zcat. 1994-08-05 21:05:31 +00:00
Garrett Wollman
30a54df508 Use the apropos and whatis that go with our man program, not the BSD ones. 1994-08-05 20:53:13 +00:00
Garrett Wollman
b89a408258 Don't do Kerberos yet, we aren't ready for it. 1994-08-05 20:47:28 +00:00
Garrett Wollman
5d92ed776d Don't use kerberos yet, we aren't ready. 1994-08-05 20:43:31 +00:00
Garrett Wollman
348be7d6d5 Don't use kerberos yet, we aren't ready for it. 1994-08-05 20:40:56 +00:00
Garrett Wollman
580f1067d3 Don't use Kerberos yet, we aren't ready for it. 1994-08-05 20:39:34 +00:00
Garrett Wollman
b4e99cd8d6 Don't compile with kerberos yet, we aren't ready. 1994-08-05 20:32:22 +00:00
Garrett Wollman
b35bdc400c More merry makefile munging for man page compatability. 1994-08-05 19:00:04 +00:00
David Greenman
541f256275 Changed output formatting to 0 pad hex bytes if necessary. This makes
the output consistent with traditional representations of ethernet
addresses. I still don't like the spacing in netstat -i, however.
1994-08-05 12:38:06 +00:00
David Greenman
b3bfc7199e Converted 'vmunix' to 'kernel'. 1994-08-05 09:14:37 +00:00
Poul-Henning Kamp
5edecbaede Reviewed by: phk
changed a ctrl-A to \001
1994-07-24 01:42:51 +00:00
Jordan K. Hubbard
a37e71f354 Remove reference to the ld.so man page - ain't no such animal.
Reported by John Lind.
1994-06-17 17:22:16 +00:00
Rich Murphey
699e1b82fb Changes from Paul Kranenburg which bring us into sync with his sources:
handling of errors through the standard err() and warn()
 more fixes for Geoff Rehmet's NULL pointer bug.
 fixes NULL pointer bugs when linking mono and nested X servers.
 supports a `-nostdlib' option.
 accept object files without a symbol table
 don't attempt dynamic linking when `-A' is given

a few variable names have chaged (desc -> fd), and the formatting has
changed which should make it much easier to track his sources.

I tested 'make world' for /usr/src and X twice with these changes.
1994-06-15 22:41:19 +00:00
Jordan K. Hubbard
25427c1d7e 1. Removed duplicate include of <stdio.h>
2. Replaced bogus __ARGS with __P
1994-06-04 07:11:51 +00:00
Guido van Rooij
3653271054 Move skey.h to /usr/include so other packages will be able to use
libskey. (such as wu-ftp and xdm).
Editted skey so it matches the standard /usr/include way.
1994-06-02 20:25:30 +00:00
Rodney W. Grimes
56dcbac924 Add ${COPY} on install command so that the file in obj does
not get removed when running make install.
1994-05-31 16:05:06 +00:00
Rodney W. Grimes
b57afed2bc Do not install ld or man from here, we use the gnu versions of these. 1994-05-30 19:11:58 +00:00
Rodney W. Grimes
9f23196c42 Cleanup so that make install can run, many install: maninstall changed
to just install:, sperious targets and CLEANFILES removed.
1994-05-30 14:17:23 +00:00
Rodney W. Grimes
5c64522858 Add i386 support, and reorder machine #ifdefs to be in alphanumeric order. 1994-05-30 14:12:06 +00:00
Rodney W. Grimes
432f44f5e4 Add a beforeinstall rule to turn off the immutable flag on chpass so you
can install a new copy of it.
1994-05-30 14:03:53 +00:00
Rodney W. Grimes
662764bce8 Remove unneeded targets for manual page. Remove unneeded cleanfiles. 1994-05-29 16:35:09 +00:00
Rodney W. Grimes
17917d67f8 Corrected to work without symbolic links for md-${MACHINE}.c. 1994-05-29 12:44:36 +00:00
Rodney W. Grimes
987df638a9 Add read_names support for i386, based on my original work from FreeBSD
and cleaned up slightly.
1994-05-29 06:19:34 +00:00
Rodney W. Grimes
1544f99bac Comment out missing/broken sources. 1994-05-28 06:44:34 +00:00
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
Guido van Rooij
110af3d672 1) Added s/key support .
2  Added optional excessive login logging.
3) Added login acces control on a per host/tty base.
4) See skey(1) for skey descriptions and src/usr.bin/login/README
  for the logging and access control features.

-Guido
1994-05-19 18:13:11 +00:00
Jordan K. Hubbard
09e3d49d92 This is Paul K's latest set of ld changes. A commit was necessary at this
late stage due to the fact that link.h was copyright Sun Microsystems.

This version of ld sync's us up with NetBSD's ld and supports compatablily
with NetBSD's -[zZ] flags (which we had reversed).  Compiling with this
new ld will give you RRS warnings for libraries which do not contain .type
infomation - these wsarnings are harmless and will go away as soon as you
recompile your libraries (cd /usr/src; make libraries).
1994-02-13 20:43:13 +00:00
Nate Williams
9859e2cc85 Changed NetBSD -> FreeBSD 1994-02-11 12:12:51 +00:00
Andreas Schulz
2888390764 Added the y.tab.h file to the CLEANFILE target. 1994-02-06 01:12:15 +00:00
L Jonas Olsson
0f47f4199d Sprinkled with ${.CURDIR} to get the builds of gram.c and tokdefs.h
correct.
1994-01-29 00:48:19 +00:00
L Jonas Olsson
aaed6788e7 Added -o option to rename C output file. This only works when Fortran
input is from a file, not stdin. Added some support for this in teh
parse function.
1994-01-12 03:10:31 +00:00
L Jonas Olsson
a23323e399 Replaced makefile with a BSD Makefile. Moved the unformatted man page
to f2c.1. Removed an automatically generated file and a checksum file.
1994-01-05 03:24:01 +00:00
L Jonas Olsson
4ff86a0100 f2c from netlib.att.com Jan 4 1994 1994-01-05 02:53:40 +00:00
Nate Williams
5e4e096e50 Changed reference from NetBSD to FreeBSD 1994-01-05 01:10:24 +00:00
Nate Williams
d78e98d22e Added at/atrm/atq/batch from Linux as hacked by Chris Demetriou. 1994-01-05 01:09:14 +00:00
Nate Williams
0bb118a5b1 Fixed Makefile per bug report from Julian Stacey. There was an extra DESTDIR
in front of BINDIR definition.
1993-12-16 21:51:27 +00:00
Paul Richards
b9ae52e32a Imported NetBSD's ld for shared libs. 1993-11-03 23:41:59 +00:00
Rodney W. Grimes
5c015679e9 Christoph Robitschko manual page fixes to correct the references to vmunix
by replacing the name with 386bsd.
1993-10-08 01:36:20 +00:00
Nate Williams
16b2e59175 Added README which explains the copyright status of getopt(1) 1993-07-27 17:24:17 +00:00
Nate Williams
6e6e120d7a There was additional cruft at the bottom on the man page. 1993-07-27 17:08:57 +00:00
Nate Williams
b37b9a6d2d Added getopt(1) from NetBSD 1993-07-26 22:22:37 +00:00
Rodney W. Grimes
9002c02abc Initial import, 0.1 + pk 0.2.4-B1 1993-06-12 14:49:13 +00:00