source "package/tpm2-totp/Config.in"
source "package/unscd/Config.in"
source "package/util-linux/Config.in"
+ source "package/watchdog/Config.in"
source "package/xdg-dbus-proxy/Config.in"
source "package/xen/Config.in"
source "package/xvisor/Config.in"
$(if $(BR2_PACKAGE_USBUTILS),usbutils) \
$(if $(BR2_PACKAGE_UTIL_LINUX),util-linux) \
$(if $(BR2_PACKAGE_VIM),vim) \
+ $(if $(BR2_PACKAGE_WATCHDOG),watchdog) \
$(if $(BR2_PACKAGE_WGET),wget) \
$(if $(BR2_PACKAGE_WHOIS),whois)
--- /dev/null
+config BR2_PACKAGE_WATCHDOG
+ bool "watchdog"
+ depends on BR2_USE_MMU
+ help
+ Watchdog is a daemon that periodically pets a watchdog device
+ if the configured system status checks pass. If they do not,
+ the daemon may execute repair commands, shutdown the system or
+ reboot it.
+
+ https://sourceforge.net/projects/watchdog/
--- /dev/null
+# Locally computed
+sha256 b8e7c070e1b72aee2663bdc13b5cc39f76c9232669cfbb1ac0adc7275a3b019d watchdog-5.16.tar.gz
+sha256 af7f3f94e85080204b37f7c53717a2c94c6b54d7fa516ebd74e008cb4c0391bd COPYING
--- /dev/null
+################################################################################
+#
+# watchdog
+#
+################################################################################
+
+WATCHDOG_VERSION = 5.16
+WATCHDOG_SITE = http://downloads.sourceforge.net/sourceforge/watchdog
+WATCHDOG_AUTORECONF = YES
+WATCHDOG_LICENSE = GPL-2.0+
+WATCHDOG_LICENSE_FILES = COPYING
+# By default installs binaries in /usr/sbin/, but we want them in
+# /sbin/ so that they fall at the same place as Busybox counterparts
+WATCHDOG_CONF_OPTS = --sbindir=/sbin
+
+$(eval $(autotools-package))