aboutsummaryrefslogtreecommitdiff
path: root/sysutils/dwatch
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-03-31 22:05:56 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-03-31 22:05:56 +0000
commitccad595e10614983993da6e65d33e4e6c9ff57ad (patch)
treeceefe779eb32dbd7c6880c26fc2c95ab668c84f6 /sysutils/dwatch
parent36f042efc35edfb66fd7804fbc6ee269fb523c66 (diff)
downloadports-ccad595e10614983993da6e65d33e4e6c9ff57ad.tar.gz
ports-ccad595e10614983993da6e65d33e4e6c9ff57ad.zip
Notes
Diffstat (limited to 'sysutils/dwatch')
-rw-r--r--sysutils/dwatch/Makefile25
-rw-r--r--sysutils/dwatch/distinfo1
-rw-r--r--sysutils/dwatch/files/patch-Makefile21
-rw-r--r--sysutils/dwatch/files/patch-dwatch.c10
-rw-r--r--sysutils/dwatch/pkg-descr4
-rw-r--r--sysutils/dwatch/pkg-plist2
6 files changed, 63 insertions, 0 deletions
diff --git a/sysutils/dwatch/Makefile b/sysutils/dwatch/Makefile
new file mode 100644
index 000000000000..2e8fbb29a9db
--- /dev/null
+++ b/sysutils/dwatch/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: dwatch
+# Date created: 14 Aug 2002
+# Whom: Andrew Turner <zombie@i4free.co.nz>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dwatch
+PORTVERSION= 0.1.1
+CATEGORIES= sysutils
+MASTER_SITES= ftp://siag.nu/pub/dwatch/ \
+ http://siag.nu/pub/dwatch/
+
+MAINTAINER= zombie@i4free.co.nz
+COMMENT= Dwatch - A Daemon Watcher
+
+MAN1= dwatch.1
+
+pre-install:
+ ${INSTALL_DATA} ${WRKSRC}/dwatch.conf ${PREFIX}/etc/dwatch.conf-dist
+
+post-install:
+ ${STRIP_CMD} ${PREFIX}/bin/dwatch
+
+.include <bsd.port.mk>
diff --git a/sysutils/dwatch/distinfo b/sysutils/dwatch/distinfo
new file mode 100644
index 000000000000..bef33120eade
--- /dev/null
+++ b/sysutils/dwatch/distinfo
@@ -0,0 +1 @@
+MD5 (dwatch-0.1.1.tar.gz) = 25c06240cb5ab8126badc8a78dcd2b79
diff --git a/sysutils/dwatch/files/patch-Makefile b/sysutils/dwatch/files/patch-Makefile
new file mode 100644
index 000000000000..f782803e66fc
--- /dev/null
+++ b/sysutils/dwatch/files/patch-Makefile
@@ -0,0 +1,21 @@
+--- Makefile.orig Wed Aug 14 21:37:07 2002
++++ Makefile Wed Aug 14 21:36:47 2002
+@@ -10,7 +10,8 @@
+ LDFLAGS = `./guess --libs`
+
+ # This ps works for Linux and Solaris, at least
+-PS = "/bin/ps -ef"
++#PS = "/bin/ps -ef"
++PS = "/bin/ps -ax"
+
+ # For Linux
+ #CFLAGS = -Wall -g
+@@ -19,7 +20,7 @@
+ #CFLAGS = -Wall -g
+ #LDFLAGS = -lnsl -lsocket
+
+-PREFIX = /usr/local
++PREFIX ?= /usr/local
+ BINDIR = $(PREFIX)/bin
+ MANDIR = $(PREFIX)/man
+ MAN1DIR = $(MANDIR)/man1
diff --git a/sysutils/dwatch/files/patch-dwatch.c b/sysutils/dwatch/files/patch-dwatch.c
new file mode 100644
index 000000000000..cc11936faedf
--- /dev/null
+++ b/sysutils/dwatch/files/patch-dwatch.c
@@ -0,0 +1,10 @@
+--- dwatch.c.orig Wed Aug 14 16:52:28 2002
++++ dwatch.c Wed Aug 14 16:52:34 2002
+@@ -17,6 +17,7 @@
+ MA 02111-1307, USA.
+ */
+
++#include <sys/types.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
diff --git a/sysutils/dwatch/pkg-descr b/sysutils/dwatch/pkg-descr
new file mode 100644
index 000000000000..35512e0a127d
--- /dev/null
+++ b/sysutils/dwatch/pkg-descr
@@ -0,0 +1,4 @@
+Dwatch (Daemon Watch) is a program that watches over other programs
+and performs actions based on conditions specified in a configuration file.
+
+WWW: http://siag.org/dwatch/
diff --git a/sysutils/dwatch/pkg-plist b/sysutils/dwatch/pkg-plist
new file mode 100644
index 000000000000..d4ac7620e996
--- /dev/null
+++ b/sysutils/dwatch/pkg-plist
@@ -0,0 +1,2 @@
+bin/dwatch
+etc/dwatch.conf-dist