diff options
author | Tobias Scherbaum <dertobi123@gentoo.org> | 2008-08-03 15:12:28 +0000 |
---|---|---|
committer | Tobias Scherbaum <dertobi123@gentoo.org> | 2008-08-03 15:12:28 +0000 |
commit | 8e798314fbd06cef843a1779a7e8109ee4e64f63 (patch) | |
tree | 124d6151676a554ae5e30c958737f5771e569e5a /net-analyzer/nagvis | |
parent | Add USE flag description to metadata wrt GLEP 56. (diff) | |
download | historical-8e798314fbd06cef843a1779a7e8109ee4e64f63.tar.gz historical-8e798314fbd06cef843a1779a7e8109ee4e64f63.tar.bz2 historical-8e798314fbd06cef843a1779a7e8109ee4e64f63.zip |
Initial import, somewhat based upon on an ebuild by Elias Probst added to #179830
Package-Manager: portage-2.2_rc6/cvs/Linux 2.6.25-gentoo-r6 x86_64
Diffstat (limited to 'net-analyzer/nagvis')
-rw-r--r-- | net-analyzer/nagvis/ChangeLog | 11 | ||||
-rw-r--r-- | net-analyzer/nagvis/Manifest | 4 | ||||
-rw-r--r-- | net-analyzer/nagvis/metadata.xml | 13 | ||||
-rw-r--r-- | net-analyzer/nagvis/nagvis-1.3.ebuild | 49 |
4 files changed, 77 insertions, 0 deletions
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 <dertobi123@gentoo.org> +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..0732c77614bd --- /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 1400 RMD160 0d8b3be77c2ec0570ad4d552539ad49a0e71b80a SHA1 970ca3f24baa9e718838e581ac6607c428758bbf SHA256 74c98fdff2b848cee8dd3b1ba6e3fa9bf0ebc17ad480b8ab012f1ef167dc4c39 +MISC ChangeLog 422 RMD160 e1ae6b64c26bdba39c7ed5e49550fa771220ac61 SHA1 b1f8deed9ac5ce27e84ec1c9c8adaddb1063322b SHA256 79ec93164c70e1c91410e5722b285b08bedc09d33f5d64c6c9a3f60575de6cdf +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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>dertobi123@gentoo.org</email> + <name>Tobias Scherbaum</name> + <description>Primary maintainer</description> +</maintainer> +<use> + <flag name='automap'>Enable automated map generation using <pkg>media-gfx/graphviz</pkg></flag> +</use> +</pkgmetadata> 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" +} + + |