Garrett Wollman
9ae159169a
Make it easier for programs to figure out what revision of FreeBSD they
...
are running under. Here's how to bootstrap (order is important):
1) Re-compile gcc (just the driver is all you need).
2) Re-compile libc.
3) Re-compile your kernel. Reboot.
4) cd /usr/src/include; make install
You can now detect the compilation environment with the following code:
#if !defined(__FreeBSD__)
#define __FreeBSD_version 199401
#elif __FreeBSD__ == 1
#define __FreeBSD_version 199405
#else
#include <osreldate.h>
#endif
You can determine the run-time environment by calling the new C library
function getosreldate(), or by examining the MIB variable kern.osreldate.
For the time being, the release date is defined as 199409, which we have
already established as our target.
1994-08-10 06:25:07 +00:00
Garrett Wollman
d1d58d7209
Eliminate non-fatal error message so Jordan doesn't get confused.
1994-08-10 04:25:19 +00:00
Garrett Wollman
6a39a56770
Add back set_rpc_grouplistsize(), so mount_nfs compiles again. Also
...
fixed incipient bug wrt gid_t versus int.
1994-08-10 02:25:22 +00:00
Garrett Wollman
d669ce372d
Fixed typo.
1994-08-09 22:44:12 +00:00
Garrett Wollman
b42815434e
Add (substantially re-written) support for /etc/host.conf, and reintegrated
...
1.1.5 support for YP, fixing a bug in 1.1.5 that prevented YP from ever
working reliably. (I'm amazed that there were no bug reports.)
IWBRNI someone could write a host.conf(5) manual page. Please look at
the code before doing so; this version is somewhat more flexible in the
format of its input.
1994-08-09 20:23:14 +00:00
Geoff Rehmet
f5db7b1cf9
The password scrambler now becomes libscrypt, and libcrypt is
...
a symlink to it. (The real libcrypt will be installed as libdescrypt.)
Submitted by: Geoff.
1994-08-09 18:49:04 +00:00
Geoff Rehmet
0e27b8d587
Nates password scrambler, from FreebSD 1.1.5, but with everything except
...
crypt() ripped out
Reviewed by: Geoff Rehmet
Submitted by: Nate Williams
1994-08-09 17:07:27 +00:00
Garrett Wollman
d2845bc56b
Use a consistent name for librpcsvc.
...
Reviewed by:
Submitted by: Found by Bruce Evans.
1994-08-09 16:56:28 +00:00
Garrett Wollman
ae6bbc9a7b
Add back librpcsvc. It builds fine on both my machine and thud, I don't
...
know what Jordan's problem was.
1994-08-09 16:29:20 +00:00
Jordan K. Hubbard
9b9185af8d
Comment out librpcv. Not there.
...
Submitted by: jkh
1994-08-09 00:37:16 +00:00
Jordan K. Hubbard
c74eeed801
Correct the man page extent.
...
Submitted by: jkh
1994-08-08 19:26:23 +00:00
Jordan K. Hubbard
7105368244
Boy, was *this* ever bollixed!
...
1. Copyright files looked for in the wrong place
2. cmp was looking in wrong place for test data.
3. Driver for test not linked static, thus dynamic resolution of library
not working.
4. Man page installation not consistent with source.
Reviewed by:
Submitted by: jkh
1994-08-08 19:22:14 +00:00
Jordan K. Hubbard
eaf83dc038
Make this work even if make depend is not run.
...
Reviewed by:
Submitted by: jkh
1994-08-08 18:54:08 +00:00
Jordan K. Hubbard
b10e56dadd
Add a missing backslash to get this to work again.
...
Reviewed by:
Submitted by: jkh
1994-08-08 15:17:41 +00:00
Garrett Wollman
2e18dcd969
Added YP domain name getting/setting support, for SunOS/old program
...
compatibility.
1994-08-08 00:40:24 +00:00
Garrett Wollman
0d096f62f7
Make librpcsvc.
1994-08-07 23:27:27 +00:00
Garrett Wollman
460d496846
Makefile to build librpcsvc. (All sources automatically generated.)
...
Taken from 1.1.5; not sure who originally wrote it.
1994-08-07 23:21:08 +00:00
Garrett Wollman
4415cd19f1
Add back in the YP code from 1.1.5. (This attribution brought to you
...
by Theo de Raadt.) Added a new make flag variable, NO_YP_LIBC, which
disables YP entirely. User-land programs to come later.
1994-08-07 23:04:55 +00:00
Garrett Wollman
46cc41a1d8
More directory cleanup after YP merge.
1994-08-07 22:21:14 +00:00
Garrett Wollman
12199686e6
Don't try to build librpc in a separate directory.
1994-08-07 18:52:47 +00:00
Garrett Wollman
9e4ded5d0e
Add Sun RPC documentation, which should eventually go into our PSD.
...
(I think I'm up to part 6.)
1994-08-07 18:46:28 +00:00
Garrett Wollman
eae561b30e
Moving RPC stuff into libc, part 2.
1994-08-07 18:39:35 +00:00
Garrett Wollman
990647991e
Moving Sun RPC code into libc, part 1. Based on work done by a number of
...
people, including J.T. Conklin, Theo de Raadt, Paul Richards, and probably
someone else who's going to flame me as soon as they see this message.
1994-08-07 18:36:12 +00:00
Garrett Wollman
b4162996d5
Make it work with new mmap syscall.
1994-08-05 17:53:07 +00:00
David Greenman
b3bfc7199e
Converted 'vmunix' to 'kernel'.
1994-08-05 09:14:37 +00:00
Garrett Wollman
bed8f8b45c
Allow libtelnet to compile, by removing references to Kerberos and DES in
...
the Makefile. We still need to determine the appropriate source organization
for this.
1994-08-05 02:02:36 +00:00
Garrett Wollman
174cff9d58
Make up for the fact that rpc headers are now installed from include.
1994-08-05 01:59:40 +00:00
Garrett Wollman
7cf8a6b5cb
Temporarily force creation of librpc.so.2.0 (by including lib-directory
...
Makefile.inc). Eventually this will be moved back into libc as in 1.1.5.
1994-08-05 01:58:43 +00:00
Garrett Wollman
31f4322325
Make it work with our make macros.
1994-08-05 01:52:05 +00:00
Garrett Wollman
ab532cffe5
Make it work with our make macros.
1994-08-05 01:42:04 +00:00
Garrett Wollman
2ceb2ce9ee
First crack at making libc work with the new make macros. It compiles on
...
my machine, and a simple static (genassym) and shared (sysctl) executable
both work. Still to be done: RPCand YP merge.
1994-08-05 01:19:12 +00:00
Garrett Wollman
4ea6250be3
From 1.1.5: define default shared library versions. For 2.0, use version
...
2.0.
1994-08-04 22:44:00 +00:00
Garrett Wollman
0abc7bfc94
Make obj directory work right. md?hl.c should probably be
...
deleted, but I'll leave that up to PHK.
1994-08-04 21:20:03 +00:00
Garrett Wollman
8401cb0d9a
histedit.h is now installed from include.
1994-08-04 20:47:46 +00:00
Poul-Henning Kamp
99fa41fb52
Reviewed by: phk
...
Added libmd.
1994-07-24 03:30:47 +00:00
Poul-Henning Kamp
c9502b535e
Reviewed by: phk
...
Imported libmd. This library contains MD2, MD4 and MD5.
These three boggers pop up all over the place all of the time, so I
decided we needed a library with them. In general they are used for
security checks, so if you use them you want to link them static.
1994-07-24 03:29:56 +00:00
Geoff Rehmet
1f80968a0b
Rewrite nlist to mmap the whole a.out file (at Davidg's suggestion).
...
This means that we don't have to do rounding calculations for page
boundaries. (We do all our accesses via the mmapped area now.)
Reviewed by:
1994-07-22 12:22: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
f46145aa78
MAP_FILE is the default on mmap now, and is no longer defined just
...
like on a sun, so #define it to be 0 if we are running BSD >=199306.
1994-05-28 13:59:16 +00:00
Rodney W. Grimes
1ece12e5f0
Enable csu/${MACHINE} now that I have copied in our crt* files.
1994-05-28 09:24:46 +00:00
Rodney W. Grimes
21d54b076d
Fix kvm_i386.c just enough to make it compile and return lots of errors
...
when called. Noop out swapread in kvm_proc.c as our vm system is
different.
1994-05-28 05:48:30 +00:00
Rodney W. Grimes
f95a02507b
This is a COPY of kvm_hp300.c, soon to be patched to sorta work with
...
the i386 port.
1994-05-28 04:34:59 +00:00
Rodney W. Grimes
f227112c93
Make the comments about what is missing and not done consistent with
...
my other Makefile comments so they can easily be found with grep.
1994-05-28 04:32:21 +00:00
Rodney W. Grimes
efd31c5952
Initial revision
1994-05-27 12:32:03 +00:00
Rodney W. Grimes
5fbf048f26
Do not create link for *lib_p.a if you are not installing profiled libraries.
1994-05-27 11:02:31 +00:00
Rodney W. Grimes
21b9e2c17e
Comment out missing sources.
1994-05-27 11:01:30 +00:00
Rodney W. Grimes
8e101982f3
Pull in GNU2 fix for this from FreeBSD, allows ldexp.c to compile with
...
gcc2.x
1994-05-27 11:00:56 +00:00
Rodney W. Grimes
1cb16b68b3
Comment out missing libmp and libplot, disable csu until it is ported.
1994-05-27 11:00:20 +00:00
Rodney W. Grimes
2413b6ac48
This is Christopher G. Demetriou of NetBSD versions of ftime.c, gtty.c, and
...
stty.c.
1994-05-27 10:33:22 +00:00
Rodney W. Grimes
e5c43ac55b
This is James da Silva at the University of Maryland at College Park's
...
regex.c code as picked up from the net.
1994-05-27 10:26:59 +00:00