Date: Sun, 1 Nov 2009 15:21:37 GMT From: David DURIEUX <d.durieux@siprossii.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/140168: Add new port glpi-plugins-tracker-server Message-ID: <200911011521.nA1FLbPZ067828@www.freebsd.org> Resent-Message-ID: <200911011530.nA1FU1b7075766@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 140168 >Category: ports >Synopsis: Add new port glpi-plugins-tracker-server >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Nov 01 15:30:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: David DURIEUX >Release: >Organization: siprossii >Environment: >Description: New port: net-mgmt/glpi-plugins-tracker-server Plugin of glpi to get informations of networking devices by SNMP >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # /usr/ports/net-mgmt/glpi-plugins-tracker-server/ # /usr/ports/net-mgmt/glpi-plugins-tracker-server/Makefile # /usr/ports/net-mgmt/glpi-plugins-tracker-server/pkg-descr # /usr/ports/net-mgmt/glpi-plugins-tracker-server/distinfo # /usr/ports/net-mgmt/glpi-plugins-tracker-server/pkg-message # /usr/ports/net-mgmt/glpi-plugins-tracker-server/pkg-plist # echo c - /usr/ports/net-mgmt/glpi-plugins-tracker-server/ mkdir -p /usr/ports/net-mgmt/glpi-plugins-tracker-server/ > /dev/null 2>&1 echo x - /usr/ports/net-mgmt/glpi-plugins-tracker-server/Makefile sed 's/^X//' >/usr/ports/net-mgmt/glpi-plugins-tracker-server/Makefile << 'b1a944234631391e191a2dfd8989e7b2' X# New ports collection makefile for: glpi-plugins-tracker-server X# Date created: 31 October 2009 X# Whom: ddurieux <d.durieux@siprossii.com> X# X# $FreeBSD$ X# X XPORTNAME= server XDISTVERSION= 2.1.3 XCATEGORIES= net-mgmt XMASTER_SITES= https://forge.indepnet.net/attachments/download/512/ \ X http://glpi.siprossii.com/distfiles/ XPKGNAMEPREFIX= glpi-plugins-tracker- XDISTNAME= glpi-tracker_server-2.1.3 X XMAINTAINER= d.durieux@siprossii.com XCOMMENT= Plugin of glpi to get informations of networking devices by SNMP X XUSE_PHP= zlib X XRUN_DEPENDS= glpi>=0.72:${PORTSDIR}/www/glpi X XWRKSRC= ${WRKDIR}/tracker XNO_BUILD= yes XPKGMESSAGE= ${WRKDIR}/pkg-message XCPIOARGS= --quiet -pdum -R X XGLPIPLUGINDIR?= www/glpi/plugins/tracker X X.include <bsd.port.pre.mk> X Xpost-configure: X @${SED} -e 's,%%PREFIX%%,${PREFIX},g' \ X -e 's,%%GLPIPLUGINDIR%%,${GLPIPLUGINDIR},g' pkg-message > ${PKGMESSAGE} X Xdo-install: X @${MKDIR} -m 0755 ${PREFIX}/${GLPIPLUGINDIR} X @cd ${WRKSRC} && ${FIND} * -print | ${CPIO} ${CPIOARGS} ${WWWOWN}:${WWWGRP} ${PREFIX}/${GLPIPLUGINDIR} X @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${GLPIPLUGINDIR} X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.post.mk> b1a944234631391e191a2dfd8989e7b2 echo x - /usr/ports/net-mgmt/glpi-plugins-tracker-server/pkg-descr sed 's/^X//' >/usr/ports/net-mgmt/glpi-plugins-tracker-server/pkg-descr << 'b6b8eb933b6de0eb1d6f0e19402e5134' Xglpi-tracker-server in a plugin for glpi witch make inventory of Xdevices by SNMP and get informations like serial number, name, Xcartridge and page counter of printers and on switchs, devices connected Xon each port. b6b8eb933b6de0eb1d6f0e19402e5134 echo x - /usr/ports/net-mgmt/glpi-plugins-tracker-server/distinfo sed 's/^X//' >/usr/ports/net-mgmt/glpi-plugins-tracker-server/distinfo << '36757890516b95077ca418465efd6dc4' XMD5 (glpi-tracker_server-2.1.3.tar.gz) = bda7bb4f12ab75e85ccfe23ff912fb56 XSHA256 (glpi-tracker_server-2.1.3.tar.gz) = c5d962a298df5f12fd624eb46a4cb869d3807281cddf0516f5e5b12336daf4b4 XSIZE (glpi-tracker_server-2.1.3.tar.gz) = 312924 36757890516b95077ca418465efd6dc4 echo x - /usr/ports/net-mgmt/glpi-plugins-tracker-server/pkg-message sed 's/^X//' >/usr/ports/net-mgmt/glpi-plugins-tracker-server/pkg-message << '5fc9b8d105721f9b4bb38c930202ca63' X***************************************************************** XAdd in cron table to run server script : X X*/5 * * * * www %%PREFIX%%/%%GLPIPLUGINDIR%%/scripts/tracker_fullsync.sh X XThis script will parse xml files get from agent and update glpi fields X X***************************************************************** 5fc9b8d105721f9b4bb38c930202ca63 echo x - /usr/ports/net-mgmt/glpi-plugins-tracker-server/pkg-plist sed 's/^X//' >/usr/ports/net-mgmt/glpi-plugins-tracker-server/pkg-plist << 'e7faed64995b4140a79c7971a5ad5ebd' Xwww/glpi/plugins/tracker/ajax/plugin_tracker.functionalities.tabs.php Xwww/glpi/plugins/tracker/docs/CHANGELOG.TXT Xwww/glpi/plugins/tracker/docs/LISEZMOI.TXT Xwww/glpi/plugins/tracker/docs/README.TXT Xwww/glpi/plugins/tracker/docs/ROADMAP.TXT Xwww/glpi/plugins/tracker/front/plugin_tracker.agents.diag.php Xwww/glpi/plugins/tracker/front/plugin_tracker.agents.export.php Xwww/glpi/plugins/tracker/front/plugin_tracker.agents.form.php Xwww/glpi/plugins/tracker/front/plugin_tracker.agents.php Xwww/glpi/plugins/tracker/front/plugin_tracker.agents.processes.php Xwww/glpi/plugins/tracker/front/plugin_tracker.computer_history.form.php Xwww/glpi/plugins/tracker/front/plugin_tracker.computer_loghistory.php Xwww/glpi/plugins/tracker/front/plugin_tracker.discovery.php Xwww/glpi/plugins/tracker/front/plugin_tracker.documentation.php Xwww/glpi/plugins/tracker/front/plugin_tracker.errors.form.php Xwww/glpi/plugins/tracker/front/plugin_tracker.functionalities.form.php Xwww/glpi/plugins/tracker/front/plugin_tracker.install.php Xwww/glpi/plugins/tracker/front/plugin_tracker.menu.php Xwww/glpi/plugins/tracker/front/plugin_tracker.mib_management.form.php Xwww/glpi/plugins/tracker/front/plugin_tracker.mib_management.php Xwww/glpi/plugins/tracker/front/plugin_tracker.models.export.php Xwww/glpi/plugins/tracker/front/plugin_tracker.models.form.php Xwww/glpi/plugins/tracker/front/plugin_tracker.models.php Xwww/glpi/plugins/tracker/front/plugin_tracker.printer_history.form.php Xwww/glpi/plugins/tracker/front/plugin_tracker.printer_history_config.form.php Xwww/glpi/plugins/tracker/front/plugin_tracker.printer_info.form.php Xwww/glpi/plugins/tracker/front/plugin_tracker.processes.connection.php Xwww/glpi/plugins/tracker/front/plugin_tracker.processes.errors.php Xwww/glpi/plugins/tracker/front/plugin_tracker.processes.php Xwww/glpi/plugins/tracker/front/plugin_tracker.profile.php Xwww/glpi/plugins/tracker/front/plugin_tracker.rangeip.form.php Xwww/glpi/plugins/tracker/front/plugin_tracker.rangeip.php Xwww/glpi/plugins/tracker/front/plugin_tracker.report.php Xwww/glpi/plugins/tracker/front/plugin_tracker.rules.form.php Xwww/glpi/plugins/tracker/front/plugin_tracker.snmp_auth.form.php Xwww/glpi/plugins/tracker/front/plugin_tracker.snmp_auth.php Xwww/glpi/plugins/tracker/front/plugin_tracker.switch_info.form.php Xwww/glpi/plugins/tracker/front/plugin_tracker.uninstall.php Xwww/glpi/plugins/tracker/front/plugin_tracker.unknown.form.php Xwww/glpi/plugins/tracker/front/plugin_tracker.unknown.php Xwww/glpi/plugins/tracker/hook.php Xwww/glpi/plugins/tracker/inc/device_serials.pm.php Xwww/glpi/plugins/tracker/inc/plugin_tracker-1.0.0-empty.sql Xwww/glpi/plugins/tracker/inc/plugin_tracker-1.1.0-empty.sql Xwww/glpi/plugins/tracker/inc/plugin_tracker-1.1.0-update.sql Xwww/glpi/plugins/tracker/inc/plugin_tracker-2.0.0-empty.sql Xwww/glpi/plugins/tracker/inc/plugin_tracker-2.0.0-update.sql Xwww/glpi/plugins/tracker/inc/plugin_tracker-2.0.2-empty.sql Xwww/glpi/plugins/tracker/inc/plugin_tracker-2.0.2-update.sql Xwww/glpi/plugins/tracker/inc/plugin_tracker-2.1.0-empty.sql Xwww/glpi/plugins/tracker/inc/plugin_tracker-2.1.1-empty.sql Xwww/glpi/plugins/tracker/inc/plugin_tracker-2.1.1-update.sql Xwww/glpi/plugins/tracker/inc/plugin_tracker-2.1.2-empty.sql Xwww/glpi/plugins/tracker/inc/plugin_tracker-2.1.3-empty.sql Xwww/glpi/plugins/tracker/inc/plugin_tracker.config.classes.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.functions_auth.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.functions_dates.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.functions_db.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.functions_display.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.functions_dropdown.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.functions_ifmac.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.functions_massiveaction.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.functions_setup.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.loghistory.computer.class.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.profile.classes.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.agents.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.agents.processes.class.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.auth.classes.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.auth.function.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.classes.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.discovery.classes.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.discovery.function.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.errors.classes.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.function.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.history.classes.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.history.function.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.importexport.class.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.logs.class.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.mapping.constant.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.mib.classes.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.modele.classes.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.networking.classes.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.ocsng.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.ports.function.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.printers.classes.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.printers.history.classes.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.rangeip.class.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.thread.class.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.tmpconnections.class.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.unknown.class.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.snmp.walk.classes.php Xwww/glpi/plugins/tracker/inc/plugin_tracker.xml.class.php Xwww/glpi/plugins/tracker/inc_manufacturer/plugin_tracker.3com.classes.php Xwww/glpi/plugins/tracker/inc_manufacturer/plugin_tracker.cisco.classes.php Xwww/glpi/plugins/tracker/inc_manufacturer/plugin_tracker.foundry_networks.classes.php Xwww/glpi/plugins/tracker/inc_manufacturer/plugin_tracker.hp.classes.php Xwww/glpi/plugins/tracker/inc_manufacturer/plugin_tracker.oki.classes.php Xwww/glpi/plugins/tracker/index.php Xwww/glpi/plugins/tracker/locales/en_GB.php Xwww/glpi/plugins/tracker/locales/fr_FR.php Xwww/glpi/plugins/tracker/models/networking_3Com_Intellijack_225.xml Xwww/glpi/plugins/tracker/models/networking_aironet_cisco.xml Xwww/glpi/plugins/tracker/models/networking_cisco_Catalyst_2950.xml Xwww/glpi/plugins/tracker/models/networking_cisco_generic.xml Xwww/glpi/plugins/tracker/models/networking_cisco_older.xml Xwww/glpi/plugins/tracker/models/networking_foundry_networks.xml Xwww/glpi/plugins/tracker/models/networking_hp_procurve_generic.xml Xwww/glpi/plugins/tracker/models/networking_switch_generic.xml Xwww/glpi/plugins/tracker/models/printer_Dell_Laser_1720.xml Xwww/glpi/plugins/tracker/models/printers_Canon_iR3180C.xml Xwww/glpi/plugins/tracker/models/printers_Dell_1815.xml Xwww/glpi/plugins/tracker/models/printers_Epson_Laser_Couleur.xml Xwww/glpi/plugins/tracker/models/printers_HP_LaserJet_Color_generic.xml Xwww/glpi/plugins/tracker/models/printers_HP_LaserJet_generic.xml Xwww/glpi/plugins/tracker/models/printers_Lexmark_LaserJet_mono_T.xml Xwww/glpi/plugins/tracker/models/printers_copy_ricoh_color.xml Xwww/glpi/plugins/tracker/models/printers_copy_ricoh_nb.xml Xwww/glpi/plugins/tracker/models/printers_generic.xml Xwww/glpi/plugins/tracker/models/printers_generic_Canon_iR_color.xml Xwww/glpi/plugins/tracker/models/printers_generic_Ricoh.xml Xwww/glpi/plugins/tracker/models/printers_laser_color_Oki_C5250n.xml Xwww/glpi/plugins/tracker/models/printers_laser_color_Oki_C5600.xml Xwww/glpi/plugins/tracker/models/printers_laser_color_Ricoh.xml Xwww/glpi/plugins/tracker/pics/bookmark_off.png Xwww/glpi/plugins/tracker/pics/books.png Xwww/glpi/plugins/tracker/pics/connected_trunk.png Xwww/glpi/plugins/tracker/pics/export.png Xwww/glpi/plugins/tracker/pics/menu_agents.png Xwww/glpi/plugins/tracker/pics/menu_authentification.png Xwww/glpi/plugins/tracker/pics/menu_discovery.png Xwww/glpi/plugins/tracker/pics/menu_info_agents.png Xwww/glpi/plugins/tracker/pics/menu_info_server.png Xwww/glpi/plugins/tracker/pics/menu_mini_agents.png Xwww/glpi/plugins/tracker/pics/menu_mini_authentification.png Xwww/glpi/plugins/tracker/pics/menu_mini_discovery.png Xwww/glpi/plugins/tracker/pics/menu_mini_info_agents.png Xwww/glpi/plugins/tracker/pics/menu_mini_info_server.png Xwww/glpi/plugins/tracker/pics/menu_mini_models.png Xwww/glpi/plugins/tracker/pics/menu_mini_rangeip.png Xwww/glpi/plugins/tracker/pics/menu_mini_rapports.png Xwww/glpi/plugins/tracker/pics/menu_mini_unknown_device.png Xwww/glpi/plugins/tracker/pics/menu_models.png Xwww/glpi/plugins/tracker/pics/menu_rangeip.png Xwww/glpi/plugins/tracker/pics/menu_rapports.png Xwww/glpi/plugins/tracker/pics/menu_unknown_device.png Xwww/glpi/plugins/tracker/pics/multiple_mac_addresses.png Xwww/glpi/plugins/tracker/pics/ok2.png Xwww/glpi/plugins/tracker/pics/orangebutton.png Xwww/glpi/plugins/tracker/pics/port_trunk.png Xwww/glpi/plugins/tracker/pics/wait.png Xwww/glpi/plugins/tracker/pics/yellowbutton.png Xwww/glpi/plugins/tracker/plugin_tracker.includes.php Xwww/glpi/plugins/tracker/report/plugin_tracker.ports_date_connections.php Xwww/glpi/plugins/tracker/report/plugin_tracker.switch_ports.history.php Xwww/glpi/plugins/tracker/script.js Xwww/glpi/plugins/tracker/scripts/.htaccess Xwww/glpi/plugins/tracker/scripts/auth.xml Xwww/glpi/plugins/tracker/scripts/run_bat.php Xwww/glpi/plugins/tracker/scripts/tracker_fullsync.bat Xwww/glpi/plugins/tracker/scripts/tracker_fullsync.php Xwww/glpi/plugins/tracker/scripts/tracker_fullsync.sh Xwww/glpi/plugins/tracker/setup.php Xwww/glpi/plugins/tracker/tool/parselog.pl X@dirrm www/glpi/plugins/tracker/tool X@dirrm www/glpi/plugins/tracker/scripts X@dirrm www/glpi/plugins/tracker/report X@dirrm www/glpi/plugins/tracker/pics X@dirrm www/glpi/plugins/tracker/models X@dirrm www/glpi/plugins/tracker/locales X@dirrm www/glpi/plugins/tracker/inc_manufacturer X@dirrm www/glpi/plugins/tracker/inc X@dirrm www/glpi/plugins/tracker/front X@dirrm www/glpi/plugins/tracker/docs X@dirrm www/glpi/plugins/tracker/ajax X@dirrm www/glpi/plugins/tracker e7faed64995b4140a79c7971a5ad5ebd exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911011521.nA1FLbPZ067828>