Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Dec 2010 16:28:52 GMT
From:      Marián Jamrich <jamrich.majo@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/153047: update eGroupware version
Message-ID:  <201012121628.oBCGSqIi044173@red.freebsd.org>
Resent-Message-ID: <201012121630.oBCGU9mL098093@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         153047
>Category:       ports
>Synopsis:       update eGroupware version
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 12 16:30:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Marián Jamrich
>Release:        8.2 prerelease
>Organization:
>Environment:
>Description:
eGroupWare is a multi-user, web-based groupware suite developed on a
custom set of PHP-based APIs. Currently available modules include:
email, addressbook, calendar, infolog (notes, to-do's, phone calls),
content management, forum, bookmarks, wiki.

WWW: http://www.egroupware.org/

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	eGroupware-1.8.001
#	eGroupware-1.8.001/files
#	eGroupware-1.8.001/files/pkg-message.in
#	eGroupware-1.8.001/Makefile
#	eGroupware-1.8.001/pkg-descr
#
echo c - eGroupware-1.8.001
mkdir -p eGroupware-1.8.001 > /dev/null 2>&1
echo c - eGroupware-1.8.001/files
mkdir -p eGroupware-1.8.001/files > /dev/null 2>&1
echo x - eGroupware-1.8.001/files/pkg-message.in
sed 's/^X//' >eGroupware-1.8.001/files/pkg-message.in << '409ef027dc9279d21e818fff3b8ea464'
X==============================================================
XPOST-INSTALL CONFIGURATION FOR eGroupware
X
X
XMake sure in your php.ini session.save_path='/tmp' is writable
Xupload_max_filesize >= 8M
X
XIf you are usin => php5.3 then you must set timezone in your php.ini:
X(e.g. date.timezone = "Asia/Shanghai")
X
X1) Setup your MySQL database:
X
Xmysql -u root -p'mysql_password'
Xcreate database egroupware character set utf8;
Xcreate user 'egroupware'@'localhost' identified by 'my_password';
Xgrant all privileges on egroupware.* to 'egroupware'@'localhost' identified by 'my_password';
X
X2) Add the following to your Apache configuration, and
X   restart the server:
X
X   ### Add the AcceptPathInfo directive only for Apache 2.0.30 or later.
X   Alias /eg %%PREFIX%%/%%EG_DIR%%/
X   AcceptPathInfo On
X   <Directory %%PREFIX%%/%%EG_DIR%%>
X      AllowOverride None
X      Order Allow,Deny
X      Allow from all 
X   </Directory>
X   <Directory %%PREFIX%%/%%EG_DATA%%>
X      AllowOverride None
X      Order Allow,Deny
X      Deny from all 
X   </Directory>
X
X3) Visit your eGroupware site with a browser (i.e.,
X   http://your.server.com/egroupware/), and you should
X   be taken to the install.php script, which will lead
X   you through creating a config file and then
X   setting up eGroupware, creating an admin account, etc.
X
X4) Install egw-pear:
X
Xa) Download: http://sourceforge.net/projects/egroupware/files/eGroupware-1.8/eGroupware-1.8.001.20101201/eGroupware-egw-pear-1.8.001.20101201.tar.bz2/download
Xb) Extract
Xc) Copy to eGroupware document root
Xd) Run: http://your.server.com/egroupware/setup 
X...and install it!
X
XFor more information, see the INSTALL DOCUMENTATION:
X
Xhttp://www.egroupware.org/index.php?page_name=wiki&lang=&wikipage=ManualSetup
X
X======================================================
409ef027dc9279d21e818fff3b8ea464
echo x - eGroupware-1.8.001/Makefile
sed 's/^X//' >eGroupware-1.8.001/Makefile << '54b9e3af17ff7ef6372ccb77d4acac74'
X# New ports collection makefile for:	egroupware
X# Date created:        12 December 2010
X# Whom:                Marian Jamrich <jamrich.majo@gmail.com>
X#
X# $FreeBSD:$
X
XPORTNAME=	eGroupware
XPORTVERSION=	1.8.001
XCATEGORIES=	deskutils
XMASTER_SITES=	http://www.bwelectronics.sk/jamrich/ports/
X
XMAINTAINER=	jamrich.majo@gmail.com
XCOMMENT=	A web based GroupWare system
X
XBUILD_DEPENDS=	${PEARDIR}/Auth/SASL.php:${PORTSDIR}/security/pear-Auth_SASL \
X		${PEARDIR}/Net/IMAP.php:${PORTSDIR}/mail/pear-Net_IMAP \
X		${PEARDIR}/Net/Sieve.php:${PORTSDIR}/net/pear-Net_Sieve \
X		${PEARDIR}/XML/Feed/Parser.php:${PORTSDIR}/textproc/pear-XML_Feed_Parser \
X		${PEARDIR}/Log/null.php:${PORTSDIR}/sysutils/pear-Log \
X		${PEARDIR}/HTTP/WebDAV/Server.php:${PORTSDIR}/www/pear-HTTP_WebDAV_Server
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XPEARDIR=	${LOCALBASE}/share/pear
XUSE_BZIP2=	yes
XUSE_PHP=	session ctype
XNO_BUILD=	yes
XPLIST=		${WRKDIR}/plist
XSUB_FILES=	pkg-message
XSUB_LIST=	EG_DIR=${EG_DIR} \
X		EG_DATA=${EG_DATA}
X
XOPTIONS=	MYSQL "Use MySQL database" on \
X		POSTGRE "Use PostgreSQL Database" off \
X		IMAP "Enable Mail support in eGroupware" on \
X		GD "Enable graphic support (needs xorg-libraries)" on \
X		LDAP "Contacts can be stored using OpenLDAP" off \
X		MBSTRING "Support for complete UTF-8 charsets" on
X
X.include <bsd.port.pre.mk>
X.if defined(WITH_MYSQL)
XUSE_PHP+=	mysql
XUSE_PHP+=	pdo_mysql
X.endif
X.if defined(WITH_POSTGRE)
XUSE_PHP+=	pgsql
X#USE_PHP+=	pdo_pgsql
XRUN_DEPENDS+=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_pgsql.so:${PORTSDIR}/databases/php5-pdo_pgsql
X.endif
X.if defined(WITH_MBSTRING)
XUSE_PHP+=	mbstring
X.endif
X.if defined(WITH_IMAP)
XUSE_PHP+=	imap
X.endif
X.if defined(WITH_GD)
XUSE_PHP+=	gd
X.endif
X.if defined(WITH_LDAP)
XUSE_PHP+=	ldap
X.endif
X
XWRKSRC=	${WRKDIR}/egroupware
XEG_DIR=	www/egroupware
XEG_WWWDIR=	${PREFIX}/${EG_DIR}
XEG_DATA=	www/egdata
XEG_DATADIR=	${PREFIX}/www/egdata
XEG_VAR=		/var/lib/eg/default
X
Xpre-install:
X	@${FIND} -s -d ${WRKSRC} -type f | ${SED} "s#${WRKSRC}#${EG_DIR}#g" >${PLIST}
X	@${FIND} -s -d ${WRKSRC} -type d  | ${SED} "s#${WRKSRC}#@dirrm ${EG_DIR}#g" >> ${PLIST}
X#	@${ECHO} @dirrm ${EG_DATA}/files >> ${PLIST}
X#	@${ECHO} @dirrm ${EG_DATA}/backup >> ${PLIST}
X	@${ECHO} @dirrm ${EG_DATA} >> ${PLIST}
X
Xdo-install:
X	${MKDIR} ${EG_WWWDIR}
X	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${EG_WWWDIR}
X	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${EG_WWWDIR}
X	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${EG_WWWDIR}' \
X		>> ${TMPPLIST}
X	${CHMOD} -R 755 ${EG_WWWDIR}
X	@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${EG_WWWDIR}' >> ${TMPPLIST}
X
X	${MKDIR} ${EG_DATADIR}
X#	${MKDIR} ${EG_DATADIR}/files
X#	${MKDIR} ${EG_DATADIR}/backup
X	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${EG_DATADIR}
X	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${EG_DATADIR}' \
X		>> ${TMPPLIST}
X	${CHMOD} -R 755 ${EG_DATADIR}
X	@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${EG_DATADIR}' >> ${TMPPLIST}
X
X	${MKDIR} {EG_VAR}/files
X	${MKDIR} {EG_VAR}/backup
X	@${CHOWN} -R ${WWWOWN}:${WWWGRP} /var/lib/eg/default/files
X	@${CHOWN} -R ${WWWOWN}:${WWWGRP} /var/lib/eg/default/backup
X
Xpost-install:
X	${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
54b9e3af17ff7ef6372ccb77d4acac74
echo x - eGroupware-1.8.001/pkg-descr
sed 's/^X//' >eGroupware-1.8.001/pkg-descr << '66ec929a4ae3de1c5f91abd5e7cc6ee4'
XeGroupWare is a multi-user, web-based groupware suite developed on a
Xcustom set of PHP-based APIs. Currently available modules include:
Xemail, addressbook, calendar, infolog (notes, to-do's, phone calls),
Xcontent management, forum, bookmarks, wiki.
X
XWWW: http://www.egroupware.org/
66ec929a4ae3de1c5f91abd5e7cc6ee4
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012121628.oBCGSqIi044173>