Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 1 | DESCRIPTION = "autossh is a program to start a copy of ssh and monitor it, restarting it as necessary should it die or stop passing traffic" |
| 2 | HOMEPAGE = "https://www.harding.motd.ca/autossh/" |
| 3 | |
Andrew Geissler | 5199d83 | 2021-09-24 16:47:35 -0500 | [diff] [blame] | 4 | LICENSE = "BSD-1-Clause & BSD-4-Clause" |
| 5 | LIC_FILES_CHKSUM = "file://autossh.spec;md5=80a6701134723fd3420e733b46a0eb97 \ |
| 6 | file://autossh.c;md5=76c37acd40ac45050a4ced145b1e2707;startline=7;endline=23 \ |
| 7 | file://daemon.h;md5=6bbeaac616b9bc8de7b40049004f4289;startline=7;endline=39" |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 8 | |
| 9 | SRC_URI = "https://www.harding.motd.ca/autossh/${BP}.tgz" |
| 10 | SRC_URI[md5sum] = "2b804bc1bf6d2f2afaa526d02df7c0a2" |
| 11 | SRC_URI[sha256sum] = "5fc3cee3361ca1615af862364c480593171d0c54ec156de79fc421e31ae21277" |
| 12 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 13 | RDEPENDS:${PN} = "ssh" |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 14 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 15 | CFLAGS:prepend = "-I${WORKDIR}/build " |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 16 | |
| 17 | inherit autotools |
| 18 | |
| 19 | EXTRA_OECONF="--with-ssh=/usr/bin/ssh" |
| 20 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 21 | do_compile:append() { |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 22 | cp ${WORKDIR}/autossh-${PV}/CHANGES ${WORKDIR}/build |
| 23 | cp ${WORKDIR}/autossh-${PV}/README ${WORKDIR}/build |
| 24 | cp ${WORKDIR}/autossh-${PV}/autossh.host ${WORKDIR}/build |
| 25 | cp ${WORKDIR}/autossh-${PV}/rscreen ${WORKDIR}/build |
| 26 | cp ${WORKDIR}/autossh-${PV}/autossh.1 ${WORKDIR}/build |
| 27 | cp ${WORKDIR}/autossh-${PV}/autossh.spec ${WORKDIR}/build |
| 28 | } |
| 29 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 30 | do_install:append() { |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 31 | rm -rf ${D}${datadir}/examples |
| 32 | } |