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.
This commit is contained in:
jdp 1999-04-29 17:56:28 +00:00
parent 8dc2d97771
commit 1a65e51299
2 changed files with 10 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.478 1999/04/25 16:42:46 max Exp $
# $Id: Makefile,v 1.479 1999/04/27 05:09:43 max Exp $
#
# make release CHROOTDIR=/some/dir BUILDNAME=somename [ RELEASETAG=tag ]
#
@ -330,7 +330,7 @@ release.4:
#
release.5:
# Handle some grief caused by the munition braindeadness.
for i in sbin/init bin/ed usr.sbin/ppp ; do \
for i in sbin/init bin/ed usr.sbin/ppp usr.sbin/pppd ; do \
( cd ${.CURDIR}/../$$i; \
make -DNOCRYPT clean all distribute DISTDIR=${RD}/trees ) ; \
done

View File

@ -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 <bsd.prog.mk>