summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/Makefile
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-09-25 00:52:37 +0000
committerbrian <brian@FreeBSD.org>1997-09-25 00:52:37 +0000
commit4c4910184f1f2da40f3c2c67f88b7104873af74f (patch)
tree37ef470f53f5dcf8862dea9118e58a470a1d431e /usr.sbin/ppp/Makefile
parent92277fa474d464011e3bfb7177f8a1c51d582404 (diff)
downloadFreeBSD-src-4c4910184f1f2da40f3c2c67f88b7104873af74f.zip
FreeBSD-src-4c4910184f1f2da40f3c2c67f88b7104873af74f.tar.gz
Allow Microsoft CHAP authentication.
This is a combination of MD4 & DES. Submitted by: Gabor Kincses <gabor@acm.org>
Diffstat (limited to 'usr.sbin/ppp/Makefile')
-rw-r--r--usr.sbin/ppp/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.sbin/ppp/Makefile b/usr.sbin/ppp/Makefile
index b2885c3..3f95b50 100644
--- a/usr.sbin/ppp/Makefile
+++ b/usr.sbin/ppp/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.23 1997/08/31 20:18:03 brian Exp $
+# $Id: Makefile,v 1.24 1997/09/04 00:38:17 brian Exp $
PROG= ppp
SRCS= alias_cmd.c arp.c async.c auth.c ccp.c chap.c chat.c command.c \
@@ -13,4 +13,11 @@ BINMODE=4550
BINOWN= root
BINGRP= network
+.if exists(${DESTDIR}/usr/include/des.h) && !defined(NOSECURE)
+CFLAGS+=-DHAVE_DES
+SRCS+= chap_ms.c
+LDADD+= -ldes
+DPADD+= ${LIBDES}
+.endif
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud