--- /dev/null
+# 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 <frank@brehm-online.com> -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 <dertobi123@gentoo.org> +metadata.xml,
+ +nagvis-1.3.ebuild:
+ Initial import, somewhat based upon on an ebuild by Elias Probst added to
+ #179830
+
--- /dev/null
+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
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>frank@brehm-online.com</email>
+ <name>Frank Brehm</name>
+ <description>Primary maintainer</description>
+</maintainer>
+<use>
+ <flag name='automap'>Enable automated map generation using <pkg>media-gfx/graphviz</pkg></flag>
+</use>
+</pkgmetadata>
--- /dev/null
+# 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"
+}