Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jan 2001 01:56:49 +0800 (CST)
From:      Ying-Chieh Liao <ijliao@terry.dragon2.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/23983: new port : sysutils/checkservice
Message-ID:  <200012311756.eBVHun976691@Terry.Dorm8.NCTU.edu.tw>
Resent-Message-ID: <200012311800.eBVI01R84894@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         23983
>Category:       ports
>Synopsis:       new port : sysutils/checkservice
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 31 10:00:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Liao
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
NCTU CSIE
>Environment:
System: FreeBSD Terry.Dorm8.NCTU.edu.tw 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Dec 20 08:59:11 CST 2000 root@Terry.Dorm8.NCTU.edu.tw:/usr/obj/usr/src/sys/TERRY i386


	
>Description:

new port : checkservice 1.1.0

>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:
#
#	checkservice
#	checkservice/Makefile
#	checkservice/pkg-comment
#	checkservice/distinfo
#	checkservice/pkg-descr
#	checkservice/pkg-plist
#
echo c - checkservice
mkdir -p checkservice > /dev/null 2>&1
echo x - checkservice/Makefile
sed 's/^X//' >checkservice/Makefile << 'END-of-checkservice/Makefile'
X# New ports collection makefile for:	checkservice
X# Date created:				Jan 1, 2001
X# Whom:	      				Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
X#
X# $FreeBSD$
X#
X
XPORTNAME=		checkservice
XPORTVERSION=	1.1.0
XCATEGORIES=		sysutils
XMASTER_SITES=	http://www.linvision.com/checkservice/files/
X
XMAINTAINER=		ijliao@csie.nctu.edu.tw
X
XRUN_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Mail/Send.pm:${PORTSDIR}/mail/p5-Mail-Tools
X
XUSE_PERL5=	YES
X
XNO_BUILD=	YES
X
XMAN1=		checkservice.1
XMAN5=		checkservice.5
X
Xpost-patch:
X.for file in ${PORTNAME} man/${PORTNAME}.1 man/${PORTNAME}.5
X	@${PERL} -pi -e "s|/etc|${PREFIX}/etc|g" ${WRKSRC}/${file}
X.endfor
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
X	${INSTALL_DATA} ${WRKSRC}/opensocket.pl ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
X	${INSTALL_MAN} ${WRKSRC}/man/checkservice.1 ${PREFIX}/man/man1
X	${INSTALL_MAN} ${WRKSRC}/man/checkservice.5 ${PREFIX}/man/man5
X	${MKDIR} -m 755 ${PREFIX}/lib/${PORTNAME}
X	${CP} -R ${WRKSRC}/plugins/ ${PREFIX}/lib/${PORTNAME}
X	${MKDIR} -m 755 ${PREFIX}/etc/${PORTNAME}
X	${CP} -R ${WRKSRC}/config/ ${PREFIX}/etc/${PORTNAME}
X
Xpost-install:
X.if !defined(BATCH)
X	@${ECHO} ""
X	@${ECHO} "############################################################################"
X	@${ECHO} "# Config files are in ${PREFIX}/etc/${PORTNAME}                            #"
X	@${ECHO} "# Plugins are in ${PREFIX}/lib/${PORTNAME}                                 #"
X	@${ECHO} "############################################################################"
X.endif
X
X.include <bsd.port.mk>
END-of-checkservice/Makefile
echo x - checkservice/pkg-comment
sed 's/^X//' >checkservice/pkg-comment << 'END-of-checkservice/pkg-comment'
XCheckservice is written to check the status of the services
END-of-checkservice/pkg-comment
echo x - checkservice/distinfo
sed 's/^X//' >checkservice/distinfo << 'END-of-checkservice/distinfo'
XMD5 (checkservice-1.1.0.tar.gz) = 500a8f97b9a6c69d8b6d19ae0b84cb04
END-of-checkservice/distinfo
echo x - checkservice/pkg-descr
sed 's/^X//' >checkservice/pkg-descr << 'END-of-checkservice/pkg-descr'
XCheckservice is written, as the name of the program suggests, to
Xcheck the status of the services that you run on your own or a
Xremote server/computer. It can monitor for example the FTP Server
Xand Web server you are running and alarm you in several ways if
Xsomething is wrong with them. 
X
XThe variety of output types, check- & warningplugins make Checkservice
X suitable for many tasks. With simple configfiles you can scan
Ximportant services on the local host, but also on remote hosts, and
Xmake sure you know if a vital service fails! Since the 0.9.9-release
XCheckservice supports grouping. This is a convenient way to organize
Xthe hosts to check in different categories. 
X
XWWW: http://www.linvision.com/checkservice/
X
X-- Ying-Chieh Liao
X   ijliao@csie.nctu.edu.tw
END-of-checkservice/pkg-descr
echo x - checkservice/pkg-plist
sed 's/^X//' >checkservice/pkg-plist << 'END-of-checkservice/pkg-plist'
Xsbin/checkservice
Xlib/perl5/site_perl/%%PERL_VER%%/opensocket.pl
Xetc/checkservice/checkservice.conf
Xetc/checkservice/failed.mail
Xetc/checkservice/hosts/localhost
Xetc/checkservice/plugins/sms.conf
Xetc/checkservice/plugins/smsnet.conf
Xetc/checkservice/statuspage.conf
Xetc/checkservice/timeout.mail
Xetc/checkservice/unreachable.mail
Xlib/checkservice/check/ftp.plugin
Xlib/checkservice/check/http.plugin
Xlib/checkservice/check/https.plugin
Xlib/checkservice/check/imap.plugin
Xlib/checkservice/check/ldap.plugin
Xlib/checkservice/check/mysql.plugin
Xlib/checkservice/check/nntp.plugin
Xlib/checkservice/check/pop3.plugin
Xlib/checkservice/check/postgresql.plugin
Xlib/checkservice/check/smtp.plugin
Xlib/checkservice/check/ssh.plugin
Xlib/checkservice/check/telnet.plugin
Xlib/checkservice/check/template.plugin
Xlib/checkservice/warning/beep.plugin
Xlib/checkservice/warning/sms.plugin
Xlib/checkservice/warning/smsnet.plugin
X@dirrm etc/checkservice/hosts
X@dirrm etc/checkservice/plugins
X@dirrm etc/checkservice
X@dirrm lib/checkservice/check
X@dirrm lib/checkservice/warning
X@dirrm lib/checkservice
END-of-checkservice/pkg-plist
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012311756.eBVHun976691>