diff options
author | Olli Hauer <ohauer@FreeBSD.org> | 2011-04-24 10:43:32 +0000 |
---|---|---|
committer | Olli Hauer <ohauer@FreeBSD.org> | 2011-04-24 10:43:32 +0000 |
commit | a3fe0cd139b1cc07ee4e27aff83bc3dda385b30e (patch) | |
tree | 0c0ea0a7d87a857f3d1de16f01459c3e4f50a8f8 /net-mgmt | |
parent | 4fa0eb9a17233dcb135a89e4625cad5547dc6103 (diff) | |
download | ports-a3fe0cd139b1cc07ee4e27aff83bc3dda385b30e.tar.gz ports-a3fe0cd139b1cc07ee4e27aff83bc3dda385b30e.zip |
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/mk-livestatus/Makefile | 19 | ||||
-rw-r--r-- | net-mgmt/mk-livestatus/distinfo | 4 |
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 |