aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/lmon
diff options
context:
space:
mode:
authoranders <anders@FreeBSD.org>2005-04-19 03:42:10 +0800
committeranders <anders@FreeBSD.org>2005-04-19 03:42:10 +0800
commit27e317df60c0f519f0fe68886c1990216fd8039e (patch)
tree11fdfc3749e7e499c45d71205ad92b55bb48057b /sysutils/lmon
parent66d3a8ed5675f26d6b1ed4d1681f9aa98ff7c500 (diff)
downloadfreebsd-ports-graphics-27e317df60c0f519f0fe68886c1990216fd8039e.tar.gz
freebsd-ports-graphics-27e317df60c0f519f0fe68886c1990216fd8039e.tar.zst
freebsd-ports-graphics-27e317df60c0f519f0fe68886c1990216fd8039e.zip
Update to 1.1.
Diffstat (limited to 'sysutils/lmon')
-rw-r--r--sysutils/lmon/Makefile4
-rw-r--r--sysutils/lmon/distinfo4
-rw-r--r--sysutils/lmon/pkg-message3
3 files changed, 6 insertions, 5 deletions
diff --git a/sysutils/lmon/Makefile b/sysutils/lmon/Makefile
index 7b597d61441..5ecd266a491 100644
--- a/sysutils/lmon/Makefile
+++ b/sysutils/lmon/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= lmon
-PORTVERSION= 1.0
+PORTVERSION= 1.1
CATEGORIES= sysutils
MASTER_SITES= http://www.bsdconsulting.no/tools/
EXTRACT_SUFX= .tgz
@@ -19,6 +19,7 @@ RUN_DEPENDS= ${SITE_PERL}/Config/IniFiles.pm:${PORTSDIR}/devel/p5-Config-IniFile
${SITE_PERL}/File/Tail.pm:${PORTSDIR}/devel/p5-File-Tail
NO_BUILD= yes
+USE_REINPLACE= yes
do-install:
${INSTALL} -d -m 0755 ${PREFIX}/${PORTNAME}
@@ -26,6 +27,7 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/control.pl ${PREFIX}/${PORTNAME}/
${INSTALL_DATA} ${WRKSRC}/examples/control.cfg ${PREFIX}/${PORTNAME}/control.cfg.sample
${INSTALL_SCRIPT} ${WRKSRC}/examples/lmon.init ${PREFIX}/etc/rc.d/lmon.sh.sample
+ @${REINPLACE_CMD} -E -e "s@^(user=).*@\1\"root\"@;s@^(lmonhome=).*@\1\"${PREFIX}/${PORTNAME}\"@" ${PREFIX}/etc/rc.d/lmon.sh.sample
.if !defined(NOPORTDOCS)
${INSTALL} -d -m 0755 ${DOCSDIR}
.for f in LICENSE README TODO
diff --git a/sysutils/lmon/distinfo b/sysutils/lmon/distinfo
index 8a8c86775d4..914619e012c 100644
--- a/sysutils/lmon/distinfo
+++ b/sysutils/lmon/distinfo
@@ -1,2 +1,2 @@
-MD5 (lmon-1.0.tgz) = 8f929f1260fa8f48938f86cc089896fa
-SIZE (lmon-1.0.tgz) = 8308
+MD5 (lmon-1.1.tgz) = 3cc6d402798a42f0f7307b6b0b82c513
+SIZE (lmon-1.1.tgz) = 8708
diff --git a/sysutils/lmon/pkg-message b/sysutils/lmon/pkg-message
index aff0e7517f8..0e41e32b308 100644
--- a/sysutils/lmon/pkg-message
+++ b/sysutils/lmon/pkg-message
@@ -2,7 +2,6 @@
LMon is now installed in /usr/local/lmon. You need to create configuration and
rulesets. See documentation under /usr/local/share/doc/lmon and examples under
-/usr/local/share/examples/lmon. Particularly, you need to set SMTP servers in
-in lmon.pl (plan to improve this soon).
+/usr/local/share/examples/lmon.
================================================================================