blob: 125dfaaa973ac934f9aa98cbf97dd0df0059943f [file] [log] [blame]
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -05001DESCRIPTION = "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"
5LIC_FILES_CHKSUM = "file://autossh.spec;md5=80a6701134723fd3420e733b46a0eb97"
6
7SRC_URI = "https://www.harding.motd.ca/autossh/${BP}.tgz"
8SRC_URI[md5sum] = "2b804bc1bf6d2f2afaa526d02df7c0a2"
9SRC_URI[sha256sum] = "5fc3cee3361ca1615af862364c480593171d0c54ec156de79fc421e31ae21277"
10
Patrick Williams213cb262021-08-07 19:21:33 -050011RDEPENDS:${PN} = "ssh"
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050012
Patrick Williams213cb262021-08-07 19:21:33 -050013CFLAGS:prepend = "-I${WORKDIR}/build "
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050014
15inherit autotools
16
17EXTRA_OECONF="--with-ssh=/usr/bin/ssh"
18
Patrick Williams213cb262021-08-07 19:21:33 -050019do_compile:append() {
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050020 cp ${WORKDIR}/autossh-${PV}/CHANGES ${WORKDIR}/build
21 cp ${WORKDIR}/autossh-${PV}/README ${WORKDIR}/build
22 cp ${WORKDIR}/autossh-${PV}/autossh.host ${WORKDIR}/build
23 cp ${WORKDIR}/autossh-${PV}/rscreen ${WORKDIR}/build
24 cp ${WORKDIR}/autossh-${PV}/autossh.1 ${WORKDIR}/build
25 cp ${WORKDIR}/autossh-${PV}/autossh.spec ${WORKDIR}/build
26}
27
Patrick Williams213cb262021-08-07 19:21:33 -050028do_install:append() {
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050029 rm -rf ${D}${datadir}/examples
30}