Commit Graph

47 Commits

Author SHA1 Message Date
itojun
caecca980a crank minor for bcrypt support 2002-05-24 04:07:05 +00:00
itojun
c89c003ed2 support bcrypt password. can be chosen by "blowfish" keyword in passwd.conf.
from openbsd
2002-05-24 04:02:47 +00:00
wiz
0a2f7411a3 Change Nd argument to 'password encryption', since it does not only provide
DES support. Noted by Jeremy C. Reed.
2002-04-17 18:17:58 +00:00
wiz
a6876a2a4e Punctuation nits. 2002-02-20 11:56:13 +00:00
ross
814f296b77 Generate <>& symbolically. 2002-02-07 07:00:09 +00:00
wiz
854cba8fda Whitespace nits, drop unnecessary .Pps. 2002-01-15 02:40:05 +00:00
lukem
efcc9a4c9d * Add user-controlled mk.conf variables
- SHLIBDIR	Location to install shared libraries if ${USE_SHLIBDIR}
			is "yes".  Defaults to "/usr/lib".

	- USE_SHLIBDIR	If "yes", install shared libraries in ${SHLIBDIR}
			instead of ${LIBDIR}.  Defaults to "no".
			Sets ${_LIBSODIR} to the appropriate value.
			This may be set by individual Makefiles as well.

	- SHLINKDIR	Location of shared linker.  Defaults to "/usr/libexec".
			If != "/usr/libexec", change the dynamic-linker
			encoded in shared programs

* Set USE_SHLIBDIR for libraries used by /bin and /sbin:
	libc libcrypt libcrypto libedit libipsec libkvm libm libmi387
	libtermcap libutil libz

* If ${_LIBSODIR} != ${LIBDIR}, add symlinks from ${LIBDIR}/${LIB}.so*
  to ${_LIBSODIR}/${LIB}.so* for compatibility.

* Always install /sbin/init statically (for now)


The net effect of these changes depends on how the variables are set:

  1.)	If nothing is set or changed, there is no change from the
	current behaviour:
		- Static /bin, /sbin, and bits of /usr/*
		- Dynamic rest
		- Shared linker is /usr/libexec/ld*so

  2.)	If the following make variables are set:
		LDSTATIC=
		SHLINKDIR=/lib
		SHLIBDIR=/lib
	Then the behaviour becomes:
		- Dynamic tools
		- .so libraries used by /bin and /sbin are installed to /lib,
		  with symlinks from /usr/lib/lib*so to -> /lib/lib*so
		  where appropriate
		- Shared linker is /lib/ld*so

  3.)	As per 2.), but add the following variable:
		USE_SHLIBDIR=yes
	This forces all .so's to be instaleld in /lib (with compat
	symlinks), not just those tagged by their Makefiles to be.
	Again, compat symlinks are installed
2001-12-28 01:32:37 +00:00
ad
e5afda7b98 Ensure that the salt is always terminated properly with '$'. Makes Cyrus'
pwcheck (which either modifies the buffer or was passing bad password
strings) happy. Noted by Cillian Sharkey <cns@redbrick.dcu.ie>.
2001-09-10 12:33:25 +00:00
wiz
ddb7e7aa53 Four casts for lint. 2001-03-01 14:37:35 +00:00
christos
a46d295d72 fix nested extern declaration. 2001-01-05 23:11:13 +00:00
ad
c9305d1df0 Fix comment. 2000-12-03 13:01:37 +00:00
ad
684eb80714 Cosmetic nits. 2000-08-03 08:32:36 +00:00
ad
04e2145813 Take a stab at documenting non-DES password encryption. 2000-08-03 08:30:43 +00:00
ad
ac9fc8f4e6 Handle non-DES encrypted passwords; currently only MD5. 2000-07-06 11:13:49 +00:00
ad
49de2aa1ce Add __md5crypt(), for internal use by libcrypt. This behaves for the most
part like crypt() but uses a proprietry encryption scheme that utilises MD5.
From FreeBSD via OpenBSD.
2000-07-06 11:12:42 +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
soren
89c5a767f8 Fix doubled 'the's. 2000-03-13 22:55:05 +00:00
mrg
51a96a002f optionally include CRYPTOPATH Makefile.frag files. 1999-07-20 09:35:18 +00:00
thorpej
a3281f7249 Use bsd.crypto.mk. 1999-07-12 22:04:09 +00:00
simonb
1528b77539 More trailing white space. 1999-07-02 15:14:07 +00:00
abs
edc1a24a56 Add a note to update src/distrib/sets/lists/base/shl.*, and add a missing
RCS Id.
1999-02-25 08:02:19 +00:00
matt
59695352ce vax -> __vax__ 1998-10-20 02:02:30 +00:00
kleink
56545aba03 Need <stdlib.h> for setkey() prototype. 1998-06-01 20:25:24 +00:00
kleink
fa992e178b Prototype has moved: add inclusion of <stdlib.h> to the synopsis of setkey(). 1998-06-01 20:24:46 +00:00
perry
312aca536f add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
mikel
95eeab3bb2 don't kill 'register' in comments! 1998-02-04 06:39:33 +00:00
perry
0b7831a37b remove obsolete register declarations 1998-02-03 19:12:13 +00:00
perry
93db5caa95 RCSID Police. 1998-01-05 07:41:06 +00:00
cgd
226f67d0d4 specify array sizes in init_perm prototype. One of the array specifications
was "C_block [][]", which isn't valid (or sensible!) C (only the last
dimension may be omitted).  However, all of the dimensions are known
so they might as well be specified.
1997-11-04 03:31:45 +00:00
mikel
cd0a22a42b don't let prototypes disappear if LARGEDATA is defined 1997-10-10 08:22:30 +00:00
lukem
06795b86a7 rcsid police, deprecate some use of register 1997-10-09 10:28:43 +00:00
mikel
31a2bdc622 add explicit return types and braces for gcc -Wall, some minor KNF
existing differences between exportable and domestic versions were
  preserved.
1997-07-02 04:55:41 +00:00
mikel
a353b3aa7b hint that crypt() et. al. are declared in unistd.h; from Jon Buller in
PR lib/3488.
1997-04-18 06:32:16 +00:00
jtc
b5d1933995 Manpage fixes from Jochen Pohl. Aligns the prototypes in the SYNOPSIS
section with the actual function declarations.  See PR #1589 for details.
1995-10-12 15:40:27 +00:00
mycroft
aef3817e0d Clean up deleted files. 1995-02-19 12:19:09 +00:00
cgd
4902ac3dcf use the (broken) crypt.c from the 4.4BSD-Lite Foreign distribution, that
can encrypt passwords but _cannot_ decrypt anything.  "real" (i.e. two-way,
unbroken) crypt() now lives in /usr/src/domestic.
1995-02-19 12:18:56 +00:00
cgd
3a370daf86 specify man pages the new way. 1994-12-22 09:44:45 +00:00
cgd
688980eb06 type sanity 1994-12-20 16:00:32 +00:00
cgd
adf7c9df14 cast for quiet. 1994-10-19 03:01:18 +00:00
cgd
daea3d2f86 add shlib_version file, with version 0.0 1993-11-08 03:48:53 +00:00
cgd
d86859f644 print the warning exactly once per function per program invocation. 1993-10-07 01:43:14 +00:00
cgd
eb29ed3995 always create libcrypt, and link with it where necessary. this will
make life with shared libraries happier.  also, get dummy crypt out
of libc.
1993-10-07 01:36:21 +00:00
mycroft
aee4b07b8a Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
1993-08-02 17:48:44 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd
a1fe79bac5 make makefile do *nothing* for any of the standard cases if crypt.c
doesn't exist.
1993-05-29 13:27:15 +00:00
cgd
e0b9a84a0f made libcrypt, so exportable vs. non-exportable packages can be
handled easliy.
1993-04-26 12:45:00 +00:00