aboutsummaryrefslogtreecommitdiff
path: root/secure/usr.bin/ssh-keygen
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-03-26 14:53:33 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-03-26 14:53:33 +0000
commitb8cba406f2af8bad36f00fa94d493eaa9b259798 (patch)
treeeb0fe5e61507d580a9dd88148e6c402b2c2b5d1b /secure/usr.bin/ssh-keygen
parent75c9631facc0764a0cd3e0ac49f66be128d3a996 (diff)
downloadsrc-b8cba406f2af8bad36f00fa94d493eaa9b259798.tar.gz
src-b8cba406f2af8bad36f00fa94d493eaa9b259798.zip
secure/ build fixes:
- TELNETOBJDIR is gone. `buildworld' already installs libtelnet.a in ${WORLDTMP}/usr/lib, and we have LIBRARY_PATH pointing there. - SSHDIR (formerly SSHSRC) is now shared between all SSH modules. New LIBSSH is introduced for libssh.a (an internal static lib). Previously, build without prior `obj' was broken; SSH modules always looked for libssh.a in ${.OBJDIR}. Also, the dependancies on the libssh.a were missing. - libtelnet/ did not install the crypto version of telnet.h into /usr/include/arpa. - Removed BINOWN, BINMODE, BINDIR and SRCS with default values. Reviewed by: markm - MAN[1-9] -> MAN.
Notes
Notes: svn path=/head/; revision=74818
Diffstat (limited to 'secure/usr.bin/ssh-keygen')
-rw-r--r--secure/usr.bin/ssh-keygen/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/secure/usr.bin/ssh-keygen/Makefile b/secure/usr.bin/ssh-keygen/Makefile
index b34e0f78da6a..b53e16491ee9 100644
--- a/secure/usr.bin/ssh-keygen/Makefile
+++ b/secure/usr.bin/ssh-keygen/Makefile
@@ -1,18 +1,12 @@
# $FreeBSD$
#
-SSHSRC= ${.CURDIR}/../../../crypto/openssh
-
PROG= ssh-keygen
-BINOWN= root
-BINMODE=555
-MAN= ssh-keygen.1
-
SRCS= key.c log-client.c ssh-keygen.c
-.include <bsd.prog.mk>
+LDADD+= ${LIBSSH} -lcrypto -lcrypt -lutil -lz
+DPADD+= ${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT} ${LIBUTIL} ${LIBZ}
-.PATH: ${SSHSRC}
+.include <bsd.prog.mk>
-LDADD+= -L${.OBJDIR}/../../lib/libssh -lssh -lcrypto -lcrypt -lutil -lz
-DPADD+= ${LIBCRYPTO} ${LIBCRYPT} ${LIBUTIL} ${LIBZ}
+.PATH: ${SSHDIR}