1 DEPENDS = "zlib openssl"
2 SECTION = "console/network"
3 DESCRIPTION = "Secure rlogin/rsh/rcp/telnet replacement (OpenSSH) \
4 Ssh (Secure Shell) is a program for logging into a remote machine \
5 and for executing commands on a remote machine. \
6 It provides secure encrypted communications between two untrusted \
7 hosts over an insecure network. X11 connections and arbitrary TCP/IP \
8 ports can also be forwarded over the secure channel. \
9 It is intended as a replacement for rlogin, rsh and rcp, and can be \
10 used to provide applications with a secure communication channel."
12 SRC_URI = "ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar.gz \
13 file://configure.patch;patch=1 \
14 file://scp-nossl.patch;patch=1 \
19 sysconfdir_append = "/ssh"
20 export ASKPASS_PROGRAM = "${bindir}/ssh-askpass"
22 CFLAGS_prepend = "-I${S} "
23 CFLAGS_append = " -D__FILE_OFFSET_BITS=64"
24 LDFLAGS_prepend = "-L${S} -L${S}/openbsd-compat "
25 EXTRA_OECONF = "--disable-suid-ssh --with-ssl=${STAGING_LIBDIR}/ssl \
26 --with-rand-helper=no --without-pam"
27 EXTRA_OEMAKE = "'STRIP_OPT='"
29 do_configure_prepend () {
30 if [ ! -e acinclude.m4 -a -e aclocal.m4 ]; then
31 cp aclocal.m4 acinclude.m4
35 do_compile_append () {
36 install -m 0644 ${WORKDIR}/sshd_config ${S}/