summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtavio Rodolfo Piske <angusyoung@gentoo.org>2006-03-13 23:22:34 +0000
committerOtavio Rodolfo Piske <angusyoung@gentoo.org>2006-03-13 23:22:34 +0000
commit04540e2788000c8a5725cd5a48bd942300141446 (patch)
tree53182226ec172f5ee5614f7ba413164c30f27d0d /net-analyzer/jffnms
parentVersion bump. (diff)
downloadhistorical-04540e2788000c8a5725cd5a48bd942300141446.tar.gz
historical-04540e2788000c8a5725cd5a48bd942300141446.tar.bz2
historical-04540e2788000c8a5725cd5a48bd942300141446.zip
New ebuild for jffnms which closes bug 92501
Package-Manager: portage-2.1_pre5-r4
Diffstat (limited to 'net-analyzer/jffnms')
-rw-r--r--net-analyzer/jffnms/ChangeLog10
-rw-r--r--net-analyzer/jffnms/Manifest18
-rw-r--r--net-analyzer/jffnms/files/digest-jffnms-0.8.23
-rw-r--r--net-analyzer/jffnms/files/mysql_db3
-rw-r--r--net-analyzer/jffnms/files/postgresql_db2
-rw-r--r--net-analyzer/jffnms/files/postgresql_db_table1
-rw-r--r--net-analyzer/jffnms/jffnms-0.8.2.ebuild65
7 files changed, 102 insertions, 0 deletions
diff --git a/net-analyzer/jffnms/ChangeLog b/net-analyzer/jffnms/ChangeLog
new file mode 100644
index 000000000000..069523a6afe5
--- /dev/null
+++ b/net-analyzer/jffnms/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-analyzer/jffnms
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/jffnms/ChangeLog,v 1.1 2006/03/13 23:22:34 angusyoung Exp $
+
+*jffnms-0.8.2 (13 Mar 2006)
+
+ 13 Mar 2006; Otavio Piske <angusyoung@gentoo.org> +files/mysql_db,
+ +files/postgresql_db, +files/postgresql_db_table, +jffnms-0.8.2.ebuild:
+ Jffnms ebuild. Initial release. Closes bug 92501
+
diff --git a/net-analyzer/jffnms/Manifest b/net-analyzer/jffnms/Manifest
new file mode 100644
index 000000000000..484ee58423b8
--- /dev/null
+++ b/net-analyzer/jffnms/Manifest
@@ -0,0 +1,18 @@
+MD5 1dad3cabef8a9e699bd5691fdfbbc6ae ChangeLog 439
+RMD160 cc4a4e01a233af9237ac5aa234a8aef9edc45bdd ChangeLog 439
+SHA256 9cc44af4d302bf68a988bbf8e96a7da54e3dfec4c336203b50398866e072079e ChangeLog 439
+MD5 a01464e5866620e8703815db0e566469 files/digest-jffnms-0.8.2 238
+RMD160 f6d19620bb3649aae5765b68f7e62fe175d7245b files/digest-jffnms-0.8.2 238
+SHA256 ff790a322c824f6a74e6425b92f79852c65878844fcc89e37a0cb639d7ea8f34 files/digest-jffnms-0.8.2 238
+MD5 36459cd0e2d6f01a3f7f501692be546b files/mysql_db 119
+RMD160 fd54513c750558651b0687396d920910c96d78b7 files/mysql_db 119
+SHA256 b0935c6259f34f78dde2ca06dc9812e047bbe654828c6fc68e24aaa84dfefc5c files/mysql_db 119
+MD5 932dbe8966d923efd658a9b16322dab1 files/postgresql_db 73
+RMD160 6a10ceaac6f4826f96477d5b2c2ca4555cb5609d files/postgresql_db 73
+SHA256 912ea3da22eeeb6dfb046245fe3eb3848eb81524297a6647edf652b2caea5c02 files/postgresql_db 73
+MD5 52e3fbf9a0fb34dafd44043c9df57a16 files/postgresql_db_table 24
+RMD160 94cdb129a4944235408efc138f40340c9f19f682 files/postgresql_db_table 24
+SHA256 201a55d370e38b9c7f981a7cb6b9901302fcccb8cf21511905f5343834aa387e files/postgresql_db_table 24
+MD5 53de9032e6501bca4443dc95afd25067 jffnms-0.8.2.ebuild 1692
+RMD160 2e3d8dbc8998121e5a378bd616ef8f259b85ba20 jffnms-0.8.2.ebuild 1692
+SHA256 020afcf6c93627a712a91c518aa17f2fdd6fdda4948b1e3a7ce2e14d4814624d jffnms-0.8.2.ebuild 1692
diff --git a/net-analyzer/jffnms/files/digest-jffnms-0.8.2 b/net-analyzer/jffnms/files/digest-jffnms-0.8.2
new file mode 100644
index 000000000000..b1b07dad71fc
--- /dev/null
+++ b/net-analyzer/jffnms/files/digest-jffnms-0.8.2
@@ -0,0 +1,3 @@
+MD5 10c4dbead14c7e53a040140620768d19 jffnms-0.8.2.tar.gz 557085
+RMD160 5ce08a50f5bbedbc00c990933c6ade935e681772 jffnms-0.8.2.tar.gz 557085
+SHA256 d42b2b9e0a65b744bec12f2eea34efe14a4b836c37c37f187d835774395edf90 jffnms-0.8.2.tar.gz 557085
diff --git a/net-analyzer/jffnms/files/mysql_db b/net-analyzer/jffnms/files/mysql_db
new file mode 100644
index 000000000000..40743be81839
--- /dev/null
+++ b/net-analyzer/jffnms/files/mysql_db
@@ -0,0 +1,3 @@
+CREATE DATABASE jffnms;
+GRANT ALL PRIVILEGES ON jffnms.* TO jffnms@localhost IDENTIFIED BY 'jffnms';
+FLUSH PRIVILEGES;
diff --git a/net-analyzer/jffnms/files/postgresql_db b/net-analyzer/jffnms/files/postgresql_db
new file mode 100644
index 000000000000..e556d3ea5c59
--- /dev/null
+++ b/net-analyzer/jffnms/files/postgresql_db
@@ -0,0 +1,2 @@
+create user jffnms password 'jffnms' createdb;
+\connect template1 jffnms
diff --git a/net-analyzer/jffnms/files/postgresql_db_table b/net-analyzer/jffnms/files/postgresql_db_table
new file mode 100644
index 000000000000..fd09f31b1897
--- /dev/null
+++ b/net-analyzer/jffnms/files/postgresql_db_table
@@ -0,0 +1 @@
+create database jffnms;
diff --git a/net-analyzer/jffnms/jffnms-0.8.2.ebuild b/net-analyzer/jffnms/jffnms-0.8.2.ebuild
new file mode 100644
index 000000000000..22168655302f
--- /dev/null
+++ b/net-analyzer/jffnms/jffnms-0.8.2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/jffnms/jffnms-0.8.2.ebuild,v 1.1 2006/03/13 23:22:34 angusyoung Exp $
+
+inherit eutils
+
+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-www/apache
+ mysql? ( dev-db/mysql )
+ postgres? ( dev-db/postgresql )
+ >=net-analyzer/rrdtool-1.0.33
+ media-libs/gd
+ =dev-lang/php-4*
+ dev-php/PEAR-PEAR
+ snmp? ( net-analyzer/net-snmp )
+ sys-apps/diffutils
+ media-gfx/graphviz
+ net-analyzer/nmap
+ net-analyzer/fping
+ app-mobilephone/smsclient"
+
+pkg_setup() {
+ local flags="gd wddx sockets session spl cli"
+
+ if use mysql ; then
+ flags="$flags mysql"
+ fi
+
+ if use postgres ; then
+ flags="$flags postgres"
+ fi
+
+ for flagname in $flags ; do
+ if ! built_with_use "=dev-lang/php-4*" $flagname; then
+ eerror "You need to build php with $flagname USE flag"
+ die "Jffnms requires php with $flagname USE flag"
+ fi
+ done
+
+ enewgroup jffnms
+ enewuser jffnms -1 /bin/bash /dev/null jffnms,apache
+}
+
+src_install(){
+ MY_DESTDIR="/opt/jffnms"
+
+ dodir ${MY_DESTDIR}
+ cp -r * "${D}${MY_DESTDIR}" || die
+ chown -R jffnms:apache "${D}${MY_DESTDIR}" || die
+ chmod -R ug+gw "${D}${MY_DESTDIR}" || die
+
+ einfo "JFFNMS has been partialy installed on your system. However you"
+ einfo "still need proceed with final installation and configuration."
+ einfo "You can visit http://www.gentoo.org/doc/en/jffnms.xml in order"
+ einfo "to get detailed information on how to get jffnms up and running."
+
+}