Import zurmo-0.7.10.
Zurmo is an open source CRM application written in PHP utilizing jQuery, Yii Framework, and RedBeanPHP. The goal with Zurmo is to provide an easy-to-use, easy-to-customize CRM application that can be adapted to any business use case. Special care has been taken to think through many different use cases with a system designed to provide a high degree of flexibility, covering a wide variety of use cases out of the box. <...> ok jasper@
This commit is contained in:
parent
cc7efd5dcf
commit
23bfa3fa24
54
www/zurmo/Makefile
Normal file
54
www/zurmo/Makefile
Normal file
@ -0,0 +1,54 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/08/04 15:19:32 ajacoutot Exp $
|
||||
|
||||
COMMENT= customer relationship management (CRM) software
|
||||
|
||||
V= 0.7.10
|
||||
DISTNAME= zurmo-stable-${V}.2b36c58196f9
|
||||
PKGNAME= zurmo-${V}
|
||||
|
||||
CATEGORIES= www productivity
|
||||
|
||||
HOMEPAGE= http://zurmo.org/
|
||||
|
||||
# GPLv3
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://dev.zurmo.com/downloads/
|
||||
|
||||
NO_BUILD= Yes
|
||||
NO_REGRESS= Yes
|
||||
PKG_ARCH= *
|
||||
|
||||
PREFIX= /var/www
|
||||
INSTDIR= ${PREFIX}/zurmo
|
||||
TINSTDIR= ${TRUEPREFIX}/zurmo
|
||||
SUBST_VARS= INSTDIR TINSTDIR
|
||||
|
||||
MODULES= lang/php
|
||||
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-curl \
|
||||
lang/php/${MODPHP_VERSION},-imap \
|
||||
lang/php/${MODPHP_VERSION},-mysql \
|
||||
lang/php/${MODPHP_VERSION},-pdo_mysql \
|
||||
lang/php/${MODPHP_VERSION},-soap \
|
||||
www/pecl-APC
|
||||
|
||||
# XXX needs memcached >= 2.2.0
|
||||
#RUN_DEPENDS += misc/memcached
|
||||
|
||||
do-extract:
|
||||
mkdir ${WRKDIST}
|
||||
${GZIP_CMD} -dc ${FULLDISTDIR}/${DISTFILES} | ${TAR} xf - -C ${WRKDIST}
|
||||
|
||||
do-install:
|
||||
cp -Rp ${WRKDIST} ${INSTDIR}
|
||||
# "Remove the api test entry script for production use."
|
||||
# "If this website is in production mode, please remove the app/test.php file."
|
||||
rm ${PREFIX}/zurmo/app/test.php
|
||||
${SUBST_CMD} -c ${FILESDIR}/zurmo.conf \
|
||||
${INSTDIR}/zurmo.conf.dist
|
||||
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
2
www/zurmo/distinfo
Normal file
2
www/zurmo/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (zurmo-stable-0.7.10.2b36c58196f9.tar.gz) = dZhFjoAnqNusrZZnwnpIE6QVC9nXBgCUaSSDSaRIP0Q=
|
||||
SIZE (zurmo-stable-0.7.10.2b36c58196f9.tar.gz) = 9633738
|
11
www/zurmo/files/zurmo.conf
Normal file
11
www/zurmo/files/zurmo.conf
Normal file
@ -0,0 +1,11 @@
|
||||
# $OpenBSD: zurmo.conf,v 1.1.1.1 2012/08/04 15:19:32 ajacoutot Exp $
|
||||
|
||||
Alias /zurmo ${TINSTDIR}
|
||||
|
||||
<Directory ${TINSTDIR}>
|
||||
<IfModule mod_php5.c>
|
||||
php_value date.timezone UTC
|
||||
php_value post_max_size 20M
|
||||
php_value upload_max_filesize 20M
|
||||
</IfModule>
|
||||
</Directory>
|
12
www/zurmo/pkg/DESCR
Normal file
12
www/zurmo/pkg/DESCR
Normal file
@ -0,0 +1,12 @@
|
||||
Zurmo is an open source CRM application written in PHP utilizing
|
||||
jQuery, Yii Framework, and RedBeanPHP.
|
||||
|
||||
The goal with Zurmo is to provide an easy-to-use, easy-to-customize CRM
|
||||
application that can be adapted to any business use case.
|
||||
Special care has been taken to think through many different use cases
|
||||
with a system designed to provide a high degree of flexibility, covering
|
||||
a wide variety of use cases out of the box.
|
||||
|
||||
Zurmo doesn't have a million features.
|
||||
But considering companies wind up only using a handful of them, it does
|
||||
not really matter.
|
5901
www/zurmo/pkg/PLIST
Normal file
5901
www/zurmo/pkg/PLIST
Normal file
File diff suppressed because it is too large
Load Diff
36
www/zurmo/pkg/README
Normal file
36
www/zurmo/pkg/README
Normal file
@ -0,0 +1,36 @@
|
||||
$OpenBSD: README,v 1.1.1.1 2012/08/04 15:19:32 ajacoutot Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${FULLPKGNAME} on OpenBSD
|
||||
+-----------------------------------------------------------------------
|
||||
|
||||
Zurmo has been installed into ${INSTDIR}
|
||||
|
||||
PHP settings
|
||||
============
|
||||
Some specific PHP settings are required for Zurmo. With Apache, you can
|
||||
automatically configure them as follows. As root:
|
||||
ln -s ../modules.sample/zurmo.conf ${PREFIX}/conf/modules
|
||||
/etc/rc.d/httpd restart
|
||||
|
||||
With other web servers, review
|
||||
${PREFIX}/conf/modules.sample/zurmo.conf
|
||||
to use them as a a template to adjust various PHP settings in
|
||||
${SYSCONFDIR}/php-${MODPHP_VERSION}.ini.
|
||||
|
||||
MySQL settings
|
||||
==============
|
||||
The following MySQL server settings are required by Zurmo and must be
|
||||
set or modified in ${SYSCONFDIR}/my.cnf:
|
||||
|
||||
max_sp_recursion_depth = 20
|
||||
thread_stack = 524288
|
||||
optimizer_search_depth = 0
|
||||
max_allowed_packet = 20M
|
||||
log_bin_trust_function_creators = 1
|
||||
|
||||
Finishing the installation
|
||||
==========================
|
||||
Point your web browser to:
|
||||
http://<hostname>/zurmo/app/index.php
|
||||
to run the installation script.
|
4
www/zurmo/pkg/UNMESSAGE
Normal file
4
www/zurmo/pkg/UNMESSAGE
Normal file
@ -0,0 +1,4 @@
|
||||
To completely deinstall Zurmo you need to perform the following steps
|
||||
as root:
|
||||
rm -f /var/www/conf/modules/zurmo.conf
|
||||
rm -rf ${PREFIX}/zurmo
|
Loading…
Reference in New Issue
Block a user