git: 651b7ae26dce - main - www/suitecrm: Update to 8.7

From: Wen Heping <wen_at_FreeBSD.org>
Date: Thu, 26 Dec 2024 01:30:19 UTC
The branch main has been updated by wen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=651b7ae26dce589e8e1b4f38ec1973485d66d542

commit 651b7ae26dce589e8e1b4f38ec1973485d66d542
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2024-12-26 00:16:22 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2024-12-26 01:30:00 +0000

    www/suitecrm: Update to 8.7
---
 www/suitecrm/Makefile             | 17 ++++++++++++-----
 www/suitecrm/distinfo             |  6 +++---
 www/suitecrm/files/pkg-message.in | 13 ++++++++-----
 3 files changed, 23 insertions(+), 13 deletions(-)

diff --git a/www/suitecrm/Makefile b/www/suitecrm/Makefile
index 661d2cfb3519..9cb3ab83f856 100644
--- a/www/suitecrm/Makefile
+++ b/www/suitecrm/Makefile
@@ -1,7 +1,8 @@
 PORTNAME=	suitecrm
-PORTVERSION=	7.14.3
+PORTVERSION=	8.7
 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
 COMMENT=	Open source Customer Relationship Management (CRM) software solution
@@ -11,17 +12,23 @@ LICENSE=	AGPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 USES=		php
-USE_PHP=	curl ctype dom filter gd imap mysqli pdo posix \
-		session tokenizer xml mbstring zip zlib
+USE_PHP=	curl ctype dom filter gd iconv imap intl ldap \
+		mysqli pdo pdo_mysql posix session simplexml \
+		soap sodium tokenizer xml mbstring xmlreader \
+		xmlwriter zip zlib
 NO_BUILD=	yes
 
-WRKSRC=		${WRKDIR}/SuiteCRM-${PORTVERSION}
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 PLIST=		${WRKDIR}/plist
 CRMDIR=		www/suitecrm
 
 SUB_FILES+=	pkg-message
 
+do-extract:
+	@${MKDIR} ${WRKSRC}
+	@${TAR} -yxf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} -C ${WRKSRC}
+
 pre-install:
 	@${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST}
 	@${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST}
diff --git a/www/suitecrm/distinfo b/www/suitecrm/distinfo
index f23f0af2250a..8d453d41bd04 100644
--- a/www/suitecrm/distinfo
+++ b/www/suitecrm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1712137043
-SHA256 (suitecrm-7.14.3.tar.gz) = ce262169787d02cd6318bd4998d567c20f09645ae72d8a5bf309c0264501ce07
-SIZE (suitecrm-7.14.3.tar.gz) = 59702466
+TIMESTAMP = 1735113309
+SHA256 (suitecrm-8-7-1.tar.gz) = 28c0764c407624012dc305155b77fc8118c27135ec628ef1d8ed8bbd0a5e8faf
+SIZE (suitecrm-8-7-1.tar.gz) = 91273817
diff --git a/www/suitecrm/files/pkg-message.in b/www/suitecrm/files/pkg-message.in
index f74f1bf2f15d..b31d3b2604bc 100644
--- a/www/suitecrm/files/pkg-message.in
+++ b/www/suitecrm/files/pkg-message.in
@@ -3,20 +3,23 @@
   message: <<EOM
 Notes:
 
-1.  SuiteCRM requires that you increase the default PHP memory limit to 128M.
-    and set output_buffering = on in the php.ini file.
+1.  SuiteCRM requires that you increase the default PHP memory limit to 256M.
+    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
     Community Edition's location on your disk, you'll need to put the
     following line (or the equivalent) into the web server configuration:
 
-    Alias /suitecrm %%WWWDIR%%
-    <Directory %%WWWDIR%%>
+    Alias /suitecrm %%WWWDIR%%/public
+    <Directory %%WWWDIR%%/public>
 	AllowOverride None
 	Require all granted
     </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:
 
     https://docs.suitecrm.com/admin/installation-guide/downloading-installing/