aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/watchdog
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-10-06 20:04:24 +0800
committeredwin <edwin@FreeBSD.org>2003-10-06 20:04:24 +0800
commit4361c7ad6a004eac87b8ad8e0ef554309918ce2c (patch)
treec6600fa62adc7d08f89f98f5833b89e0394c146a /sysutils/watchdog
parent21cc20f85f658fb55e155ee024f2760d7ebd4d59 (diff)
downloadfreebsd-ports-gnome-4361c7ad6a004eac87b8ad8e0ef554309918ce2c.tar.gz
freebsd-ports-gnome-4361c7ad6a004eac87b8ad8e0ef554309918ce2c.tar.zst
freebsd-ports-gnome-4361c7ad6a004eac87b8ad8e0ef554309918ce2c.zip
New port for ELAN SC520 watchdog
Watchdog daemon for the AMD Elan sc520 system-on-chip. The watchdogd deamon runs in the background and will reset the hardware watchdog timer of the elan-mmcr/soekris every 16 seconds. If this timer is not reset within 32 seconds thereafter the hardware will reboot. This software was specifically developed for http://www.soekris.com/ boards and for use within the http://www.wirelessleiden.nl/ project. WWW: http://www.webweaving.org/watchdog/ PR: ports/55797 Submitted by: Dirk-Willem van Gulik <dirkx@webweaving.org>
Diffstat (limited to 'sysutils/watchdog')
-rw-r--r--sysutils/watchdog/Makefile29
-rw-r--r--sysutils/watchdog/distinfo1
-rw-r--r--sysutils/watchdog/files/patch-Makefile12
-rw-r--r--sysutils/watchdog/pkg-descr13
-rw-r--r--sysutils/watchdog/pkg-plist1
5 files changed, 56 insertions, 0 deletions
diff --git a/sysutils/watchdog/Makefile b/sysutils/watchdog/Makefile
new file mode 100644
index 000000000000..40fd4588a93d
--- /dev/null
+++ b/sysutils/watchdog/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: ezload
+# Date created: 18 august 2003
+# Whom: dirkx@webweaving.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= watchdog
+PORTVERSION= 1.00
+CATEGORIES= sysutils
+MASTER_SITES= http://www.webweaving.org/watchdog/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= dirkx@webweaving.org
+COMMENT= "Watchdog daemon for the AMD Elan sc520 system-on-chip."
+
+MAN8= watchdogd.8
+MANCOMPRESSED= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500043
+# We need revision 1.12 of /sys/i386/i386/elan-mmrc.c and
+# 1.1 of /sys/sys/watchdog.h. The first tag is RELENG_5_1.
+#
+IGNORE= 'This port only works on 5.1 and above / ${OSVERSION}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/watchdog/distinfo b/sysutils/watchdog/distinfo
new file mode 100644
index 000000000000..f2fe76c81d43
--- /dev/null
+++ b/sysutils/watchdog/distinfo
@@ -0,0 +1 @@
+MD5 (watchdog-1.00.tgz) = 5736c53ac9b74f6ebcf33b518479bd61
diff --git a/sysutils/watchdog/files/patch-Makefile b/sysutils/watchdog/files/patch-Makefile
new file mode 100644
index 000000000000..4d30b0cf5dd4
--- /dev/null
+++ b/sysutils/watchdog/files/patch-Makefile
@@ -0,0 +1,12 @@
+--- Makefile.orig Fri Jul 11 03:43:45 2003
++++ Makefile Mon Oct 6 05:02:03 2003
+@@ -4,7 +4,8 @@
+ PROG= watchdogd
+ MAN= watchdogd.8
+
+-BINDIR?= /sbin
++BINDIR?= ${PREFIX}/bin
++MANDIR?= ${PREFIX}/man/man
+ NOSHARED?= YES
+ WARNS?= 2
+
diff --git a/sysutils/watchdog/pkg-descr b/sysutils/watchdog/pkg-descr
new file mode 100644
index 000000000000..c50946918782
--- /dev/null
+++ b/sysutils/watchdog/pkg-descr
@@ -0,0 +1,13 @@
+Watchdog daemon for the AMD Elan sc520 system-on-chip.
+
+The watchdogd deamon runs in the background and will reset the hardware
+watchdog timer of the elan-mmcr/soekris every 16 seconds. If this timer
+is not reset within 32 seconds thereafter the hardware will reboot.
+
+This software was specifically developed for http://www.soekris.com/ boards
+and for use within the http://www.wirelessleiden.nl/ project.
+
+WWW: http://www.webweaving.org/watchdog/
+
+- Dirk-Willem van Gulik
+dirkx@webweaving.org
diff --git a/sysutils/watchdog/pkg-plist b/sysutils/watchdog/pkg-plist
new file mode 100644
index 000000000000..878bcf3060d8
--- /dev/null
+++ b/sysutils/watchdog/pkg-plist
@@ -0,0 +1 @@
+bin/watchdogd