Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2018 23:39:33 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r481085 - head/net-mgmt/mk-livestatus
Message-ID:  <201810012339.w91NdXlX099524@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Mon Oct  1 23:39:33 2018
New Revision: 481085
URL: https://svnweb.freebsd.org/changeset/ports/481085

Log:
  net-mgmt/mk-livestatus: Update to 1.2.8p20
  
  PR:		231645
  Submitted by:	Nathan <ndowens@yahoo.com>

Modified:
  head/net-mgmt/mk-livestatus/Makefile   (contents, props changed)
  head/net-mgmt/mk-livestatus/distinfo   (contents, props changed)

Modified: head/net-mgmt/mk-livestatus/Makefile
==============================================================================
--- head/net-mgmt/mk-livestatus/Makefile	Mon Oct  1 23:35:23 2018	(r481084)
+++ head/net-mgmt/mk-livestatus/Makefile	Mon Oct  1 23:39:33 2018	(r481085)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	mk-livestatus
-PORTVERSION=	1.2.8p18
+PORTVERSION=	1.2.8p20
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://mathias-kettner.de/download/
 DIST_SUBDIR=	check_mk
@@ -13,18 +13,17 @@ COMMENT=	Nagios event broker module
 LICENSE=	GPLv2
 
 USES=		compiler:c++11-lib gmake
+
 GNU_CONFIGURE=	yes
 
 PLIST_FILES=	lib/mk-livestatus/unixcat \
 		lib/mk-livestatus/livestatus.o
 SUB_FILES=	pkg-message
 
-PORTEXAMPLES=	*
-EXAMPLE_FILES=	api/python/example_multisite.py \
-		api/python/example.py \
-		api/python/livestatus.py \
-		api/python/make_nagvis_map.py \
-		api/python/README
+PORTEXAMPLES=	*.py README
+EXAMPLE_FILES=	example_multisite.py example.py \
+		livestatus.py make_nagvis_map.py \
+		README
 
 # parameter "command_file" from nagios.cfg
 COMMAND_FILE?=	/var/spool/nagios/rw/live
@@ -34,6 +33,8 @@ OPTIONS_SINGLE=	NAGIOS
 OPTIONS_SINGLE_NAGIOS=	NAGIOS3 NAGIOS4
 OPTIONS_DEFAULT=	NAGIOS3
 
+EXAMPLES_USES=	python
+
 NAGIOS3_DESC=	build for nagios-3.x
 NAGIOS4_DESC=	build for nagios-4.x
 
@@ -46,15 +47,15 @@ post-extract:
 	@${RM} -r ${WRKSRC}/api/perl
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|/usr/bin/python|${LOCALBASE}/bin/python2.7|g' \
-		-e 's|/var/lib/nagios/rw/live|${COMMAND_FILE}|g' \
-		-e 's|/var/run/nagios/rw/live|${COMMAND_FILE}|g' \
-		${EXAMPLE_FILES:S|^|${WRKSRC}/|}
 	@${REINPLACE_CMD} -e 's|/usr/local/nagios/var/rw/live|${COMMAND_FILE}|' \
 		${WRKSRC}/src/livestatus.h
 
 post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	( cd ${WRKSRC} && ${COPYTREE_SHARE} api\* ${STAGEDIR}${EXAMPLESDIR}/ )
+	@${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|g' \
+		-e 's|/var/lib/nagios/rw/live|${COMMAND_FILE}|g' \
+		-e 's|/var/run/nagios/rw/live|${COMMAND_FILE}|g' \
+		${PORTEXAMPLES:S|^|${WRKSRC}/api/python/|}
+	${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/api/python/|} ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/net-mgmt/mk-livestatus/distinfo
==============================================================================
--- head/net-mgmt/mk-livestatus/distinfo	Mon Oct  1 23:35:23 2018	(r481084)
+++ head/net-mgmt/mk-livestatus/distinfo	Mon Oct  1 23:39:33 2018	(r481085)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1537537042
-SHA256 (check_mk/mk-livestatus-1.2.8p18.tar.gz) = e0a6037f388b6d8c42ee8c00b4cb76c8e6354e86aa402726a3691c3c6cf2750d
-SIZE (check_mk/mk-livestatus-1.2.8p18.tar.gz) = 453516
+TIMESTAMP = 1537726481
+SHA256 (check_mk/mk-livestatus-1.2.8p20.tar.gz) = aa1cecfefea6ca4e651071fc26cc8d4c48ba9cb0e1cdc91dc30b6c4bee96f19a
+SIZE (check_mk/mk-livestatus-1.2.8p20.tar.gz) = 453544



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810012339.w91NdXlX099524>