The web interface PHP uses the PHP sockets extension, at least from
authordavidsainty <david.sainty@gmail.com>
Mon, 10 Jan 2022 22:05:03 +0000 (11:05 +1300)
committerdavidsainty <david.sainty@gmail.com>
Mon, 10 Jan 2022 22:05:03 +0000 (11:05 +1300)
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

zoneminder/MESSAGE
zoneminder/Makefile

index d0995f10f66adc31ba590074c1eb084d1dfd2490..8c4a937a57f71c2d5393a404f49c2a0e786bbec2 100644 (file)
@@ -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.
index 0f4ac5fd64b6e213cde7d37c65b4788af780323c..dea5cbb8df18bb066e65c0c10647c997fd8880f1 100644 (file)
@@ -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.