From aaed7da16be49429fa317d3f06e6ddc4764a05e8 Mon Sep 17 00:00:00 2001 From: Sahil Tandon Date: Mon, 3 May 2010 02:48:55 +0000 Subject: [PATCH] - Update to 1.2.0 - Note new functionality in COMMENT - USE_RC_SUBR instead of manually installing rc script - Use ${PORTNAME} where possible PR: ports/146071 Submitted by: Boris Kochergin (maintainer) Approved by: wxs@ (mentor) --- sysutils/geomWatch/Makefile | 18 +++++++++--------- sysutils/geomWatch/distinfo | 6 +++--- sysutils/geomWatch/files/pkg-message.in | 4 ++-- sysutils/geomWatch/pkg-descr | 12 ++++++------ 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/sysutils/geomWatch/Makefile b/sysutils/geomWatch/Makefile index ec9780515d19..2f8e287113b2 100644 --- a/sysutils/geomWatch/Makefile +++ b/sysutils/geomWatch/Makefile @@ -6,25 +6,25 @@ # PORTNAME= geomWatch -PORTVERSION= 1.1.2 +PORTVERSION= 1.2.0 CATEGORIES= sysutils -MASTER_SITES= http://isis.poly.edu/~bk/geomWatch/ \ - http://bk.macroblock.net/geomWatch/ +MASTER_SITES= http://isis.poly.edu/~bk/${PORTNAME}/ \ + http://bk.macroblock.net/${PORTNAME}/ EXTRACT_SUFX= .tbz MAINTAINER= spawk@acm.poly.edu -COMMENT= Watches for and e-mails admins about GEOM state changes +COMMENT= Watches for and e-mails admins about GEOM/ZFS state changes LIB_DEPENDS= esmtp.6:${PORTSDIR}/mail/libesmtp -PLIST_FILES= sbin/geomWatch \ - etc/rc.d/geomWatch \ - etc/geomWatch.conf.sample +PLIST_FILES= sbin/${PORTNAME} \ + etc/${PORTNAME}.conf.sample -SUB_FILES= pkg-message geomWatch +SUB_FILES= pkg-message + +USE_RC_SUBR= ${PORTNAME} post-install: - ${INSTALL_SCRIPT} ${WRKDIR}/geomWatch ${PREFIX}/etc/rc.d/geomWatch @${CAT} ${PKGMESSAGE} .include diff --git a/sysutils/geomWatch/distinfo b/sysutils/geomWatch/distinfo index abcd3f4279e4..3b92ab712b0a 100644 --- a/sysutils/geomWatch/distinfo +++ b/sysutils/geomWatch/distinfo @@ -1,3 +1,3 @@ -MD5 (geomWatch-1.1.2.tbz) = 0b9b9a31dd07deb59c6fa34d94de247e -SHA256 (geomWatch-1.1.2.tbz) = 6b793ddc71847e0b97b18f6431d753152087bd8672060dcff05fd322375034f4 -SIZE (geomWatch-1.1.2.tbz) = 6840 +MD5 (geomWatch-1.2.0.tbz) = 587fbb59fecf107ea5130ad567d4b1b1 +SHA256 (geomWatch-1.2.0.tbz) = 660bc8da29cba43bd3e206bb9af50c9f26ebd287f6ddc6ef7064f8ef794e834c +SIZE (geomWatch-1.2.0.tbz) = 258951 diff --git a/sysutils/geomWatch/files/pkg-message.in b/sysutils/geomWatch/files/pkg-message.in index 967c1da9f683..79cbb2b2a295 100644 --- a/sysutils/geomWatch/files/pkg-message.in +++ b/sysutils/geomWatch/files/pkg-message.in @@ -1,8 +1,8 @@ A sample geomWatch configuration file has been installed as %%PREFIX%%/etc/geomWatch.conf.sample. You should copy it to -%%PREFIX%%/etc/geomWatch.conf, edit it to your liking, and add the following line -to /etc/rc.conf: +%%PREFIX%%/etc/geomWatch.conf, edit it to your liking, and add the following +line to /etc/rc.conf: geomwatch_enable="YES" diff --git a/sysutils/geomWatch/pkg-descr b/sysutils/geomWatch/pkg-descr index 8f351828c919..df54f1e5175b 100644 --- a/sysutils/geomWatch/pkg-descr +++ b/sysutils/geomWatch/pkg-descr @@ -1,9 +1,9 @@ -geomWatch is a program for monitoring the well-being of GEOM providers. It -checks the state of each configured provider at a configured interval, and, if -it notices that a provider has lost a component, or encounters a problem while -checking a provider's state, it will send an e-mail with details of the -matter--such as what components were lost and which remain, or, in the event of -a problem, what the problem was--to an arbitrary number of recipients, so that +geomWatch is a program for monitoring the well-being of GEOM providers and ZFS +pools. It checks the state of each configured provider and pool at a configured +interval, and, if it notices that a component has been lost, or encounters a +problem during the check, it will send an e-mail with details of the matter-- +such as what components were lost and which remain, or, in the event of a +problem, what the problem was--to an arbitrary number of recipients, so that corrective action can be taken (for example, replacing a failed disk). WWW: http://acm.poly.edu/wiki/GEOM_Watch