pkgsrc-WIP-changes archive

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

The need for php-mysql seems to have vanished a long time ago. This package is quite happy to use php-mysqlnd, which in turn is a built-in component of all versions of PHP in Pkgsrc.



Module Name:	pkgsrc-wip
Committed By:	davidsainty <david.sainty%gmail.com@localhost>
Pushed By:	dsainty
Date:		Tue Jan 11 10:58:42 2022 +1300
Changeset:	dea57b31656700f17242eea828dda4a9c0b6dda3

Modified Files:
	zoneminder/Makefile

Log Message:
The need for php-mysql seems to have vanished a long time ago.  This package
is quite happy to use php-mysqlnd, which in turn is a built-in component
of all versions of PHP in Pkgsrc.

Drop the dependency, and therefore expand the PHP_VERSIONS_ACCEPTED
constraint.

ZoneMinder 1.29.0 seems to work fine on at least PHP 5.6 and 7.4.

Under PHP 8.0 it is logging at Error level type errors out of skin.js.

Under PHP 8.1 it is logging at Panic level that strftime is deprecated.

Applied: security/zoneminder/Makefile 1.59

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=dea57b31656700f17242eea828dda4a9c0b6dda3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 zoneminder/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diffs:
diff --git a/zoneminder/Makefile b/zoneminder/Makefile
index 7d65d05500..0f4ac5fd64 100644
--- a/zoneminder/Makefile
+++ b/zoneminder/Makefile
@@ -26,8 +26,10 @@ EXTRACT_USING=	gtar
 
 DEPENDS+=	netpbm-[0-9]*:../../graphics/netpbm
 
-# This PHP 5.6 limitation is only to match the limitation in php-mysql
-PHP_VERSIONS_ACCEPTED=	56
+# ZoneMinder 1.29.0 seems to work fine on at least PHP 5.6 and 7.4.
+# Under PHP 8.0 it is logging at Error level type errors out of skin.js.
+# Under PHP 8.1 it is logging at Panic level that strftime is deprecated.
+PHP_VERSIONS_ACCEPTED=	56 74
 
 PKG_OPTIONS_VAR=	PKG_OPTIONS.zoneminder
 PKG_SUPPORTED_OPTIONS=	apache
@@ -144,7 +146,6 @@ CONFIGURE_ARGS+=	--with-webgroup=${APACHE_GROUP}
 # If we're using Apache we're going to need PHP, and PHP MySQL support.
 .include "../../lang/php/phpversion.mk"
 DEPENDS+=	${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}-[0-9]*:../../www/ap-php
-DEPENDS+=	${PHP_PKG_PREFIX}-mysql-[0-9]*:../../databases/php-mysql
 DEPENDS+=	${PHP_PKG_PREFIX}-pdo_mysql-[0-9]*:../../databases/php-pdo_mysql
 .endif
 


Home | Main Index | Thread Index | Old Index