Created attachment 353866 [details] nagvis-1.7.9.ebuild Made an ebuild for the current stable version 1.7.9 of nagvis, it was released at on 13th June 2013. see http://www.nagvis.org/ Current version in portage is 1.6.6 which is outdated. A bunch of features and bugfixes where made since then. Please add it to the portage tree.
Created attachment 353868 [details, diff] nagvis-1.7.9-base-path.patch
Created attachment 353870 [details, diff] nagvis-1.7.9-global-definitions.patch
Comment on attachment 353866 [details] nagvis-1.7.9.ebuild --- nagvis-1.6.6.ebuild 2013-05-26 17:38:01.251945719 +0200 +++ - 2013-07-22 15:06:13.558595014 +0200 @@ -1,6 +1,6 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagvis/nagvis-1.6.6.ebuild,v 1.3 2013/05/20 03:58:05 patrick Exp $ +# $Header: $ EAPI=4 @@ -13,12 +13,12 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="apache2 automap" +IUSE="apache2" DEPEND="" RDEPEND="|| ( net-analyzer/nagios net-analyzer/icinga ) - automap? ( >=media-gfx/graphviz-2.14 ) apache2? ( dev-lang/php[apache2] ) + >=media-gfx/graphviz-2.14 net-analyzer/mk-livestatus dev-lang/php[gd,nls,json,session,pdo,sqlite,sockets,mysql,unicode,xml]" @@ -26,7 +26,7 @@ want_apache2 pkg_setup() { - confutils_require_built_with_all dev-lang/php gd nls json session pdo sqlite3 sockets mysql unicode xml + confutils_require_built_with_all dev-lang/php gd nls json session pdo sqlite sockets mysql unicode xml depend.apache_pkg_setup } @@ -57,7 +57,7 @@ fi insinto /etc/nagvis - doins -r etc/{conf.d,automaps,geomap,.htaccess,nagvis.ini.php-sample} + doins -r etc/{conf.d,geomap,.htaccess,nagvis.ini.php-sample} fowners apache:root /etc/nagvis fperms 0664 /etc/nagvis/nagvis.ini.php-sample dosym /etc/nagvis /usr/share/nagvis/etc @@ -90,3 +90,4 @@ elog "Default user/password are: nagiosadmin/nagiosadmin" elog " guest/guest" } +
I can't comment on the quality of the ebuild itself or even what the diff above is for but I needed a Nagvis install and this was the best I can find without going it alone. Using the obsoleted attachment ebuild from here and the two patchfiles it installed fine. I had to chown apache /var/nagvis due to error after login about unable to create files. I also got an error that /etc/nagvis/profiles did not exist when clicking on a menu. I also note that the Nagvis developers seem to be deprecating the NDOMY driver for automap and answer questions relating to it failing in this version with "install mk-livestatus" on their forums.
(In reply to Jon Gerdes from comment #4) Sorry forgot to add this is on a very new ~amd64
media-gfx/graphviz needs USE +gts (GNU triangulation library) for several of the automap algorithms to work. Without it trying to select nearly anything apart from the default results in an error when creating an automap.
This package has no maintainer so this bug may go unnoticed for a long time. Gentoo has a dedicated team[1] for assisting users in maintaining orphaned packages. If you are interested in maintaining this package, please contact proxy-maint@gentoo.org. [1]: https://wiki.gentoo.org/index.php?title=Project:Proxy_Maintainers
we need to get this bumped and properly maintained as this can contain security issues (for example https://www.cvedetails.com/cve/CVE-2017-6393/ was affecting 1.9 versions... while current years old version is not even being audited)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=160a88adcc626c622152c184aa537508e5af9d67 commit 160a88adcc626c622152c184aa537508e5af9d67 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2018-12-01 18:19:19 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2018-12-01 18:19:19 +0000 net-analyzer/nagvis: Remove last-rited pkg Closes: https://bugs.gentoo.org/477742 Signed-off-by: Michał Górny <mgorny@gentoo.org> net-analyzer/nagvis/Manifest | 1 - .../nagvis/files/nagvis-1.6.6-base-path.patch | 13 ---- .../files/nagvis-1.6.6-global-definitions.patch | 30 -------- net-analyzer/nagvis/metadata.xml | 11 --- net-analyzer/nagvis/nagvis-1.6.6.ebuild | 90 ---------------------- profiles/package.mask | 5 -- 6 files changed, 150 deletions(-)