diff options
author | peter <peter@FreeBSD.org> | 1997-10-10 04:03:17 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-10-10 04:03:17 +0000 |
commit | a6fd7f3f17d7b81b4ffc8774d40342ea7f6c5cd4 (patch) | |
tree | dbb7783705be0decd2733e925bef3d91f4cd6e0d /gnu/usr.bin/cvs | |
parent | 8361cef2bae54a6f5144dac924362c4121d44318 (diff) | |
download | FreeBSD-src-a6fd7f3f17d7b81b4ffc8774d40342ea7f6c5cd4.zip FreeBSD-src-a6fd7f3f17d7b81b4ffc8774d40342ea7f6c5cd4.tar.gz |
If kerberos is installed and enabled in make.conf, activate cvs's kserver
hooks. This is a lot safer than 'cvs pserver'.
Diffstat (limited to 'gnu/usr.bin/cvs')
-rw-r--r-- | gnu/usr.bin/cvs/cvs/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/usr.bin/cvs/cvs/Makefile b/gnu/usr.bin/cvs/cvs/Makefile index 9d5dc2d..b254599 100644 --- a/gnu/usr.bin/cvs/cvs/Makefile +++ b/gnu/usr.bin/cvs/cvs/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.16 1997/02/22 15:45:14 peter Exp $ +# $Id: Makefile,v 1.17 1997/05/15 23:00:05 peter Exp $ .include "${.CURDIR}/../Makefile.inc" @@ -24,4 +24,15 @@ CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../lib -I${CVSDIR}/src -I${CVSDIR}/lib -DHAVE DPADD+= ${LIBCVS} ${LIBGNUREGEX} ${LIBMD} ${LIBCRYPT} ${LIBZ} LDADD+= -lcvs -lgnuregex -lmd -lcrypt -lz +.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4) +CFLAGS+=-DHAVE_KERBEROS -DHAVE_KRB_GET_ERR_TEXT +LDADD+= -lkrb -ldes +DPADD+= ${LIBKRB} ${LIBDES} +DISTRIBUTION= krb +# XXX do we want to mess with this? It's probably not really worth it for +# the public freebsd stuff, but others might want it. It's an optional +# feature anyway, the -x switch is needed to activate it. +CFLAGS+= -DENCRYPTION +.endif + .include <bsd.prog.mk> |