summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Scherbaum <dertobi123@gentoo.org>2009-07-10 21:13:43 +0000
committerTobias Scherbaum <dertobi123@gentoo.org>2009-07-10 21:13:43 +0000
commit02ecc112bf608275788c6684e71fb895f3f7ae49 (patch)
tree783ffbb28cd69b436e155a6660da2a7bbcd7fd9e
parentSparc stable, bug #277354. (diff)
downloadgentoo-2-02ecc112bf608275788c6684e71fb895f3f7ae49.tar.gz
gentoo-2-02ecc112bf608275788c6684e71fb895f3f7ae49.tar.bz2
gentoo-2-02ecc112bf608275788c6684e71fb895f3f7ae49.zip
Initial import, based on an ebuild by Sander Siemonsma (#275060)
(Portage version: 2.2_rc33/cvs/Linux i686)
-rw-r--r--net-analyzer/lilac/ChangeLog10
-rw-r--r--net-analyzer/lilac/lilac-1.0.2.ebuild39
-rw-r--r--net-analyzer/lilac/metadata.xml12
3 files changed, 61 insertions, 0 deletions
diff --git a/net-analyzer/lilac/ChangeLog b/net-analyzer/lilac/ChangeLog
new file mode 100644
index 000000000000..321ab877008b
--- /dev/null
+++ b/net-analyzer/lilac/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-analyzer/lilac
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/lilac/ChangeLog,v 1.1 2009/07/10 21:13:43 dertobi123 Exp $
+
+*lilac-1.0.2 (10 Jul 2009)
+
+ 10 Jul 2009; Tobias Scherbaum <dertobi123@gentoo.org> +lilac-1.0.2.ebuild,
+ +metadata.xml:
+ Initial import, based on an ebuild by Sander Siemonsma (#275060)
+
diff --git a/net-analyzer/lilac/lilac-1.0.2.ebuild b/net-analyzer/lilac/lilac-1.0.2.ebuild
new file mode 100644
index 000000000000..b36781fd7397
--- /dev/null
+++ b/net-analyzer/lilac/lilac-1.0.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/lilac/lilac-1.0.2.ebuild,v 1.1 2009/07/10 21:13:43 dertobi123 Exp $
+
+EAPI=2
+
+inherit eutils webapp depend.php
+
+DESCRIPTION="Web-based configuration tool written to configure Nagios"
+HOMEPAGE="http://www.lilacplatform.com"
+SRC_URI="http://www.lilacplatform.com/downloads/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="nmap"
+
+RDEPEND=">=virtual/mysql-5.0
+ >=net-analyzer/nagios-3.0
+ >=dev-php/PEAR-PEAR-1.6.1
+ dev-lang/php[curl,json,mysql,pcntl,pdo,posix,simplexml]
+ nmap? ( >=net-analyzer/nmap-4.76 )"
+
+need_php_httpd
+
+S="${WORKDIR}"/${P}
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc INSTALL UPGRADING
+ rm -f INSTALL UPGRADING
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ webapp_configfile "${MY_HTDOCSDIR}"/includes/lilac-conf.php.dist
+ webapp_serverowned "${MY_HTDOCSDIR}"/includes/lilac-conf.php.dist
+ webapp_src_install
+}
diff --git a/net-analyzer/lilac/metadata.xml b/net-analyzer/lilac/metadata.xml
new file mode 100644
index 000000000000..6beb1ce7055b
--- /dev/null
+++ b/net-analyzer/lilac/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>netmon</herd>
+ <maintainer>
+ <email>dertobi123@gentoo.org</email>
+ <name>Tobias Scherbaum</name>
+ </maintainer>
+ <use>
+ <flag name='nmap'>Installs nmap which can be used to automatically discover devices to monitor.</flag>
+ </use>
+</pkgmetadata>