summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-06 12:04:24 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-06 12:04:24 +0000
commitb8ceebe6d2a7621bcaaef5262b2760b3b27e129f (patch)
tree52d630a78cd9125a712e70571cd4744130a04c52
parentAdd the Linux binaries for the Dell RAID tools. These have been tested and (diff)
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>
-rw-r--r--sysutils/Makefile1
-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
6 files changed, 57 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 724d3c9271de..2b6cddc144b9 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -324,6 +324,7 @@
SUBDIR += videogen
SUBDIR += vobcopy
SUBDIR += wait_on
+ SUBDIR += watchdog
SUBDIR += webjob
SUBDIR += webmin
SUBDIR += whatpix
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