ChangeLog

# ChangeLog for net-analyzer/jffnms
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/jffnms/ChangeLog,v 1.11 2008/02/02 15:34:25 hollow Exp $

02 Feb 2008; Benedikt Böhm jffnms-0.8.3-r2.ebuild:
use depend.apache eclass wrt #208033

*jffnms-0.8.3-r2 (13 Sep 2007)

13 Sep 2007;
+files/jffnms-0.8.3-misc-security-fixes.patch, -jffnms-0.8.2-r1.ebuild,
-jffnms-0.8.3-r1.ebuild, +jffnms-0.8.3-r2.ebuild:
Fixes Multiple vulnerabilities (CVE-2007-31{89,90,91,92}) reported by Robert
Buchholz in bug #192240.

29 Jul 2007; Christian Heim jffnms-0.8.2-r1.ebuild,
jffnms-0.8.3-r1.ebuild:
Fixing the DEPEND/RDEPEND for the move of net-www/apache to
www-servers/apache (#78622).

01 Feb 2007; Markus Ullmann -files/mysql_db,
-files/postgresql_db, -files/postgresql_db_table, -jffnms-0.8.2.ebuild,
+jffnms-0.8.2-r1.ebuild, -jffnms-0.8.3.ebuild, +jffnms-0.8.3-r1.ebuild:
Dropping direct DB deps wrt bug #159828

*jffnms-0.8.3-r1 (01 Feb 2007)

01 Feb 2007; <> jffnms-0.8.3-r1.ebuild files/digest-jffnms-0.8.3-r1
# INSERT ENTRY HERE

*jffnms-0.8.2-r1 (01 Feb 2007)

01 Feb 2007; <> jffnms-0.8.2-r1.ebuild files/digest-jffnms-0.8.2-r1
# INSERT ENTRY HERE

23 Nov 2006; Francesco Riosa jffnms-0.8.2.ebuild,
jffnms-0.8.3.ebuild:
dev-db/mysql => virtual/mysql

13 Nov 2006; Markus Ullmann jffnms-0.8.2.ebuild,
jffnms-0.8.3.ebuild:
Fix for bug #153888 thanks to Robert Buchholz

11 Oct 2006; Markus Ullmann jffnms-0.8.3.ebuild:
Even more improved

11 Oct 2006; Markus Ullmann jffnms-0.8.3.ebuild:
Fixing dependency bug #142728 thanks to Jakub for providing the fix

*jffnms-0.8.3 (08 Oct 2006)

08 Oct 2006; Markus Ullmann metadata.xml,
jffnms-0.8.2.ebuild, +jffnms-0.8.3.ebuild:
Version bump and fix for bug #135337

27 Apr 2006; Alec Warner Manifest:
Fixing SHA256 digest, pass four

*jffnms-0.8.2 (13 Mar 2006)

13 Mar 2006; Otavio Piske +files/mysql_db,
+files/postgresql_db, +files/postgresql_db_table, +jffnms-0.8.2.ebuild:
Jffnms ebuild. Initial release. Closes bug 92501

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX jffnms-0.8.3-misc-security-fixes.patch 2592 RMD160 e6d9d2463af92be34b32ec6290563cee3bda7d0c SHA1 392397a6113e2c062372f1885449a22ef6e44ac9 SHA256 716e8c5f5af3bdf23a6c8e9844b371998c6ae0aa451966ed61704c9d684bb564
DIST jffnms-0.8.3.tar.gz 698871 RMD160 681d498bf49f3e1011241254c441540ebbbe1860 SHA1 230cd88b9ff5b869e7a07c828425be15ede9614f SHA256 51f84606aa81113b2ea894c9e499f18df84e5317853aefd51610f5b279853ae4
EBUILD jffnms-0.8.3-r2.ebuild 2210 RMD160 c07fb03f72392d62a01a2a6e6354e08a450c4610 SHA1 a8f7f21fdc7812adaf57fcdd3339caab98da874e SHA256 ba3e496d06e6a05f2cb6940c434199cf84171d5230817af0482d8ccdf6e40ac5
MISC ChangeLog 2343 RMD160 7e938a89f71cc0b73dda6ca3fb9572f61e6917c4 SHA1 29b75d35c607631cf7c2d3343a2a1c7192079f07 SHA256 f79f42a369c6bfccc059b77da02155c3f3735fd94e62e0418bf275e2882953b6
MISC metadata.xml 159 RMD160 28e799fe0fd02aaab9d4bbe5595f133101606f5b SHA1 9f5df3eabd621951a959cc8e0e2e0d352cd1fe1e SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.8 (GNU/Linux)

iEYEARECAAYFAkekjYcACgkQmPFBzbX68WEW5ACghvOOxxDlVFFkK/xuIOdPTWhd
xDsAoIn2oNbSQL8T1os4+1iPs9PkcO5V
=fTwO
-----END PGP SIGNATURE-----

files

jffnms-0.8.3-r2.ebuild

# 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}.tar.gz"

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="pcre 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
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."
}

metadata.xml




netmon