From 807f7bb3b928845c74401ecf0d4ebf4bc051c972 Mon Sep 17 00:00:00 2001 From: Tobias Scherbaum Date: Sun, 3 Aug 2008 15:12:28 +0000 Subject: Initial import, somewhat based upon on an ebuild by Elias Probst added to #179830 (Portage version: 2.2_rc6/cvs/Linux 2.6.25-gentoo-r6 x86_64) --- net-analyzer/nagvis/ChangeLog | 11 ++++++++ net-analyzer/nagvis/Manifest | 4 +++ net-analyzer/nagvis/metadata.xml | 13 ++++++++++ net-analyzer/nagvis/nagvis-1.3.ebuild | 49 +++++++++++++++++++++++++++++++++++ 4 files changed, 77 insertions(+) create mode 100644 net-analyzer/nagvis/ChangeLog create mode 100644 net-analyzer/nagvis/Manifest create mode 100644 net-analyzer/nagvis/metadata.xml create mode 100644 net-analyzer/nagvis/nagvis-1.3.ebuild (limited to 'net-analyzer/nagvis') diff --git a/net-analyzer/nagvis/ChangeLog b/net-analyzer/nagvis/ChangeLog new file mode 100644 index 000000000000..6d59112d80fc --- /dev/null +++ b/net-analyzer/nagvis/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-analyzer/nagvis +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagvis/ChangeLog,v 1.1 2008/08/03 15:12:28 dertobi123 Exp $ + +*nagvis-1.3 (03 Aug 2008) + + 03 Aug 2008; Tobias Scherbaum +metadata.xml, + +nagvis-1.3.ebuild: + Initial import, somewhat based upon on an ebuild by Elias Probst added to + #179830 + diff --git a/net-analyzer/nagvis/Manifest b/net-analyzer/nagvis/Manifest new file mode 100644 index 000000000000..f81717ea9e13 --- /dev/null +++ b/net-analyzer/nagvis/Manifest @@ -0,0 +1,4 @@ +DIST nagvis-1.3.tar.gz 321367 RMD160 445b412ffa0115e35596263beb46b709776940ec SHA1 d20cc2a85965c62f500e8881ca883f5a772363e7 SHA256 7c1ce247a08d60d66e4b63ce4ea533fe8b6c8628ed7c81eb67d6a5efa6afb67d +EBUILD nagvis-1.3.ebuild 1297 RMD160 9dea315363e5b2c0941f94a471fa071801460dde SHA1 655fd99e23babae909c51db1ca78e0ec9e5ef42e SHA256 daa07d9a7aa5d4e922d86a2bac2b0d7701bf54a6405bb1481aee3051579c991c +MISC ChangeLog 327 RMD160 6459d3860c8009973596878a18497e0f5d49b985 SHA1 a7aa544ee418bc331df573f9ea4f60b75cd99fae SHA256 349d3e53df436321829ba0e1c93481979478fdb5102744c6ec2cc0dba30ef0ab +MISC metadata.xml 417 RMD160 1bb0987975e57475aea966d7babbc82c13daac20 SHA1 b70d522c506dfe9bd310b3c1e33ac037dd42aad1 SHA256 b9cf2e58fd5c29f5ff9c8ad0843d80fd9336be325d478e5fadec3f64302577ce diff --git a/net-analyzer/nagvis/metadata.xml b/net-analyzer/nagvis/metadata.xml new file mode 100644 index 000000000000..b1ac78673e79 --- /dev/null +++ b/net-analyzer/nagvis/metadata.xml @@ -0,0 +1,13 @@ + + + +no-herd + + dertobi123@gentoo.org + Tobias Scherbaum + Primary maintainer + + + Enable automated map generation using media-gfx/graphviz + + diff --git a/net-analyzer/nagvis/nagvis-1.3.ebuild b/net-analyzer/nagvis/nagvis-1.3.ebuild new file mode 100644 index 000000000000..c54026afb068 --- /dev/null +++ b/net-analyzer/nagvis/nagvis-1.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagvis/nagvis-1.3.ebuild,v 1.1 2008/08/03 15:12:28 dertobi123 Exp $ + +inherit eutils confutils depend.php + +DESCRIPTION="NagVis is a visualization addon for the well known network managment system Nagios." +HOMEPAGE="http://www.nagvis.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="automap" + +DEPEND=">=net-analyzer/nagios-3 + >=net-analyzer/ndoutils-1.4_beta4 + automap? ( >=media-gfx/graphviz-2.14 )" + +need_php_httpd + +pkg_setup() { + confutils_require_built_with_all dev-lang/php gd mysql unicode +} + +src_install() { + for docfile in README INSTALL + do + dodoc ${docfile} + rm ${docfile} + done + + dodir /usr/share + grep -Rl "/usr/local" "${S}"/* | xargs sed -i s:/usr/local:/usr:g + mv "${S}" "${D}"/usr/share/nagvis + chmod 664 "${D}"/usr/share/nagvis/etc/config.ini.php.dist + chmod 775 "${D}"/usr/share/nagvis/images/maps + chmod 664 "${D}"/usr/share/nagvis/images/maps/* + chmod 775 "${D}"/usr/share/nagvis/etc/maps + chmod 664 "${D}"/usr/share/nagvis/etc/maps/* +} +pkg_postinst() { + elog "Before running NagVis for the first time, you will need to set up" + elog "/usr/share/nagvis/nagvis/etc/config.ini.php" + elog "A sample is in" + elog "/usr/share/nagvis/nagvis/etc/config.ini.php.dist" +} + + -- cgit v1.2.3-65-gdbad