1*4882a593SmuzhiyunSUMMARY = "DJB daemontools" 2*4882a593SmuzhiyunHOMEPAGE = "http://cr.yp.to/daemontools.html" 3*4882a593SmuzhiyunDESCRIPTION = "supervise monitors a service. It starts the service and restarts the \ 4*4882a593Smuzhiyunservice if it dies. The companion svc program stops, pauses, or restarts \ 5*4882a593Smuzhiyunthe service on sysadmin request. The svstat program prints a one-line \ 6*4882a593Smuzhiyunstatus report. \ 7*4882a593Smuzhiyunmultilog saves error messages to one or more logs. It optionally timestamps \ 8*4882a593Smuzhiyuneach line and, for each log, includes or excludes lines matching specified \ 9*4882a593Smuzhiyunpatterns. It automatically rotates logs to limit the amount of disk space \ 10*4882a593Smuzhiyunused. If the disk fills up, it pauses and tries again, without losing any \ 11*4882a593Smuzhiyundata." 12*4882a593Smuzhiyun 13*4882a593SmuzhiyunSECTION = "System/Servers" 14*4882a593Smuzhiyun 15*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://src/prot.c;beginline=1;endline=1;md5=96964cadf07e8f8c1e2ffb3b507dd647" 16*4882a593SmuzhiyunLICENSE = "PD" 17*4882a593Smuzhiyun 18*4882a593SmuzhiyunSRC_URI = "http://cr.yp.to/daemontools/${BPN}-${PV}.tar.gz \ 19*4882a593Smuzhiyun file://0001-error.h-include-errno.h-instead-of-extern-int.diff \ 20*4882a593Smuzhiyun file://0002-supervise.c-.-supervise-may-be-a-symlink-if-it-s-da.diff \ 21*4882a593Smuzhiyun file://cross-compile.patch \ 22*4882a593Smuzhiyun file://0001-daemontools-Fix-QA-Issue.patch \ 23*4882a593Smuzhiyun" 24*4882a593Smuzhiyun 25*4882a593SmuzhiyunSRC_URI[md5sum] = "1871af2453d6e464034968a0fbcb2bfc" 26*4882a593SmuzhiyunSRC_URI[sha256sum] = "a55535012b2be7a52dcd9eccabb9a198b13be50d0384143bd3b32b8710df4c1f" 27*4882a593Smuzhiyun 28*4882a593SmuzhiyunS = "${WORKDIR}/admin/${BP}" 29*4882a593Smuzhiyun 30*4882a593Smuzhiyundo_compile() { 31*4882a593Smuzhiyun ./package/compile 32*4882a593Smuzhiyun} 33*4882a593Smuzhiyun 34*4882a593Smuzhiyundo_install() { 35*4882a593Smuzhiyun install -d ${D}/${bindir} 36*4882a593Smuzhiyun} 37*4882a593Smuzhiyun 38*4882a593Smuzhiyundo_install:append:class-target() { 39*4882a593Smuzhiyun install -m755 ${S}/command/* ${D}/${bindir} 40*4882a593Smuzhiyun} 41*4882a593Smuzhiyun 42*4882a593Smuzhiyuninherit update-alternatives 43*4882a593SmuzhiyunALTERNATIVE_PRIORITY = "100" 44*4882a593SmuzhiyunALTERNATIVE:${PN} = "svc svok" 45