2010-11-18 23:44:37 +00:00
|
|
|
SUMMARY = "Software watchdog"
|
2010-08-20 07:54:59 +00:00
|
|
|
DESCRIPTION = "Watchdog is a daemon that checks if your system is still \
|
|
|
|
working. If programs in user space are not longer executed \
|
|
|
|
it will reboot the system."
|
|
|
|
HOMEPAGE = "http://watchdog.sourceforge.net/"
|
|
|
|
BUGTRACKER = "http://sourceforge.net/tracker/?group_id=172030&atid=860194"
|
|
|
|
|
2012-08-02 11:53:37 +00:00
|
|
|
LICENSE = "GPL-2.0+"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=ecc0551bf54ad97f6b541720f84d6569"
|
2010-08-20 07:54:59 +00:00
|
|
|
|
2012-08-09 12:05:06 +00:00
|
|
|
SRC_URI = "${SOURCEFORGE_MIRROR}/watchdog/watchdog-${PV}.tar.gz \
|
2013-03-21 14:19:26 +00:00
|
|
|
file://fixsepbuild.patch \
|
2015-03-18 15:50:45 +00:00
|
|
|
file://fix-ping-failure.patch \
|
|
|
|
file://watchdog-init.patch \
|
|
|
|
file://watchdog-conf.patch"
|
2014-11-07 00:19:44 +00:00
|
|
|
|
|
|
|
SRC_URI[md5sum] = "5b2dba0c593942f4acc100bca0d560c4"
|
|
|
|
SRC_URI[sha256sum] = "620b2f49e9879f2e85c73d4c1f422f9101e6b38e824fea2414befd8bb6866ad1"
|
2010-12-08 04:06:29 +00:00
|
|
|
|
2015-11-16 14:08:36 +00:00
|
|
|
UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/watchdog/files/watchdog/"
|
|
|
|
UPSTREAM_CHECK_REGEX = "/watchdog/(?P<pver>(\d+[\.\-_]*)+)/"
|
|
|
|
|
2010-08-20 07:54:59 +00:00
|
|
|
inherit autotools
|
2015-03-18 15:50:45 +00:00
|
|
|
inherit update-rc.d
|
|
|
|
|
|
|
|
INITSCRIPT_NAME = "watchdog.sh"
|
|
|
|
INITSCRIPT_PARAMS = "start 15 1 2 3 4 5 . stop 85 0 6 ."
|
2010-08-20 07:54:59 +00:00
|
|
|
|
|
|
|
RRECOMMENDS_${PN} = "kernel-module-softdog"
|
2015-03-18 15:50:45 +00:00
|
|
|
|
|
|
|
do_install_append() {
|
|
|
|
install -D ${S}/redhat/watchdog.init ${D}/${sysconfdir}/init.d/watchdog.sh
|
|
|
|
}
|