From b8ceebe6d2a7621bcaaef5262b2760b3b27e129f Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Mon, 6 Oct 2003 12:04:24 +0000 Subject: 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 --- sysutils/Makefile | 1 + sysutils/watchdog/Makefile | 29 +++++++++++++++++++++++++++++ sysutils/watchdog/distinfo | 1 + sysutils/watchdog/files/patch-Makefile | 12 ++++++++++++ sysutils/watchdog/pkg-descr | 13 +++++++++++++ sysutils/watchdog/pkg-plist | 1 + 6 files changed, 57 insertions(+) create mode 100644 sysutils/watchdog/Makefile create mode 100644 sysutils/watchdog/distinfo create mode 100644 sysutils/watchdog/files/patch-Makefile create mode 100644 sysutils/watchdog/pkg-descr create mode 100644 sysutils/watchdog/pkg-plist (limited to 'sysutils') 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 + +.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 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 -- cgit v1.2.3