From owner-svn-ports-head@FreeBSD.ORG Tue Apr 28 05:42:29 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2FB6EF46; Tue, 28 Apr 2015 05:42:29 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0FD22162D; Tue, 28 Apr 2015 05:42:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t3S5gSRp050862; Tue, 28 Apr 2015 05:42:28 GMT (envelope-from vg@FreeBSD.org) Received: (from vg@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t3S5gRTf050856; Tue, 28 Apr 2015 05:42:27 GMT (envelope-from vg@FreeBSD.org) Message-Id: <201504280542.t3S5gRTf050856@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: vg set sender to vg@FreeBSD.org using -f From: Veniamin Gvozdikov Date: Tue, 28 Apr 2015 05:42:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r384886 - in head/www: . itop itop/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Apr 2015 05:42:29 -0000 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@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@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 + +.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 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@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/