aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-01-10 07:19:17 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-01-10 07:19:17 +0800
commit237240152f0149aa22b99584c824fbda6de2c27b (patch)
tree1b0154e170f016b1e62243d11569ccc521b8585c /net-mgmt
parentf52e7608e32ae7f4a39192fa02561613e46a15a9 (diff)
downloadfreebsd-ports-gnome-237240152f0149aa22b99584c824fbda6de2c27b.tar.gz
freebsd-ports-gnome-237240152f0149aa22b99584c824fbda6de2c27b.tar.zst
freebsd-ports-gnome-237240152f0149aa22b99584c824fbda6de2c27b.zip
glpi-tracker-server in a plugin for glpi witch make inventory of
devices by SNMP and get informations like serial number, name, cartridge and page counter of printers and on switchs, devices connected on each port. PR: ports/140158 Submitted by: ddurieux <d.durieux at siprossii.com>
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/glpi-plugins-tracker-server/Makefile44
-rw-r--r--net-mgmt/glpi-plugins-tracker-server/distinfo3
-rw-r--r--net-mgmt/glpi-plugins-tracker-server/pkg-descr4
-rw-r--r--net-mgmt/glpi-plugins-tracker-server/pkg-message8
-rw-r--r--net-mgmt/glpi-plugins-tracker-server/pkg-plist175
6 files changed, 235 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index a54e43bd1d10..80741b42b44a 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -72,6 +72,7 @@
SUBDIR += flowviewer
SUBDIR += fprobe
SUBDIR += fruity
+ SUBDIR += glpi-plugins-tracker-server
SUBDIR += gps
SUBDIR += grepcidr
SUBDIR += grepip
diff --git a/net-mgmt/glpi-plugins-tracker-server/Makefile b/net-mgmt/glpi-plugins-tracker-server/Makefile
new file mode 100644
index 000000000000..a707514c1c2a
--- /dev/null
+++ b/net-mgmt/glpi-plugins-tracker-server/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: glpi-plugins-tracker-server
+# Date created: 31 October 2009
+# Whom: ddurieux <d.durieux@siprossii.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= server
+DISTVERSION= 2.1.3
+CATEGORIES= net-mgmt
+MASTER_SITES= https://forge.indepnet.net/attachments/download/512/ \
+ http://glpi.siprossii.com/distfiles/
+PKGNAMEPREFIX= glpi-plugins-tracker-
+DISTNAME= glpi-tracker_server-2.1.3
+
+MAINTAINER= d.durieux@siprossii.com
+COMMENT= Plugin of glpi to get information of networking devices by SNMP
+
+RUN_DEPENDS= glpi>=0.72:${PORTSDIR}/www/glpi
+
+USE_PHP= zlib
+
+WRKSRC= ${WRKDIR}/tracker
+NO_BUILD= yes
+PKGMESSAGE= ${WRKDIR}/pkg-message
+CPIOARGS= --quiet -pdum -R
+
+GLPIPLUGINDIR?= www/glpi/plugins/tracker
+
+.include <bsd.port.pre.mk>
+
+post-configure:
+ @${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
+ -e 's,%%GLPIPLUGINDIR%%,${GLPIPLUGINDIR},g' pkg-message > ${PKGMESSAGE}
+
+do-install:
+ @${MKDIR} -m 0755 ${PREFIX}/${GLPIPLUGINDIR}
+ @cd ${WRKSRC} && ${FIND} * -print | ${CPIO} ${CPIOARGS} ${WWWOWN}:${WWWGRP} ${PREFIX}/${GLPIPLUGINDIR}
+ @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${GLPIPLUGINDIR}
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.post.mk>
diff --git a/net-mgmt/glpi-plugins-tracker-server/distinfo b/net-mgmt/glpi-plugins-tracker-server/distinfo
new file mode 100644
index 000000000000..e1ce215402e0
--- /dev/null
+++ b/net-mgmt/glpi-plugins-tracker-server/distinfo
@@ -0,0 +1,3 @@
+MD5 (glpi-tracker_server-2.1.3.tar.gz) = bda7bb4f12ab75e85ccfe23ff912fb56
+SHA256 (glpi-tracker_server-2.1.3.tar.gz) = c5d962a298df5f12fd624eb46a4cb869d3807281cddf0516f5e5b12336daf4b4
+SIZE (glpi-tracker_server-2.1.3.tar.gz) = 312924
diff --git a/net-mgmt/glpi-plugins-tracker-server/pkg-descr b/net-mgmt/glpi-plugins-tracker-server/pkg-descr
new file mode 100644
index 000000000000..265b14886aa3
--- /dev/null
+++ b/net-mgmt/glpi-plugins-tracker-server/pkg-descr
@@ -0,0 +1,4 @@
+glpi-tracker-server in a plugin for glpi witch make inventory of
+devices by SNMP and get informations like serial number, name,
+cartridge and page counter of printers and on switchs, devices connected
+on each port.
diff --git a/net-mgmt/glpi-plugins-tracker-server/pkg-message b/net-mgmt/glpi-plugins-tracker-server/pkg-message
new file mode 100644
index 000000000000..d3f9c454eb64
--- /dev/null
+++ b/net-mgmt/glpi-plugins-tracker-server/pkg-message
@@ -0,0 +1,8 @@
+*****************************************************************
+Add in cron table to run server script :
+
+*/5 * * * * www %%PREFIX%%/%%GLPIPLUGINDIR%%/scripts/tracker_fullsync.sh
+
+This script will parse xml files get from agent and update glpi fields
+
+*****************************************************************
diff --git a/net-mgmt/glpi-plugins-tracker-server/pkg-plist b/net-mgmt/glpi-plugins-tracker-server/pkg-plist
new file mode 100644
index 000000000000..8e2c2c00800b
--- /dev/null
+++ b/net-mgmt/glpi-plugins-tracker-server/pkg-plist
@@ -0,0 +1,175 @@
+www/glpi/plugins/tracker/ajax/plugin_tracker.functionalities.tabs.php
+www/glpi/plugins/tracker/docs/CHANGELOG.TXT
+www/glpi/plugins/tracker/docs/LISEZMOI.TXT
+www/glpi/plugins/tracker/docs/README.TXT
+www/glpi/plugins/tracker/docs/ROADMAP.TXT
+www/glpi/plugins/tracker/front/plugin_tracker.agents.diag.php
+www/glpi/plugins/tracker/front/plugin_tracker.agents.export.php
+www/glpi/plugins/tracker/front/plugin_tracker.agents.form.php
+www/glpi/plugins/tracker/front/plugin_tracker.agents.php
+www/glpi/plugins/tracker/front/plugin_tracker.agents.processes.php
+www/glpi/plugins/tracker/front/plugin_tracker.computer_history.form.php
+www/glpi/plugins/tracker/front/plugin_tracker.computer_loghistory.php
+www/glpi/plugins/tracker/front/plugin_tracker.discovery.php
+www/glpi/plugins/tracker/front/plugin_tracker.documentation.php
+www/glpi/plugins/tracker/front/plugin_tracker.errors.form.php
+www/glpi/plugins/tracker/front/plugin_tracker.functionalities.form.php
+www/glpi/plugins/tracker/front/plugin_tracker.install.php
+www/glpi/plugins/tracker/front/plugin_tracker.menu.php
+www/glpi/plugins/tracker/front/plugin_tracker.mib_management.form.php
+www/glpi/plugins/tracker/front/plugin_tracker.mib_management.php
+www/glpi/plugins/tracker/front/plugin_tracker.models.export.php
+www/glpi/plugins/tracker/front/plugin_tracker.models.form.php
+www/glpi/plugins/tracker/front/plugin_tracker.models.php
+www/glpi/plugins/tracker/front/plugin_tracker.printer_history.form.php
+www/glpi/plugins/tracker/front/plugin_tracker.printer_history_config.form.php
+www/glpi/plugins/tracker/front/plugin_tracker.printer_info.form.php
+www/glpi/plugins/tracker/front/plugin_tracker.processes.connection.php
+www/glpi/plugins/tracker/front/plugin_tracker.processes.errors.php
+www/glpi/plugins/tracker/front/plugin_tracker.processes.php
+www/glpi/plugins/tracker/front/plugin_tracker.profile.php
+www/glpi/plugins/tracker/front/plugin_tracker.rangeip.form.php
+www/glpi/plugins/tracker/front/plugin_tracker.rangeip.php
+www/glpi/plugins/tracker/front/plugin_tracker.report.php
+www/glpi/plugins/tracker/front/plugin_tracker.rules.form.php
+www/glpi/plugins/tracker/front/plugin_tracker.snmp_auth.form.php
+www/glpi/plugins/tracker/front/plugin_tracker.snmp_auth.php
+www/glpi/plugins/tracker/front/plugin_tracker.switch_info.form.php
+www/glpi/plugins/tracker/front/plugin_tracker.uninstall.php
+www/glpi/plugins/tracker/front/plugin_tracker.unknown.form.php
+www/glpi/plugins/tracker/front/plugin_tracker.unknown.php
+www/glpi/plugins/tracker/hook.php
+www/glpi/plugins/tracker/inc/device_serials.pm.php
+www/glpi/plugins/tracker/inc/plugin_tracker-1.0.0-empty.sql
+www/glpi/plugins/tracker/inc/plugin_tracker-1.1.0-empty.sql
+www/glpi/plugins/tracker/inc/plugin_tracker-1.1.0-update.sql
+www/glpi/plugins/tracker/inc/plugin_tracker-2.0.0-empty.sql
+www/glpi/plugins/tracker/inc/plugin_tracker-2.0.0-update.sql
+www/glpi/plugins/tracker/inc/plugin_tracker-2.0.2-empty.sql
+www/glpi/plugins/tracker/inc/plugin_tracker-2.0.2-update.sql
+www/glpi/plugins/tracker/inc/plugin_tracker-2.1.0-empty.sql
+www/glpi/plugins/tracker/inc/plugin_tracker-2.1.1-empty.sql
+www/glpi/plugins/tracker/inc/plugin_tracker-2.1.1-update.sql
+www/glpi/plugins/tracker/inc/plugin_tracker-2.1.2-empty.sql
+www/glpi/plugins/tracker/inc/plugin_tracker-2.1.3-empty.sql
+www/glpi/plugins/tracker/inc/plugin_tracker.config.classes.php
+www/glpi/plugins/tracker/inc/plugin_tracker.functions_auth.php
+www/glpi/plugins/tracker/inc/plugin_tracker.functions_dates.php
+www/glpi/plugins/tracker/inc/plugin_tracker.functions_db.php
+www/glpi/plugins/tracker/inc/plugin_tracker.functions_display.php
+www/glpi/plugins/tracker/inc/plugin_tracker.functions_dropdown.php
+www/glpi/plugins/tracker/inc/plugin_tracker.functions_ifmac.php
+www/glpi/plugins/tracker/inc/plugin_tracker.functions_massiveaction.php
+www/glpi/plugins/tracker/inc/plugin_tracker.functions_setup.php
+www/glpi/plugins/tracker/inc/plugin_tracker.loghistory.computer.class.php
+www/glpi/plugins/tracker/inc/plugin_tracker.profile.classes.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.agents.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.agents.processes.class.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.auth.classes.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.auth.function.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.classes.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.discovery.classes.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.discovery.function.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.errors.classes.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.function.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.history.classes.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.history.function.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.importexport.class.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.logs.class.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.mapping.constant.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.mib.classes.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.modele.classes.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.networking.classes.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.ocsng.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.ports.function.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.printers.classes.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.printers.history.classes.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.rangeip.class.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.thread.class.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.tmpconnections.class.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.unknown.class.php
+www/glpi/plugins/tracker/inc/plugin_tracker.snmp.walk.classes.php
+www/glpi/plugins/tracker/inc/plugin_tracker.xml.class.php
+www/glpi/plugins/tracker/inc_manufacturer/plugin_tracker.3com.classes.php
+www/glpi/plugins/tracker/inc_manufacturer/plugin_tracker.cisco.classes.php
+www/glpi/plugins/tracker/inc_manufacturer/plugin_tracker.foundry_networks.classes.php
+www/glpi/plugins/tracker/inc_manufacturer/plugin_tracker.hp.classes.php
+www/glpi/plugins/tracker/inc_manufacturer/plugin_tracker.oki.classes.php
+www/glpi/plugins/tracker/index.php
+www/glpi/plugins/tracker/locales/en_GB.php
+www/glpi/plugins/tracker/locales/fr_FR.php
+www/glpi/plugins/tracker/models/networking_3Com_Intellijack_225.xml
+www/glpi/plugins/tracker/models/networking_aironet_cisco.xml
+www/glpi/plugins/tracker/models/networking_cisco_Catalyst_2950.xml
+www/glpi/plugins/tracker/models/networking_cisco_generic.xml
+www/glpi/plugins/tracker/models/networking_cisco_older.xml
+www/glpi/plugins/tracker/models/networking_foundry_networks.xml
+www/glpi/plugins/tracker/models/networking_hp_procurve_generic.xml
+www/glpi/plugins/tracker/models/networking_switch_generic.xml
+www/glpi/plugins/tracker/models/printer_Dell_Laser_1720.xml
+www/glpi/plugins/tracker/models/printers_Canon_iR3180C.xml
+www/glpi/plugins/tracker/models/printers_Dell_1815.xml
+www/glpi/plugins/tracker/models/printers_Epson_Laser_Couleur.xml
+www/glpi/plugins/tracker/models/printers_HP_LaserJet_Color_generic.xml
+www/glpi/plugins/tracker/models/printers_HP_LaserJet_generic.xml
+www/glpi/plugins/tracker/models/printers_Lexmark_LaserJet_mono_T.xml
+www/glpi/plugins/tracker/models/printers_copy_ricoh_color.xml
+www/glpi/plugins/tracker/models/printers_copy_ricoh_nb.xml
+www/glpi/plugins/tracker/models/printers_generic.xml
+www/glpi/plugins/tracker/models/printers_generic_Canon_iR_color.xml
+www/glpi/plugins/tracker/models/printers_generic_Ricoh.xml
+www/glpi/plugins/tracker/models/printers_laser_color_Oki_C5250n.xml
+www/glpi/plugins/tracker/models/printers_laser_color_Oki_C5600.xml
+www/glpi/plugins/tracker/models/printers_laser_color_Ricoh.xml
+www/glpi/plugins/tracker/pics/bookmark_off.png
+www/glpi/plugins/tracker/pics/books.png
+www/glpi/plugins/tracker/pics/connected_trunk.png
+www/glpi/plugins/tracker/pics/export.png
+www/glpi/plugins/tracker/pics/menu_agents.png
+www/glpi/plugins/tracker/pics/menu_authentification.png
+www/glpi/plugins/tracker/pics/menu_discovery.png
+www/glpi/plugins/tracker/pics/menu_info_agents.png
+www/glpi/plugins/tracker/pics/menu_info_server.png
+www/glpi/plugins/tracker/pics/menu_mini_agents.png
+www/glpi/plugins/tracker/pics/menu_mini_authentification.png
+www/glpi/plugins/tracker/pics/menu_mini_discovery.png
+www/glpi/plugins/tracker/pics/menu_mini_info_agents.png
+www/glpi/plugins/tracker/pics/menu_mini_info_server.png
+www/glpi/plugins/tracker/pics/menu_mini_models.png
+www/glpi/plugins/tracker/pics/menu_mini_rangeip.png
+www/glpi/plugins/tracker/pics/menu_mini_rapports.png
+www/glpi/plugins/tracker/pics/menu_mini_unknown_device.png
+www/glpi/plugins/tracker/pics/menu_models.png
+www/glpi/plugins/tracker/pics/menu_rangeip.png
+www/glpi/plugins/tracker/pics/menu_rapports.png
+www/glpi/plugins/tracker/pics/menu_unknown_device.png
+www/glpi/plugins/tracker/pics/multiple_mac_addresses.png
+www/glpi/plugins/tracker/pics/ok2.png
+www/glpi/plugins/tracker/pics/orangebutton.png
+www/glpi/plugins/tracker/pics/port_trunk.png
+www/glpi/plugins/tracker/pics/wait.png
+www/glpi/plugins/tracker/pics/yellowbutton.png
+www/glpi/plugins/tracker/plugin_tracker.includes.php
+www/glpi/plugins/tracker/report/plugin_tracker.ports_date_connections.php
+www/glpi/plugins/tracker/report/plugin_tracker.switch_ports.history.php
+www/glpi/plugins/tracker/script.js
+www/glpi/plugins/tracker/scripts/.htaccess
+www/glpi/plugins/tracker/scripts/auth.xml
+www/glpi/plugins/tracker/scripts/run_bat.php
+www/glpi/plugins/tracker/scripts/tracker_fullsync.bat
+www/glpi/plugins/tracker/scripts/tracker_fullsync.php
+www/glpi/plugins/tracker/scripts/tracker_fullsync.sh
+www/glpi/plugins/tracker/setup.php
+www/glpi/plugins/tracker/tool/parselog.pl
+@dirrm www/glpi/plugins/tracker/tool
+@dirrm www/glpi/plugins/tracker/scripts
+@dirrm www/glpi/plugins/tracker/report
+@dirrm www/glpi/plugins/tracker/pics
+@dirrm www/glpi/plugins/tracker/models
+@dirrm www/glpi/plugins/tracker/locales
+@dirrm www/glpi/plugins/tracker/inc_manufacturer
+@dirrm www/glpi/plugins/tracker/inc
+@dirrm www/glpi/plugins/tracker/front
+@dirrm www/glpi/plugins/tracker/docs
+@dirrm www/glpi/plugins/tracker/ajax
+@dirrm www/glpi/plugins/tracker