1 |
commit: aef7c90bce140f0577c96e888545dccaba94fb86 |
2 |
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com> |
3 |
AuthorDate: Sun Jan 27 17:05:56 2019 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 29 22:59:57 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aef7c90b |
7 |
|
8 |
www-apps/cgp: bump to version 1_p20181209. |
9 |
|
10 |
This release adds support for PHP 7.3. |
11 |
|
12 |
Package-Manager: Portage-2.3.56, Repoman-2.3.12 |
13 |
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com> |
14 |
Closes: https://github.com/gentoo/gentoo/pull/10917 |
15 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
16 |
|
17 |
www-apps/cgp/Manifest | 1 + |
18 |
www-apps/cgp/cgp-1_p20181209.ebuild | 54 +++++++++++++++++++++++++++++++++++++ |
19 |
2 files changed, 55 insertions(+) |
20 |
|
21 |
diff --git a/www-apps/cgp/Manifest b/www-apps/cgp/Manifest |
22 |
index cde99e2778b..ce156d63f1e 100644 |
23 |
--- a/www-apps/cgp/Manifest |
24 |
+++ b/www-apps/cgp/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST cgp-1_p20180620.tar.gz 139549 BLAKE2B 2cc1a416ae1158b5788615b05bf43039049af52eb5296e7fd8136c9895e8ee0a9887e84ad37c6598a4c4387982a2860fbdb7cf9cdff39cfe5bbee598b9ace88f SHA512 acd09bb699af678347dacfc08fee60a86843874543851805f245952e538777d7ccd528c156f7a21b803503c7aac134013a4eb8200d5266cf35541b0dce5839e4 |
27 |
+DIST cgp-1_p20181209.tar.gz 139556 BLAKE2B 0a79ff1974b0ae50db5582121c4fdcc2db0b89ef11ecb001dfa525dd753481f0a454e424d17f24b142fd116a9ea2eeb4ba1dade6f2ffadd63943e5c065323224 SHA512 fcbf81fca2bb14ed143ea414c2f11fe09f4594891507a1ad08482720b104ec62c9986ce25b127d45a7962a8b3db54293a6775dc2359bde41f19b5419606b51eb |
28 |
|
29 |
diff --git a/www-apps/cgp/cgp-1_p20181209.ebuild b/www-apps/cgp/cgp-1_p20181209.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..60438618d2f |
32 |
--- /dev/null |
33 |
+++ b/www-apps/cgp/cgp-1_p20181209.ebuild |
34 |
@@ -0,0 +1,54 @@ |
35 |
+# Copyright 1999-2019 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=6 |
39 |
+ |
40 |
+inherit webapp |
41 |
+ |
42 |
+MY_PN="${PN^^}" |
43 |
+MY_PV="72acfcbffd51da1e77a56517618da68252485ed6" |
44 |
+ |
45 |
+DESCRIPTION="A graphical web-based front-end for visualizing RRD collected by collectd" |
46 |
+HOMEPAGE="https://github.com/pommi/CGP" |
47 |
+SRC_URI="https://github.com/pommi/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="CC-BY-2.0 GPL-2+ GPL-3 MIT" |
50 |
+KEYWORDS="~amd64 ~x86" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ dev-lang/php[json] |
54 |
+ net-analyzer/rrdtool[graph] |
55 |
+ virtual/httpd-php |
56 |
+" |
57 |
+ |
58 |
+need_httpd_cgi |
59 |
+ |
60 |
+S="${WORKDIR}/${MY_PN}-${MY_PV}" |
61 |
+ |
62 |
+DOCS=( "README.md" "doc/CHANGELOG" "doc/nginx.conf" ) |
63 |
+ |
64 |
+src_install() { |
65 |
+ webapp_src_preinst |
66 |
+ |
67 |
+ einstalldocs |
68 |
+ |
69 |
+ # Since the docs are already installed, remove them from htdocs |
70 |
+ # The file doc/CHANGELOG is needed, as CGP reads from there it's version |
71 |
+ rm -r .gitignore doc/LICENSE doc/nginx.conf || die |
72 |
+ |
73 |
+ insinto "${MY_HTDOCSDIR}" |
74 |
+ doins -r . |
75 |
+ |
76 |
+ webapp_src_install |
77 |
+} |
78 |
+ |
79 |
+pkg_postinst() { |
80 |
+ webapp_pkg_postinst |
81 |
+ |
82 |
+ einfo "The command shell_exec must not be disabled" |
83 |
+ einfo "through the disable_functions php.ini directive." |
84 |
+ einfo "It must allow execution of the rrdtool program." |
85 |
+ einfo "" |
86 |
+ einfo "An configuration file for www-servers/nginx" |
87 |
+ einfo "has been installed as an example." |
88 |
+} |