From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/cgp/
Date: Wed, 9 Feb 2022 22:57:32 +0000 (UTC) [thread overview]
Message-ID: <1644447408.b38e2080ea0b9192ce965dee5ebaa897c09fea7a.conikost@gentoo> (raw)
commit: b38e2080ea0b9192ce965dee5ebaa897c09fea7a
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 9 21:42:39 2022 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> 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 <conikost <AT> 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."
+}
next reply other threads:[~2022-02-09 22:57 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-09 22:57 Conrad Kostecki [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-02-09 22:57 [gentoo-commits] repo/gentoo:master commit in: www-apps/cgp/ Conrad Kostecki
2021-01-10 22:27 Sam James
2020-12-13 16:01 Conrad Kostecki
2020-12-13 16:01 Conrad Kostecki
2020-09-18 9:20 Conrad Kostecki
2019-12-02 23:22 Conrad Kostecki
2019-06-05 7:46 Agostino Sarubbo
2019-04-13 19:10 Agostino Sarubbo
2019-01-29 23:00 Patrice Clement
2019-01-29 23:00 Patrice Clement
2018-11-08 22:49 Patrice Clement
2018-11-08 22:49 Patrice Clement
2018-07-13 9:18 Tony Vroon
2018-07-11 8:38 Tony Vroon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1644447408.b38e2080ea0b9192ce965dee5ebaa897c09fea7a.conikost@gentoo \
--to=conikost@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox