First pass at patches to update various packages to recent autotools (first pass...
[vuplus_openembedded] / openssh / openssh_3.7.1p1.oe
1 DEPENDS = virtual/libc zlib openssl
2 SECTION = net
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.
11
12 SRC_URI = ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar.gz \
13           file://${FILESDIR}/configure.patch;patch=1 \
14           file://${FILESDIR}/scp-nossl.patch;patch=1
15 S = ${WORKDIR}/${P}
16
17 inherit autotools
18
19 export sysconfdir = /etc/ssh
20 export ASKPASS_PROGRAM = /usr/bin/ssh-askpass
21 export LD = ${CC}
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
28 do_compile_append () {
29         install -m 0644 ${FILESDIR}/sshd_config ${S}/
30 }