pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www GLPI is a web based Information Resource Manager a...
details: https://anonhg.NetBSD.org/pkgsrc/rev/44700d611037
branches: trunk
changeset: 365495:44700d611037
user: hauke <hauke%pkgsrc.org@localhost>
date: Tue Jul 18 14:29:51 2017 +0000
description:
GLPI is a web based Information Resource Manager application with an
additional Administration Interface. You can use it to build up a
database with an inventory for your company (computers, software,
printers, etc).
Its enhanced functionality makes daily life for administrators easier.
Besides an inventory, it provides a trouble-ticket system, job
tracking with mail notification, and methods to build a database with
basic information about your network-topology.
<http://glpi-project.org/>
diffstat:
www/Makefile | 3 +-
www/php-glpi/DESCR | 8 +
www/php-glpi/MESSAGE | 12 +
www/php-glpi/Makefile | 98 +
www/php-glpi/PLIST | 3313 ++++++++++++++++++++++++++++++++++++
www/php-glpi/distinfo | 6 +
www/php-glpi/files/config_path.php | 35 +
www/php-glpi/files/crontab.sample | 9 +
www/php-glpi/files/httpd-glpi.conf | 98 +
9 files changed, 3581 insertions(+), 1 deletions(-)
diffs (truncated from 3628 to 300 lines):
diff -r 8ef3645c2dac -r 44700d611037 www/Makefile
--- a/www/Makefile Tue Jul 18 14:28:40 2017 +0000
+++ b/www/Makefile Tue Jul 18 14:29:51 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1258 2017/07/16 19:04:16 adam Exp $
+# $NetBSD: Makefile,v 1.1259 2017/07/18 14:29:51 hauke Exp $
#
COMMENT= Packages related to the World Wide Web
@@ -571,6 +571,7 @@
SUBDIR+= php-concrete5
SUBDIR+= php-curl
SUBDIR+= php-fpm
+SUBDIR+= php-glpi
SUBDIR+= php-http
SUBDIR+= php-http3
SUBDIR+= php-ja-wordpress
diff -r 8ef3645c2dac -r 44700d611037 www/php-glpi/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php-glpi/DESCR Tue Jul 18 14:29:51 2017 +0000
@@ -0,0 +1,8 @@
+GLPI is an Information Resource Manager application with an additional
+Administration Interface. You can use it to build up a database with
+an inventory for your company (computers, software, printers, etc).
+
+Its enhanced functionality makes daily life for administrators easier.
+Besides an inventory, it provides a trouble-ticket system, job
+tracking with mail notification, and methods to build a database with
+basic information about your network-topology.
diff -r 8ef3645c2dac -r 44700d611037 www/php-glpi/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php-glpi/MESSAGE Tue Jul 18 14:29:51 2017 +0000
@@ -0,0 +1,12 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2017/07/18 14:29:51 hauke Exp $
+
+To set up or upgrade GLPI, activate the setup page:
+
+cd ${PREFIX}/share/glpi/install && mv install.php.disabled install.php
+
+Then, open <http://localhost/glpi>.
+
+Rename install.php when you are done.
+
+===========================================================================
diff -r 8ef3645c2dac -r 44700d611037 www/php-glpi/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php-glpi/Makefile Tue Jul 18 14:29:51 2017 +0000
@@ -0,0 +1,98 @@
+# $NetBSD: Makefile,v 1.1 2017/07/18 14:29:51 hauke Exp $
+
+DISTNAME= glpi-${GLPI_VERSION}
+GLPI_VERSION= 9.1.5
+CATEGORIES= www
+
+MASTER_SITES= https://github.com/glpi-project/glpi/releases/download/${GLPI_VERSION}/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= hauke%NetBSD.org@localhost
+HOMEPAGE= http://glpi-project.org/
+COMMENT= IT inventory management software
+LICENSE= gnu-gpl-v2
+
+DEPENDS+= ${PHP_PKG_PREFIX}-zlib>=5.4:../../archivers/php-zlib
+DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.4:../../converters/php-mbstring
+DEPENDS+= ${PHP_PKG_PREFIX}-ldap>=5.4:../../databases/php-ldap
+DEPENDS+= ${PHP_PKG_PREFIX}-mysqli>=5.4:../../databases/php-mysqli
+DEPENDS+= ${PHP_PKG_PREFIX}-opcache>=5.4:../../devel/php-opcache
+DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.4:../../graphics/php-gd
+DEPENDS+= ${PHP_PKG_PREFIX}-imap>=5.4:../../mail/php-imap
+DEPENDS+= ${PHP_PKG_PREFIX}-xmlrpc>=5.4:../../net/php-xmlrpc
+DEPENDS+= ${PHP_PKG_PREFIX}-json>=5.4:../../textproc/php-json
+DEPENDS+= ${PHP_PKG_PREFIX}-apcu_bc>=1.0:../../www/php-apcu_bc
+DEPENDS+= ${PHP_PKG_PREFIX}-curl>=5.4:../../www/php-curl
+DEPENDS+= freefont-ttf-[0-9]*:../../fonts/freefont-ttf
+
+NO_BUILD= yes
+USE_LANGUAGES= # none
+
+USE_TOOLS+= chmod find pax
+
+BUILD_DEFS+= APACHE_USER APACHE_GROUP VARBASE
+
+.include "../../mk/bsd.prefs.mk"
+
+APACHE_USER?= www
+APACHE_GROUP?= www
+
+WRKSRC= ${WRKDIR}/glpi
+
+# Config dir managed through web interface (move under {VARBASE}/glpi?)
+PKG_SYSCONFSUBDIR= glpi
+PKG_SYSCONFDIR_PERMS= ${APACHE_USER} ${APACHE_GROUP} 0700
+
+EGDIR= share/examples/glpi
+GLPI_DIR= share/glpi
+
+.for ddd in based_config.php config.php config_path.php define.php
+CONF_FILES+= ${EGDIR}/${ddd} ${PKG_SYSCONFDIR}/${ddd}
+.endfor
+
+MAKE_DIRS_PERMS+= ${VARBASE}/glpi ${APACHE_USER} ${APACHE_GROUP} 0700
+.for ddd in _cron _dumps _graphs _lock _log _pictures _plugins \
+ _rss _sessions _tmp _uploads
+MAKE_DIRS_PERMS+= ${VARBASE}/glpi/${ddd} \
+ ${APACHE_USER} ${APACHE_GROUP} 0750
+.endfor
+MAKE_DIRS_PERMS+= ${VARBASE}/log/glpi \
+ ${APACHE_USER} ${REAL_ROOT_GROUP} 0750
+
+SUBST_CLASSES+= path
+SUBST_STAGE.path= post-configure
+SUBST_MESSAGE.path= Fixing paths.
+SUBST_VARS.path= PREFIX VARBASE PKG_SYSCONFDIR APACHE_USER
+SUBST_FILES.path= config/config_path.php
+SUBST_FILES.path+= config/crontab.sample
+SUBST_FILES.path+= config/httpd-glpi.conf
+
+REPLACE_INTERPRETER+= php
+REPLACE.php.old= .*php
+REPLACE.php.new= ${PREFIX}/bin/php
+REPLACE_FILES.php= vendor/tecnickcom/tcpdf/tools/tcpdf_addfont.php
+.for ddd in bench.php fetch_windows_zones.php generate_vcards \
+ generateicalendardata.php vobject
+REPLACE_FILES.php+= vendor/sabre/vobject/bin/${ddd}
+.endfor
+
+INSTALLATION_DIRS+= ${GLPI_DIR} ${EGDIR}
+
+post-extract:
+ for ddd in config_path.php crontab.sample httpd-glpi.conf ; do \
+ ${CP} ${FILESDIR}/$${ddd} ${WRKSRC}/config ; \
+ done
+ for ddd in ajax front lib locales pics vendor ; do \
+ find ${WRKSRC}/$${ddd} -type f -exec ${CHMOD} ugo-x \{\} \; ; \
+ done
+ cd ${WRKSRC}/install && ${MV} install.php install.php.disabled
+ ${CHMOD} ugo-x ${WRKSRC}/scripts/.htaccess
+
+do-install:
+ cd ${WRKSRC}/config && ${PAX} -rw * ${DESTDIR}${PREFIX}/${EGDIR}
+ cd ${WRKSRC} && ${PAX} -rw . ${DESTDIR}${PREFIX}/${GLPI_DIR}
+
+.include "../../mk/apache.mk"
+.include "../../mk/mysql.buildlink3.mk"
+.include "../../lang/php/phpversion.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8ef3645c2dac -r 44700d611037 www/php-glpi/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php-glpi/PLIST Tue Jul 18 14:29:51 2017 +0000
@@ -0,0 +1,3313 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/18 14:29:51 hauke Exp $
+share/examples/glpi/based_config.php
+share/examples/glpi/config.php
+share/examples/glpi/config_path.php
+share/examples/glpi/crontab.sample
+share/examples/glpi/define.php
+share/examples/glpi/httpd-glpi.conf
+share/glpi/.htaccess
+share/glpi/AUTHORS.txt
+share/glpi/CHANGELOG.txt
+share/glpi/COPYING.txt
+share/glpi/LISEZMOI.txt
+share/glpi/README.md
+share/glpi/ajax/autocompletion.php
+share/glpi/ajax/comments.php
+share/glpi/ajax/common.tabs.php
+share/glpi/ajax/displayMessageAfterRedirect.php
+share/glpi/ajax/dropdownAllItems.php
+share/glpi/ajax/dropdownConnect.php
+share/glpi/ajax/dropdownConnectNetworkPort.php
+share/glpi/ajax/dropdownConnectNetworkPortDeviceType.php
+share/glpi/ajax/dropdownDelegationUsers.php
+share/glpi/ajax/dropdownFieldsBlacklist.php
+share/glpi/ajax/dropdownInstallVersion.php
+share/glpi/ajax/dropdownItilActors.php
+share/glpi/ajax/dropdownMassiveAction.php
+share/glpi/ajax/dropdownMassiveActionAddActor.php
+share/glpi/ajax/dropdownMassiveActionAddValidator.php
+share/glpi/ajax/dropdownMassiveActionAuthMethods.php
+share/glpi/ajax/dropdownMassiveActionField.php
+share/glpi/ajax/dropdownNotificationEvent.php
+share/glpi/ajax/dropdownNotificationTemplate.php
+share/glpi/ajax/dropdownRubDocument.php
+share/glpi/ajax/dropdownShowIPNetwork.php
+share/glpi/ajax/dropdownSoftwareLicense.php
+share/glpi/ajax/dropdownTicketCategories.php
+share/glpi/ajax/dropdownTrackingDeviceType.php
+share/glpi/ajax/dropdownUnicityFields.php
+share/glpi/ajax/dropdownValidator.php
+share/glpi/ajax/dropdownValuesBlacklist.php
+share/glpi/ajax/entitytree.php
+share/glpi/ajax/entitytreesearch.php
+share/glpi/ajax/entitytreesons.php
+share/glpi/ajax/genericdate.php
+share/glpi/ajax/getDropdownConnect.php
+share/glpi/ajax/getDropdownFindNum.php
+share/glpi/ajax/getDropdownNetpoint.php
+share/glpi/ajax/getDropdownNumber.php
+share/glpi/ajax/getDropdownUsers.php
+share/glpi/ajax/getDropdownValue.php
+share/glpi/ajax/getFileTag.php
+share/glpi/ajax/helpdesk_observer.php
+share/glpi/ajax/index.php
+share/glpi/ajax/inputtext.php
+share/glpi/ajax/itemTicket.php
+share/glpi/ajax/ldapdaterestriction.php
+share/glpi/ajax/massiveaction.php
+share/glpi/ajax/planning.php
+share/glpi/ajax/planningcheck.php
+share/glpi/ajax/planningend.php
+share/glpi/ajax/priority.php
+share/glpi/ajax/private_public.php
+share/glpi/ajax/resaperiod.php
+share/glpi/ajax/ruleaction.php
+share/glpi/ajax/ruleactionvalue.php
+share/glpi/ajax/rulecriteria.php
+share/glpi/ajax/rulecriteriavalue.php
+share/glpi/ajax/searchmetarow.php
+share/glpi/ajax/searchoption.php
+share/glpi/ajax/searchoptionvalue.php
+share/glpi/ajax/searchrow.php
+share/glpi/ajax/selectUnaffectedOrNewItem_Device.php
+share/glpi/ajax/solution.php
+share/glpi/ajax/subvisibility.php
+share/glpi/ajax/task.php
+share/glpi/ajax/textarea.php
+share/glpi/ajax/ticketassigninformation.php
+share/glpi/ajax/ticketiteminformation.php
+share/glpi/ajax/ticketsatisfaction.php
+share/glpi/ajax/timeline.php
+share/glpi/ajax/transfers.php
+share/glpi/ajax/uemailUpdate.php
+share/glpi/ajax/unlockobject.php
+share/glpi/ajax/updateMetaSearch.php
+share/glpi/ajax/updateTrackingDeviceType.php
+share/glpi/ajax/updateTranslationFields.php
+share/glpi/ajax/updatecurrenttab.php
+share/glpi/ajax/viewsubitem.php
+share/glpi/ajax/visibility.php
+share/glpi/apirest.md
+share/glpi/apirest.php
+share/glpi/apixmlrpc.php
+share/glpi/config/.htaccess
+share/glpi/config/based_config.php
+share/glpi/config/config.php
+share/glpi/config/config_path.php
+share/glpi/config/crontab.sample
+share/glpi/config/define.php
+share/glpi/config/httpd-glpi.conf
+share/glpi/css/highcontrast.css
+share/glpi/css/jquery-glpi.css
+share/glpi/css/jstree/d.gif
+share/glpi/css/jstree/d.png
+share/glpi/css/jstree/dot_for_ie.gif
+share/glpi/css/jstree/style.css
+share/glpi/css/jstree/throbber.gif
+share/glpi/css/nothing.gif
+share/glpi/css/palettes/aerialgreen.css
+share/glpi/css/palettes/auror.css
+share/glpi/css/palettes/automn.css
+share/glpi/css/palettes/classic.css
+share/glpi/css/palettes/clockworkorange.css
+share/glpi/css/palettes/dark.css
+share/glpi/css/palettes/flood.css
+share/glpi/css/palettes/greenflat.css
+share/glpi/css/palettes/hipster.css
+share/glpi/css/palettes/icecream.css
+share/glpi/css/palettes/lightblue.css
+share/glpi/css/palettes/premiumred.css
+share/glpi/css/palettes/previews/aerialgreen.png
+share/glpi/css/palettes/previews/auror.png
+share/glpi/css/palettes/previews/automn.png
+share/glpi/css/palettes/previews/classic.png
+share/glpi/css/palettes/previews/clockworkorange.png
+share/glpi/css/palettes/previews/dark.png
+share/glpi/css/palettes/previews/flood.png
+share/glpi/css/palettes/previews/greenflat.png
+share/glpi/css/palettes/previews/hipster.png
+share/glpi/css/palettes/previews/icecream.png
+share/glpi/css/palettes/previews/lightblue.png
+share/glpi/css/palettes/previews/premiumred.png
+share/glpi/css/palettes/previews/purplehaze.png
+share/glpi/css/palettes/previews/teclib.png
+share/glpi/css/palettes/previews/vintage.png
+share/glpi/css/palettes/purplehaze.css
+share/glpi/css/palettes/teclib.css
+share/glpi/css/palettes/vintage.css
+share/glpi/css/print.css
+share/glpi/css/style_install.css
+share/glpi/css/styles.css
+share/glpi/css/styles_ie.css
+share/glpi/css/tab-scroller-menu.css
+share/glpi/css/win_png.htc
+share/glpi/files/.htaccess
+share/glpi/files/_cron/remove.txt
+share/glpi/files/_dumps/remove.txt
+share/glpi/files/_graphs/remove.txt
+share/glpi/files/_lock/remove.txt
+share/glpi/files/_log/remove.txt
Home |
Main Index |
Thread Index |
Old Index