summaryrefslogtreecommitdiffstats
path: root/secure/usr.bin/ssh
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-03-26 14:53:33 +0000
committerru <ru@FreeBSD.org>2001-03-26 14:53:33 +0000
commitffbd5f978d5e034c5c1c8c018f77afcc43eba8d4 (patch)
tree0db60fb94584b564904c50e18e3ff4f05eb4cdcb /secure/usr.bin/ssh
parent0c5874752b9906c2928c57de2a78a6a5fb277673 (diff)
downloadFreeBSD-src-ffbd5f978d5e034c5c1c8c018f77afcc43eba8d4.zip
FreeBSD-src-ffbd5f978d5e034c5c1c8c018f77afcc43eba8d4.tar.gz
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.
Diffstat (limited to 'secure/usr.bin/ssh')
-rw-r--r--secure/usr.bin/ssh/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/secure/usr.bin/ssh/Makefile b/secure/usr.bin/ssh/Makefile
index 0b99611..fcb95d9 100644
--- a/secure/usr.bin/ssh/Makefile
+++ b/secure/usr.bin/ssh/Makefile
@@ -1,25 +1,16 @@
# $FreeBSD$
#
-SSHSRC= ${.CURDIR}/../../../crypto/openssh
-
PROG= ssh
-BINOWN= root
.if defined(ENABLE_SUID_SSH)
BINMODE=4555
.endif
-MAN1= ssh.1
LINKS= ${BINDIR}/ssh ${BINDIR}/slogin
MLINKS= ssh.1 slogin.1
SRCS= ssh.c log-client.c readconf.c clientloop.c sshconnect.c \
sshconnect1.c sshconnect2.c
-.include <bsd.own.mk>
-
-.PATH: ${SSHSRC}
-.PATH: ${SSHSRC}/lib
-
.if defined(MAKE_KERBEROS4) && \
((${MAKE_KERBEROS4} == "yes") || (${MAKE_KERBEROS4} == "YES"))
DISTRIBUTION=krb4
@@ -40,7 +31,9 @@ DPADD+= ${LIBKRB5} ${LIBCOM_ERR} ${LIBASN1} ${LIBMD} ${LIBCRYPT}
CFLAGS+= -DXAUTH_PATH=\"${X11BASE}/bin/xauth\"
.endif
-LDADD+= -L${.OBJDIR}/../../lib/libssh -lssh -lcrypto -lutil -lz
-DPADD+= ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}
+LDADD+= ${LIBSSH} -lcrypto -lutil -lz
+DPADD+= ${LIBSSH} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}
.include <bsd.prog.mk>
+
+.PATH: ${SSHDIR}
OpenPOWER on IntegriCloud