1DESCRIPTION = "autossh is a program to start a copy of ssh and monitor it, restarting it as necessary should it die or stop passing traffic" 2HOMEPAGE = "https://www.harding.motd.ca/autossh/" 3 4LICENSE = "BSD-1-Clause & BSD-4-Clause" 5LIC_FILES_CHKSUM = "file://autossh.c;beginline=7;endline=22;md5=9ae0c9b04856148d77984ef58536732b \ 6 file://daemon.h;beginline=7;endline=36;md5=839bb7bf781ff48da4a3fec2a62a1a47" 7 8SRC_URI = "https://www.harding.motd.ca/autossh/${BP}.tgz" 9SRC_URI[md5sum] = "2b804bc1bf6d2f2afaa526d02df7c0a2" 10SRC_URI[sha256sum] = "5fc3cee3361ca1615af862364c480593171d0c54ec156de79fc421e31ae21277" 11 12RDEPENDS:${PN} = "ssh" 13 14CFLAGS:prepend = "-I${WORKDIR}/build " 15 16inherit autotools 17 18EXTRA_OECONF="--with-ssh=/usr/bin/ssh" 19 20do_compile:append() { 21 cp ${WORKDIR}/autossh-${PV}/CHANGES ${WORKDIR}/build 22 cp ${WORKDIR}/autossh-${PV}/README ${WORKDIR}/build 23 cp ${WORKDIR}/autossh-${PV}/autossh.host ${WORKDIR}/build 24 cp ${WORKDIR}/autossh-${PV}/rscreen ${WORKDIR}/build 25 cp ${WORKDIR}/autossh-${PV}/autossh.1 ${WORKDIR}/build 26 cp ${WORKDIR}/autossh-${PV}/autossh.spec ${WORKDIR}/build 27} 28 29do_install:append() { 30 rm -rf ${D}${datadir}/examples 31} 32