aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/monitord
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-06-20 17:30:29 +0800
committersobomax <sobomax@FreeBSD.org>2000-06-20 17:30:29 +0800
commitab2e40bafdb8eef8155f2792a349a10d8a8ca208 (patch)
tree69d97865f5620a26b561bddad100e594700e3c90 /sysutils/monitord
parent987573861d03950569191f16ba2a9d65715a620a (diff)
downloadfreebsd-ports-gnome-ab2e40bafdb8eef8155f2792a349a10d8a8ca208.tar.gz
freebsd-ports-gnome-ab2e40bafdb8eef8155f2792a349a10d8a8ca208.tar.zst
freebsd-ports-gnome-ab2e40bafdb8eef8155f2792a349a10d8a8ca208.zip
Update to the 0.2.0 version. Also make it use BSD_INSTALL_* macros and make
it PREFIX clean while I'm here. PR: 19294 Submitted by: W. M. Shandruk <walt@erudition.net>
Diffstat (limited to 'sysutils/monitord')
-rw-r--r--sysutils/monitord/Makefile4
-rw-r--r--sysutils/monitord/distinfo2
-rw-r--r--sysutils/monitord/files/patch-aa30
-rw-r--r--sysutils/monitord/pkg-descr15
4 files changed, 32 insertions, 19 deletions
diff --git a/sysutils/monitord/Makefile b/sysutils/monitord/Makefile
index af4757215f61..5937b09e605f 100644
--- a/sysutils/monitord/Makefile
+++ b/sysutils/monitord/Makefile
@@ -1,12 +1,12 @@
# New ports collection makefile for: monitord
-# Date created: June 5, 2000
+# Date created: 5 June 2000
# Whom: walt
#
# $FreeBSD$
#
PORTNAME= monitord
-PORTVERSION= 0.1.0
+PORTVERSION= 0.2.0
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.erudition.net/pub/monitord/
diff --git a/sysutils/monitord/distinfo b/sysutils/monitord/distinfo
index 722078271030..6bb472d7034c 100644
--- a/sysutils/monitord/distinfo
+++ b/sysutils/monitord/distinfo
@@ -1 +1 @@
-MD5 (monitord-0.1.0.tar.gz) = 4c02100f5be1cb68527bd6af63360ec8
+MD5 (monitord-0.2.0.tar.gz) = 97267722e2d5d25f8fc0120787175dd9
diff --git a/sysutils/monitord/files/patch-aa b/sysutils/monitord/files/patch-aa
index 503db3503920..76bab31d5f10 100644
--- a/sysutils/monitord/files/patch-aa
+++ b/sysutils/monitord/files/patch-aa
@@ -1,17 +1,21 @@
---- Makefile Mon Jun 5 01:37:50 2000
-+++ Makefile.new Fri Jun 9 17:48:47 2000
-@@ -1,4 +1,4 @@
--CC = gcc
-+CC ?= gcc
- INSTALL = install
+--- Makefile.orig Thu Jun 15 12:17:14 2000
++++ Makefile Tue Jun 20 12:28:02 2000
+@@ -6,7 +6,7 @@
- SOURCES = monitord.c
-@@ -13,7 +13,7 @@
+ TARGET = monitord
- .c.o:
+-MANDIR = /usr/local/man
++MANDIR = $(PREFIX)/man
-- $(CC) -O3 -c -pipe -Wall $<
-+ $(CC) $(CFLAGS) -c -pipe -Wall $<
-
- $(TARGET): $(OBJECTS)
+ .SUFFIXES:
+ .SUFFIXES: .c .o
+@@ -28,6 +28,6 @@
$(CC) $(OBJECTS) -o $(TARGET)
+
+ install:
+- $(INSTALL) -cs $(TARGET) /usr/local/bin
+- $(INSTALL) -c $(TARGET).conf /usr/local/etc
+- $(INSTALL) -c $(TARGET).8 $(MANDIR)/man8
++ $(BSD_INSTALL_PROGRAM) $(TARGET) $(PREFIX)/bin
++ $(BSD_INSTALL_DATA) $(TARGET).conf $(PREFIX)/etc
++ $(BSD_INSTALL_MAN) -c $(TARGET).8 $(MANDIR)/man8
diff --git a/sysutils/monitord/pkg-descr b/sysutils/monitord/pkg-descr
index 10c4b9195a9f..7c66c11bb809 100644
--- a/sysutils/monitord/pkg-descr
+++ b/sysutils/monitord/pkg-descr
@@ -1,6 +1,15 @@
-This port allows one to monitor other standalone services and automatically
-restart them if they are accidentally and unwittingly terminated, or crash
-either because of instability or a DoS attack.
+This port allows one to monitor other standalone services and
+automatically restart them if they are accidentally and unwittingly
+terminated, or crash either because of instability or a DoS attack. It
+simplifies a corresponding task capable of being performed by cron(8) by
+not requiring scripts to be run from a cron tab that in turn checks for
+the *.pid files of services to determine whether they are running, but
+instead uses procfs to determine if they are running or not. The
+configuration file is simple and easily setup.
+
+Note: version 0.2.0 and up have a slightly different configuration file
+format and any previous configuration file from version 0.1.0 should
+be updated accordingly.
- Walt
walt@erudition.net