Follow the OpenSSH 2.9 upgrade with the infrastructure. Two new
programs are now included: sftp(1) and ssh-keyscan(1).
This commit is contained in:
parent
5c19fbfcf3
commit
6c761b83be
@ -6,8 +6,10 @@ SRCS= authfd.c authfile.c bufaux.c buffer.c canohost.c channels.c \
|
||||
cipher.c compat.c compress.c crc32.c deattack.c \
|
||||
hostfile.c log.c match.c mpaux.c nchan.c packet.c readpass.c \
|
||||
rsa.c tildexpand.c ttymodes.c uidswap.c xmalloc.c atomicio.c \
|
||||
key.c dispatch.c dsa.c kex.c hmac.c uuencode.c util.c \
|
||||
cli.c rijndael.c version.c
|
||||
key.c dispatch.c kex.c mac.c uuencode.c misc.c \
|
||||
cli.c rijndael.c ssh-dss.c ssh-rsa.c dh.c kexdh.c kexgex.c \
|
||||
version.c
|
||||
|
||||
|
||||
NOPIC= yes
|
||||
INTERNALLIB= yes
|
||||
@ -27,11 +29,6 @@ CFLAGS+= -DKRB4
|
||||
CFLAGS+= -DKRB5
|
||||
.endif # MAKE_KERBEROS5
|
||||
|
||||
CFLAGS+= -DSKEY
|
||||
DPADD+= ${LIBOPIE}
|
||||
LDADD+= -lopie
|
||||
SRCS+= auth-skey.c auth2-skey.c
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
.PATH: ${SSHDIR} ${SSHDIR}/lib
|
||||
|
@ -2,7 +2,7 @@
|
||||
#
|
||||
|
||||
PROG= sftp-server
|
||||
SRCS= sftp-server.c log-server.c
|
||||
SRCS= sftp-server.c sftp-common.c
|
||||
MAN= sftp-server.8
|
||||
|
||||
LDADD+= ${LIBSSH} -lcrypto
|
||||
|
@ -7,7 +7,7 @@ SUBDIR+=telnet
|
||||
.if !defined(NO_OPENSSL)
|
||||
SUBDIR+=openssl
|
||||
.if !defined(NO_OPENSSH)
|
||||
SUBDIR+=scp ssh ssh-add ssh-agent ssh-keygen
|
||||
SUBDIR+=scp sftp ssh ssh-add ssh-agent ssh-keygen ssh-keyscan
|
||||
.endif
|
||||
.endif
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
#
|
||||
|
||||
PROG= scp
|
||||
SRCS= scp.c scp-common.c
|
||||
|
||||
LDADD+= ${LIBSSH} -lcrypto -lutil -lz
|
||||
DPADD+= ${LIBSSH} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}
|
||||
|
12
secure/usr.bin/sftp/Makefile
Normal file
12
secure/usr.bin/sftp/Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PROG= sftp
|
||||
SRCS= sftp.c sftp-client.c sftp-int.c sftp-common.c sftp-glob.c scp-common.c
|
||||
|
||||
LDADD+= ${LIBSSH} -lcrypto
|
||||
DPADD+= ${LIBSSH} ${LIBCRYPTO}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.PATH: ${SSHDIR}
|
@ -2,10 +2,10 @@
|
||||
#
|
||||
|
||||
PROG= ssh-add
|
||||
SRCS= ssh-add.c log-client.c
|
||||
SRCS= ssh-add.c
|
||||
|
||||
LDADD+= ${LIBSSH} -lcrypto -lcrypt -lutil -lz
|
||||
DPADD+= ${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT} ${LIBUTIL} ${LIBZ}
|
||||
LDADD+= ${LIBSSH} -lcrypto
|
||||
DPADD+= ${LIBSSH} ${LIBCRYPTO}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
|
@ -2,10 +2,10 @@
|
||||
#
|
||||
|
||||
PROG= ssh-agent
|
||||
SRCS= ssh-agent.c log-client.c
|
||||
SRCS= ssh-agent.c
|
||||
|
||||
LDADD+= ${LIBSSH} -lcrypto -lcrypt -lutil -lz
|
||||
DPADD+= ${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT} ${LIBUTIL} ${LIBZ}
|
||||
LDADD+= ${LIBSSH} -lcrypto
|
||||
DPADD+= ${LIBSSH} ${LIBCRYPTO}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
|
@ -2,10 +2,10 @@
|
||||
#
|
||||
|
||||
PROG= ssh-keygen
|
||||
SRCS= key.c log-client.c ssh-keygen.c
|
||||
SRCS= ssh-keygen.c
|
||||
|
||||
LDADD+= ${LIBSSH} -lcrypto -lcrypt -lutil -lz
|
||||
DPADD+= ${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT} ${LIBUTIL} ${LIBZ}
|
||||
LDADD+= ${LIBSSH} -lcrypto
|
||||
DPADD+= ${LIBSSH} ${LIBCRYPTO}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
|
12
secure/usr.bin/ssh-keyscan/Makefile
Normal file
12
secure/usr.bin/ssh-keyscan/Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PROG= ssh-keyscan
|
||||
SRCS= ssh-keyscan.c
|
||||
|
||||
LDADD+= ${LIBSSH} -lcrypto
|
||||
DPADD+= ${LIBSSH} ${LIBCRYPTO}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.PATH: ${SSHDIR}
|
@ -8,8 +8,8 @@ BINMODE=4555
|
||||
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
|
||||
SRCS= ssh.c readconf.c clientloop.c sshtty.c \
|
||||
sshconnect.c sshconnect1.c sshconnect2.c
|
||||
|
||||
.if defined(MAKE_KERBEROS4) && \
|
||||
((${MAKE_KERBEROS4} == "yes") || (${MAKE_KERBEROS4} == "YES"))
|
||||
|
Loading…
Reference in New Issue
Block a user