Commit f1b987ac authored by Muhammad Moinur Rahman's avatar Muhammad Moinur Rahman
Browse files

www/ilias6: Cleanup

- Requires php74 which was EOL on 2022-11-28

PR:		261610
Approved by:	portmgr (blanket infrastructure)
Sponsored by:	Bounce Experts
parent 80851c9a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -17619,3 +17619,4 @@ math/suitesparse-slip_lu|math/suitesparse-spex|2022-11-26|Renamed by upstream
graphics/giblib||2022-11-27|Has expired: Last release in 2004, abandoned upstream, not used, website disappeared
www/typo3-10||2022-11-29|Requires php74 which was EOL on 2022-11-28
www/phalcon4||2022-11-29|Requires php74 which was EOL on 2022-11-28
www/ilias6||2022-11-29|Requires php74 which was EOL on 2022-11-28
+0 −1
Original line number Diff line number Diff line
@@ -246,7 +246,6 @@
    SUBDIR += igal2
    SUBDIR += ikiwiki
    SUBDIR += ilias
    SUBDIR += ilias6
    SUBDIR += interchange
    SUBDIR += iridium
    SUBDIR += itop

www/ilias6/Makefile

deleted100644 → 0
+0 −71
Original line number Diff line number Diff line
PORTNAME=	ilias
PORTVERSION=	6.19
DISTVERSIONPREFIX=	v
CATEGORIES=	www education
PKGNAMESUFFIX=	6${PHP_PKGNAMESUFFIX}

MAINTAINER=	wen@FreeBSD.org
COMMENT=	Powerful, dynamic, PHP and MySQL based e-learning platform
WWW=		https://www.ilias.de

LICENSE=	GPLv2

CONFLICTS=	ilias-7.[0-9]*

DEPRECATED=	Requires php 7.4 which is set to expire on 2022-11-29
EXPIRATION_DATE=2022-11-28

RUN_DEPENDS=	composer:devel/php-composer \
		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

USE_GITHUB=	yes
GH_ACCOUNT=	ILIAS-eLearning
GH_PROJECT=	ILIAS

USES=		cpe jpeg magick:6,run php
IGNORE_WITH_PHP=	80 81 82

NO_BUILD=	yes
PLIST=		${WRKDIR}/plist
USE_PHP=	curl dom fileinfo gd iconv ldap pdo_mysql \
		pdf pcre session simplexml \
		soap tokenizer xmlrpc xmlreader xmlwriter xsl zlib
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
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}

EXTRA_FILES=	%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/mime \
		%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/uuid

pre-install:
	@${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST}
	@${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST}
	@${ECHO_CMD} "@mode 755" >> ${PLIST}
	@${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${ILIASDIR}?g" >> ${PLIST}
.for i in ${EXTRA_FILES}
	@${ECHO_CMD} ${i} >> ${PLIST}
.endfor
	@${ECHO} @dir ${ILIASDIR} >> ${PLIST}
	@${ECHO} @dir ${ILIASDATADIR} >> ${PLIST}
	@${ECHO_CMD} "@mode" >> ${PLIST}
	@${ECHO_CMD} "@group" >> ${PLIST}
	@${ECHO_CMD} "@owner" >> ${PLIST}

do-install:
	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
	@${INSTALL} -d ${STAGEDIR}${PREFIX}/${ILIASDATADIR}

.include <bsd.port.mk>

www/ilias6/distinfo

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1664677897
SHA256 (ILIAS-eLearning-ILIAS-v6.19_GH0.tar.gz) = b86215840c48e7b20084f7d6cecbbfe0c7ad9198000ae30e48316ef0aa5b2a94
SIZE (ILIAS-eLearning-ILIAS-v6.19_GH0.tar.gz) = 158334648

www/ilias6/files/pkg-message.in

deleted100644 → 0
+0 −41
Original line number Diff line number Diff line
[
{ type: install
  message: <<EOM
1 Please keep in mind that
heavily used ILIAS installation can cause huge growth
of your log file, so remember to disable notices logging
in your PHP installation.

2 Also, this installation process has installed everything
that is needed for ILIAS to run properly with basic
functionality, but to broaden it you will have to install
third party software like Sun Java, HTMLdoc, LaTeX or
some virus scanner by yourself.

3 Add the following to your Apache configuration file
   httpd.conf, and restart the server:

   Alias /ilias %%WWWDIR%%/
   AcceptPathInfo On
   <Directory %%WWWDIR%%/>
      AllowOverride None
      Require all granted
   </Directory>

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.

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
EOM
}
]
Loading