Another pass of .oe cleanups.
[vuplus_openembedded] / openssh / openssh_3.7.1p2.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
16 inherit autotools
17
18 sysconfdir_append = /ssh
19 export ASKPASS_PROGRAM = "${bindir}/ssh-askpass"
20 export LD = "${CC}"
21 CFLAGS_prepend = "-I${S} "
22 CFLAGS_append = " -D__FILE_OFFSET_BITS=64"
23 LDFLAGS_prepend = "-L${S} -L${S}/openbsd-compat "
24 EXTRA_OECONF = "--disable-suid-ssh --with-ssl=${STAGING_LIBDIR}/ssl \
25                --with-rand-helper=no --without-pam"
26 EXTRA_OEMAKE = "'STRIP_OPT='"
27
28 do_configure_prepend () {
29         if [ ! -e acinclude.m4 -a -e aclocal.m4 ]; then
30                 cp aclocal.m4 acinclude.m4
31         fi
32 }
33
34 do_compile_append () {
35         install -m 0644 ${FILESDIR}/sshd_config ${S}/
36 }