pkgsrc-WIP-changes archive

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

The web interface PHP uses the PHP sockets extension, at least from share/zoneminder/htdocs/ajax/stream.php.



Module Name:	pkgsrc-wip
Committed By:	davidsainty <david.sainty%gmail.com@localhost>
Pushed By:	dsainty
Date:		Tue Jan 11 11:05:03 2022 +1300
Changeset:	5872537363dc20bd98dd996d82cf910352db25f5

Modified Files:
	zoneminder/MESSAGE
	zoneminder/Makefile

Log Message:
The web interface PHP uses the PHP sockets extension, at least from
share/zoneminder/htdocs/ajax/stream.php.

Because all the PHP extensions self-enable in this decade, there's no need
to configure php-sockets.  The same is also true of all the other
extensions, so just remove those unnecessary instructions from MESSAGE.

Applied: security/zoneminder/Makefile 1.58

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

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

diffstat:
 zoneminder/MESSAGE  | 4 ----
 zoneminder/Makefile | 3 ++-
 2 files changed, 2 insertions(+), 5 deletions(-)

diffs:
diff --git a/zoneminder/MESSAGE b/zoneminder/MESSAGE
index d0995f10f6..8c4a937a57 100644
--- a/zoneminder/MESSAGE
+++ b/zoneminder/MESSAGE
@@ -43,10 +43,6 @@ To enable the web interface via Apache, add the following line to httpd.conf:
 
   Include ${PREFIX}/share/examples/zoneminder/apache/zoneminder.conf
 
-Also follow the configuration instructions for www/ap-php,
-databases/php-mysql, databases/php-pdo and databases/php-pdo_mysql packages.
-Use pkg_info to read their MESSAGE files.
-
 PHP may log warnings if the PHP date.timezone configuration is not set.
 Consider assigning a default system time zone to date.timezone in
 ${PKG_SYSCONFDIR}/php.ini.
diff --git a/zoneminder/Makefile b/zoneminder/Makefile
index 0f4ac5fd64..dea5cbb8df 100644
--- a/zoneminder/Makefile
+++ b/zoneminder/Makefile
@@ -143,10 +143,11 @@ MAKE_DIRS_PERMS+=	${VARBASE}/run/zm ${REAL_ROOT_USER} ${APACHE_GROUP} 775
 CONFIGURE_ARGS+=	--with-webuser=${APACHE_USER}
 CONFIGURE_ARGS+=	--with-webgroup=${APACHE_GROUP}
 
-# If we're using Apache we're going to need PHP, and PHP MySQL support.
+# If we're using Apache we're going to need PHP, and PHP extensions.
 .include "../../lang/php/phpversion.mk"
 DEPENDS+=	${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}-[0-9]*:../../www/ap-php
 DEPENDS+=	${PHP_PKG_PREFIX}-pdo_mysql-[0-9]*:../../databases/php-pdo_mysql
+DEPENDS+=	${PHP_PKG_PREFIX}-sockets-[0-9]*:../../net/php-sockets
 .endif
 
 # \todo Somehow, this permission setup still fails.


Home | Main Index | Thread Index | Old Index