Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/cacti/
Date: Sun, 03 May 2020 21:36:09
Message-Id: 1588541763.f9dc53ec3d9926ea797a7937e5f72577b2cd189c.jer@gentoo
1 commit: f9dc53ec3d9926ea797a7937e5f72577b2cd189c
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 3 20:39:29 2020 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sun May 3 21:36:03 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9dc53ec
7
8 net-analyzer/cacti: Version 1.2.12
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 net-analyzer/cacti/Manifest | 1 +
14 net-analyzer/cacti/cacti-1.2.12.ebuild | 48 ++++++++++++++++++++++++++++++++++
15 2 files changed, 49 insertions(+)
16
17 diff --git a/net-analyzer/cacti/Manifest b/net-analyzer/cacti/Manifest
18 index ec3830761a9..382c8aa97d7 100644
19 --- a/net-analyzer/cacti/Manifest
20 +++ b/net-analyzer/cacti/Manifest
21 @@ -1 +1,2 @@
22 DIST cacti-1.2.11.tar.gz 25099698 BLAKE2B 25d974eb21bafeb9d5c84d1a857b1d95803945c73b21fc4e7219c5349c15aebb4d0130dc9701b3a3615c3514bfa3f3a29286153ba8f7cb515a255e06f20a56a9 SHA512 ab8a856fde55f405314fe0ec1eccccfb78105181fc081dcc04091963b08777550182867b45daea4f630f19dbb538ad7ca5c62f2dac9cd867524dfef113e2a220
23 +DIST cacti-1.2.12.tar.gz 25126474 BLAKE2B 12f552480bfd72ed8b73400c1d53c08eb38171c83baf63b3bdbac8bec5e9bf798824fb2c19954fda240c64f35adca601a2dbe9af6229b1f6791dc7b5f8477968 SHA512 df6a512a2e8faa70b8ee0b2ab72ea9e21db465f3978a3ecedf17cd34cb16793d3b0107f01f8cd8400fb15b162c27214680f22657f6f0d59853de88c49966087c
24
25 diff --git a/net-analyzer/cacti/cacti-1.2.12.ebuild b/net-analyzer/cacti/cacti-1.2.12.ebuild
26 new file mode 100644
27 index 00000000000..66775efc3b4
28 --- /dev/null
29 +++ b/net-analyzer/cacti/cacti-1.2.12.ebuild
30 @@ -0,0 +1,48 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +inherit eutils webapp
36 +
37 +# Support for _p* in version.
38 +MY_P=${P/_p*/}
39 +
40 +DESCRIPTION="Cacti is a complete frontend to rrdtool"
41 +HOMEPAGE="https://www.cacti.net/"
42 +SRC_URI="https://www.cacti.net/downloads/${MY_P}.tar.gz"
43 +
44 +LICENSE="GPL-2"
45 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
46 +IUSE="snmp doc"
47 +
48 +need_httpd
49 +
50 +RDEPEND="
51 + dev-lang/php[cli,mysql,pdo,session,sockets,xml]
52 + dev-php/adodb
53 + net-analyzer/rrdtool[graph]
54 + virtual/cron
55 + snmp? ( >=net-analyzer/net-snmp-5.2.0 )
56 +"
57 +
58 +src_compile() { :; }
59 +
60 +src_install() {
61 + dodoc CHANGELOG
62 + dodoc -r docs
63 + mv docs .. || die
64 +
65 + webapp_src_preinst
66 +
67 + edos2unix `find -type f -name '*.php'`
68 +
69 + dodir ${MY_HTDOCSDIR}
70 + cp -r . "${D}"${MY_HTDOCSDIR}
71 +
72 + webapp_serverowned ${MY_HTDOCSDIR}/rra
73 + webapp_serverowned ${MY_HTDOCSDIR}/log
74 + webapp_configfile ${MY_HTDOCSDIR}/include/config.php
75 + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
76 +
77 + webapp_src_install
78 +}