1bffdb3e0SAndrew GeisslerDESCRIPTION = "autossh is a program to start a copy of ssh and monitor it, restarting it as necessary should it die or stop passing traffic" 2bffdb3e0SAndrew GeisslerHOMEPAGE = "https://www.harding.motd.ca/autossh/" 3bffdb3e0SAndrew Geissler 45199d831SAndrew GeisslerLICENSE = "BSD-1-Clause & BSD-4-Clause" 5*8e7b46e2SPatrick WilliamsLIC_FILES_CHKSUM = "file://autossh.c;beginline=7;endline=22;md5=9ae0c9b04856148d77984ef58536732b \ 6*8e7b46e2SPatrick Williams file://daemon.h;beginline=7;endline=36;md5=839bb7bf781ff48da4a3fec2a62a1a47" 7bffdb3e0SAndrew Geissler 8bffdb3e0SAndrew GeisslerSRC_URI = "https://www.harding.motd.ca/autossh/${BP}.tgz" 9bffdb3e0SAndrew GeisslerSRC_URI[md5sum] = "2b804bc1bf6d2f2afaa526d02df7c0a2" 10bffdb3e0SAndrew GeisslerSRC_URI[sha256sum] = "5fc3cee3361ca1615af862364c480593171d0c54ec156de79fc421e31ae21277" 11bffdb3e0SAndrew Geissler 12213cb269SPatrick WilliamsRDEPENDS:${PN} = "ssh" 13bffdb3e0SAndrew Geissler 14213cb269SPatrick WilliamsCFLAGS:prepend = "-I${WORKDIR}/build " 15bffdb3e0SAndrew Geissler 16bffdb3e0SAndrew Geisslerinherit autotools 17bffdb3e0SAndrew Geissler 18bffdb3e0SAndrew GeisslerEXTRA_OECONF="--with-ssh=/usr/bin/ssh" 19bffdb3e0SAndrew Geissler 20213cb269SPatrick Williamsdo_compile:append() { 21bffdb3e0SAndrew Geissler cp ${WORKDIR}/autossh-${PV}/CHANGES ${WORKDIR}/build 22bffdb3e0SAndrew Geissler cp ${WORKDIR}/autossh-${PV}/README ${WORKDIR}/build 23bffdb3e0SAndrew Geissler cp ${WORKDIR}/autossh-${PV}/autossh.host ${WORKDIR}/build 24bffdb3e0SAndrew Geissler cp ${WORKDIR}/autossh-${PV}/rscreen ${WORKDIR}/build 25bffdb3e0SAndrew Geissler cp ${WORKDIR}/autossh-${PV}/autossh.1 ${WORKDIR}/build 26bffdb3e0SAndrew Geissler cp ${WORKDIR}/autossh-${PV}/autossh.spec ${WORKDIR}/build 27bffdb3e0SAndrew Geissler} 28bffdb3e0SAndrew Geissler 29213cb269SPatrick Williamsdo_install:append() { 30bffdb3e0SAndrew Geissler rm -rf ${D}${datadir}/examples 31bffdb3e0SAndrew Geissler} 32