Commit Graph

5191 Commits

Author SHA1 Message Date
sommerfeld
8bb74cfdd7 Explain what this function actually does 2000-06-25 16:28:41 +00:00
kleink
03f996bd0c Add internal names for brk() and sbrk(). 2000-06-23 15:40:36 +00:00
kleink
4d8e5be65e Delete the leftover _brk entry; as discussed with Ragge. 2000-06-23 07:18:09 +00:00
thorpej
df83a2a3cd Add MK... variables to enable/disable various aspects of building
crypto support into the system.  See share/mk/bsd.README for more
a full description.
2000-06-23 06:01:10 +00:00
itojun
d18bfb3eba add cmetz paper, correct example 2000-06-22 20:32:28 +00:00
fvdl
dc01bcc976 Plug a memory leak. 2000-06-22 11:06:23 +00:00
thorpej
5c099b14c1 Bring the telnet situation back into better shape. Specifically,
pull in just about all of the differences from the crypto-us telnet
suite (which includes Kerberos 4 and connection encryption support).
Also bring in the Kerberos 5 support from the Heimdal telnet, and
frob a little so that it can work with the non-Heimdal telnet suite.

There is still some work left to do, specifically:
- Add Heimdal's ticket forwarding support to the Berkeley Kerberos 4
  module.
- Add connection encryption support to the Heimdal Kerberos 5
  module.  Hints on this can be taken from the MIT Kerberos 5
  module which still exists in crypto-us.

However, even with the shortcomings listed above, this is a
better situation than using the stock Heimdal telnet suite,
which does not understand the IPSec policy stuff, and is also
based on much older code which contains bugs that we have already
fixed in the NetBSD sources.
2000-06-22 06:47:42 +00:00
thorpej
9afca06751 Add cleaned up versions of des_set_random_generator_seed(),
des_new_random_key(), and des_init_random_number_generator()
from the crypto-us libdes.
2000-06-21 19:47:37 +00:00
thorpej
1013bcab9c Add cleaned up versions of des_set_random_generator_seed(),
des_new_random_key(), and des_init_random_number_generator()
from the crypto-us libdes.

While I'm here, fix a serious bug in des_init_random_number_generator()
whereby the accumlated data to be hashed was zero'd *before* actually
being hashed.  NOTE: The bug only affects people who are not using the
rnd(4) in-kernel random number generator, and it is worth noting that
the resulting keys are not always the same, but are likely easy to
determine.
2000-06-21 19:46:16 +00:00
thorpej
c7fe9dcc88 s/CFLAGS/CPPFLAGS/g 2000-06-21 19:34:22 +00:00
thorpej
8f6ee79db8 Detect if MIT Kerberos V headers are present on the system (by looking
in ${DESTDIR}/usr/include/kadm5/kadm_err.h) and if so, tell the operator
to remove the contents of that directory in an error message and abort.
2000-06-21 05:43:50 +00:00
lukem
78dc0c22fa * add -m option to makelist, which generates an mdoc table with the key
bindings and their descriptions
* manually add the output of 'sh ./makelist -m vi.c ed.c common.c' to
  a new section in editrc(5) called `EDITOR COMMANDS'
2000-06-21 03:21:28 +00:00
hubertf
159bc2d0e5 s/the/The/ at beginngin of sentense. 2000-06-21 02:30:37 +00:00
thorpej
e352d2ca43 Fix installing <kerberosIV/des.h> 2000-06-20 21:49:02 +00:00
thorpej
e7d6b96938 Merge a bunch of things from crypto-us and crypto-intl into basesrc,
adding support for Heimdal/KTH Kerberos where easy to do so.  Eliminate
bsd.crypto.mk.

There is still a bunch more work to do, but crypto is now more-or-less
fully merged into the base NetBSD distribution.
2000-06-20 06:00:24 +00:00
fvdl
d7fde522ec Fix 2 items. 2000-06-20 00:53:08 +00:00
thorpej
1d5362fe7e Detect if MIT Kerberos V headers are present on the system (by looking
in ${DESTDIR}/usr/include/krb5/osconf.h) and if so, tell the operator
to remove the contents of that directory in an error message and abort.
2000-06-19 23:50:52 +00:00
thorpej
feca71c78b Detect if MIT Kerberos IV headers are present on the system (by looking
in ${DESTDIR}/usr/include/kerberosIV/mit-copyright.h) and if so, tell
the operator to remove the contents of that directory in an error
message and abort.
2000-06-19 23:46:07 +00:00
thorpej
0b8498ceb3 Use the .ifmake syntax that's described in make(1). 2000-06-19 23:36:22 +00:00
thorpej
121a426cc0 Neeed -DHAVE_CONFIG_H for HOST_CPPFLAGS, too. 2000-06-19 20:53:26 +00:00
thorpej
729192af88 Use an appropiate HOST_CPPFLAGS. 2000-06-19 20:45:13 +00:00
thorpej
8401bbdeaa Gut this out; libcrypto's Makefile will set up appropriate links
to supply a libdes with the appropriate major/minor number.
2000-06-19 19:39:09 +00:00
thorpej
fc831593e0 Use a link for <kerberosIV/des.h> 2000-06-19 18:27:14 +00:00
itojun
35d0fb470c do not assume that nsaddr_list[n].sa_len is properly initialized,
there can be some third-party code that does not.
2000-06-18 21:41:23 +00:00
itojun
855792d5bd recomend get{addr,name}info for scoped address support. 2000-06-18 20:30:26 +00:00
ghudson
dcb9078cff Set errno when res_mkquery fails. 2000-06-18 04:07:03 +00:00
hubertf
73fc291634 Merge duplicate mentions of EPERM, EACCESS, ... into one entry
(where applicable).
2000-06-17 19:33:34 +00:00
matt
6441b48899 it's make-print-version.lo, not .o 2000-06-17 16:41:09 +00:00
matt
64fdebc5de Use HOST_CC to compile make-print-version 2000-06-17 16:39:19 +00:00
thorpej
59511dc318 For Kerberos libraries which existed both in MIT and Heimdal and the
MIT shlib major was larger, bump the Heimdal shlib major to MIT major + 1,
so that exising installed programs using MIT libraries will continue to
function after the transition to Hiemdal.
2000-06-17 06:58:22 +00:00
thorpej
f955e93968 Fixup libkstream build. 2000-06-17 06:39:32 +00:00
thorpej
a6ab2c35f2 Cygnus's libkstream, from cryptosrc-us. 2000-06-17 06:24:28 +00:00
thorpej
66db4224da Fixup libdes build. 2000-06-17 01:20:50 +00:00
thorpej
d2c6ba4cce Install a /usr/include/kerberosIV/des.h. 2000-06-17 01:20:26 +00:00
thorpej
6db93367c5 libdes build bits, from cryptosrc-intl. 2000-06-17 01:08:24 +00:00
thorpej
4603feaa6c Fixup KTH Kerberos 4 library builds. 2000-06-16 23:22:57 +00:00
thorpej
def1fb8a6d Import KTH Kerberos 4 build glue, from cryptosrc-intl. 2000-06-16 22:50:34 +00:00
thorpej
e041ca2c2e Fixup Heimdal library builds. 2000-06-16 22:46:43 +00:00
christos
3d65200a80 remove initialization of mainprog_obj from here; it is too late for .ini
sections that want to use dlopen(3).
2000-06-16 20:52:49 +00:00
thorpej
faf5f5eb7a Import Heimdal library build glue from cryptosrc-intl. 2000-06-16 19:27:31 +00:00
thorpej
3c3dcb50e3 No longer need the <bsd.crypto.mk> song-and-dance here. 2000-06-16 16:29:35 +00:00
thorpej
9323d93234 Enable decryption in crypt(), from cryptosrc-intl, and lift the updated
manual page (which describes decryption) from cryptosrc-us.
2000-06-16 16:27:32 +00:00
thorpej
9d167c96cc Build libcrypto and libssl. 2000-06-16 16:18:46 +00:00
jdc
6f8ccda063 Really fix the __endwin/stop handler problem. 2000-06-16 06:32:19 +00:00
thorpej
b50999826e Fixup the OpenSSL library builds. 2000-06-16 06:16:37 +00:00
thorpej
df800baba0 Import libssl build glue from cryptosrc-intl. 2000-06-16 04:54:48 +00:00
thorpej
285b0ffbdd Import libcrypto build framework from cryptosrc-intl. 2000-06-16 04:21:31 +00:00
simonb
53cf69f2ef Document KERN_MSGBUF sysctl. 2000-06-16 00:45:48 +00:00
jdc
172e7c6926 Move setting of __endwin so that we also change it from the stop handler. 2000-06-15 21:20:16 +00:00
cgd
c39575e265 sweep of my licenses for consistency. (no functional changes) These
files have copyright held by people in addition to myself.  (I did the
original work, they copied it, enhanced it, and added their copyright
to the derivative work.)  Their approval has been given re: the license
change.
2000-06-15 16:48:28 +00:00