www/suitecrm: Update to 8.7

This commit is contained in:
Wen Heping 2024-12-26 00:16:22 +00:00
parent 222fda784f
commit 651b7ae26d
3 changed files with 23 additions and 13 deletions

View file

@ -1,7 +1,8 @@
PORTNAME= suitecrm PORTNAME= suitecrm
PORTVERSION= 7.14.3 PORTVERSION= 8.7
CATEGORIES= www CATEGORIES= www
MASTER_SITES= https://suitecrm.com/download/141/suite714/563700/ MASTER_SITES= https://suitecrm.com/download/148/suite87/564667/
DISTNAME= ${PORTNAME}-8-7-1
MAINTAINER= wen@FreeBSD.org MAINTAINER= wen@FreeBSD.org
COMMENT= Open source Customer Relationship Management (CRM) software solution COMMENT= Open source Customer Relationship Management (CRM) software solution
@ -11,17 +12,23 @@ LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= php USES= php
USE_PHP= curl ctype dom filter gd imap mysqli pdo posix \ USE_PHP= curl ctype dom filter gd iconv imap intl ldap \
session tokenizer xml mbstring zip zlib mysqli pdo pdo_mysql posix session simplexml \
soap sodium tokenizer xml mbstring xmlreader \
xmlwriter zip zlib
NO_BUILD= yes NO_BUILD= yes
WRKSRC= ${WRKDIR}/SuiteCRM-${PORTVERSION} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLIST= ${WRKDIR}/plist PLIST= ${WRKDIR}/plist
CRMDIR= www/suitecrm CRMDIR= www/suitecrm
SUB_FILES+= pkg-message SUB_FILES+= pkg-message
do-extract:
@${MKDIR} ${WRKSRC}
@${TAR} -yxf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} -C ${WRKSRC}
pre-install: pre-install:
@${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST} @${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST}
@${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST} @${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST}

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1712137043 TIMESTAMP = 1735113309
SHA256 (suitecrm-7.14.3.tar.gz) = ce262169787d02cd6318bd4998d567c20f09645ae72d8a5bf309c0264501ce07 SHA256 (suitecrm-8-7-1.tar.gz) = 28c0764c407624012dc305155b77fc8118c27135ec628ef1d8ed8bbd0a5e8faf
SIZE (suitecrm-7.14.3.tar.gz) = 59702466 SIZE (suitecrm-8-7-1.tar.gz) = 91273817

View file

@ -3,20 +3,23 @@
message: <<EOM message: <<EOM
Notes: Notes:
1. SuiteCRM requires that you increase the default PHP memory limit to 128M. 1. SuiteCRM requires that you increase the default PHP memory limit to 256M.
and set output_buffering = on in the php.ini file. Set upload_max_filesize=6M and set output_buffering = on in the php.ini file.
2. In order to get Apache or your preferred web server to recognise Suite 2. In order to get Apache or your preferred web server to recognise Suite
Community Edition's location on your disk, you'll need to put the Community Edition's location on your disk, you'll need to put the
following line (or the equivalent) into the web server configuration: following line (or the equivalent) into the web server configuration:
Alias /suitecrm %%WWWDIR%% Alias /suitecrm %%WWWDIR%%/public
<Directory %%WWWDIR%%> <Directory %%WWWDIR%%/public>
AllowOverride None AllowOverride None
Require all granted Require all granted
</Directory> </Directory>
3. For full information on how to get the best out of Sugar Community 3. After installation, you should use 'composer install'
in the directory %%WWWDIR%%.
4. For full information on how to get the best out of Sugar Community
Edition, please see the documentation on the web: Edition, please see the documentation on the web:
https://docs.suitecrm.com/admin/installation-guide/downloading-installing/ https://docs.suitecrm.com/admin/installation-guide/downloading-installing/