summaryrefslogtreecommitdiff
path: root/net-analyzer/jffnms
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-analyzer/jffnms
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/jffnms')
-rw-r--r--net-analyzer/jffnms/Manifest5
-rw-r--r--net-analyzer/jffnms/jffnms-0.9.4-r1.ebuild56
-rw-r--r--net-analyzer/jffnms/metadata.xml11
3 files changed, 72 insertions, 0 deletions
diff --git a/net-analyzer/jffnms/Manifest b/net-analyzer/jffnms/Manifest
new file mode 100644
index 000000000000..04edf36bb287
--- /dev/null
+++ b/net-analyzer/jffnms/Manifest
@@ -0,0 +1,5 @@
+DIST jffnms-0.9.4.tgz 610758 SHA256 8e20d361ad3dc01d800315e3978f1873c3b6d1ebd3bc93a74a3fb8789d56da2b SHA512 4d0c4ed1fbf0107029d92b2ea8f0f02c46d532810dc58bf048c5ffaf79f7f24630101be8319876db1aee3356ced32e7cba2f2494bc8a92a635b0a4e6897c6fe7 WHIRLPOOL 10ac59bd5a52c1803e124b6a47b889bda938760359bd995311486c7156840ddd88092ceba5280fb090dd3484927f6d52121428e4a75d4aca1cb6135ee8cf29e2
+EBUILD jffnms-0.9.4-r1.ebuild 1352 SHA256 0c53122ae4a7bb8ce70cff62d32dd2e87f9533e324e14b40a965ef6ec607b978 SHA512 a9e195307f40390399a3f707942b1b2b77ff0572bcf2545abffabcabea72ba124a42ccaf07bd53dbb93df7a8e3d527d9eb2380dbc9a23b00c4ad9d19f2f38371 WHIRLPOOL 40fe087b8f71e34813cef20b0db028d40350979393505a4965246a4a607f6d36e7e3dec73f9299b94298890b4bef9579e6134e5601950302f1d7a4c20ae2ecd3
+MISC ChangeLog 2428 SHA256 208b25bf66b6af47107e306ce6dfab9e84127034ab04a3707accaf6cc5655c0f SHA512 3ee9ad6b05f37ba88a942239055228d73d2f4e39077c037ae54ddd1f4c81427abc705129da4c439376f8534483bf25536f73237c01da1be259634e33e179a8f7 WHIRLPOOL 66d92e7382b90a51d04b6f9d2000da8dcc392ea7a15b789541ecfa0bb1048d44f6d9aac720882e382fff06699cb048d276f335ff60fd1b74f61d9722ba76b817
+MISC ChangeLog-2015 3314 SHA256 3dcb5853f78712817d597df6efdf48dbe77a2940bd24f6bc202f35a4634280a3 SHA512 7d0caa12106ad35f964ab98c5d3fbd589c442e0ccdab486d3d4024207cf1d0ef2b664a098462956579a3d46634b39a174917f539af27ef41df4880bc2aac5f83 WHIRLPOOL 59699c4f2932bf68beb80b12404a4511f7c570d6be27fa8931e807eb9592487ae9bfab782f40995b6147361d20f23e0fa28240ae2c302c2e8f42ba7bdf3ac88a
+MISC metadata.xml 356 SHA256 493fda89af561c7e5837f5e88d3eb9551ab80b3265be29a2287e148dc3fb912f SHA512 d9902d5255db25672152c02e26494f9c42137714feb9318a8eaf517c6a62255d036a3c2b1b308a3c32882b7648f33a38a7af344c2e3ec4b2f402fe26870435f1 WHIRLPOOL 6ede64561f2339d7a87b5ed3747cb500c3270c7d7842abddef62a5aa02e798f67313ee74e624391365c45de7da648fd915b8c4c4855691f5928781d00bdf3973
diff --git a/net-analyzer/jffnms/jffnms-0.9.4-r1.ebuild b/net-analyzer/jffnms/jffnms-0.9.4-r1.ebuild
new file mode 100644
index 000000000000..ddbea9ec4ebb
--- /dev/null
+++ b/net-analyzer/jffnms/jffnms-0.9.4-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit user
+
+DESCRIPTION="Network Management and Monitoring System"
+HOMEPAGE="http://www.jffnms.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="mysql postgres snmp"
+
+RDEPEND="
+ dev-lang/php[apache2,cli,gd,mysql?,postgres?,session,snmp,sockets,wddx]
+ dev-php/PEAR-PEAR
+ media-gfx/graphviz
+ media-libs/gd
+ net-analyzer/fping
+ net-analyzer/net-snmp
+ net-analyzer/nmap
+ net-analyzer/rrdtool[graph]
+ sys-apps/diffutils
+"
+
+pkg_setup() {
+ enewgroup jffnms
+ enewuser jffnms -1 /bin/bash -1 jffnms,apache
+}
+
+src_install(){
+ local INSTALL_DIR="/opt/${PN}"
+ local IMAGE_DIR="${D}${INSTALL_DIR}"
+
+ insinto "${INSTALL_DIR}"
+ doins -r *
+
+ 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
+
+ fowners -R jffnms:apache "${INSTALL_DIR}"
+ fperms -R ug+rw "${INSTALL_DIR}"
+}
+
+pkg_postinst() {
+ elog "${PN} has been partialy installed on your system. However you"
+ elog "still need proceed with final installation and configuration."
+ elog "You can visit https://wiki.gentoo.org/wiki/Jffnms in order"
+ elog "to get detailed information on how to get jffnms up and running."
+}
diff --git a/net-analyzer/jffnms/metadata.xml b/net-analyzer/jffnms/metadata.xml
new file mode 100644
index 000000000000..a7910963dea7
--- /dev/null
+++ b/net-analyzer/jffnms/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>netmon@gentoo.org</email>
+ <name>Gentoo network monitoring and analysis project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">jffnms</remote-id>
+ </upstream>
+</pkgmetadata>