From 4cbcc855382a06088e2f016f62cafdbcb7e40665 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Mar 2022 00:40:44 +0000 Subject: gentoo resync : 20.03.2022 --- www-apps/cgp/Manifest | 2 +- www-apps/cgp/cgp-1_p20190510-r1.ebuild | 56 ---------------------------------- www-apps/cgp/cgp-1_p20190510-r2.ebuild | 55 +++++++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+), 57 deletions(-) delete mode 100644 www-apps/cgp/cgp-1_p20190510-r1.ebuild create mode 100644 www-apps/cgp/cgp-1_p20190510-r2.ebuild (limited to 'www-apps/cgp') diff --git a/www-apps/cgp/Manifest b/www-apps/cgp/Manifest index 6940f3eb29ca..d56e11eacb0a 100644 --- a/www-apps/cgp/Manifest +++ b/www-apps/cgp/Manifest @@ -1,4 +1,4 @@ AUX cgp-1_p20190510-double-quote.patch 866 BLAKE2B b222ceb7b7198aa7b73aae6793b49ff84f66c83f014ed05bccb697bdd915e0a70cc059ccf0c45a038e9a7a8a4833079708558d2a91da521250be589aac3414d3 SHA512 ca9a12c2b52554ceb85038a2b7fe67b1ce6a7a84ce702c3b100659fea143903fd3b29aab877240e3e00dc8b3f3d8b34dad835665aa4d4719054fca0f1ff1f0b2 DIST cgp-1_p20190510.tar.gz 139241 BLAKE2B 663d8b8f6e144b4b28ca36674f4f0b68537dba36aa481faa5d0b5ff1ea11933018b91e94750c15833e3bc9b4ce6604898276e84ff3d3d649ebff11089f6328e0 SHA512 3a6d6af25db00f8d80b0e0aa6e19763da8492d0e1cb421474bf31c325ff37357b9bf88af70459e669c4e9f740dd1a547421fcb3184526d9f3ba4333eb57fec8f -EBUILD cgp-1_p20190510-r1.ebuild 1324 BLAKE2B 8851e48bdcbba2c7786d512bc880d81e91dbeeef14cd33bd4cb2631eb5df7c60bf8bba865f4335ef4062c98d6f487c040219a410d3b54b30e95a4ef30b57bc94 SHA512 905a35d228d7796c211028c3f2f26b8a1c903ec606246822bc2c92fb6c1e8432a8f6e99578d984001e04d6e803b2de8f3c2f54bf0a51b47590d9078ecaaa0abb +EBUILD cgp-1_p20190510-r2.ebuild 1323 BLAKE2B 59707df2684378355224b66ed83727874b69da342b39f9a791e6d643d1dd111f8ff85d541f96e59a61a08ac8436d6d92890979eeedbd5bfca0c4c31937e27c94 SHA512 a15e873e8711255f249cc6560e78ef0a1b51949ed1a6dbd93f10244f826990fad15fad73fc8ee604e77721c3e750e1b67b94fdcd3724a9ee88e24517a79024ad MISC metadata.xml 583 BLAKE2B 598613dfe1e33b82ea73aa2ad83f815feed71eb7b58d7a5e1e54ab20ddd85c4f352618aad319415b6e077df5b91284707ebbcf6e9960e497cdb5cd7c49f99eda SHA512 0fba0c78051e1f60724ab33c8f74367dac57743b8c2ec9658be8d42d2d772af7b2caf381180c9deab37ce494550bbc76a57509e964fcc021f6a53ba9e8a3b275 diff --git a/www-apps/cgp/cgp-1_p20190510-r1.ebuild b/www-apps/cgp/cgp-1_p20190510-r1.ebuild deleted file mode 100644 index ec6e271ecbb7..000000000000 --- a/www-apps/cgp/cgp-1_p20190510-r1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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" - -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" ) - -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." -} 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." +} -- cgit v1.2.3