mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
4afa371832
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.
32 lines
839 B
Makefile
32 lines
839 B
Makefile
# $FreeBSD$
|
|
|
|
SUBDIR= doc lib libexec usr.bin usr.sbin
|
|
|
|
# These are the programs which depend on Kerberos.
|
|
KPROGS= lib/libpam \
|
|
secure/lib/libssh secure/usr.bin/ssh secure/usr.sbin/sshd
|
|
|
|
# This target is used to rebuild these programs WITH Kerberos.
|
|
kerberize:
|
|
.for entry in ${KPROGS}
|
|
cd ${.CURDIR}/../${entry}; \
|
|
${MAKE} ${MFLAGS} cleandir; \
|
|
${MAKE} ${MFLAGS} obj; \
|
|
${MAKE} ${MFLAGS} depend; \
|
|
${MAKE} ${MFLAGS} all; \
|
|
${MAKE} ${MFLAGS} install
|
|
.endfor
|
|
|
|
# This target is used to rebuild these programs WITHOUT Kerberos.
|
|
dekerberize:
|
|
.for entry in ${KPROGS}
|
|
cd ${.CURDIR}/../${entry}; \
|
|
${MAKE} ${MFLAGS} -DNO_KERBEROS cleandir; \
|
|
${MAKE} ${MFLAGS} -DNO_KERBEROS obj; \
|
|
${MAKE} ${MFLAGS} -DNO_KERBEROS depend; \
|
|
${MAKE} ${MFLAGS} -DNO_KERBEROS all; \
|
|
${MAKE} ${MFLAGS} -DNO_KERBEROS install
|
|
.endfor
|
|
|
|
.include <bsd.subdir.mk>
|