aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2006-05-06 23:37:02 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2006-05-06 23:37:02 +0000
commit61e69a3c0292d66611120f24cb723905b6672d82 (patch)
tree0649e43a657e93379594864e583f4ba86f2ada76 /net-mgmt/nagios
parent8727939cacd0e63e8b8e7a067c1d226cad9e9388 (diff)
downloadports-61e69a3c0292d66611120f24cb723905b6672d82.tar.gz
ports-61e69a3c0292d66611120f24cb723905b6672d82.zip
Notes
Diffstat (limited to 'net-mgmt/nagios')
-rw-r--r--net-mgmt/nagios/Makefile7
-rw-r--r--net-mgmt/nagios/distinfo6
-rw-r--r--net-mgmt/nagios/files/nagios.sh.in5
3 files changed, 12 insertions, 6 deletions
diff --git a/net-mgmt/nagios/Makefile b/net-mgmt/nagios/Makefile
index 79d7340ecc59..183d8bd089c8 100644
--- a/net-mgmt/nagios/Makefile
+++ b/net-mgmt/nagios/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nagios
-PORTVERSION= 2.2
+PORTVERSION= 2.3
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= nagios
@@ -91,7 +91,7 @@ USE_PERL5= yes
CONFIGURE_ARGS+= --enable-embedded-perl \
--with-perlcache
.else
-IGNORE= Embedded Perl requires Perl 5.8 or higher (see lang/perl5.8)
+IGNORE= embedded Perl requires Perl 5.8 or higher (see lang/perl5.8)
.endif
PLIST_SUB+= EMBEDDED_PERL=""
.else
@@ -103,7 +103,8 @@ CONFIGURE_ARGS+= --enable-nanosleep
.endif
post-patch:
- ${REINPLACE_CMD} -e 's#"main.html"#"${NAGIOSHOMEURL:S/\//\\\//g:S/&/\\&/g}"#' ${WRKSRC}/html/index.html.in
+ @${REINPLACE_CMD} -e 's#"main.html"#"${NAGIOSHOMEURL:S/\//\\\//g:S/&/\\&/g}"#' \
+ ${WRKSRC}/html/index.html.in
pre-install:
@${SH} ${PKGINSTALL} ${DISTNAME} PRE-INSTALL
diff --git a/net-mgmt/nagios/distinfo b/net-mgmt/nagios/distinfo
index 53edadfc3b12..9d43104b135f 100644
--- a/net-mgmt/nagios/distinfo
+++ b/net-mgmt/nagios/distinfo
@@ -1,3 +1,3 @@
-MD5 (nagios-2.2.tar.gz) = 38d375fa728d8475b65af63af85d6cea
-SHA256 (nagios-2.2.tar.gz) = 3bcf5a82c839ca66ff5fab37d5cf2b74d0992beac59db84c86bb2af8dd581222
-SIZE (nagios-2.2.tar.gz) = 1734695
+MD5 (nagios-2.3.tar.gz) = 6d0a01ed778f81cc49d402884d25a933
+SHA256 (nagios-2.3.tar.gz) = 06d40c5aaeda6e11d704b23315d0920a5b0f770035837e7c6e5c51b0f6cc56f2
+SIZE (nagios-2.3.tar.gz) = 1734837
diff --git a/net-mgmt/nagios/files/nagios.sh.in b/net-mgmt/nagios/files/nagios.sh.in
index 556f79f932d9..e1afec9ced54 100644
--- a/net-mgmt/nagios/files/nagios.sh.in
+++ b/net-mgmt/nagios/files/nagios.sh.in
@@ -3,6 +3,11 @@
# $FreeBSD$
#
+# PROVIDE: nagios
+# REQUIRE: DAEMON
+# BEFORE: LOGIN
+# KEYWORD: shutdown
+
#
# Add the following lines to /etc/rc.conf to enable nagios:
# nagios_enable (bool): Set to "NO" by default.