From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 67E0E138330 for ; Sat, 26 May 2018 21:46:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 89115E0AC2; Sat, 26 May 2018 21:46:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5830CE0AC2 for ; Sat, 26 May 2018 21:46:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5DC57335C86 for ; Sat, 26 May 2018 21:46:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AF80C2A8 for ; Sat, 26 May 2018 21:46:40 +0000 (UTC) From: "Aaron Bauman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Bauman" Message-ID: <1527371195.10d8c1f67b3bd910fd7f9d1beb52da9d8322e76a.bman@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-graphite/files/, www-apps/icingaweb2-module-graphite/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/icingaweb2-module-graphite/Manifest www-apps/icingaweb2-module-graphite/files/patch-unquote-service.patch www-apps/icingaweb2-module-graphite/icingaweb2-module-graphite-1.0.1-r1.ebuild www-apps/icingaweb2-module-graphite/icingaweb2-module-graphite-1.0.1.ebuild www-apps/icingaweb2-module-graphite/icingaweb2-module-graphite-9999.ebuild www-apps/icingaweb2-module-graphite/metadata.xml X-VCS-Directories: www-apps/icingaweb2-module-graphite/ www-apps/icingaweb2-module-graphite/files/ X-VCS-Committer: bman X-VCS-Committer-Name: Aaron Bauman X-VCS-Revision: 10d8c1f67b3bd910fd7f9d1beb52da9d8322e76a X-VCS-Branch: master Date: Sat, 26 May 2018 21:46:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 8e6c79eb-ea52-4083-beb3-b82593bffe36 X-Archives-Hash: 56445d34f01e12ebb7b0f82c2ebd6bb3 commit: 10d8c1f67b3bd910fd7f9d1beb52da9d8322e76a Author: Louis Sautier gmail com> AuthorDate: Sat May 26 20:50:51 2018 +0000 Commit: Aaron Bauman gentoo org> CommitDate: Sat May 26 21:46:35 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10d8c1f6 www-apps/icingaweb2-module-graphite: fix SRC_URI for 1.0.1, EAPI=7 Also update HOMEPAGE and fix DESCRIPTION, remove deprecated patch from live ebuild and add upstream info to metadata.xml. Package-Manager: Portage-2.3.38, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/8601 www-apps/icingaweb2-module-graphite/Manifest | 2 +- .../files/patch-unquote-service.patch | 54 ---------------------- ... => icingaweb2-module-graphite-1.0.1-r1.ebuild} | 12 ++--- .../icingaweb2-module-graphite-9999.ebuild | 18 +++----- www-apps/icingaweb2-module-graphite/metadata.xml | 4 ++ 5 files changed, 16 insertions(+), 74 deletions(-) diff --git a/www-apps/icingaweb2-module-graphite/Manifest b/www-apps/icingaweb2-module-graphite/Manifest index 2713871762c..72dd4c96786 100644 --- a/www-apps/icingaweb2-module-graphite/Manifest +++ b/www-apps/icingaweb2-module-graphite/Manifest @@ -1 +1 @@ -DIST icingaweb2-module-graphite-1.0.1.tar.gz 5988 BLAKE2B 43f98d853643377cc8088e60845c603563ec5f3bee8d1e9f48e884677c7bfbc82da5603e1aae05634616a52bd387c1685bf2605d1abcae0a96cc88dad303dd1c SHA512 594a8d2a141bdf682fa37dc7b677a78f255dfa3d05071878a416b7426ed6355abc2a2864394e333a00c08aba8fd4f898e42c5a49ffeaf689a16de175f6ddb333 +DIST icingaweb2-module-graphite-1.0.1.tar.gz 329327 BLAKE2B e53f9ea0e3ca061fdec80da71b6624f97eeda04d78975ac198a6e75ae5300eabf50db3e95802e6d0108ee0314ad9af6108daa24d5b99228c7d9c2fcecfc80cac SHA512 1270d2e7768d3f9181950f08c703236042a9c99d337bd2964396890cdb645b72afabe387d35d232fb123d9f635cc27fc09ac374ec2c5707fa83706b0ba67ac2a diff --git a/www-apps/icingaweb2-module-graphite/files/patch-unquote-service.patch b/www-apps/icingaweb2-module-graphite/files/patch-unquote-service.patch deleted file mode 100644 index 3dde1f45a96..00000000000 --- a/www-apps/icingaweb2-module-graphite/files/patch-unquote-service.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 3e5921b96b17ea4d0a5f32a39940a9b762e5c3a4 Mon Sep 17 00:00:00 2001 -From: Matthew Thode -Date: Tue, 12 Apr 2016 03:14:16 +0000 -Subject: [PATCH] remove quotes around $service variable - -This fixes https://dev.icinga.org/issues/11572 - -This still leaves $hostname being quoted, I don't know if that needs to go as well. ---- - application/controllers/ShowController.php | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/application/controllers/ShowController.php b/application/controllers/ShowController.php -index f029b81..0457ce9 100644 ---- a/application/controllers/ShowController.php -+++ b/application/controllers/ShowController.php -@@ -168,7 +168,7 @@ public function hostAction() - if (! array_key_exists('icingaHost', $patterns)) continue; - - foreach ($set->loadTemplates() as $key => $template) { -- if (strpos($template->getFilterString(), '$service') !== false) continue; -+ if (strpos($template->getFilterString(), $service) !== false) continue; - - $imgParams = array( - 'template' => $key, -@@ -228,7 +228,7 @@ public function serviceAction() - if (! array_key_exists('icingaHost', $patterns)) continue; - - foreach ($set->loadTemplates() as $key => $template) { -- if (strpos($template->getFilterString(), '$service') === false) continue; -+ if (strpos($template->getFilterString(), $service) === false) continue; - - $imgParams = array( - 'template' => $key, -@@ -289,7 +289,7 @@ public function XXXserviceAction() - - foreach ($set->loadTemplates() as $key => $template) { - -- if (strpos($template->getFilterString(), '$service') === false) continue; -+ if (strpos($template->getFilterString(), $service) === false) continue; - - $this->view->templates[$key] = $template; - -diff -Naur a/library/Graphite/ProvidedHook/Monitoring/ServiceActions.php b/library/Graphite/ProvidedHook/Monitoring/ServiceActions.php ---- a/library/Graphite/ProvidedHook/Monitoring/ServiceActions.php 2016-10-16 19:10:49.794640399 -0500 -+++ b/library/Graphite/ProvidedHook/Monitoring/ServiceActions.php 2016-10-16 19:11:17.136401235 -0500 -@@ -16,6 +16,7 @@ - array( - 'host' => $service->host_name, - 'service' => $service->service_description, -+ 'check_command' => $service->service_check_command, - )) - ); - } diff --git a/www-apps/icingaweb2-module-graphite/icingaweb2-module-graphite-1.0.1.ebuild b/www-apps/icingaweb2-module-graphite/icingaweb2-module-graphite-1.0.1-r1.ebuild similarity index 65% rename from www-apps/icingaweb2-module-graphite/icingaweb2-module-graphite-1.0.1.ebuild rename to www-apps/icingaweb2-module-graphite/icingaweb2-module-graphite-1.0.1-r1.ebuild index 1722cdeaadb..312bc419e29 100644 --- a/www-apps/icingaweb2-module-graphite/icingaweb2-module-graphite-1.0.1.ebuild +++ b/www-apps/icingaweb2-module-graphite/icingaweb2-module-graphite-1.0.1-r1.ebuild @@ -1,18 +1,16 @@ # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -DESCRIPTION="Icinga Web 2 plugin for pnp4nagios" -HOMEPAGE="http://www.icinga.org/" +DESCRIPTION="Icinga Web 2 plugin for Graphite" +HOMEPAGE="https://www.icinga.com/docs/graphite/latest/" if [[ "${PV}" == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/Icinga/icingaweb2-module-graphite.git" else KEYWORDS="~amd64 ~x86" - MY_PN="icingaweb2-module-pnp" - SRC_URI="https://codeload.github.com/Icinga/${MY_PN}/tar.gz/v${PV} -> ${P}.tar.gz" - S="${WORKDIR}/${MY_PN}-${PV}" + SRC_URI="https://github.com/Icinga/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" fi LICENSE="GPL-2" @@ -22,8 +20,6 @@ DEPEND=">=net-analyzer/icinga2-2.4.0 >=www-apps/icingaweb2-2.5.0" RDEPEND="${DEPEND}" -PATCHES=() - src_install() { insinto "/usr/share/icingaweb2/modules/graphite/" doins -r "${S}"/* diff --git a/www-apps/icingaweb2-module-graphite/icingaweb2-module-graphite-9999.ebuild b/www-apps/icingaweb2-module-graphite/icingaweb2-module-graphite-9999.ebuild index 7e359c940e4..312bc419e29 100644 --- a/www-apps/icingaweb2-module-graphite/icingaweb2-module-graphite-9999.ebuild +++ b/www-apps/icingaweb2-module-graphite/icingaweb2-module-graphite-9999.ebuild @@ -1,29 +1,25 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -DESCRIPTION="Icinga Web 2 plugin for pnp4nagios" -HOMEPAGE="http://www.icinga.org/" +DESCRIPTION="Icinga Web 2 plugin for Graphite" +HOMEPAGE="https://www.icinga.com/docs/graphite/latest/" if [[ "${PV}" == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/Icinga/icingaweb2-module-graphite.git" else KEYWORDS="~amd64 ~x86" - MY_PN="icingaweb2-module-pnp" - SRC_URI="https://codeload.github.com/Icinga/${MY_PN}/tar.gz/v${PV} -> ${P}.tar.gz" - S="${WORKDIR}/${MY_PN}-${PV}" + SRC_URI="https://github.com/Icinga/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" fi LICENSE="GPL-2" SLOT="0" -DEPEND=">=net-analyzer/icinga2-2.1.1 - >=www-apps/icingaweb2-2.0.0" +DEPEND=">=net-analyzer/icinga2-2.4.0 + >=www-apps/icingaweb2-2.5.0" RDEPEND="${DEPEND}" -PATCHES=( "${FILESDIR}/patch-unquote-service.patch" ) - src_install() { insinto "/usr/share/icingaweb2/modules/graphite/" doins -r "${S}"/* diff --git a/www-apps/icingaweb2-module-graphite/metadata.xml b/www-apps/icingaweb2-module-graphite/metadata.xml index 3ffdeb4af3b..e6871e01f10 100644 --- a/www-apps/icingaweb2-module-graphite/metadata.xml +++ b/www-apps/icingaweb2-module-graphite/metadata.xml @@ -5,4 +5,8 @@ prometheanfire@gentoo.org Matthew Thode + + Icinga/icingaweb2-module-graphite + https://github.com/Icinga/icingaweb2-module-graphite/issues +