svn commit: r384886 - in head/www: . itop itop/files
Veniamin Gvozdikov
vg at FreeBSD.org
Tue Apr 28 05:42:29 UTC 2015
Author: vg
Date: Tue Apr 28 05:42:27 2015
New Revision: 384886
URL: https://svnweb.freebsd.org/changeset/ports/384886
Log:
New port: www/itop
iTop stands for IT Operational Portal.
iTop is an Open Source web application for the day to day operations
of an IT environment. iTop was designed with the ITIL best practices
in mind but does not dictate any specific process, the application
is flexible enough to adapt to your processes whether you want rather
informal and pragmatic processes or a strict ITIL aligned behavior.
WWW: http://www.combodo.com/
PR: ports/199646
Submitted by: olevole at olevole.ru
Added:
head/www/itop/
head/www/itop/Makefile (contents, props changed)
head/www/itop/distinfo (contents, props changed)
head/www/itop/files/
head/www/itop/files/pkg-message.in (contents, props changed)
head/www/itop/pkg-descr (contents, props changed)
Modified:
head/www/Makefile
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Tue Apr 28 05:40:56 2015 (r384885)
+++ head/www/Makefile Tue Apr 28 05:42:27 2015 (r384886)
@@ -331,6 +331,7 @@
SUBDIR += interchange
SUBDIR += iojs
SUBDIR += ismail
+ SUBDIR += itop
SUBDIR += iwebcal
SUBDIR += jawstats
SUBDIR += jdresolve
Added: head/www/itop/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/itop/Makefile Tue Apr 28 05:42:27 2015 (r384886)
@@ -0,0 +1,54 @@
+# $FreeBSD$
+
+PORTNAME= itop
+PORTVERSION= 2.1.0
+CATEGORIES= www
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
+DISTNAME= iTop-${PORTVERSION}-2127
+
+MAINTAINER= olevole at olevole.ru
+COMMENT= Simple, web based IT Service Management tool
+
+LICENSE= AGPLv3
+
+USES= zip
+USE_PHP= ctype iconv mbstring pcre session xml zlib readline \
+ dom simplexml hash json soap mcrypt filter
+
+NO_BUILD= yes
+
+ITOPDIR= ${WWWDIR}/${PORTNAME}
+SUB_FILES= pkg-message
+
+OPTIONS_DEFINE= MYSQL PGSQL LDAP
+OPTIONS_DEFAULT=MYSQL
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MMYSQL}
+USE_MYSQL= client
+USE_PHP+= mysql mysqli
+.endif
+
+.if ${PORT_OPTIONS:MPGSQL}
+USE_PHP+= pgsql
+.endif
+
+.if ${PORT_OPTIONS:MLDAP}
+USE_PHP+= ldap
+.endif
+
+post-install:
+ @${ECHO_CMD} "@owner ${WWWOWN}" >> ${TMPPLIST}
+ @${ECHO_CMD} "@group ${WWWGRP}" >> ${TMPPLIST}
+ @${FIND} -s ${STAGEDIR}${WWWDIR} -not -type d | ${SORT} | \
+ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST}
+ @${ECHO} @dir ${WWWDIR} >> ${TMPPLIST}
+ @${ECHO_CMD} "@group" >> ${TMPPLIST}
+ @${ECHO_CMD} "@owner" >> ${TMPPLIST}
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${WWWDIR}
+ ${CP} -a ${WRKDIR}/web/ ${STAGEDIR}${WWWDIR}
+
+.include <bsd.port.mk>
Added: head/www/itop/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/itop/distinfo Tue Apr 28 05:42:27 2015 (r384886)
@@ -0,0 +1,2 @@
+SHA256 (iTop-2.1.0-2127.zip) = b6816809b1ba9f4ec2aff13ae029eefeaef880329fb406b5b509ad0ad43f0764
+SIZE (iTop-2.1.0-2127.zip) = 6334005
Added: head/www/itop/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/itop/files/pkg-message.in Tue Apr 28 05:42:27 2015 (r384886)
@@ -0,0 +1,27 @@
+Installation:
+
+1. Ensure that all the scripts have the appropriate owner (if PHP is running in
+ safe mode, having some scripts with an owner different from the owner of
+ other scripts will be a problem).
+ Check the access rights on the files/folders: the setup needs to have write
+ access either to the whole directory where iTop is installed or to the following
+ subdirectories (create them if needed)
+ - conf
+ - data
+ - env-production
+ - log
+
+2. You now need to create the DB where iTop is going to live
+
+ PostgreSQL::
+ createdb -U pgsql -W itop
+ createuser -U pgsql -P -e itop
+ createlang -U pgsql -W plpgsql itop
+
+ MySQL::
+ mysqladmin -u dba_user -p create itop
+ mysql -u dba_user -p
+ GRANT ALL PRIVILEGES ON itop.* TO itop at localhost IDENTIFIED BY 'passwd';
+
+3. Open the main iTop directory in your web browser. iTop should then display
+ the setup instructions on screen.
Added: head/www/itop/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/itop/pkg-descr Tue Apr 28 05:42:27 2015 (r384886)
@@ -0,0 +1,8 @@
+iTop stands for IT Operational Portal.
+iTop is an Open Source web application for the day to day operations
+of an IT environment. iTop was designed with the ITIL best practices
+in mind but does not dictate any specific process, the application
+is flexible enough to adapt to your processes whether you want rather
+informal and pragmatic processes or a strict ITIL aligned behavior.
+
+WWW: http://www.combodo.com/
More information about the svn-ports-head
mailing list