summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2011-02-28 13:44:23 +0000
committerAlexey Shvetsov <alexxy@gentoo.org>2011-02-28 13:44:23 +0000
commit874947de46896a56e007ef6351b8e8ecc2c6998f (patch)
tree89de0595fca72cd8d6d9aef8658974c85e6b7ad0 /www-apps/collectd-web
parentVersion bump (bug 354037) (diff)
downloadgentoo-2-874947de46896a56e007ef6351b8e8ecc2c6998f.tar.gz
gentoo-2-874947de46896a56e007ef6351b8e8ecc2c6998f.tar.bz2
gentoo-2-874947de46896a56e007ef6351b8e8ecc2c6998f.zip
[www-apps/collectd-web] Initial import per bug #356855. Thanks to Andreis Vinogradovs (slepnoga)
(Portage version: 2.2.0_alpha25/cvs/Linux x86_64)
Diffstat (limited to 'www-apps/collectd-web')
-rw-r--r--www-apps/collectd-web/ChangeLog10
-rw-r--r--www-apps/collectd-web/collectd-web-0.3.0.ebuild42
-rw-r--r--www-apps/collectd-web/metadata.xml6
3 files changed, 58 insertions, 0 deletions
diff --git a/www-apps/collectd-web/ChangeLog b/www-apps/collectd-web/ChangeLog
new file mode 100644
index 000000000000..b46a9a66c8ae
--- /dev/null
+++ b/www-apps/collectd-web/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for www-apps/collectd-web
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/collectd-web/ChangeLog,v 1.1 2011/02/28 13:44:23 alexxy Exp $
+
+*collectd-web-0.3.0 (28 Feb 2011)
+
+ 28 Feb 2011; Alexey Shvetsov <alexxy@gentoo.org> +collectd-web-0.3.0.ebuild,
+ +metadata.xml:
+ Initial import per bug #356855
+
diff --git a/www-apps/collectd-web/collectd-web-0.3.0.ebuild b/www-apps/collectd-web/collectd-web-0.3.0.ebuild
new file mode 100644
index 000000000000..a60755ec4edd
--- /dev/null
+++ b/www-apps/collectd-web/collectd-web-0.3.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/collectd-web/collectd-web-0.3.0.ebuild,v 1.1 2011/02/28 13:44:23 alexxy Exp $
+
+EAPI=3
+
+inherit webapp
+
+DESCRIPTION="Collectd-web is a web-based front-end for RRD data collected by collectd"
+HOMEPAGE="http://kenny.belitzky.com/projects/collectd-web"
+SRC_URI="https://github.com/httpdss/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+need_httpd_cgi
+
+DEPEND="dev-perl/HTML-Parser
+ net-analyzer/rrdtool[perl]
+ dev-perl/JSON
+ virtual/perl-CGI
+ dev-perl/URI
+ virtual/perl-Time-Local
+ virtual/ttf-fonts"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ webapp_src_preinst
+
+ cd "${S}"/cgi-bin
+ insinto "${MY_CGIBINDIR}"
+ doins -r .
+
+ cd "${S}"
+ insinto "${MY_HTDOCSDIR}"
+ doins -r iphone
+ doins -r media
+ doins index.html
+
+ webapp_src_install
+}
diff --git a/www-apps/collectd-web/metadata.xml b/www-apps/collectd-web/metadata.xml
new file mode 100644
index 000000000000..794e56895482
--- /dev/null
+++ b/www-apps/collectd-web/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+<herd>web-apps</herd>
+</pkgmetadata>