From 9b7add1cb84e1329fdea5d5fbc3d202c9e55cbfb Mon Sep 17 00:00:00 2001 From: jdp Date: Thu, 29 Apr 1999 17:56:28 +0000 Subject: pppd/Makefile: Enable MS-CHAP support. release/Makefile: Build a separate NOCRYPT version of pppd, to keep This Great Nation's top-secret cryptographic tools out of the filthy hands of those evil furriners. --- usr.sbin/pppd/Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'usr.sbin') diff --git a/usr.sbin/pppd/Makefile b/usr.sbin/pppd/Makefile index 323cc0d..f6e5858 100644 --- a/usr.sbin/pppd/Makefile +++ b/usr.sbin/pppd/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.11 1998/09/19 22:42:11 obrien Exp $ +# $Id: Makefile,v 1.12 1998/10/11 19:40:38 jdp Exp $ CFLAGS+= -DHAVE_PATHS_H @@ -28,9 +28,12 @@ LDADD+= -lpcap DPADD+= ${LIBPCAP} # MS-CHAP support. Requires the DES library. -#CFLAGS+=-DCHAPMS -#SRCS+= chap_ms.c -#LDADD+= -ldes -#DPADD+= ${LIBDES} +.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) +DISTRIBUTION=des +CFLAGS+=-DCHAPMS +SRCS+= chap_ms.c +LDADD+= -ldes +DPADD+= ${LIBDES} +.endif .include -- cgit v1.1