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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3C2AE15808B for ; Wed, 9 Feb 2022 22:57:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 178EFE0867; Wed, 9 Feb 2022 22:57:37 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DCC2FE0867 for ; Wed, 9 Feb 2022 22:57:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C7B1B343046 for ; Wed, 9 Feb 2022 22:57:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9C0792DC for ; Wed, 9 Feb 2022 22:57:32 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1644447408.b38e2080ea0b9192ce965dee5ebaa897c09fea7a.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/cgp/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/cgp/cgp-1_p20190510-r2.ebuild X-VCS-Directories: www-apps/cgp/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: b38e2080ea0b9192ce965dee5ebaa897c09fea7a X-VCS-Branch: master Date: Wed, 9 Feb 2022 22:57:32 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1155b479-6329-45dd-a411-4c654fd209e2 X-Archives-Hash: d34d872345d7722542f4fccd24320a04 commit: b38e2080ea0b9192ce965dee5ebaa897c09fea7a Author: Conrad Kostecki gentoo org> AuthorDate: Wed Feb 9 21:42:39 2022 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Wed Feb 9 22:56:48 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b38e2080 www-apps/cgp: update EAPI 7 -> 8 Signed-off-by: Conrad Kostecki gentoo.org> www-apps/cgp/cgp-1_p20190510-r2.ebuild | 55 ++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/www-apps/cgp/cgp-1_p20190510-r2.ebuild b/www-apps/cgp/cgp-1_p20190510-r2.ebuild new file mode 100644 index 000000000000..2464e6c569ee --- /dev/null +++ b/www-apps/cgp/cgp-1_p20190510-r2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit webapp + +MY_PN="${PN^^}" +MY_PV="fd8fa70739d18d786e88f7ffa57e250e0e41af8f" + +DESCRIPTION="A graphical web-based front-end for visualizing RRD collected by collectd" +HOMEPAGE="https://github.com/pommi/CGP" +SRC_URI="https://github.com/pommi/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_PN}-${MY_PV}" + +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 + +DOCS=( "README.md" "doc/CHANGELOG" "doc/nginx.conf" ) + +PATCHES=( "${FILESDIR}/${P}-double-quote.patch" ) + +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 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." +}