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 81933138334 for ; Fri, 13 Jul 2018 09:18:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A6400E08FE; Fri, 13 Jul 2018 09:18:19 +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 54A37E08FE for ; Fri, 13 Jul 2018 09:18:19 +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 28E7E33BE9A for ; Fri, 13 Jul 2018 09:18:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 822E3300 for ; Fri, 13 Jul 2018 09:18:16 +0000 (UTC) From: "Tony Vroon" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tony Vroon" Message-ID: <1531473490.30e4408a12e751b806833233846938b91e68cf79.chainsaw@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/cgp/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/cgp/Manifest www-apps/cgp/cgp-1_p20180620.ebuild X-VCS-Directories: www-apps/cgp/ X-VCS-Committer: chainsaw X-VCS-Committer-Name: Tony Vroon X-VCS-Revision: 30e4408a12e751b806833233846938b91e68cf79 X-VCS-Branch: master Date: Fri, 13 Jul 2018 09:18:16 +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: 120b4a94-1e65-499a-8df7-a6d6cdc56f30 X-Archives-Hash: fe93e1d32cbe5b3827e6d60b464a39ba commit: 30e4408a12e751b806833233846938b91e68cf79 Author: Conrad Kostecki kostecki com> AuthorDate: Fri Jul 13 07:52:59 2018 +0000 Commit: Tony Vroon gentoo org> CommitDate: Fri Jul 13 09:18:10 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30e4408a www-apps/cgp: bump to version p20180620 Package-Manager: Portage-2.3.41, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/9209 www-apps/cgp/Manifest | 1 + www-apps/cgp/cgp-1_p20180620.ebuild | 53 +++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/www-apps/cgp/Manifest b/www-apps/cgp/Manifest index 7fddb0cd05d..9d92f082155 100644 --- a/www-apps/cgp/Manifest +++ b/www-apps/cgp/Manifest @@ -1 +1,2 @@ DIST cgp-1.tar.gz 139265 BLAKE2B bf0f18def8ac3c2117b951172d4150f0626e8dcbe22accbcc6ad156e5f9f5c21792e38fa1bf5a964d8b50cbc7ee9003e4dcdcd75730ba2b0445f4dcfeffdda6c SHA512 fc5bc6d39dac896b56579cb6ca013c81493b994a7a190e0c0eec8a64f7b87c6eb2e0ad5cc969b8ea03ca4b00eee212ccee5c8785c23f5656bff3fe5490ff8f75 +DIST cgp-1_p20180620.tar.gz 139549 BLAKE2B 2cc1a416ae1158b5788615b05bf43039049af52eb5296e7fd8136c9895e8ee0a9887e84ad37c6598a4c4387982a2860fbdb7cf9cdff39cfe5bbee598b9ace88f SHA512 acd09bb699af678347dacfc08fee60a86843874543851805f245952e538777d7ccd528c156f7a21b803503c7aac134013a4eb8200d5266cf35541b0dce5839e4 diff --git a/www-apps/cgp/cgp-1_p20180620.ebuild b/www-apps/cgp/cgp-1_p20180620.ebuild new file mode 100644 index 00000000000..6051624a6a9 --- /dev/null +++ b/www-apps/cgp/cgp-1_p20180620.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit webapp + +MY_PN="${PN^^}" +MY_PV="1920ca24a067ac157a6bd8f3c017f4c6244ae245" + +DESCRIPTION="A graphical web-based front-end for visualizing RRD collected by collectd" +HOMEPAGE="https://github.com/pommi/CGP + https://pommi.nethuis.nl/category/cgp/" +SRC_URI="https://github.com/pommi/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="CC-BY-2.0 GPL-2+ GPL-3 MIT" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-lang/php[json] + net-analyzer/rrdtool[graph] + virtual/httpd-php" + +need_httpd_cgi + +S="${WORKDIR}/${MY_PN}-${MY_PV}" + +DOCS=( "README.md" "doc/CHANGELOG" "doc/nginx.conf" ) + +src_install() { + webapp_src_preinst + + einstalldocs + + # Since the docs are already installed, remove them from htdocs + # The file doc/CHANGELOG is needed, as CGP reads from there it's version + rm -r .gitignore doc/LICENSE doc/nginx.conf || die + + insinto "${MY_HTDOCSDIR}" + doins -r . + + webapp_src_install +} + +pkg_postinst() { + webapp_pkg_postinst + + einfo "The command shell_exec must not be disabled" + einfo "through the disable_functions php.ini directive." + einfo "It must allow execution of the rrdtool program." + einfo "" + einfo "An configuration file for www-servers/nginx" + einfo "has been installed as an example." +}