diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-02-18 03:36:33 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-02-18 03:36:33 +0000 |
commit | d6c71fc272cdee3c676f3ad2313b908d635ed4c0 (patch) | |
tree | c1472fc951852410a947a93e721e040f93fbfe53 /sysutils/checkservice | |
parent | 7248298e2027a31d94919c8b4dea1ffeef86d376 (diff) | |
download | FreeBSD-ports-d6c71fc272cdee3c676f3ad2313b908d635ed4c0.zip FreeBSD-ports-d6c71fc272cdee3c676f3ad2313b908d635ed4c0.tar.gz |
upgrade to 1.2.0
drop maintainership
PR: 46416
Submitted by: ychsiao <ychsiao@news.stu.edu.tw>
Diffstat (limited to 'sysutils/checkservice')
-rw-r--r-- | sysutils/checkservice/Makefile | 32 | ||||
-rw-r--r-- | sysutils/checkservice/distinfo | 2 | ||||
-rw-r--r-- | sysutils/checkservice/pkg-descr | 3 | ||||
-rw-r--r-- | sysutils/checkservice/pkg-plist | 14 |
4 files changed, 26 insertions, 25 deletions
diff --git a/sysutils/checkservice/Makefile b/sysutils/checkservice/Makefile index 16398ab..41f7cda 100644 --- a/sysutils/checkservice/Makefile +++ b/sysutils/checkservice/Makefile @@ -7,16 +7,16 @@ # PORTNAME= checkservice -PORTVERSION= 1.1.0 +PORTVERSION= 1.2.0 CATEGORIES= sysutils MASTER_SITES= http://www.linvision.com/checkservice/files/ -MAINTAINER= ijliao@FreeBSD.org +MAINTAINER= ports@FreeBSD.org -RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Mail/Send.pm:${PORTSDIR}/mail/p5-Mail-Tools - -USE_PERL5= YES +RUN_DEPENDS= ${SITE_PERL}/${PERL_VER}/Mail/Send.pm:${PORTSDIR}/mail/p5-Mail-Tools +USE_REINPLACE= yes +USE_PERL5_RUN= YES NO_BUILD= YES MAN1= checkservice.1 @@ -24,26 +24,26 @@ 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} + @${REINPLACE_CMD} -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}/lib/CS ${SITE_PERL} + @${MKDIR} -m 755 ${PREFIX}/lib/${PORTNAME} ${CP} -R ${WRKSRC}/plugins/ ${PREFIX}/lib/${PORTNAME} - ${MKDIR} -m 755 ${PREFIX}/etc/${PORTNAME} + @${MKDIR} -m 755 ${PREFIX}/etc/${PORTNAME} ${CP} -R ${WRKSRC}/config/ ${PREFIX}/etc/${PORTNAME} + ${INSTALL_MAN} ${WRKSRC}/man/checkservice.1 ${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/man/checkservice.5 ${PREFIX}/man/man5 post-install: .if !defined(BATCH) - @${ECHO} "" - @${ECHO} "############################################################################" - @${ECHO} "# Config files are in ${PREFIX}/etc/${PORTNAME} #" - @${ECHO} "# Plugins are in ${PREFIX}/lib/${PORTNAME} #" - @${ECHO} "############################################################################" + @${ECHO_CMD} "" + @${ECHO_CMD} "############################################################################" + @${ECHO_CMD} "# Config files are in ${PREFIX}/etc/${PORTNAME} #" + @${ECHO_CMD} "# Plugins are in ${PREFIX}/lib/${PORTNAME} #" + @${ECHO_CMD} "############################################################################" .endif .include <bsd.port.mk> diff --git a/sysutils/checkservice/distinfo b/sysutils/checkservice/distinfo index d818091..49ec501 100644 --- a/sysutils/checkservice/distinfo +++ b/sysutils/checkservice/distinfo @@ -1 +1 @@ -MD5 (checkservice-1.1.0.tar.gz) = 500a8f97b9a6c69d8b6d19ae0b84cb04 +MD5 (checkservice-1.2.0.tar.gz) = 7990833be465b38f99c6b0651d457a17 diff --git a/sysutils/checkservice/pkg-descr b/sysutils/checkservice/pkg-descr index 8b0a2df..43f103d 100644 --- a/sysutils/checkservice/pkg-descr +++ b/sysutils/checkservice/pkg-descr @@ -12,6 +12,3 @@ 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 index 97e1d2d..29ff703 100644 --- a/sysutils/checkservice/pkg-plist +++ b/sysutils/checkservice/pkg-plist @@ -1,13 +1,17 @@ sbin/checkservice -lib/perl5/site_perl/%%PERL_VER%%/opensocket.pl +%%SITE_PERL%%/CS/Config.pm +%%SITE_PERL%%/CS/Functions.pm +%%SITE_PERL%%/CS/Plugin.pm +@dirrm %%SITE_PERL%%/CS etc/checkservice/checkservice.conf etc/checkservice/failed.mail -etc/checkservice/hosts/localhost -etc/checkservice/plugins/sms.conf -etc/checkservice/plugins/smsnet.conf +etc/checkservice/plugins/warning/sms.conf +etc/checkservice/plugins/warning/smsnet.conf etc/checkservice/statuspage.conf +etc/checkservice/successful.mail etc/checkservice/timeout.mail etc/checkservice/unreachable.mail +lib/checkservice/check/dns.plugin lib/checkservice/check/ftp.plugin lib/checkservice/check/http.plugin lib/checkservice/check/https.plugin @@ -24,7 +28,7 @@ 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/warning @dirrm etc/checkservice/plugins @dirrm etc/checkservice @dirrm lib/checkservice/check |