- update to version 1.1.10

Note:
   There is already a version 1.1.10p1 but there are no source changes.
This commit is contained in:
Olli Hauer 2011-04-24 10:43:32 +00:00
parent 4fa0eb9a17
commit a3fe0cd139
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=273129
2 changed files with 13 additions and 10 deletions

View File

@ -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}

View File

@ -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