From 3c7096ddeecafc5b81279bf13934d7b725ad02bd Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 25 Sep 2008 08:52:24 +0000 Subject: [PATCH] Neue und bereinigte Version von NagVis git-svn-id: http://svn.brehm-online.com/svn/portage@67 18afd0d2-9f2f-0410-a0ac-b8d70fd81a6b --- net-analyzer/nagvis/ChangeLog | 17 +++++++++ net-analyzer/nagvis/Manifest | 4 +++ net-analyzer/nagvis/metadata.xml | 13 +++++++ net-analyzer/nagvis/nagvis-1.3.1.ebuild | 48 +++++++++++++++++++++++++ 4 files changed, 82 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.1.ebuild diff --git a/net-analyzer/nagvis/ChangeLog b/net-analyzer/nagvis/ChangeLog new file mode 100644 index 0000000..5e82c40 --- /dev/null +++ b/net-analyzer/nagvis/ChangeLog @@ -0,0 +1,17 @@ +# 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.1 (25 Sep 2008) + + 25 Sep 2008; Frank Brehm -nagvis-1.3.ebuild, +nagvis-1.3.1ebuild: + New Version of nagvis, corrected use-flag search of dev-lang/php + + +*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 0000000..de117be --- /dev/null +++ b/net-analyzer/nagvis/Manifest @@ -0,0 +1,4 @@ +DIST nagvis-1.3.1.tar.gz 323842 RMD160 7c64ad99dd237e4dfac1295f8a9f04e10bccf382 SHA1 a19fac4736b1fc30a9643f8f024dae0191dac422 SHA256 3b289e98e91684bb81cb25cf77e066ac3609783fb17f8f7704e3196c4064c49f +EBUILD nagvis-1.3.1.ebuild 1456 RMD160 0c2a0e8b703d99bbf33d18a1a1b887c1a3fbe210 SHA1 02172551dc94233ab347f718d48fc899ee2a4e37 SHA256 5de7bdb4295c1fc01c3ec4fbbc3984cb6e28efbb7239c31b4bf21fbf94179579 +MISC ChangeLog 615 RMD160 0c51e43c34b0002698200b4a7eed168df728fa81 SHA1 09eadde69dd163ed51d1c9fe84f9aa80ebee3e5a SHA256 57c323be168b6fd1cb077ea0a2a290a9535d10ad0fadb847ac6b107f6502aa7d +MISC metadata.xml 413 RMD160 d0dc031bd774200fb07a22fc0a00c4c66b2d34ca SHA1 4092b05d12de4b4623f0134c09200c1554d572f2 SHA256 5a00f497b1fddd8355f447be57a37641f01aa82308071f06873c9aa3ad3862d4 diff --git a/net-analyzer/nagvis/metadata.xml b/net-analyzer/nagvis/metadata.xml new file mode 100644 index 0000000..964ca18 --- /dev/null +++ b/net-analyzer/nagvis/metadata.xml @@ -0,0 +1,13 @@ + + + +no-herd + + frank@brehm-online.com + Frank Brehm + Primary maintainer + + + Enable automated map generation using media-gfx/graphviz + + diff --git a/net-analyzer/nagvis/nagvis-1.3.1.ebuild b/net-analyzer/nagvis/nagvis-1.3.1.ebuild new file mode 100644 index 0000000..f94e2bf --- /dev/null +++ b/net-analyzer/nagvis/nagvis-1.3.1.ebuild @@ -0,0 +1,48 @@ +# 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.2 2008/08/03 19:59:05 mr_bones_ 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 mysql unicode + confutils_require_built_with_any dev-lang/php gd gd-external +} + +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" +} -- 2.39.5