aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2011-04-24 18:43:32 +0800
committerohauer <ohauer@FreeBSD.org>2011-04-24 18:43:32 +0800
commitbb9ac09a5617dc7e25ae71b6cd7626235062bca4 (patch)
tree25db2d9d2e40cc994f863680b9da53d80bbdd1ff /net-mgmt
parent68f083332cf80eecfde65cae1ab2540277027fab (diff)
downloadfreebsd-ports-gnome-bb9ac09a5617dc7e25ae71b6cd7626235062bca4.tar.gz
freebsd-ports-gnome-bb9ac09a5617dc7e25ae71b6cd7626235062bca4.tar.zst
freebsd-ports-gnome-bb9ac09a5617dc7e25ae71b6cd7626235062bca4.zip
- update to version 1.1.10
Note: There is already a version 1.1.10p1 but there are no source changes.
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/mk-livestatus/Makefile19
-rw-r--r--net-mgmt/mk-livestatus/distinfo4
2 files changed, 13 insertions, 10 deletions
diff --git a/net-mgmt/mk-livestatus/Makefile b/net-mgmt/mk-livestatus/Makefile
index 353772fba5e3..457acc8dd232 100644
--- a/net-mgmt/mk-livestatus/Makefile
+++ b/net-mgmt/mk-livestatus/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mk-livestatus
-PORTVERSION= 1.1.8
+PORTVERSION= 1.1.10
CATEGORIES= net-mgmt
MASTER_SITES= http://mathias-kettner.de/download/
@@ -33,22 +33,25 @@ EXAMPLE_FILES= api/python/example_multisite.py \
# parameter "command_file" from nagios.cfg
COMMAND_FILE?= /var/spool/nagios/rw/live
+# perl api is really outdated, do not install!
+# Actual version can be found on CPAN
+# http://search.cpan.org/~nierlein/Monitoring-Livestatus/
+post-extract:
+ @${RM} -rf ${WRKSRC}/api/perl
+
post-patch:
.for i in ${EXAMPLE_FILES}
- @${REINPLACE_CMD} -i '' -e 's|/usr/bin/python|${LOCALBASE}/bin/python|g' \
+ @${SED} -i '' -e 's|/usr/bin/python|${LOCALBASE}/bin/python|g' \
-e 's|/var/lib/nagios/rw/live|${COMMAND_FILE}|g' \
-e 's|/var/run/nagios/rw/live|${COMMAND_FILE}|g' ${WRKSRC}/$i
.endfor
- @${REINPLACE_CMD} -i '' -e 's|/usr/local/nagios/var/rw/live|${COMMAND_FILE}|' \
+ @${SED} -i '' -e 's|/usr/local/nagios/var/rw/live|${COMMAND_FILE}|' \
${WRKSRC}/src/livestatus.h
post-install:
.if !defined(NOPORTEXAMPLES)
-# do not install the outdated perl api!
- ${MKDIR} ${EXAMPLESDIR}/api/python
-. for i in ${EXAMPLE_FILES}
- ${INSTALL_DATA} ${WRKSRC}/$i ${EXAMPLESDIR}/$i
-. endfor
+ @${MKDIR} ${EXAMPLESDIR}
+ ( cd ${WRKSRC} && ${COPYTREE_SHARE} api\* ${EXAMPLESDIR}/ )
.endif
@${CAT} ${PKGMESSAGE}
diff --git a/net-mgmt/mk-livestatus/distinfo b/net-mgmt/mk-livestatus/distinfo
index 59742e6222f0..8358fee48149 100644
--- a/net-mgmt/mk-livestatus/distinfo
+++ b/net-mgmt/mk-livestatus/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mk-livestatus-1.1.8.tar.gz) = b9f3449664625a5b23a24dfd015f2ad1e3b5829d45a3b9502051f9121c0da17d
-SIZE (mk-livestatus-1.1.8.tar.gz) = 323754
+SHA256 (mk-livestatus-1.1.10.tar.gz) = e2d5bead5d29b39d6b3d55e90fad80c636ab3a3d4e26c796a07060b349eb67e7
+SIZE (mk-livestatus-1.1.10.tar.gz) = 326243