git: 4265e376eefc - main - www/ilias: Update version 5.4.25=>7.7

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 29 Mar 2022 17:02:01 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4265e376eefc504522a7d5c56101bb7509119cbc

commit 4265e376eefc504522a7d5c56101bb7509119cbc
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-03-29 15:49:11 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-03-29 17:01:54 +0000

    www/ilias: Update version 5.4.25=>7.7
    
    Release 5.4.X branch has reached EOL. See:
    https://docu.ilias.de/goto.php?target=wiki_1357_Release_5.4
    
    Although 7.7 is a recent release yet it does not support php80 but as
    mentioned here:
    https://docu.ilias.de/goto.php?target=wiki_1357_Required_and_Supported_Software_ILIAS_7
    
    The Technical Board intends to re-evaluate the max. supported PHP
    version in ~August/September in regards to PHP 8. We'd predict a
    positive impact on the code quality, if ILIAS developers could rely on
    PHP >= 7.3 features.
    
    Either way ilias 8 is supposed to be released with php 8 support
    sometimes in August/September before the support for php 7.4 ends.
    
    PR:             261610
    Approved by:    wen (maintainer-timeout)
    Relnotes:
    https://docu.ilias.de/goto.php?target=lm_1719&client_id=docu&lang=en
---
 www/ilias/Makefile             | 70 +++++++++++++++---------------------------
 www/ilias/distinfo             |  6 ++--
 www/ilias/files/pkg-message.in | 11 +++++--
 3 files changed, 36 insertions(+), 51 deletions(-)

diff --git a/www/ilias/Makefile b/www/ilias/Makefile
index 54bd367e63f5..be676e7ffa14 100644
--- a/www/ilias/Makefile
+++ b/www/ilias/Makefile
@@ -1,7 +1,7 @@
 # Created by: Bartlomiej Rutkowski <r@robakdesign.com>
 
 PORTNAME=	ilias
-PORTVERSION=	5.4.25
+PORTVERSION=	7.7
 DISTVERSIONPREFIX=	v
 CATEGORIES=	www education
 
@@ -10,64 +10,44 @@ COMMENT=	Powerful, dynamic, PHP and MySQL based e-learning platform
 
 LICENSE=	GPLv2
 
-CONFLICTS=	ilias6
-PORTSCOUT=	limit:^5\.
-
-RUN_DEPENDS=	zip:archivers/zip \
-		${UNZIP_CMD}:archivers/unzip \
-		${LOCALBASE}/share/pear/PEAR.php:devel/pear@${PHP_FLAVOR} \
-		${LOCALBASE}/share/pear/Auth/Auth.php:security/pear-Auth@${PHP_FLAVOR} \
-		${LOCALBASE}/share/pear/MDB2.php:databases/pear-MDB2@${PHP_FLAVOR} \
-		${LOCALBASE}/share/pear/HTML/Template/IT.php:devel/pear-HTML_Template_IT@${PHP_FLAVOR}
 LIB_DEPENDS=	libpng.so:graphics/png
+RUN_DEPENDS=	${LOCALBASE}/share/pear/Auth/Auth.php:security/pear-Auth@${PHP_FLAVOR} \
+		${LOCALBASE}/share/pear/HTML/Template/IT.php:devel/pear-HTML_Template_IT@${PHP_FLAVOR} \
+		${LOCALBASE}/share/pear/MDB2.php:databases/pear-MDB2@${PHP_FLAVOR} \
+		${LOCALBASE}/share/pear/PEAR.php:devel/pear@${PHP_FLAVOR} \
+		${UNZIP_CMD}:archivers/unzip \
+		composer:devel/php-composer \
+		zip:archivers/zip
 
+USES=		cpe jpeg magick:6,run php
 USE_GITHUB=	yes
 GH_ACCOUNT=	ILIAS-eLearning
 GH_PROJECT=	ILIAS
-
-USES=		cpe jpeg magick:6,run php
+USE_PHP=	curl dom gd ldap pcre pdf pdo_mysql session simplexml soap \
+		xmlrpc xmlwriter xsl zlib
 IGNORE_WITH_PHP=	80 81
+
+CONFLICTS=	ilias6
+
 NO_BUILD=	yes
-PLIST=		${WRKDIR}/plist
-USE_PHP=	pdo_mysql session zlib gd pdf dom xsl pcre simplexml
-ILIASDIR=	www/ilias
-ILIASDATADIR=	www/iliasdata
-PLIST_SUB=	ILIASDATADIR=${ILIASDATADIR}
 SUB_FILES=	pkg-message
 SUB_LIST=	ILIASDATADIR=${ILIASDATADIR}
 
-OPTIONS_DEFINE=		SCORM2004 CHECKER MAIL
-SCORM2004_USE=		php=json
+PLIST=		${WRKDIR}/plist
+PLIST_SUB=	ILIASDATADIR=${ILIASDATADIR}
+
+OPTIONS_DEFINE=	CHECKER MAIL SCORM2004
+
 CHECKER_RUN_DEPENDS=	${LOCALBASE}/share/pear/HTTP/Request.php:www/pear-HTTP_Request@${PHP_FLAVOR}
 MAIL_RUN_DEPENDS=	${LOCALBASE}/share/pear/Mail.php:mail/pear-Mail@${PHP_FLAVOR}
+SCORM2004_USE=		PHP=json
+
+ILIASDIR=	www/ilias
+ILIASDATADIR=	www/iliasdata
 
-EXTRA_FILES=	%%WWWDIR%%/libs/composer/vendor/bin/generate_vcards \
-		%%WWWDIR%%/libs/composer/vendor/bin/naturalselection \
-		%%WWWDIR%%/libs/composer/vendor/bin/sabredav \
-		%%WWWDIR%%/libs/composer/vendor/bin/vobject \
-		%%WWWDIR%%/libs/composer/vendor/simplesamlphp/simplesamlphp/locales/no \
-		%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/_mocha \
-		%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/esparse \
-		%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/esvalidate \
-		%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/flat \
-		%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/he \
-		%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/js-yaml \
-		%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/mime \
-		%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/mkdirp \
-		%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/mocha \
-		%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/semver \
+EXTRA_FILES=	%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/mime \
 		%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/uuid \
-		%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/which \
-		%%WWWDIR%%/Modules/Chatroom/chat/node_modules/js-yaml/node_modules/.bin/esparse \
-		%%WWWDIR%%/Modules/Chatroom/chat/node_modules/js-yaml/node_modules/.bin/esvalidate \
-		%%WWWDIR%%/Modules/Chatroom/chat/node_modules/mocha/node_modules/.bin/he \
-		%%WWWDIR%%/Modules/Chatroom/chat/node_modules/mocha/node_modules/.bin/js-yaml \
-		%%WWWDIR%%/Modules/Chatroom/chat/node_modules/mocha/node_modules/.bin/mkdirp \
-		%%WWWDIR%%/Modules/Chatroom/chat/node_modules/mocha/node_modules/.bin/which \
-		%%WWWDIR%%/Modules/Chatroom/chat/node_modules/node-environment-flags/node_modules/.bin/semver \
-		%%WWWDIR%%/Modules/Chatroom/chat/node_modules/send/node_modules/.bin/mime \
-		%%WWWDIR%%/Modules/Chatroom/chat/node_modules/superagent/node_modules/.bin/mime \
-		%%WWWDIR%%/Modules/Chatroom/chat/node_modules/yargs-unparser/node_modules/.bin/flat
+		%%WWWDIR%%/Modules/Chatroom/chat/node_modules/send/node_modules/.bin/mime
 
 pre-install:
 	@${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST}
diff --git a/www/ilias/distinfo b/www/ilias/distinfo
index b4ea70e8135b..a8fcc7e37621 100644
--- a/www/ilias/distinfo
+++ b/www/ilias/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1639726861
-SHA256 (ILIAS-eLearning-ILIAS-v5.4.25_GH0.tar.gz) = 1150b3eb3c9289618c1d372d936daeeec3ea68d8b22bf9beaea86de1cfd0ca24
-SIZE (ILIAS-eLearning-ILIAS-v5.4.25_GH0.tar.gz) = 184991576
+TIMESTAMP = 1648485881
+SHA256 (ILIAS-eLearning-ILIAS-v7.7_GH0.tar.gz) = ef2a03d2d9749770e668420c76bb8fa5fb761043cafc6f0b8f45fe3f456d4000
+SIZE (ILIAS-eLearning-ILIAS-v7.7_GH0.tar.gz) = 185629427
diff --git a/www/ilias/files/pkg-message.in b/www/ilias/files/pkg-message.in
index 412f3f3e0cff..6ae9c41a872c 100644
--- a/www/ilias/files/pkg-message.in
+++ b/www/ilias/files/pkg-message.in
@@ -22,12 +22,17 @@ some virus scanner by yourself.
       Require all granted
    </Directory>
 
-4 Then feel free to proceed to ILIAS web setup proccess.
+4 If you use MySQL, Strict SQL Mode MUST be disabled.
+
+5 After installation, you should use 'composer install'
+in the directory %%WWWDIR%%/libs/composer.
+
+6 Then feel free to proceed to ILIAS web setup proccess.
   When input Ilias data directory, please use
   %%PREFIX%%/%%ILIASDATADIR%% and uncheck the create option.
 
-5 After the installation, you can login into the system
-with username/root and password/homer as the administrator.
+7 If all is OK, you can login into the system with
+username/root and password/homer as the administrator.
 
 For more information, see the INSTALL DOCUMENTATION:
 http://www.ilias.de/docu/goto.php?target=lm_367&client_id=docu