tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Changing to a more recent-ish PHP_VERSION_DEFAULT ?



Hi,

In message <bfe2e1bd-ab03-4368-9754-c75e5ebbe41d%helkyn.org@localhost>
	on Mon, 13 Nov 2023 13:06:30 +0100,
	Jean-Yves Migeon <jym%helkyn.org@localhost> wrote:
> FYI after Benny's mail I started a rebuild tonight -- a bulk build
> fails resolving dependencies with one package (Moodle). I am ignoring
> that one for now.
> 
> Moodle accepts PHP version 8.0 and 8.1:
> 
>    http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/www/moodle/
Acoording to <https://moodledev.io/general/development/policies/php>,

	Moodle 4.1 (LTS)	require PHP 7.4 to 8.1
	moodle 4.2		require PHP 8.0 to 8.1
	moodle 4.3		require PHP 8.2

> And lists php-json and php-xmlrpc as dependencies, which do not exist
> with 8.1.
About php-json, there is lang/php/json.mk.

And Moodle 4.1 has its own xmlrpc module by looking its code, so there
is no need for php-xmlrpc.

-- 
Takahiro Kambe <taca%NetBSD.org@localhost>

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/moodle/Makefile,v
retrieving revision 1.97
diff -u -u -r1.97 Makefile
--- Makefile	8 Jan 2023 01:45:43 -0000	1.97
+++ Makefile	13 Nov 2023 15:12:38 -0000
@@ -14,9 +14,7 @@
 DEPENDS+=	${PHP_PKG_PREFIX}-iconv>=7.3.0:../../converters/php-iconv
 DEPENDS+=	${PHP_PKG_PREFIX}-mbstring>=7.3.0:../../converters/php-mbstring
 DEPENDS+=	${PHP_PKG_PREFIX}-curl>=7.3.0:../../www/php-curl
-DEPENDS+=	${PHP_PKG_PREFIX}-xmlrpc>=7.3.0:../../net/php-xmlrpc
 DEPENDS+=	${PHP_PKG_PREFIX}-soap>=7.3.0:../../net/php-soap
-DEPENDS+=	${PHP_PKG_PREFIX}-json>=7.3.0:../../textproc/php-json
 DEPENDS+=	${PHP_PKG_PREFIX}-intl>=7.3.0:../../textproc/php-intl
 DEPENDS+=	${PHP_PKG_PREFIX}-zip>=7.3.0:../../archivers/php-zip
 DEPENDS+=	${PHP_PKG_PREFIX}-zlib>=7.3.0:../../archivers/php-zlib
@@ -88,5 +86,6 @@
 	${INSTALL_DATA_DIR} ${DESTDIR}${MOODLEDATADIR}
 	${CHOWN} ${APACHE_USER}:${APACHE_GROUP} ${DESTDIR}${MOODLEDATADIR}
 
+.include "../../lang/php/json.mk"
 .include "../../lang/php/phpversion.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index