Commit Graph

2240 Commits

Author SHA1 Message Date
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
a8c32ea5a1 Reviewed by:
Submitted by:
Added the FTS_NOCHDIR flag to the fts-open call. This is needed, so that
the fts don't change the current directory for rm and subsequent calls
to rmdir with relative pathnames don't fail.
Pulled over the bugfix in 1.1.5.
1994-08-28 18:34:50 +00:00
Bruce Evans
85b64443ae Use standard clean, cleandir and obj targets.
Don't use $@.

Uniformize the man Makefiles for shell scripts.  It should't take such
large Makefiles to install one script and one man page each.
1994-08-28 18:33:48 +00:00
Bruce Evans
6ad617743b Remove stale clone of obj target. 1994-08-28 18:25:55 +00:00
Bruce Evans
0641ff3b3d Add dependencies on libraries to DPADD.
Move another include of bsd.prog.mk to the end.
1994-08-28 18:18:19 +00:00
Bruce Evans
b8d38c6e17 Centralize declarations of library names. 1994-08-28 18:12:38 +00:00
Bruce Evans
258d08817d Use ${ECHO} instead of echo' so that make -s' is fairly quiet.
The END.
1994-08-28 17:48:43 +00:00
Bruce Evans
d160679a5d Use ${LDFLAGS} instead of static for compiling binaries. Neither is
sufficient for cross compiling but it's best to test with the flags
normally used.

Use ${ECHO} instead of `echo' so that `make -s' is fairly quiet.
1994-08-28 17:45:25 +00:00
Bruce Evans
f34a7038a6 Use ${ECHO} instead of echo' so that make -s' is fairly quiet. 1994-08-28 17:44:10 +00:00
Bruce Evans
3634f3200c Don't build .po's if NOPROFILE is defined.
Don't build .so's if NOPIC is defined.

Use ${ECHO} instead of `echo' so that `make -s' is fairly quiet.
1994-08-28 17:34:16 +00:00
Bruce Evans
c19cbc8042 Define NOOBJ so that install doesn't try to get the sources from the
wrong place.

Use ${ECHO} instead of `echo' so that `make -s' is fairly quiet.
1994-08-28 17:21:36 +00:00
Andreas Schulz
96d6d564ce Reviewed by:
Submitted by:
Oops, overlooked another typo in this man page.
1994-08-28 17:19:58 +00:00
Bruce Evans
52f2a972ba Add swapinfo to SUBDIR. It's been working for a long time. 1994-08-28 17:12:24 +00:00
Bruce Evans
eddd756f9c gethostid.2 is now gethostid.3. Instal the correct one. 1994-08-28 17:08:36 +00:00
Bruce Evans
07d0464545 Fix it to find the sources if there is an obj directory. Lots of the old
doc Makefiles are broken in the same way.  This should be fixed centrally.
1994-08-28 17:00:54 +00:00
Bruce Evans
66e2076c9e Reformat recent additions to the same style as the original. 1994-08-28 16:53:35 +00:00
Andreas Schulz
7e91840c17 Reviewed by:
Submitted by:
Correct two typos in the format string usages.
1994-08-28 16:52:46 +00:00
Bruce Evans
8ef65b13d1 Latest flex requires yywrap() function to avoid -ll. 1994-08-28 16:35:58 +00:00
Bruce Evans
406d45e059 Don't test if a u_int is < 0. The remaining test is sufficient and the
extra one caused a warning.
1994-08-28 16:16:33 +00:00
Bruce Evans
8a3a52aaa1 Update declarations for timeout stuff the same as for the other SCSI
drivers.
1994-08-28 16:08:51 +00:00
Bruce Evans
05e598dc37 We do have <dirent.h>, and it was harmful to pretend that we don't.
Several files in uucp/libunix included <sys/dir.h> and defined dirent
as direct, but <sys/dir.h> defines direct as dirent.  This macro
recursion is not allowed by cpp in traditional mode.  The 2.0 mkdep
uses cpp in traditional mode (another bug) so cpp prints a error
message and exits with a nonzero status.  The error status leaks out
of the pipe (another bug) so mkdep "succeeds".  It may even succeed.
1994-08-28 16:04:56 +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
Bruce Evans
80c02d5983 Use ${ECHO} instead of echo' so that make -s' is fairly quiet. 1994-08-28 15:37:40 +00:00
Bruce Evans
3c303ff206 Use ${ECHODIR} instead of `echo' for printing directory names so that
`make -ss' is very quiet.
1994-08-28 15:35:30 +00:00
Bruce Evans
a4c39c7aa6 Fix spelling error in little-used target.
Build an intermediate object file even when there is only one source
file.  This costs a little space but saves time if the target is rebuilt
a lot, and it stops the target varying with the name of temporary
intermediates.

Use ${ECHO} instead of `echo' so that `make -s' is fairly quiet.

Use ${ECHODIR} instead of echo for printing directory names so that
`make -ss' is very quiet.
1994-08-28 15:32:10 +00:00
Geoff Rehmet
b2a2ed5c95 add: rpc.rstatd rpc.rusersd rpc.rwalld
Submitted by:	Geoff.
1994-08-28 15:18:51 +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
935a002483 rwalld from FreeBSD 1.1.5.1
Reviewed by:	Geoff
Submitted by:	Christopher G. Demetriou
1994-08-28 14:58:36 +00:00
Bruce Evans
415bccaa8d Recover improvements in 4.4lite version that were clobbered by the
previous commit:
+ Everything is initialized using ?= instead of =.
+ Nicer formatting (more white space).
+ .c: rule.

Add macros ECHO and ECHODIR.  Both are normally `echo', but when
the make flags include -s, ECHO is set to `true' and when the make
flags include two or more -s's ECHODIR is set to `true'.  @${ECHO}
should be used instead of @echo in most cases.  ${ECHODIR} is
intended to be used mainly for messages about directory names.
1994-08-28 14:56:07 +00:00
Geoff Rehmet
825be05ec4 rusersd from FreeBSD 1.1.5.1
Reviewed by:	geoff.
Submitted by:	John Brezak
1994-08-28 14:53:45 +00:00
Geoff Rehmet
0c0b205ceb rstatd -- from FreeBSD-1.1.5.1, with changes for 4.4-Lite kvm interface.
Original rstatd by John Brezak
Submitted by:	Geoff.
1994-08-28 14:49:04 +00:00
Jordan K. Hubbard
82df480e9f Lots of changes - get the NO_XXX things over, add @'s to the touches for
default extract and configure targets, add a pre-clean since I need it for
pkg_install port.
Submitted by:	jkh
1994-08-28 14:41:34 +00:00
Bruce Evans
dcec6b1d7f Fix filenames for LIBC and LIBTERM. 1994-08-28 14:21:55 +00:00
Jordan K. Hubbard
2566293698 Add @srcdir option for customizing creation of packages.
Submitted by:	jkh
1994-08-28 14:15:30 +00:00
Geoff Rehmet
1ea8221717 Fix gethostbyaddr():
call _getdnsbyaddr() instead of _getdnsbyname() ;-)
Submitted by:	Geoff
1994-08-28 13:33:10 +00:00
Jordan K. Hubbard
688b53ece4 Prevent installation.
Submitted by:	jkh
1994-08-28 13:05:23 +00:00
Jordan K. Hubbard
9af842aebd Set proper destination directory for cron.
Submitted by:	jkh
1994-08-28 13:05:14 +00:00
Jordan K. Hubbard
db8ad19dab What cretin named both a global and a function "reboot"? Global
changed to Reboot.
Submitted by:	jkh
1994-08-28 10:00:49 +00:00
Jordan K. Hubbard
cc3840179b Add bsd.port* to the Makefile.
Reviewed by:
Submitted by:
1994-08-28 09:35:51 +00:00
David Greenman
f1a9c71596 Made a little more up to date. 1994-08-28 06:46:25 +00:00
Jordan K. Hubbard
eedc655846 Add cron.
Submitted by:	jkh
1994-08-28 06:19:10 +00:00
Nate Williams
e460cfd33f Bring in my changes from the 1.1 init.bsdi which causes a reboot (was a
halt before)  if init is sent an interrupt signal.  This is necessary
for <CTL><ALT><DEL> to do the right thing if enabled.
1994-08-27 21:32:01 +00:00
David Greenman
3b281f5345 ddb ps function from 1.1.5. Moved into its own file and cleaned up a bit
by me.
1994-08-27 16:28:45 +00:00
David Greenman
d5e4441ddd Updated this a bit. It's still woefully out of date. 1994-08-27 16:23:03 +00:00
David Greenman
8a129caed5 1) Changed ddb into a option rather than a pseudo-device (use options DDB
in your kernel config now).
2) Added ps ddb function from 1.1.5. Cleaned it up a bit and moved into its
   own file.
3) Added \r handing in db_printf.
4) Added missing memory usage stats to statclock().
5) Added dummy function to pseudo_set so it will be emitted if there
   are no other pseudo declarations.
1994-08-27 16:14:39 +00:00
Geoff Rehmet
eb3ae6fd94 The telnet version with encryption in in.
Reviewed by:	geoff.
1994-08-27 15:48:54 +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