From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8E6A6139695 for ; Thu, 27 Jul 2017 09:50:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A35741FC040; Thu, 27 Jul 2017 09:50:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 725BC1FC040 for ; Thu, 27 Jul 2017 09:50:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 61D2A3417F7 for ; Thu, 27 Jul 2017 09:50:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 78AE774A6 for ; Thu, 27 Jul 2017 09:50:39 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1501148361.987b0a7f6d93fd98d128eab62c5f790375005248.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/cacti/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/cacti/Manifest net-analyzer/cacti/cacti-1.1.15.ebuild X-VCS-Directories: net-analyzer/cacti/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 987b0a7f6d93fd98d128eab62c5f790375005248 X-VCS-Branch: master Date: Thu, 27 Jul 2017 09:50:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 568e94a3-d778-42e8-9e5b-7f9ca46382da X-Archives-Hash: 1c5ded438c2146291814dcc0598ea8bc commit: 987b0a7f6d93fd98d128eab62c5f790375005248 Author: Jeroen Roovers gentoo org> AuthorDate: Thu Jul 27 09:39:21 2017 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Thu Jul 27 09:39:21 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=987b0a7f net-analyzer/cacti: Version bump. Package-Manager: Portage-2.3.6, Repoman-2.3.3 net-analyzer/cacti/Manifest | 1 + net-analyzer/cacti/cacti-1.1.15.ebuild | 58 ++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/net-analyzer/cacti/Manifest b/net-analyzer/cacti/Manifest index b92016955f5..2eee6a7bb69 100644 --- a/net-analyzer/cacti/Manifest +++ b/net-analyzer/cacti/Manifest @@ -1,2 +1,3 @@ DIST cacti-0.8.8h.tar.gz 2585226 SHA256 0673bd9513dad381c8bbb9133c721a32bc6422dc91c5a81de16e3cd32e4d0600 SHA512 11bb0682a7220af5581f42579cf9c38d94aae202425ce15b824849684b1a6778d6f14e6a62ec94c608b7ba06562a825be7fd6d812d0800daa5eb56e640ac1c5f WHIRLPOOL 250ee38d969c9a7d9a71b15a25e48c2b9b22412c6c2394798d178172d9a1be056b009b328594559524adbd47ad05032992b13cb5a632af1a23f947fb55342402 DIST cacti-1.1.13.tar.gz 8891748 SHA256 ea935e1e9b89c57ad9e6335acaca3b525611eaff19c17516440df5028b63e387 SHA512 3f18ee1c940392c235e6e4648297e015e3bee2ae028e14348c1679af580d102c1ba8ea0ca08935c9f7608c691329125093fad0af8feb8b7cfbe066b975589a3a WHIRLPOOL 0991ab0abd2bbabf10f23043945edb61ab4ca63966017d110cc0c7337226de4063c56a98d6779a0c6a6a43e426a7ce697eb4051ffc0f7955ef283d918f88eaf7 +DIST cacti-1.1.15.tar.gz 8892187 SHA256 5f0c5a1b7afd0d62fbc4f36f0017d485b8eb71d49b712d01c1ba2999ca7af9ac SHA512 4614d1a517ba55ca33771bfc0b0b60f19e7da27d7720d789c84655f01e6dcf03e44662461c8362265759d5169679f44ee86d89678ebbaf49e7301fdcbf5beb45 WHIRLPOOL 9d1cd7cbf627bf8aad7fd4e98e8f6d578e5a8d33f02becddf457348ff5862c3102f43fd423db5c220e328e179c1e42ee0b8d666791f93c7a0a67f80dd24e10bd diff --git a/net-analyzer/cacti/cacti-1.1.15.ebuild b/net-analyzer/cacti/cacti-1.1.15.ebuild new file mode 100644 index 00000000000..8bd16023447 --- /dev/null +++ b/net-analyzer/cacti/cacti-1.1.15.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils webapp + +# Support for _p* in version. +MY_P=${P/_p*/} + +DESCRIPTION="Cacti is a complete frontend to rrdtool" +HOMEPAGE="http://www.cacti.net/" +SRC_URI="http://www.cacti.net/downloads/${MY_P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="snmp doc" + +need_httpd + +RDEPEND=" + dev-lang/php[cli,mysql,session,sockets,xml] + dev-php/adodb + net-analyzer/rrdtool[graph] + virtual/cron + virtual/mysql + snmp? ( >=net-analyzer/net-snmp-5.2.0 ) +" + +src_prepare() { + default + sed -i -e \ + 's:$config\["library_path"\] . "/adodb/adodb.inc.php":"adodb/adodb.inc.php":' \ + "${S}"/include/global.php || die + + rm -rf lib/adodb || die # don't use bundled adodb +} + +src_compile() { :; } + +src_install() { + dodoc docs/{CHANGELOG,txt/manual.txt} + dodoc -r docs/html/ + rm -rf docs + + webapp_src_preinst + + edos2unix `find -type f -name '*.php'` + + dodir ${MY_HTDOCSDIR} + cp -r . "${D}"${MY_HTDOCSDIR} + + webapp_serverowned ${MY_HTDOCSDIR}/rra + webapp_serverowned ${MY_HTDOCSDIR}/log + webapp_configfile ${MY_HTDOCSDIR}/include/config.php + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + + webapp_src_install +}