ports/55858: Update port: sysutils/monitord Bug fixes and feature additions.
W. M. Shandruk
walt at erudition.net
Fri Aug 22 03:00:41 UTC 2003
>Number: 55858
>Category: ports
>Synopsis: Update port: sysutils/monitord Bug fixes and feature additions.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 21 20:00:35 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: W. M. Shandruk
>Release: FreeBSD 4.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD mithras.erudition.net 4.3-STABLE FreeBSD 4.3-STABLE #0: Mon Jul 23 02:33:33 EDT 2001 root at mithras.erudition.net:/usr/src/sys/compile/MITHRAS i386
>Description:
monitord is a simple to use system service that allows one to easily monitor other system services for accidental termination and then automatically restart them.
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# monitord
# monitord/files
# monitord/files/patch-aa
# monitord/pkg-plist
# monitord/pkg-descr
# monitord/Makefile
# monitord/distinfo
#
echo c - monitord
mkdir -p monitord > /dev/null 2>&1
echo c - monitord/files
mkdir -p monitord/files > /dev/null 2>&1
echo x - monitord/files/patch-aa
sed 's/^X//' >monitord/files/patch-aa << 'END-of-monitord/files/patch-aa'
X--- Makefile.orig Thu Jun 15 11:17:14 2000
X+++ Makefile Sun Jun 17 14:56:30 2001
X@@ -6,7 +6,7 @@
X
X TARGET = monitord
X
X-MANDIR = /usr/local/man
X+MANDIR = $(PREFIX)/man
X
X .SUFFIXES:
X .SUFFIXES: .c .o
X@@ -28,6 +28,6 @@
X $(CC) $(OBJECTS) -o $(TARGET)
X
X install:
X- $(INSTALL) -cs $(TARGET) /usr/local/sbin
X- $(INSTALL) -c $(TARGET).conf /usr/local/etc
X- $(INSTALL) -c $(TARGET).8 $(MANDIR)/man8
X+ $(BSD_INSTALL_PROGRAM) $(TARGET) $(PREFIX)/sbin
X+ if [ ! -e $(PREFIX)/etc/$(TARGET).conf.sample ] ; then $(BSD_INSTALL_DATA) $(TARGET).conf.sample $(
PREFIX)/etc; fi
X+ $(BSD_INSTALL_MAN) -c $(TARGET).8 $(MANDIR)/man8
END-of-monitord/files/patch-aa
echo x - monitord/pkg-plist
sed 's/^X//' >monitord/pkg-plist << 'END-of-monitord/pkg-plist'
X at unexec if cmp -s %D/etc/monitord.conf %D/etc/monitord.conf.sample; then rm -f %D/etc/monitord.conf; fi
Xetc/monitord.conf.sample
Xsbin/monitord
END-of-monitord/pkg-plist
echo x - monitord/pkg-descr
sed 's/^X//' >monitord/pkg-descr << 'END-of-monitord/pkg-descr'
XThis port allows one to monitor other standalone services and
Xautomatically restart them if they are accidentally and unwittingly
Xterminated, or crash either because of instability or a DoS attack.
XIt simplifies a task capable of being performed by cron(8) by not
Xrequiring custom scripts to be written for each service being
Xmonitored. The configuration file is simple and easily setup.
X
XNote: version 0.4.1 has a different configuration file format and
Xany previous configuration file should be updated accordingly.
X
X- Walt
Xwalt at erudition.net
END-of-monitord/pkg-descr
echo x - monitord/Makefile
sed 's/^X//' >monitord/Makefile << 'END-of-monitord/Makefile'
X# New ports collection makefile for: monitord
X# Date created: 5 June 2000
X# Whom: walt
X#
X# $FreeBSD$
X#
X
XPORTNAME= monitord
XPORTVERSION= 0.4.1
XCATEGORIES= sysutils
XMASTER_SITES= ftp://ftp.erudition.net/pub/monitord/
X
XMAINTAINER= walt at erudition.net
XCOMMENT= Service that restarts other standalone services
X
XMAN8= monitord.8
X
Xpost-install:
X @${CP} ${WRKSRC}/monitord.conf.sample ${PREFIX}/etc/monitord.conf.sample
X
X.include <bsd.port.mk>
END-of-monitord/Makefile
echo x - monitord/distinfo
sed 's/^X//' >monitord/distinfo << 'END-of-monitord/distinfo'
XMD5 (monitord-0.4.1.tar.gz) = 3cc368f2f000f445df0ccfe051ac2564
END-of-monitord/distinfo
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list