1999-08-28 01:35:59 +00:00
|
|
|
# $FreeBSD$
|
1994-08-07 19:04:10 +00:00
|
|
|
|
2014-05-06 04:22:01 +00:00
|
|
|
.include <src.opts.mk>
|
2006-03-17 18:54:44 +00:00
|
|
|
|
2015-10-15 22:55:08 +00:00
|
|
|
SUBDIR= lib .WAIT \
|
2017-08-02 08:35:51 +00:00
|
|
|
libexec usr.bin usr.sbin
|
2015-10-15 22:55:08 +00:00
|
|
|
SUBDIR_PARALLEL=
|
2014-04-21 21:39:25 +00:00
|
|
|
|
2017-08-02 08:35:51 +00:00
|
|
|
SUBDIR.${MK_TESTS}+= tests
|
1994-08-07 19:04:10 +00:00
|
|
|
|
2004-01-18 07:44:53 +00:00
|
|
|
# These are the programs which depend on crypto, but not Kerberos.
|
2004-05-02 17:38:27 +00:00
|
|
|
SPROGS= lib/libfetch lib/libpam lib/libradius lib/libtelnet \
|
|
|
|
bin/ed libexec/telnetd usr.bin/fetch usr.bin/telnet \
|
2009-12-29 20:14:39 +00:00
|
|
|
usr.sbin/pkg_install usr.sbin/ppp usr.sbin/tcpdump/tcpdump
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_SENDMAIL} != "no"
|
Very big makeover in the way telnet, telnetd and libtelnet are built.
Previously, there were two copies of telnet; a non-crypto version
that lived in the usual places, and a crypto version that lived in
crypto/telnet/. The latter was built in a broken manner somewhat akin
to other "contribified" sources. This meant that there were 4 telnets
competing with each other at build time - KerberosIV, Kerberos5,
plain-old-secure and base. KerberosIV is no longer in the running, but
the other three took it in turns to jump all over each other during a
"make buildworld".
As the crypto issue has been clarified, and crypto _calls_ are not
a problem, crypto/telnet has been repo-copied to contrib/telnet,
and with this commit, all telnets are now "contribified". The contrib
path was chosen to not destroy history in the repository, and differs
from other contrib/ entries in that it may be worked on as "normal"
BSD code. There is no dangerous crypto in these sources, only a
very weak system less strong than enigma(1).
Kerberos5 telnet and Secure telnet are now selected by using the usual
macros in /etc/make.conf, and the build process is unsurprising and
less treacherous.
2003-07-16 20:59:15 +00:00
|
|
|
SPROGS+=usr.sbin/sendmail
|
|
|
|
.endif
|
1996-05-04 08:32:07 +00:00
|
|
|
|
2004-01-18 07:44:53 +00:00
|
|
|
# This target is used to rebuild these programs with crypto.
|
2015-10-15 19:13:53 +00:00
|
|
|
secure: .MAKE .PHONY
|
2004-01-18 07:44:53 +00:00
|
|
|
.for entry in ${SPROGS}
|
2017-03-04 11:35:30 +00:00
|
|
|
cd ${.CURDIR:H}/${entry}; \
|
2004-01-18 07:44:53 +00:00
|
|
|
${MAKE} cleandir; \
|
|
|
|
${MAKE} obj; \
|
|
|
|
${MAKE} all; \
|
|
|
|
${MAKE} install
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
# This target is used to rebuild these programs without crypto.
|
2015-10-15 19:13:53 +00:00
|
|
|
insecure: .MAKE .PHONY
|
2004-01-18 07:44:53 +00:00
|
|
|
.for entry in ${SPROGS}
|
2017-03-04 11:35:30 +00:00
|
|
|
cd ${.CURDIR:H}/${entry}; \
|
2014-04-05 17:54:55 +00:00
|
|
|
${MAKE} MK_CRYPT=no cleandir; \
|
|
|
|
${MAKE} MK_CRYPT=no obj; \
|
|
|
|
${MAKE} MK_CRYPT=no all; \
|
|
|
|
${MAKE} MK_CRYPT=no install
|
2004-01-18 07:44:53 +00:00
|
|
|
.endfor
|
|
|
|
|
1996-05-04 08:32:07 +00:00
|
|
|
.include <bsd.subdir.mk>
|