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: Tue, 10 Mar 2020 08:23:03
Message-Id: 1583828547.1a505f615c3a3a2fc354d9a4c22cf8b85e72e9a6.jer@gentoo
1 commit: 1a505f615c3a3a2fc354d9a4c22cf8b85e72e9a6
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 2 08:59:30 2020 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 10 08:22:27 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a505f61
7
8 net-analyzer/cacti: Version 1.2.10
9
10 Package-Manager: Portage-2.3.90, Repoman-2.3.20
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 net-analyzer/cacti/Manifest | 1 +
14 net-analyzer/cacti/cacti-1.2.10.ebuild | 48 ++++++++++++++++++++++++++++++++++
15 2 files changed, 49 insertions(+)
16
17 diff --git a/net-analyzer/cacti/Manifest b/net-analyzer/cacti/Manifest
18 index c078ee62227..bd9cd26e9d1 100644
19 --- a/net-analyzer/cacti/Manifest
20 +++ b/net-analyzer/cacti/Manifest
21 @@ -1 +1,2 @@
22 +DIST cacti-1.2.10.tar.gz 24907181 BLAKE2B 7e3e95e531022fb0a49dd951464608860de19e5ab158424ce8daef5b5ac975468f5864acf831b821e83877a17f8310be16f4179afa89bc9d34c4d8d80e9933c4 SHA512 8ed9bd895dc5763fabc20e4fb3c78eb2f520b05fca03b6aac843860402cf15e754af1eb9d65412ed10db6e93531806d1ef48957a08f56f2f8b40f235b4413cf3
23 DIST cacti-1.2.9.tar.gz 24906227 BLAKE2B 65a4459f9f55c55db853f81bcac6c60f146ba50f6dfd0abde449a41847afdb8564452ede1a493291c19ee7732ccc4a76d485af078021c7e0fcb6d1b265994940 SHA512 e50eb5587dc0274788b35cb701383ba897ab7c45a65efc7a8d32963b492c1ff1b96b0271ab7b6f9b53ad7dff5dd66b3ce4bd4a91c3ecf8ccd8d4b19b3ac972e4
24
25 diff --git a/net-analyzer/cacti/cacti-1.2.10.ebuild b/net-analyzer/cacti/cacti-1.2.10.ebuild
26 new file mode 100644
27 index 00000000000..66775efc3b4
28 --- /dev/null
29 +++ b/net-analyzer/cacti/cacti-1.2.10.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 +}