summaryrefslogtreecommitdiffstats
path: root/secure/usr.bin
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2000-02-24 17:00:55 +0000
committermarkm <markm@FreeBSD.org>2000-02-24 17:00:55 +0000
commite2eb48858809b3595e98ebc530d7f382cdd3fc40 (patch)
treebaca66ae2b943e94eefb4af6fa76f99f9a4b3962 /secure/usr.bin
parentf7c4b7763a0f4fb1a11bc2510ac393bb72db1057 (diff)
downloadFreeBSD-src-e2eb48858809b3595e98ebc530d7f382cdd3fc40.zip
FreeBSD-src-e2eb48858809b3595e98ebc530d7f382cdd3fc40.tar.gz
Add the OpenSSH userland-building Makefiles.
Diffstat (limited to 'secure/usr.bin')
-rw-r--r--secure/usr.bin/scp/Makefile22
-rw-r--r--secure/usr.bin/ssh-add/Makefile22
-rw-r--r--secure/usr.bin/ssh-agent/Makefile22
-rw-r--r--secure/usr.bin/ssh-keygen/Makefile22
-rw-r--r--secure/usr.bin/ssh/Makefile41
5 files changed, 129 insertions, 0 deletions
diff --git a/secure/usr.bin/scp/Makefile b/secure/usr.bin/scp/Makefile
new file mode 100644
index 0000000..896f62c
--- /dev/null
+++ b/secure/usr.bin/scp/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+#
+
+SSHSRC= ${.CURDIR}/../../../crypto/openssh
+
+PROG= scp
+BINOWN= root
+BINMODE=555
+MAN1= scp.1
+
+SRCS= scp.c
+
+.include <bsd.prog.mk>
+
+.PATH: ${SSHSRC}
+
+LDADD+= -lcrypto -lutil -lz -L${.OBJDIR}/../../lib/libssh -lssh
+DPADD+= ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}
+.if defined(RSAREF) && ${RSAREF} == YES
+LDADD+= -lRSAglue
+DPADD+= ${LIBRSAGLUE}
+.endif
diff --git a/secure/usr.bin/ssh-add/Makefile b/secure/usr.bin/ssh-add/Makefile
new file mode 100644
index 0000000..bd53d72
--- /dev/null
+++ b/secure/usr.bin/ssh-add/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+#
+
+SSHSRC= ${.CURDIR}/../../../crypto/openssh
+
+PROG= ssh-add
+BINOWN= root
+BINMODE=555
+MAN1= ssh-add.1
+
+SRCS= ssh-add.c log-client.c
+
+.include <bsd.prog.mk>
+
+.PATH: ${SSHSRC}
+
+LDADD+= -L${.OBJDIR}/../../lib/libssh -lssh -lcrypto -lcrypt -lutil -lz
+DPADD+= ${LIBCRYPTO} ${LIBCRYPT} ${LIBUTIL} ${LIBZ}
+.if defined(RSAREF) && ${RSAREF} == YES
+LDADD+= -lRSAglue
+DPADD+= ${LIBRSAGLUE}
+.endif
diff --git a/secure/usr.bin/ssh-agent/Makefile b/secure/usr.bin/ssh-agent/Makefile
new file mode 100644
index 0000000..dc30ead
--- /dev/null
+++ b/secure/usr.bin/ssh-agent/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+#
+
+SSHSRC= ${.CURDIR}/../../../crypto/openssh
+
+PROG= ssh-agent
+BINOWN= root
+BINMODE=555
+MAN= ssh-agent.1
+
+SRCS= ssh-agent.c log-client.c
+
+.include <bsd.prog.mk>
+
+.PATH: ${SSHSRC}
+
+LDADD+= -L${.OBJDIR}/../../lib/libssh -lssh -lcrypto -lcrypt -lutil -lz
+DPADD+= ${LIBCRYPTO} ${LIBCRYPT} ${LIBUTIL} ${LIBZ}
+.if defined(RSAREF) && ${RSAREF} == YES
+LDADD+= -lRSAglue
+DPADD+= ${LIBRSAGLUE}
+.endif
diff --git a/secure/usr.bin/ssh-keygen/Makefile b/secure/usr.bin/ssh-keygen/Makefile
new file mode 100644
index 0000000..962ad41
--- /dev/null
+++ b/secure/usr.bin/ssh-keygen/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+#
+
+SSHSRC= ${.CURDIR}/../../../crypto/openssh
+
+PROG= ssh-keygen
+BINOWN= root
+BINMODE=555
+MAN= ssh-keygen.1
+
+SRCS= ssh-keygen.c log-client.c
+
+.include <bsd.prog.mk>
+
+.PATH: ${SSHSRC}
+
+LDADD+= -L${.OBJDIR}/../../lib/libssh -lssh -lcrypto -lcrypt -lutil -lz
+DPADD+= ${LIBCRYPTO} ${LIBCRYPT} ${LIBUTIL} ${LIBZ}
+.if defined(RSAREF) && ${RSAREF} == YES
+LDADD+= -lRSAglue
+DPADD+= ${LIBRSAGLUE}
+.endif
diff --git a/secure/usr.bin/ssh/Makefile b/secure/usr.bin/ssh/Makefile
new file mode 100644
index 0000000..3741ba40
--- /dev/null
+++ b/secure/usr.bin/ssh/Makefile
@@ -0,0 +1,41 @@
+# $FreeBSD$
+#
+
+SSHSRC= ${.CURDIR}/../../../crypto/openssh
+
+PROG= ssh
+BINOWN= root
+BINMODE=4555
+MAN1= ssh.1
+LINKS= ${BINDIR}/ssh ${BINDIR}/slogin
+MLINKS= ssh.1 slogin.1
+
+SRCS= ssh.c sshconnect.c log-client.c readconf.c clientloop.c
+
+.include <bsd.own.mk>
+
+.PATH: ${SSHSRC}
+.PATH: ${SSHSRC}/lib
+
+.if defined(MAKE_KERBEROS4) && \
+ ((${MAKE_KERBEROS4} == "yes") || (${MAKE_KERBEROS4} == "YES"))
+CFLAGS+= -DKRB4
+LDADD+= -lkrb -lcom_err
+DPADD+= ${LIBKRB} ${LIBCOM_ERR}
+.endif # MAKE_KERBEROS4
+
+.if defined(MAKE_KERBEROS5) && \
+ ((${MAKE_KERBEROS5} == "yes") || (${MAKE_KERBEROS5} == "YES"))
+CFLAGS+= -DKRB5
+LDADD+= -lkrb5 -lcom_err
+DPADD+= ${LIBKRB5} ${LIBCOM_ERR}
+.endif # MAKE_KERBEROS5
+
+.include <bsd.prog.mk>
+
+LDADD+= -L${.OBJDIR}/../../lib/libssh -lssh -lcrypto -lutil -lz
+DPADD+= ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}
+.if defined(RSAREF) && ${RSAREF} == YES
+LDADD+= -lRSAglue
+DPADD+= ${LIBRSAGLUE}
+.endif
OpenPOWER on IntegriCloud