aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/checkservice/Makefile49
-rw-r--r--sysutils/checkservice/distinfo1
-rw-r--r--sysutils/checkservice/pkg-comment1
-rw-r--r--sysutils/checkservice/pkg-descr17
-rw-r--r--sysutils/checkservice/pkg-plist32
6 files changed, 101 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index fc832d740bfb..8823c6f0d345 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -16,6 +16,7 @@
SUBDIR += cd-write
SUBDIR += cdrecord
SUBDIR += cfengine
+ SUBDIR += checkservice
SUBDIR += clockspeed
SUBDIR += comconsole
SUBDIR += consolehm
diff --git a/sysutils/checkservice/Makefile b/sysutils/checkservice/Makefile
new file mode 100644
index 000000000000..16398abb2d55
--- /dev/null
+++ b/sysutils/checkservice/Makefile
@@ -0,0 +1,49 @@
+# ex:ts=8
+# New ports collection makefile for: checkservice
+# Date created: Jan 1, 2001
+# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= checkservice
+PORTVERSION= 1.1.0
+CATEGORIES= sysutils
+MASTER_SITES= http://www.linvision.com/checkservice/files/
+
+MAINTAINER= ijliao@FreeBSD.org
+
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Mail/Send.pm:${PORTSDIR}/mail/p5-Mail-Tools
+
+USE_PERL5= YES
+
+NO_BUILD= YES
+
+MAN1= checkservice.1
+MAN5= checkservice.5
+
+post-patch:
+.for file in ${PORTNAME} man/${PORTNAME}.1 man/${PORTNAME}.5
+ @${PERL} -pi -e "s|/etc|${PREFIX}/etc|g" ${WRKSRC}/${file}
+.endfor
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
+ ${INSTALL_DATA} ${WRKSRC}/opensocket.pl ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
+ ${INSTALL_MAN} ${WRKSRC}/man/checkservice.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/man/checkservice.5 ${PREFIX}/man/man5
+ ${MKDIR} -m 755 ${PREFIX}/lib/${PORTNAME}
+ ${CP} -R ${WRKSRC}/plugins/ ${PREFIX}/lib/${PORTNAME}
+ ${MKDIR} -m 755 ${PREFIX}/etc/${PORTNAME}
+ ${CP} -R ${WRKSRC}/config/ ${PREFIX}/etc/${PORTNAME}
+
+post-install:
+.if !defined(BATCH)
+ @${ECHO} ""
+ @${ECHO} "############################################################################"
+ @${ECHO} "# Config files are in ${PREFIX}/etc/${PORTNAME} #"
+ @${ECHO} "# Plugins are in ${PREFIX}/lib/${PORTNAME} #"
+ @${ECHO} "############################################################################"
+.endif
+
+.include <bsd.port.mk>
diff --git a/sysutils/checkservice/distinfo b/sysutils/checkservice/distinfo
new file mode 100644
index 000000000000..d81809110d8f
--- /dev/null
+++ b/sysutils/checkservice/distinfo
@@ -0,0 +1 @@
+MD5 (checkservice-1.1.0.tar.gz) = 500a8f97b9a6c69d8b6d19ae0b84cb04
diff --git a/sysutils/checkservice/pkg-comment b/sysutils/checkservice/pkg-comment
new file mode 100644
index 000000000000..ed42f10f330b
--- /dev/null
+++ b/sysutils/checkservice/pkg-comment
@@ -0,0 +1 @@
+Checkservice is written to check the status of the services
diff --git a/sysutils/checkservice/pkg-descr b/sysutils/checkservice/pkg-descr
new file mode 100644
index 000000000000..8b0a2df62577
--- /dev/null
+++ b/sysutils/checkservice/pkg-descr
@@ -0,0 +1,17 @@
+Checkservice is written, as the name of the program suggests, to
+check the status of the services that you run on your own or a
+remote server/computer. It can monitor for example the FTP Server
+and Web server you are running and alarm you in several ways if
+something is wrong with them.
+
+The variety of output types, check- & warningplugins make Checkservice
+suitable for many tasks. With simple configfiles you can scan
+important services on the local host, but also on remote hosts, and
+make sure you know if a vital service fails! Since the 0.9.9-release
+Checkservice supports grouping. This is a convenient way to organize
+the hosts to check in different categories.
+
+WWW: http://www.linvision.com/checkservice/
+
+-- Ying-Chieh Liao
+ ijliao@FreeBSD.org
diff --git a/sysutils/checkservice/pkg-plist b/sysutils/checkservice/pkg-plist
new file mode 100644
index 000000000000..97e1d2d43d7a
--- /dev/null
+++ b/sysutils/checkservice/pkg-plist
@@ -0,0 +1,32 @@
+sbin/checkservice
+lib/perl5/site_perl/%%PERL_VER%%/opensocket.pl
+etc/checkservice/checkservice.conf
+etc/checkservice/failed.mail
+etc/checkservice/hosts/localhost
+etc/checkservice/plugins/sms.conf
+etc/checkservice/plugins/smsnet.conf
+etc/checkservice/statuspage.conf
+etc/checkservice/timeout.mail
+etc/checkservice/unreachable.mail
+lib/checkservice/check/ftp.plugin
+lib/checkservice/check/http.plugin
+lib/checkservice/check/https.plugin
+lib/checkservice/check/imap.plugin
+lib/checkservice/check/ldap.plugin
+lib/checkservice/check/mysql.plugin
+lib/checkservice/check/nntp.plugin
+lib/checkservice/check/pop3.plugin
+lib/checkservice/check/postgresql.plugin
+lib/checkservice/check/smtp.plugin
+lib/checkservice/check/ssh.plugin
+lib/checkservice/check/telnet.plugin
+lib/checkservice/check/template.plugin
+lib/checkservice/warning/beep.plugin
+lib/checkservice/warning/sms.plugin
+lib/checkservice/warning/smsnet.plugin
+@dirrm etc/checkservice/hosts
+@dirrm etc/checkservice/plugins
+@dirrm etc/checkservice
+@dirrm lib/checkservice/check
+@dirrm lib/checkservice/warning
+@dirrm lib/checkservice