From 3665b7c29bcb0304c75134a4cfe2aefe383a4b43 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Thu, 24 Jul 2003 07:19:55 +0000 Subject: [PATCH] Ensure that for the cryptographic instances of *telnet*, the "crypto" distribution is used. This only affects release-building. --- lib/libtelnet/Makefile | 1 + libexec/telnetd/Makefile | 1 + usr.bin/telnet/Makefile | 1 + 3 files changed, 3 insertions(+) diff --git a/lib/libtelnet/Makefile b/lib/libtelnet/Makefile index 200b66887f5d..0339402ee6ef 100644 --- a/lib/libtelnet/Makefile +++ b/lib/libtelnet/Makefile @@ -14,6 +14,7 @@ CFLAGS+= -I${TELNETDIR} WARNS?= 2 .if !defined(NOCRYPT) && !defined(NO_OPENSSL) +DISTRIBUTION= crypto SRCS+= encrypt.c auth.c enc_des.c sra.c pk.c CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DSRA .if !defined(NO_KERBEROS) diff --git a/libexec/telnetd/Makefile b/libexec/telnetd/Makefile index 47dc8085e8d5..8a7e7844def7 100644 --- a/libexec/telnetd/Makefile +++ b/libexec/telnetd/Makefile @@ -29,6 +29,7 @@ DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} LDADD= -lutil -ltermcap ${LIBTELNET} .if !defined(NOCRYPT) && !defined(NO_OPENSSL) +DISTRIBUTION= crypto SRCS+= authenc.c CFLAGS+= -DAUTHENTICATION -DENCRYPTION DPADD+= ${LIBMP} ${LIBCRYPTO} ${LIBCRYPT} ${LIBPAM} diff --git a/usr.bin/telnet/Makefile b/usr.bin/telnet/Makefile index f3ae3ca6b2d9..cdb15a42b685 100644 --- a/usr.bin/telnet/Makefile +++ b/usr.bin/telnet/Makefile @@ -31,6 +31,7 @@ CFLAGS+= -DHAS_CGETENT .endif .if !defined(NOCRYPT) && !defined(NO_OPENSSL) +DISTRIBUTION= crypto SRCS+= authenc.c CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DIPSEC DPADD+= ${LIBMP} ${LIBCRYPTO} ${LIBCRYPT} ${LIBIPSEC} ${LIBPAM}