From owner-svn-ports-head@freebsd.org Sat Oct 27 03:01:55 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 401E110D42ED; Sat, 27 Oct 2018 03:01:55 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5952878522; Sat, 27 Oct 2018 03:01:30 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3A5A82411; Sat, 27 Oct 2018 03:01:30 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9R31U6o079386; Sat, 27 Oct 2018 03:01:30 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9R31Ttc079384; Sat, 27 Oct 2018 03:01:29 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201810270301.w9R31Ttc079384@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Sat, 27 Oct 2018 03:01:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483104 - head/net-mgmt/pdagent-integrations X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: head/net-mgmt/pdagent-integrations X-SVN-Commit-Revision: 483104 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2018 03:01:55 -0000 Author: swills Date: Sat Oct 27 03:01:29 2018 New Revision: 483104 URL: https://svnweb.freebsd.org/changeset/ports/483104 Log: net-mgmt/pdagent-integrations: Update to 1.5 PR: 232430 Submitted by: Nathan Modified: head/net-mgmt/pdagent-integrations/Makefile (contents, props changed) head/net-mgmt/pdagent-integrations/distinfo (contents, props changed) head/net-mgmt/pdagent-integrations/pkg-plist (contents, props changed) Modified: head/net-mgmt/pdagent-integrations/Makefile ============================================================================== --- head/net-mgmt/pdagent-integrations/Makefile Sat Oct 27 02:52:14 2018 (r483103) +++ head/net-mgmt/pdagent-integrations/Makefile Sat Oct 27 03:01:29 2018 (r483104) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= pdagent-integrations -PORTVERSION= 1.4 +PORTVERSION= 1.5 DISTVERSIONPREFIX=v CATEGORIES= net-mgmt python @@ -10,10 +10,11 @@ MAINTAINER= ports@FreeBSD.org COMMENT= PagerDuty integrations for monitoring monitoring tools LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.TXT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdagent>0:net-mgmt/py-pdagent@${PY_FLAVOR} -USES= python:2.7 shebangfix +USES= python:2.7 shebangfix USE_GITHUB= yes GH_ACCOUNT= PagerDuty @@ -24,19 +25,24 @@ SUB_FILES= pagerduty-icinga2.conf pkg-message NO_ARCH= yes NO_BUILD= yes +PORTDOCS= *-testing.txt +EXAMPLES= conf.d/sensu_pagerduty_handler.json \ + pagerduty_nagios.cfg -OPTIONS_DEFINE= EXAMPLES +OPTIONS_DEFINE= DOCS EXAMPLES post-patch: ${REINPLACE_CMD} 's|/usr/share/pdagent-integrations/bin|${PREFIX}/bin|g' ${WRKSRC}/pagerduty_nagios.cfg ${WRKSRC}/conf.d/sensu_pagerduty_handler.json do-install: + (cd ${WRKSRC}/bin ; ${INSTALL_SCRIPT} * ${STAGEDIR}${PREFIX}/bin) + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/bin/pd-nagios ${STAGEDIR}${LOCALBASE}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/bin/pd-sensu ${STAGEDIR}${LOCALBASE}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/bin/pd-zabbix ${STAGEDIR}${LOCALBASE}/bin - ${INSTALL_DATA} ${WRKSRC}/conf.d/sensu_pagerduty_handler.json ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/pagerduty_nagios.cfg ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKDIR}/pagerduty-icinga2.conf ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR} .include Modified: head/net-mgmt/pdagent-integrations/distinfo ============================================================================== --- head/net-mgmt/pdagent-integrations/distinfo Sat Oct 27 02:52:14 2018 (r483103) +++ head/net-mgmt/pdagent-integrations/distinfo Sat Oct 27 03:01:29 2018 (r483104) @@ -1,3 +1,3 @@ -TIMESTAMP = 1507219750 -SHA256 (PagerDuty-pdagent-integrations-v1.4_GH0.tar.gz) = f4d18b1759ee0dfdcff4dd10f73c2bd3dd5d1ef0e2629141edd5f07f32c6e4f1 -SIZE (PagerDuty-pdagent-integrations-v1.4_GH0.tar.gz) = 17643 +TIMESTAMP = 1539916276 +SHA256 (PagerDuty-pdagent-integrations-v1.5_GH0.tar.gz) = 908962d778f17f29d0679406eb778bf20c96a1ade02dd8c55becedd1a076306d +SIZE (PagerDuty-pdagent-integrations-v1.5_GH0.tar.gz) = 18324 Modified: head/net-mgmt/pdagent-integrations/pkg-plist ============================================================================== --- head/net-mgmt/pdagent-integrations/pkg-plist Sat Oct 27 02:52:14 2018 (r483103) +++ head/net-mgmt/pdagent-integrations/pkg-plist Sat Oct 27 03:01:29 2018 (r483104) @@ -2,5 +2,4 @@ bin/pd-nagios bin/pd-sensu bin/pd-zabbix %%PORTEXAMPLES%%%%EXAMPLESDIR%%/pagerduty_nagios.cfg -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pagerduty-icinga2.conf %%PORTEXAMPLES%%%%EXAMPLESDIR%%/sensu_pagerduty_handler.json