mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 15:44:04 +01:00
51251b2b3b
This version supports both the keyserv v1 and v2 protocols. It uses the new AF_LOCAL transport so that only local processes can use it for storing/retrieving keys, and it uses the SCM_CREDS kernel hack for authentication. With these two modifications, we don't need the keyenvoy program normally used with RPC 4.0. Note that if libdes.so.3.x is present on the system when keyserv is started, Secure RPC will run with normal DES encryption. If not, everything falls back to RC4 with a 40 bit key.
25 lines
500 B
Makefile
25 lines
500 B
Makefile
# $Id: Makefile,v 1.2 1996/11/22 03:00:17 wpaul Exp wpaul $
|
|
|
|
PROG= keyserv
|
|
SRCS= keyserv.c setkey.c keyserv_uid.c crypt_svc.c crypt_server.c
|
|
|
|
MAN8= keyserv.8
|
|
|
|
CFLAGS+= -DKEYSERV_RANDOM -DBROKEN_DES -I.
|
|
|
|
LDADD+= -lmp -lrpcsvc
|
|
|
|
RPCDIR= ${DESTDIR}/usr/include/rpcsvc
|
|
|
|
CLEANFILES= crypt_svc.c crypt.h
|
|
|
|
RPCGEN= rpcgen -C
|
|
|
|
crypt_svc.c: ${RPCDIR}/crypt.x crypt.h
|
|
${RPCGEN} -m -o ${.TARGET} ${RPCDIR}/crypt.x
|
|
|
|
crypt.h: ${RPCDIR}/crypt.x
|
|
${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/crypt.x
|
|
|
|
.include <bsd.prog.mk>
|