Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287761 - net-analyzer/jffnms-0.9.3 version bump
Summary: net-analyzer/jffnms-0.9.3 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Highest major (vote)
Assignee: Gentoo Netmon project
URL: http://sourceforge.net/projects/jffnm...
Whiteboard:
Keywords: EBUILD
: 318869 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-05 13:52 UTC by James Horton
Modified: 2013-06-12 15:40 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Horton 2009-10-05 13:52:22 UTC
JFFNMS is a multifaceted Network Management System for a wide variety of devices
and system. JFFNMS is the only serious open-source contender with Nagios.

Reproducible: Always

Steps to Reproduce:
1.download new sourceforge sources
2.compile
3.update ebuild

Actual Results:  
Not a dev, obviously, but, I keep trying.....

Expected Results:  
Simple install, with beautiful working results.....

Don't forget to edit this doc too:
http://www.gentoo.org/doc/en/jffnms.xml
Comment 1 James Horton 2009-10-29 15:41:46 UTC
(In reply to comment #0)
> JFFNMS is a multifaceted Network Management System for a wide variety of
> devices
> and system. JFFNMS is the only serious open-source contender with Nagios.
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1.download new sourceforge sources
> 2.compile
> 3.update ebuild
> 
> Actual Results:  
> Not a dev, obviously, but, I keep trying.....
> 
> Expected Results:  
> Simple install, with beautiful working results.....
> 
> Don't forget to edit this doc too:
> http://www.gentoo.org/doc/en/jffnms.xml
> 

New information from the dev:

I am missing Traffic graphs for my hosts

0.8.4 has a re-introduced bug for the traffic graph, remove the / before
the colon : on the COMMENT lines in engine/graphs/traffic.inc.php

Also with 0.8.4 edit consolidate.php and comment out the line 36 that
has consolidate_logfiles(); as it needs a database table that wasnt
included.


hth,
James

Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-07-27 00:12:22 UTC
*** Bug 318869 has been marked as a duplicate of this bug. ***
Comment 3 Marek Królikowski 2010-08-12 06:05:47 UTC
Still no 0.8.4 and 0.8.5 in portage...
Anyone can add to portage?
Comment 4 James Horton 2011-02-25 09:17:56 UTC
Jffnms is unable to be installed. A version bump to 8.5 is needed.
www.jffnms.org 
or 
http://sourceforge.net/apps/mediawiki/jffnms/index.php?title=Main_Page

Here is the installation link for a generic Linux installation that can
be used as a guide to update the gentoo installation page.


http://sourceforge.net/apps/mediawiki/jffnms/index.php?title=Installation

Subsequent Gentoo installation page:

http://www.gentoo.org/doc/en/jffnms.xml
Comment 5 James Horton 2011-03-02 21:13:10 UTC
OK, so thanks to Mark Shields, I've got an ebuild
in my local overlay that works. Here it is:

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/jffnms/jffnms-0.8.3-r2.ebuild,v
# 1.2 2008/02/02 15:34:25 hollow Exp $

inherit depend.apache eutils depend.php

DESCRIPTION="Network Management and Monitoring System."
HOMEPAGE="http://www.jffnms.org/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="mysql postgres snmp"

DEPEND="net-analyzer/rrdtool
        media-libs/gd
        dev-php/PEAR-PEAR
        net-analyzer/net-snmp
        sys-apps/diffutils
        app-mobilephone/smsclient"

RDEPEND="${DEPEND}
        media-gfx/graphviz
        net-analyzer/nmap
        net-analyzer/fping"

need_apache
need_php_cli

pkg_setup() {
        local flags="session snmp sockets wddx"
        use mysql && flags="${flags} mysql"
        use postgres && flags="${flags} postgres"

        if ! PHPCHECKNODIE="yes" require_php_with_use ${flags} \
                || ! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external ; then
       eerror
                eerror "${PHP_PKG} needs to be re-installed with all of the following"
                eerror "USE flags enabled:"
                eerror
                eerror "${flags}"
               eerror "USE flags enabled:"
                eerror
                eerror "${flags}"
                eerror
                eerror "as well as any of the following USE flags enabled:"
                eerror
                eerror "gd or gd-external"
                eerror
                die "Re-install ${PHP_PKG} with ${flags} and either gd or gd-external"
        fi

        enewgroup jffnms
        enewuser jffnms -1 /bin/bash -1 jffnms,apache
}

src_unpack() {
        unpack ${A}
        cd "${S}"

        # Fixes Multiple vulnerabilities bug #192240
        # epatch "${FILESDIR}"/${P}-misc-security-fixes.patch
}

src_install(){
        INSTALL_DIR="/opt/${PN}"
        IMAGE_DIR="${D}${INSTALL_DIR}"

        dodir "${INSTALL_DIR}"
        cp -r * "${IMAGE_DIR}" || die
        rm -f "${IMAGE_DIR}/LICENSE"

        # Clean up windows related stuff
        rm -f "${IMAGE_DIR}/*.win32.txt"
        rm -rf "${IMAGE_DIR}/docs/windows"
        rm -rf "${IMAGE_DIR}/engine/windows"

        chown -R jffnms:apache "${IMAGE_DIR}" || die
        chmod -R ug+rw "${IMAGE_DIR}" || die

        elog "${PN} has been partialy installed on your system. However you"
        elog "still need proceed with final installation and configuration."
        elog "You can visit http://www.gentoo.org/doc/en/jffnms.xml in order"
        elog "to get detailed information on how to get jffnms up and running."
}

Comment 6 Tim Harder gentoo-dev 2011-03-02 22:36:28 UTC
(In reply to comment #5)
> OK, so thanks to Mark Shields, I've got an ebuild
> in my local overlay that works. Here it is:

In the future, please add ebuilds as attachments to the bug instead of pasting them inline in a comment. Thanks.
Comment 7 Patrick Lauer gentoo-dev 2011-07-31 15:09:19 UTC
There's a 0.9.1 available, but thanks to sourceforge getting in the way I can't even figure out how to download it. Sigh.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-01 20:54:26 UTC
This seems to work.

http://sourceforge.net/projects/jffnms/files/JFFNMS%20Releases/jffnms-0.9.1.tgz

It looks like it might not be mirrored.
Comment 9 Michael Palimaka (kensington) gentoo-dev 2011-11-24 10:26:46 UTC
I was able to fetch 0.9.1 with SRC_URI="mirror://sourceforge/${PN}/JFFNMS%20Releases/${P}.tgz"
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-12 15:40:15 UTC
*jffnms-0.9.3 (12 Jun 2012)

  12 Jun 2012; Matti Bickel <mabi@gentoo.org> +jffnms-0.9.3.ebuild:
  version bump. drop depend.php eclass, use eapi4. no longer needs security
  patch from 0.8.3