aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-04-16 16:10:47 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-04-16 18:09:23 +0000
commit0ac3a69555cdc6ac1603f4ac7d6f85c5be19e3ea (patch)
tree1ba37b5ce2bb8e5f358541fdf40a7cdf781a5388
parent16a52a343d9d58d5949eb5992daa13cee54cd59d (diff)
downloadports-0ac3a69555cdc6ac1603f4ac7d6f85c5be19e3ea.tar.gz
ports-0ac3a69555cdc6ac1603f4ac7d6f85c5be19e3ea.zip
*/*: Remove merged or non-existent USE_PHP directives
- Remove USE_PHP=hash which is available in default php installation of all versions of php * security/pear-Horde_Crypt_Blowfish: Remove OPTION MHASH - Remove USE_PHP=json which is available in default php installation of all versions of php * devel/pear-PHPTAL: Remove OPTION JSON * www/ilias: Remove OPTION SCORM2004 - Remove USE_PHP=mssql which is no longer available in php from php80 and later and has been replaced with sqlsrv module which is Windows only * www/codeigniter: Remove OPTION MSSQL * www/moodle311: Remove OPTION MSSQL * www/moodle39: Remove OPTION MSSQL * www/moodle40: Remove OPTION MSSQL * www/moodle41: Remove OPTION MSSQL - Remove USE_PHP=openssl which is available in default php installation of all versions of php * databases/phpmyadmin: Remove OPTION OPENSSL * databases/phpmyadmin5: Remove OPTION OPENSSL * security/pear-Horde_Crypt_Blowfish: Remove OPTION OPENSSL * www/nextcloud: Remove OPTION SSL * www/owncloud: Remove OPTION SSL - Remove USE_PHP=pcre which is available in default php installation of all versions of php * sysutils/racktables: Remove OPTION PCRE - Remove USE_PHP=postgresql which should be USE_PHP=pgsql and update following ports * www/typo3-11 * www/typo3-12 - Remove USE_PHP=pdf which is no longer available as php module * databases/phpmyadmin: Remove OPTION PDF - Remove USE_PHP=spl which is available in default php installation of all versions of php - Remove USE_PHP=sqlsrv which was never imported into FreeBSD as that is Windows only php module * www/typo3-11: Remove OPTION SQLSRV * www/typo3-12: Remove OPTION SQLSRV - Bump where DEFAULT OPTIONS are affected Sponsored by: Bounce Experts Approved by: portmgr(blanket)
-rw-r--r--archivers/pear-File_Archive/Makefile2
-rw-r--r--archivers/pecl-rar/Makefile3
-rw-r--r--audio/ampache/Makefile2
-rw-r--r--benchmarks/phoronix-test-suite/Makefile10
-rw-r--r--comms/atslog/Makefile1
-rw-r--r--databases/adodb5/Makefile1
-rw-r--r--databases/dalmp/Makefile2
-rw-r--r--databases/mantis/Makefile2
-rw-r--r--databases/pear-Horde_Memcache/Makefile2
-rw-r--r--databases/pecl-couchbase/Makefile1
-rw-r--r--databases/pecl-memcached/Makefile4
-rw-r--r--databases/pecl-mongodb/Makefile4
-rw-r--r--databases/pecl-redis/Makefile4
-rw-r--r--databases/pgfouine/Makefile4
-rw-r--r--databases/phpminiadmin/Makefile2
-rw-r--r--databases/phpmyadmin/Makefile15
-rw-r--r--databases/phpmyadmin5/Makefile13
-rw-r--r--databases/phppgadmin/Makefile2
-rw-r--r--deskutils/moregroupware/Makefile2
-rw-r--r--deskutils/phpicalendar/Makefile2
-rw-r--r--devel/aphpbreakdown/Makefile2
-rw-r--r--devel/arcanist-lib/Makefile2
-rw-r--r--devel/deployer/Makefile2
-rw-r--r--devel/flyspray/Makefile2
-rw-r--r--devel/gitlist/Makefile2
-rw-r--r--devel/pear-Horde_Autoloader_Cache/Makefile1
-rw-r--r--devel/pear-Horde_Cache/Makefile1
-rw-r--r--devel/pear-Horde_Prefs/Makefile1
-rw-r--r--devel/pear-Horde_Token/Makefile1
-rw-r--r--devel/pear-Net_Gearman/Makefile2
-rw-r--r--devel/pear-PEAR_Info/Makefile1
-rw-r--r--devel/pear-PHPTAL/Makefile6
-rw-r--r--devel/pear-PHP_CompatInfo/Makefile2
-rw-r--r--devel/pear-PHP_UML/Makefile2
-rw-r--r--devel/pear-Validate_Finance_CreditCard/Makefile1
-rw-r--r--devel/pear-XML_Util/Makefile1
-rw-r--r--devel/pear/Makefile4
-rw-r--r--devel/pecl-ds/Makefile3
-rw-r--r--devel/pecl-json_post/Makefile3
-rw-r--r--devel/pecl-swoole/Makefile5
-rw-r--r--devel/phabricator/Makefile2
-rw-r--r--devel/php-composer/Makefile2
-rw-r--r--devel/php-composer2/Makefile2
-rw-r--r--devel/phpunit10/Makefile2
-rw-r--r--devel/phpunit8/Makefile2
-rw-r--r--devel/phpunit9/Makefile2
-rw-r--r--devel/websvn/Makefile2
-rw-r--r--dns/dns-ui/Makefile2
-rw-r--r--finance/frontaccounting/Makefile2
-rw-r--r--finance/frontaccounting24/Makefile2
-rw-r--r--finance/prestashop/Makefile2
-rw-r--r--ftp/net2ftp/Makefile2
-rw-r--r--mail/nocc/Makefile2
-rw-r--r--mail/pear-Horde_Imap_Client/Makefile1
-rw-r--r--mail/phplist/Makefile2
-rw-r--r--mail/postfixadmin/Makefile2
-rw-r--r--mail/postfixadmin33/Makefile2
-rw-r--r--mail/rainloop/Makefile2
-rw-r--r--mail/roundcube/Makefile2
-rw-r--r--mail/snappymail/Makefile2
-rw-r--r--mail/squirrelmail/Makefile2
-rw-r--r--math/pear-Math_BigInteger/Makefile1
-rw-r--r--misc/pear-Services_Weather/Makefile2
-rw-r--r--multimedia/zoneminder/Makefile2
-rw-r--r--net-mgmt/cacti/Makefile2
-rw-r--r--net-mgmt/icingaweb2/Makefile4
-rw-r--r--net-mgmt/klg/Makefile2
-rw-r--r--net-mgmt/librenms/Makefile4
-rw-r--r--net-mgmt/nagvis/Makefile2
-rw-r--r--net-mgmt/nfsen/Makefile2
-rw-r--r--net-mgmt/observium/Makefile2
-rw-r--r--net-mgmt/ocsinventory-ocsreports/Makefile2
-rw-r--r--net-mgmt/pandorafms_console/Makefile2
-rw-r--r--net-mgmt/phpipam/Makefile4
-rw-r--r--net-mgmt/pnp/Makefile2
-rw-r--r--net/pear-Horde_Kolab_Server/Makefile1
-rw-r--r--net/pear-Net_UserAgent_Mobile/Makefile1
-rw-r--r--net/pear-Services_Twitter/Makefile2
-rw-r--r--net/phpldapadmin/Makefile2
-rw-r--r--net/rtg/Makefile2
-rw-r--r--net/self-service-password/Makefile2
-rw-r--r--security/maia/Makefile2
-rw-r--r--security/pear-Crypt_CHAP/Makefile2
-rw-r--r--security/pear-File_SMBPasswd/Makefile1
-rw-r--r--security/pear-Horde_Auth/Makefile1
-rw-r--r--security/pear-Horde_Crypt/Makefile1
-rw-r--r--security/pear-Horde_Crypt_Blowfish/Makefile9
-rw-r--r--security/pear-Horde_Oauth/Makefile1
-rw-r--r--security/pear-Horde_Secret/Makefile2
-rw-r--r--security/pecl-scrypt/Makefile3
-rw-r--r--security/snuffleupagus/Makefile4
-rw-r--r--shells/pear-PHP_Shell/Makefile2
-rw-r--r--sysutils/froxlor/Makefile2
-rw-r--r--sysutils/ldap-account-manager/Makefile4
-rw-r--r--sysutils/n98-magerun/Makefile2
-rw-r--r--sysutils/pear-File/Makefile1
-rw-r--r--sysutils/pear-I18Nv2/Makefile2
-rw-r--r--sysutils/racktables/Makefile6
-rw-r--r--www/baculum-common/Makefile2
-rw-r--r--www/baikal/Makefile2
-rw-r--r--www/bareos-webui/Makefile2
-rw-r--r--www/bareos18-webui/Makefile2
-rw-r--r--www/bareos19-webui/Makefile2
-rw-r--r--www/bareos20-webui/Makefile2
-rw-r--r--www/bareos21-webui/Makefile2
-rw-r--r--www/bolt/Makefile2
-rw-r--r--www/codeigniter/Makefile6
-rw-r--r--www/coppermine/Makefile2
-rw-r--r--www/davical/Makefile2
-rw-r--r--www/dokuwiki/Makefile2
-rw-r--r--www/dolibarr/Makefile2
-rw-r--r--www/dolibarr13/Makefile2
-rw-r--r--www/dolibarr14/Makefile2
-rw-r--r--www/dolibarr15/Makefile2
-rw-r--r--www/dolibarr16/Makefile2
-rw-r--r--www/drupal10/Makefile2
-rw-r--r--www/drupal7/Makefile2
-rw-r--r--www/drupal8/Makefile2
-rw-r--r--www/drupal9/Makefile2
-rw-r--r--www/drush/Makefile2
-rw-r--r--www/e107/Makefile2
-rw-r--r--www/elgg/Makefile4
-rw-r--r--www/fusionpbx/Makefile4
-rw-r--r--www/gallery2/Makefile2
-rw-r--r--www/glpi/Makefile4
-rw-r--r--www/groupoffice/Makefile4
-rw-r--r--www/habari/Makefile2
-rw-r--r--www/hiawatha-monitor/Makefile2
-rw-r--r--www/ilias/Makefile5
-rw-r--r--www/itop/Makefile4
-rw-r--r--www/joomla3/Makefile2
-rw-r--r--www/joomla4/Makefile2
-rw-r--r--www/kanboard/Makefile4
-rw-r--r--www/librespeed/Makefile2
-rw-r--r--www/limesurvey/Makefile2
-rw-r--r--www/matomo/Makefile4
-rw-r--r--www/mediawiki135/Makefile4
-rw-r--r--www/mediawiki138/Makefile4
-rw-r--r--www/mediawiki139/Makefile4
-rw-r--r--www/moodle311/Makefile7
-rw-r--r--www/moodle39/Makefile7
-rw-r--r--www/moodle40/Makefile9
-rw-r--r--www/moodle41/Makefile9
-rw-r--r--www/mythplugin-mythweb/Makefile2
-rw-r--r--www/nextcloud/Makefile11
-rw-r--r--www/opencart/Makefile2
-rw-r--r--www/orangehrm/Makefile2
-rw-r--r--www/osticket/Makefile2
-rw-r--r--www/owncloud/Makefile8
-rw-r--r--www/pear-Horde_Service_Facebook/Makefile2
-rw-r--r--www/pear-Services_Amazon_S3/Makefile3
-rw-r--r--www/pear-Services_Delicious/Makefile1
-rw-r--r--www/pear-Services_ShortURL/Makefile2
-rw-r--r--www/pear-twig/Makefile2
-rw-r--r--www/pecl-http/Makefile4
-rw-r--r--www/pecl-solr/Makefile3
-rw-r--r--www/pecl-yar/Makefile4
-rw-r--r--www/phalcon/Makefile4
-rw-r--r--www/phpbb3/Makefile2
-rw-r--r--www/phpmyfaq/Makefile2
-rw-r--r--www/phpsysinfo/Makefile2
-rw-r--r--www/phpvirtualbox-legacy/Makefile2
-rw-r--r--www/phpvirtualbox/Makefile2
-rw-r--r--www/piwigo/Makefile4
-rw-r--r--www/privatebin/Makefile2
-rw-r--r--www/rss-bridge/Makefile2
-rw-r--r--www/sabredav/Makefile2
-rw-r--r--www/samdruckerserver/Makefile2
-rw-r--r--www/serendipity/Makefile2
-rw-r--r--www/smarty/Makefile1
-rw-r--r--www/smarty2/Makefile1
-rw-r--r--www/smarty3/Makefile1
-rw-r--r--www/sqstat/Makefile2
-rw-r--r--www/templatelite/Makefile1
-rw-r--r--www/thirtybees/Makefile2
-rw-r--r--www/thundercache/Makefile2
-rw-r--r--www/thundersnarf/Makefile2
-rw-r--r--www/tikiwiki/Makefile2
-rw-r--r--www/tivoka/Makefile2
-rw-r--r--www/tt-rss/Makefile2
-rw-r--r--www/typo3-11/Makefile10
-rw-r--r--www/typo3-12/Makefile12
-rw-r--r--www/webtrees20/Makefile2
-rw-r--r--www/webtrees21/Makefile2
-rw-r--r--www/wordpress/Makefile4
-rw-r--r--www/yourls/Makefile2
-rw-r--r--www/zend-framework/Makefile5
-rw-r--r--www/zenphoto/Makefile2
188 files changed, 227 insertions, 298 deletions
diff --git a/archivers/pear-File_Archive/Makefile b/archivers/pear-File_Archive/Makefile
index 843cad967a33..3519e4754949 100644
--- a/archivers/pear-File_Archive/Makefile
+++ b/archivers/pear-File_Archive/Makefile
@@ -11,7 +11,7 @@ LICENSE= LGPL3
RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}MIME_Type>=0:mail/pear-MIME_Type@${PHP_FLAVOR}
USES= pear
-USE_PHP= bz2 pcre zlib
+USE_PHP= bz2 zlib
NO_ARCH= yes
diff --git a/archivers/pecl-rar/Makefile b/archivers/pecl-rar/Makefile
index e7c380eb5444..cf47a51b4001 100644
--- a/archivers/pecl-rar/Makefile
+++ b/archivers/pecl-rar/Makefile
@@ -12,8 +12,7 @@ LICENSE= PHP301
DEPRECATED= Requires php80 which is set to expire on 2023-11-26
EXPIRATION_DATE= 2023-12-31
-USES= compiler:c11 php:pecl
-USE_PHP= spl:build
+USES= compiler:c11 php:build,pecl
IGNORE_WITH_PHP= 81 82
CONFIGURE_ARGS= --enable-rar
diff --git a/audio/ampache/Makefile b/audio/ampache/Makefile
index afa502269498..61e671212b91 100644
--- a/audio/ampache/Makefile
+++ b/audio/ampache/Makefile
@@ -13,7 +13,7 @@ WWW= https://ampache.org/
LICENSE= AGPLv3+
USES= cpe zip gettext php:flavors mysql
-USE_PHP= pdo pdo_mysql hash session json intl simplexml curl dom xml
+USE_PHP= pdo pdo_mysql session intl simplexml curl dom xml
CONFLICTS_INSTALL= ampache-php* # etc/periodic/daily/500.ampache-cron man/man1/ampache.1.gz
diff --git a/benchmarks/phoronix-test-suite/Makefile b/benchmarks/phoronix-test-suite/Makefile
index 4a13952412b4..63d07224ef1f 100644
--- a/benchmarks/phoronix-test-suite/Makefile
+++ b/benchmarks/phoronix-test-suite/Makefile
@@ -16,7 +16,7 @@ RUN_DEPENDS= sudo:security/sudo \
USES= php:cli,build,flavors python shebangfix
USE_GITHUB= yes
-USE_PHP= curl dom gd openssl pcntl posix simplexml zip zlib
+USE_PHP= curl dom gd pcntl posix simplexml zip zlib
NO_BUILD= yes
PORTDATA= *
@@ -48,12 +48,6 @@ X11_DESC= Install X11 icons and mimetypes
X11_USES= desktop-file-utils shared-mime-info
X11_CONFIGURE_OFF= WITHOUT_X11=yes
-.include <bsd.port.pre.mk>
-
-.if ${FLAVOR} != php80
-USE_PHP+= json
-.endif
-
post-patch:
@${SED} -i '' -e "s|/usr/local|${LOCALBASE}|g" \
${WRKSRC}/phoronix-test-suite \
@@ -72,4 +66,4 @@ post-patch:
do-install:
(cd ${WRKSRC} && ${CONFIGURE_ARGS} DESTDIR="${STAGEDIR}" ./install-sh ${PREFIX})
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/comms/atslog/Makefile b/comms/atslog/Makefile
index 132fc19a56c0..1e2a558b58f4 100644
--- a/comms/atslog/Makefile
+++ b/comms/atslog/Makefile
@@ -47,7 +47,6 @@ LIBWRAP_CONFIGURE_OFF= --disable-libwrap
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MWWW}
-USE_PHP= pcre
USES+= php:web
.if ${PORT_OPTIONS:MWWWGD}
USE_PHP+= gd
diff --git a/databases/adodb5/Makefile b/databases/adodb5/Makefile
index 2423e7cd68a3..af05d3ccb44e 100644
--- a/databases/adodb5/Makefile
+++ b/databases/adodb5/Makefile
@@ -13,7 +13,6 @@ LICENSE_COMB= dual
USES= cpe php:flavors
CPE_VENDOR= ${PORTNAME}_project
-USE_PHP= pcre
USE_GITHUB= yes
GH_PROJECT= ADOdb
diff --git a/databases/dalmp/Makefile b/databases/dalmp/Makefile
index e00afee564e0..b73a5e3237d1 100644
--- a/databases/dalmp/Makefile
+++ b/databases/dalmp/Makefile
@@ -17,7 +17,7 @@ USES= php
NO_BUILD= yes
NO_ARCH= yes
-USE_PHP= pcre mysqli session memcache sqlite3 curl redis
+USE_PHP= mysqli session memcache sqlite3 curl redis
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
diff --git a/databases/mantis/Makefile b/databases/mantis/Makefile
index 7fa8ce06e469..466c346a3a5f 100644
--- a/databases/mantis/Makefile
+++ b/databases/mantis/Makefile
@@ -15,7 +15,7 @@ LICENSE= GPLv2
USES= php:flavors
USE_GITHUB= nodefault
-USE_PHP= fileinfo filter hash json mbstring pcre session xml
+USE_PHP= fileinfo filter mbstring session xml
DATADIR= ${WWWDIR}
NO_ARCH= yes
diff --git a/databases/pear-Horde_Memcache/Makefile b/databases/pear-Horde_Memcache/Makefile
index c8c1038ee1b1..44b886b9a6ad 100644
--- a/databases/pear-Horde_Memcache/Makefile
+++ b/databases/pear-Horde_Memcache/Makefile
@@ -7,7 +7,7 @@ COMMENT= Horde Memcache API
WWW= https://pear.horde.org
USES= horde php
-USE_PHP= memcache hash
+USE_PHP= memcache
USE_HORDE_RUN= Horde_Exception
.include <bsd.port.mk>
diff --git a/databases/pecl-couchbase/Makefile b/databases/pecl-couchbase/Makefile
index 0f0adb1f2ea9..ec2524b9c987 100644
--- a/databases/pecl-couchbase/Makefile
+++ b/databases/pecl-couchbase/Makefile
@@ -13,6 +13,5 @@ LICENSE= APACHE20
BUILD_DEPENDS= cmake:devel/cmake-core
USES= compiler:c++17-lang php:build,pecl
-USE_PHP= json:build
.include <bsd.port.mk>
diff --git a/databases/pecl-memcached/Makefile b/databases/pecl-memcached/Makefile
index 221ae373880c..a3552dadcd2e 100644
--- a/databases/pecl-memcached/Makefile
+++ b/databases/pecl-memcached/Makefile
@@ -12,8 +12,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= libmemcached>=1.0.18:databases/libmemcached
LIB_DEPENDS= libmemcached.so:databases/libmemcached
-USES= php:pecl pkgconfig
-USE_PHP= json:build session:build
+USES= php:build,pecl pkgconfig
+USE_PHP= session:build
CONFIGURE_ARGS= --enable-memcached-json \
--enable-memcached-protocol \
diff --git a/databases/pecl-mongodb/Makefile b/databases/pecl-mongodb/Makefile
index d506d7711289..d2049015a33b 100644
--- a/databases/pecl-mongodb/Makefile
+++ b/databases/pecl-mongodb/Makefile
@@ -8,8 +8,6 @@ WWW= https://docs.mongodb.org/ecosystem/drivers/php/
LICENSE= APACHE20
-USES= gmake php:pecl ssl
-USE_PHP= spl:build
-CFLAGS+= -I${LOCALBASE}/include
+USES= gmake localbase php:build,pecl ssl
.include <bsd.port.mk>
diff --git a/databases/pecl-redis/Makefile b/databases/pecl-redis/Makefile
index 3b9b50c93bac..59c9120a5630 100644
--- a/databases/pecl-redis/Makefile
+++ b/databases/pecl-redis/Makefile
@@ -9,8 +9,8 @@ WWW= https://pecl.php.net/package/redis
LICENSE= PHP301
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= php:pecl
-USE_PHP= hash:build json:build session:build
+USES= php:build,pecl
+USE_PHP= session:build
OPTIONS_DEFINE= IGBINARY
IGBINARY_DESC= Build with Igbinary serializer
diff --git a/databases/pgfouine/Makefile b/databases/pgfouine/Makefile
index 309c63790452..76980a3d820d 100644
--- a/databases/pgfouine/Makefile
+++ b/databases/pgfouine/Makefile
@@ -10,8 +10,8 @@ WWW= http://pgfouine.projects.postgresql.org/
USES+= php
-NO_BUILD= Yes
-USE_PHP= gd pcre
+NO_BUILD= yes
+USE_PHP= gd
OPTIONS_DEFINE= DOCS
diff --git a/databases/phpminiadmin/Makefile b/databases/phpminiadmin/Makefile
index 7a40be339371..d287f7cb6426 100644
--- a/databases/phpminiadmin/Makefile
+++ b/databases/phpminiadmin/Makefile
@@ -18,7 +18,7 @@ NO_WRKSUBDIR= yes
NO_BUILD= yes
USES= cpe php
CPE_VENDOR= ${PORTNAME}_project
-USE_PHP= mysqli pcre session
+USE_PHP= mysqli session
NO_ARCH= yes
PLIST_FILES= ${WWWDIR_REL}/phpminiadmin.php
diff --git a/databases/phpmyadmin/Makefile b/databases/phpmyadmin/Makefile
index 4fa070cd4c9f..c522bda70303 100644
--- a/databases/phpmyadmin/Makefile
+++ b/databases/phpmyadmin/Makefile
@@ -1,5 +1,6 @@
PORTNAME= phpMyAdmin
DISTVERSION= 4.9.11
+PORTREVISION= 1
CATEGORIES= databases www
MASTER_SITES= https://files.phpmyadmin.net/${PORTNAME}/${DISTVERSION}/
DISTNAME= ${PORTNAME}-${DISTVERSION}-all-languages
@@ -27,16 +28,16 @@ NO_BUILD= yes
# could, in principle, also use the PHP dbase extension, but it's not
# available for PHP >= 7.0 and of only minority interest.
-USE_PHP= ctype filter hash iconv json mysqli session spl xml
+USE_PHP= ctype filter iconv mysqli session xml
.endif
# Note: default settings will pull in X11 client support. If you don't
# want this, either turn off GD in the config dialog, or else turn off
# FONTCONFIG in the graphics/gd port options.
-OPTIONS_DEFINE= BZ2 CURL GD GMP MBSTRING OPCACHE OPENSSL \
+OPTIONS_DEFINE= BZ2 CURL GD GMP MBSTRING OPCACHE \
SODIUM ZIP ZLIB
-OPTIONS_DEFAULT= BZ2 GD MBSTRING OPENSSL ZIP ZLIB
+OPTIONS_DEFAULT= BZ2 GD MBSTRING ZIP ZLIB
BZ2_DESC= PHP bzip2 library support
CURL_DESC= PHP curl support
@@ -44,9 +45,7 @@ GD_DESC= PHP GD library support (requires X11)
GMP_DESC= PHP GMP library support
MBSTRING_DESC= PHP Multi-byte String support
OPCACHE_DESC= PHP Opcache support
-OPENSSL_DESC= PHP OpenSSL support
-PDF_DESC= PHP PDFlib support
-SODIUM_DESC= PHP libsodium support (only available for PHP >= 7.2)
+SODIUM_DESC= PHP libsodium support
ZIP_DESC= PHP Zip compression support
ZLIB_DESC= PHP ZLIB support
@@ -62,10 +61,6 @@ SUB_LIST+= PKGNAME=${PKGNAME} \
CFG_FILE=${WWWDIR}/${CFG_FILE}
SUB_FILES+= pkg-message
-.if ${FLAVOR} != php80
-OPTIONS_DEFINE+= PDF
-.endif
-
.if !defined(WITHOUT_PHP_DEPENDS)
.for opt in ${OPTIONS_DEFINE}
diff --git a/databases/phpmyadmin5/Makefile b/databases/phpmyadmin5/Makefile
index 0bb6d53ea821..fbf4f1dc15cc 100644
--- a/databases/phpmyadmin5/Makefile
+++ b/databases/phpmyadmin5/Makefile
@@ -1,5 +1,6 @@
PORTNAME= phpMyAdmin
DISTVERSION= 5.2.1
+PORTREVISION= 1
CATEGORIES= databases www
MASTER_SITES= https://files.phpmyadmin.net/${PORTNAME}/${DISTVERSION}/
DISTNAME= ${PORTNAME}-${DISTVERSION}-all-languages
@@ -23,20 +24,21 @@ NO_BUILD= yes
# Note: composer.json files in the source list pcre as a required
# extension, but pcre is compiled into PHP as standard on FreeBSD.
-# spl, libsodium are only required in the bundled vendor code. PMA
+# The same goes for the spl library.
+# libsodium are only required in the bundled vendor code. PMA
# could, in principle, also use the PHP dbase extension, but it's not
# available for PHP >= 7.0 and of only minority interest.
-USE_PHP= ctype filter hash iconv json mysqli session spl xml xmlwriter
+USE_PHP= ctype filter iconv mysqli session xml xmlwriter
.endif
# Note: default settings will pull in X11 client support. If you don't
# want this, either turn off GD in the config dialog, or else turn off
# FONTCONFIG in the graphics/gd port options.
-OPTIONS_DEFINE= BZ2 CURL GD GMP MBSTRING OPCACHE OPENSSL \
+OPTIONS_DEFINE= BZ2 CURL GD GMP MBSTRING OPCACHE \
SODIUM ZIP ZLIB
-OPTIONS_DEFAULT= BZ2 GD MBSTRING OPENSSL ZIP ZLIB
+OPTIONS_DEFAULT= BZ2 GD MBSTRING ZIP ZLIB
BZ2_DESC= PHP bzip2 library support
CURL_DESC= PHP curl support
@@ -44,9 +46,8 @@ GD_DESC= PHP GD library support (requires X11)
GMP_DESC= PHP GMP library support
MBSTRING_DESC= PHP Multi-byte String support
OPCACHE_DESC= PHP Opcache support
-OPENSSL_DESC= PHP OpenSSL support
PDF_DESC= PHP PDFlib support
-SODIUM_DESC= PHP libsodium support (only available for PHP >= 7.2)
+SODIUM_DESC= PHP libsodium support
ZIP_DESC= PHP Zip compression support
ZLIB_DESC= PHP ZLIB support
diff --git a/databases/phppgadmin/Makefile b/databases/phppgadmin/Makefile
index ea44d6341c22..c8106e8d8748 100644
--- a/databases/phppgadmin/Makefile
+++ b/databases/phppgadmin/Makefile
@@ -19,7 +19,7 @@ GH_ACCOUNT= ReimuHakurei
WRKSRC= ${WRKDIR}/phpPgAdmin-${DISTVERSION}${DISTVERSIONSUFFIX}
.if !defined(WITHOUT_PHP_DEPENDS)
-USE_PHP= pgsql pcre session mbstring
+USE_PHP= pgsql session mbstring
.endif
CPE_VENDOR= phppgadmin_project
diff --git a/deskutils/moregroupware/Makefile b/deskutils/moregroupware/Makefile
index f9f29375f8f5..a0ce79988bdb 100644
--- a/deskutils/moregroupware/Makefile
+++ b/deskutils/moregroupware/Makefile
@@ -12,7 +12,7 @@ WWW= http://moregroupware.sourceforge.net/
USES= gettext php:mod
WANT_PGSQL= server
# php extensions
-USE_PHP= curl gd pcre session xml
+USE_PHP= curl gd session xml
SHAREOWN= ${WWWOWN}
SHAREGRP= ${WWWGRP}
diff --git a/deskutils/phpicalendar/Makefile b/deskutils/phpicalendar/Makefile
index 1b435f3e6c3c..f1add7c4f054 100644
--- a/deskutils/phpicalendar/Makefile
+++ b/deskutils/phpicalendar/Makefile
@@ -20,7 +20,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USES= cpe php tar:bz2
NO_BUILD= yes
NO_ARCH= yes
-USE_PHP= session pcre
+USE_PHP= session
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
SUB_FILES= pkg-message
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/devel/aphpbreakdown/Makefile b/devel/aphpbreakdown/Makefile
index 4ad20cbd904d..e770343b5672 100644
--- a/devel/aphpbreakdown/Makefile
+++ b/devel/aphpbreakdown/Makefile
@@ -12,7 +12,7 @@ WWW= https://gitlab.code-mesa.com/code-mesa/aphpbreakdown/
LICENSE= BSD2CLAUSE
USES= php:flavors
-USE_PHP= tokenizer phar hash
+USE_PHP= tokenizer phar
NO_ARCH= yes
NO_BUILD= yes
diff --git a/devel/arcanist-lib/Makefile b/devel/arcanist-lib/Makefile
index 35298455a620..ca0fcf463952 100644
--- a/devel/arcanist-lib/Makefile
+++ b/devel/arcanist-lib/Makefile
@@ -26,7 +26,7 @@ SHEBANG_FILES= bin/arc \
support/xhpast/*.php \
support/xhpast/bin/*.php
-USE_PHP= curl dom hash json simplexml zlib
+USE_PHP= curl dom simplexml zlib
USE_GITHUB= yes
NO_BUILD= yes
NO_ARCH= yes
diff --git a/devel/deployer/Makefile b/devel/deployer/Makefile
index cf9b1a3720d0..0b9e24daa307 100644
--- a/devel/deployer/Makefile
+++ b/devel/deployer/Makefile
@@ -14,7 +14,7 @@ WWW= https://deployer.org/
LICENSE= MIT
USES= php:flavors
-USE_PHP= curl iconv json openssl pcntl phar posix zlib
+USE_PHP= curl iconv pcntl phar posix zlib
CONFLICTS_INSTALL= php*-deployer
diff --git a/devel/flyspray/Makefile b/devel/flyspray/Makefile
index cf158bea3217..ac914b5a6817 100644
--- a/devel/flyspray/Makefile
+++ b/devel/flyspray/Makefile
@@ -10,7 +10,7 @@ WWW= https://www.flyspray.org/
RUN_DEPENDS= ${LOCALBASE}/share/adodb/adodb.inc.php:databases/adodb5
-USE_PHP= pcre session zlib xml gd
+USE_PHP= session zlib xml gd
USES= cpe dos2unix php:web zip
NO_BUILD= yes
diff --git a/devel/gitlist/Makefile b/devel/gitlist/Makefile
index 77e5995eea7c..9cfb6a3ce5ec 100644
--- a/devel/gitlist/Makefile
+++ b/devel/gitlist/Makefile
@@ -15,7 +15,7 @@ RUN_DEPENDS= git:devel/git
NO_BUILD= yes
USES= cpe php:web zip
-USE_PHP= ctype hash json simplexml
+USE_PHP= ctype simplexml
PLIST= ${WRKDIR}/plist
NO_WRKSUBDIR= yes
diff --git a/devel/pear-Horde_Autoloader_Cache/Makefile b/devel/pear-Horde_Autoloader_Cache/Makefile
index 755bec30622c..84379c691e9f 100644
--- a/devel/pear-Horde_Autoloader_Cache/Makefile
+++ b/devel/pear-Horde_Autoloader_Cache/Makefile
@@ -8,7 +8,6 @@ WWW= https://pear.horde.org
USES= horde php cpe
USE_HORDE_RUN= Horde_Autoloader
-USE_PHP= json
CONFLICTS_INSTALL= php*-pear-horde-Horde_Autoloader_Cache
diff --git a/devel/pear-Horde_Cache/Makefile b/devel/pear-Horde_Cache/Makefile
index 1a22090fa8fd..830d4eac2045 100644
--- a/devel/pear-Horde_Cache/Makefile
+++ b/devel/pear-Horde_Cache/Makefile
@@ -11,6 +11,5 @@ USE_HORDE_RUN= Horde_Compress_Fast \
Horde_Exception \
Horde_HashTable \
Horde_Util
-USE_PHP= hash
.include <bsd.port.mk>
diff --git a/devel/pear-Horde_Prefs/Makefile b/devel/pear-Horde_Prefs/Makefile
index 6ff0886866cb..a4ed3be9a4cd 100644
--- a/devel/pear-Horde_Prefs/Makefile
+++ b/devel/pear-Horde_Prefs/Makefile
@@ -12,7 +12,6 @@ USE_HORDE_RUN= Horde_Exception \
Horde_Mime \
Horde_Translation \
Horde_Util
-USE_PHP= json
CONFLICTS_INSTALL= php*-pear-horde-Horde_Prefs
diff --git a/devel/pear-Horde_Token/Makefile b/devel/pear-Horde_Token/Makefile
index 361c106b86f2..0192d3cee6e0 100644
--- a/devel/pear-Horde_Token/Makefile
+++ b/devel/pear-Horde_Token/Makefile
@@ -11,6 +11,5 @@ USE_HORDE_RUN= Horde_Exception \
Horde_Translation \
Horde_Url \
Horde_Util
-USE_PHP= hash
.include <bsd.port.mk>
diff --git a/devel/pear-Net_Gearman/Makefile b/devel/pear-Net_Gearman/Makefile
index a5236ab1e5d5..22ce9cecf350 100644
--- a/devel/pear-Net_Gearman/Makefile
+++ b/devel/pear-Net_Gearman/Makefile
@@ -10,7 +10,7 @@ WWW= https://pear.php.net/package/Net_Gearman
LICENSE= BSD2CLAUSE
USES= pear
-USE_PHP= json mbstring sockets
+USE_PHP= mbstring sockets
NO_ARCH= yes
diff --git a/devel/pear-PEAR_Info/Makefile b/devel/pear-PEAR_Info/Makefile
index dacb9ed8be98..728aae393447 100644
--- a/devel/pear-PEAR_Info/Makefile
+++ b/devel/pear-PEAR_Info/Makefile
@@ -12,7 +12,6 @@ LICENSE= PHP301
RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}Console_Getargs>=1.3.3:devel/pear-Console_Getargs@${PHP_FLAVOR}
USES= pear
-USE_PHP= pcre
NO_ARCH= yes
diff --git a/devel/pear-PHPTAL/Makefile b/devel/pear-PHPTAL/Makefile
index 55d454af0d04..ea588b26344f 100644
--- a/devel/pear-PHPTAL/Makefile
+++ b/devel/pear-PHPTAL/Makefile
@@ -12,17 +12,15 @@ LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
USES= pear php
-USE_PHP= ctype hash
+USE_PHP= ctype
NO_ARCH= yes
-OPTIONS_DEFINE= GETTEXT JSON SIMPLEXML
+OPTIONS_DEFINE= GETTEXT SIMPLEXML
GETTEXT_DESC= Enable GetText support
-JSON_DESC= Enable JSON support
SIMPLEXML_DESC= Enable SimpleXML support
GETTEXT_USE= PHP=gettext
-JSON_USE= PHP=json
SIMPLEXML_USE= PHP=simplexml
.include <bsd.port.mk>
diff --git a/devel/pear-PHP_CompatInfo/Makefile b/devel/pear-PHP_CompatInfo/Makefile
index 593c60ccd3b1..a660eb195e76 100644
--- a/devel/pear-PHP_CompatInfo/Makefile
+++ b/devel/pear-PHP_CompatInfo/Makefile
@@ -13,7 +13,7 @@ RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}Console_Getargs>=1.3.3:devel/pear-Console_Geta
${PEAR_PKGNAMEPREFIX}File_Find>=1.3.0:sysutils/pear-File_Find@${PHP_FLAVOR}
USES= dos2unix pear
-USE_PHP= pcre tokenizer
+USE_PHP= tokenizer
NO_ARCH= yes
diff --git a/devel/pear-PHP_UML/Makefile b/devel/pear-PHP_UML/Makefile
index 68d7db998e1a..659d5eadd66e 100644
--- a/devel/pear-PHP_UML/Makefile
+++ b/devel/pear-PHP_UML/Makefile
@@ -11,7 +11,7 @@ LICENSE= LGPL3
RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}Console_CommandLine>=0:devel/pear-Console_CommandLine@${PHP_FLAVOR}
USES= pear
-USE_PHP= spl xsl
+USE_PHP= xsl
NO_ARCH= yes
diff --git a/devel/pear-Validate_Finance_CreditCard/Makefile b/devel/pear-Validate_Finance_CreditCard/Makefile
index 56ef764c13b9..95d986e31f92 100644
--- a/devel/pear-Validate_Finance_CreditCard/Makefile
+++ b/devel/pear-Validate_Finance_CreditCard/Makefile
@@ -10,7 +10,6 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= pear
-USE_PHP= pcre
NO_ARCH= yes
diff --git a/devel/pear-XML_Util/Makefile b/devel/pear-XML_Util/Makefile
index ebc2ed304470..b1b7359cc49a 100644
--- a/devel/pear-XML_Util/Makefile
+++ b/devel/pear-XML_Util/Makefile
@@ -9,7 +9,6 @@ WWW= https://pear.php.net/package/XML_Util
LICENSE= BSD2CLAUSE
USES= pear
-USE_PHP= pcre
NO_ARCH= yes
diff --git a/devel/pear/Makefile b/devel/pear/Makefile
index 77eb05998219..4ec6f3d7dcfd 100644
--- a/devel/pear/Makefile
+++ b/devel/pear/Makefile
@@ -12,12 +12,12 @@ WWW= https://pear.php.net/
LICENSE= PHP301
-USES= cpe php:cli,flavors tar:xz
+USES= cpe php:build,cli,flavors tar:xz
CPE_VENDOR= php
NO_BUILD= yes
NO_ARCH= yes
-USE_PHP= pcre:build xml:build zlib:build
+USE_PHP= xml:build zlib:build
PEARDIR= ${PREFIX}/share/pear
diff --git a/devel/pecl-ds/Makefile b/devel/pecl-ds/Makefile
index 10bf061750e9..986ef4844e92 100644
--- a/devel/pecl-ds/Makefile
+++ b/devel/pecl-ds/Makefile
@@ -9,7 +9,6 @@ WWW= https://pecl.php.net/package/ds
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= localbase php:pecl
-USE_PHP= json:build
+USES= localbase php:build,pecl
.include <bsd.port.mk>
diff --git a/devel/pecl-json_post/Makefile b/devel/pecl-json_post/Makefile
index 4bf282347470..b38d7a27c1f0 100644
--- a/devel/pecl-json_post/Makefile
+++ b/devel/pecl-json_post/Makefile
@@ -9,7 +9,6 @@ WWW= https://pecl.php.net/package/json_post
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= php:pecl
-USE_PHP= json:build
+USES= php:build,pecl
.include <bsd.port.mk>
diff --git a/devel/pecl-swoole/Makefile b/devel/pecl-swoole/Makefile
index 1779e751ede3..e452fa6ad865 100644
--- a/devel/pecl-swoole/Makefile
+++ b/devel/pecl-swoole/Makefile
@@ -9,8 +9,7 @@ WWW= https://pecl.php.net/package/swoole
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= compiler:c11 localbase:ldflags php:pecl ssl
-USE_PHP= hash:build pcre
+USES= compiler:c11 localbase:ldflags php:build,pecl ssl
CONFIGURE_ARGS+= --enable-mysqlnd
@@ -26,7 +25,7 @@ CURL_LIB_DEPENDS= libcurl.so:ftp/curl
CURL_CONFIGURE_ON= --enable-swoole-curl
CURL_USE= PHP=curl
JSON_CONFIGURE_ON= --enable-swoole-json
-JSON_USE= PHP=json:build
+JSON_USES= php:build
PGSQL_CONFIGURE_ON= --enable-swoole-pgsql
PGSQL_USES= pgsql
BROTLI_CONFIGURE_ON= --enable-brotli
diff --git a/devel/phabricator/Makefile b/devel/phabricator/Makefile
index 4a8b304777f5..7b5487bf4521 100644
--- a/devel/phabricator/Makefile
+++ b/devel/phabricator/Makefile
@@ -40,7 +40,7 @@ SHEBANG_FILES= resources/timezones/*.php \
scripts/util/*.php \
support/aphlict/server/*.php
-USE_PHP= ctype curl fileinfo filter hash iconv mbstring mysqli openssl \
+USE_PHP= ctype curl fileinfo filter iconv mbstring mysqli \
pcntl posix zip
OPTIONS_DEFINE= GD OPCACHE
diff --git a/devel/php-composer/Makefile b/devel/php-composer/Makefile
index e7f47cb427b3..c5046147682f 100644
--- a/devel/php-composer/Makefile
+++ b/devel/php-composer/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss
USES= cpe php:flavors
CPE_VENDOR= getcomposer
-USE_PHP= ctype filter intl json mbstring openssl phar
+USE_PHP= ctype filter intl mbstring phar
CONFLICTS_INSTALL= php*-composer php*-composer2
diff --git a/devel/php-composer2/Makefile b/devel/php-composer2/Makefile
index c40fe280fb97..2e748fe4962b 100644
--- a/devel/php-composer2/Makefile
+++ b/devel/php-composer2/Makefile
@@ -18,7 +18,7 @@ RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss
USES= cpe php:flavors
CPE_VENDOR= getcomposer
-USE_PHP= ctype filter intl json mbstring openssl phar
+USE_PHP= ctype filter intl mbstring phar
CONFLICTS_INSTALL= php*-composer php*-composer2
diff --git a/devel/phpunit10/Makefile b/devel/phpunit10/Makefile
index 256430dca733..1e35c7c287eb 100644
--- a/devel/phpunit10/Makefile
+++ b/devel/phpunit10/Makefile
@@ -13,7 +13,7 @@ WWW= https://phpunit.de/ \
LICENSE= BSD3CLAUSE
USES= cpe php:flavors
-USE_PHP= dom json pcre phar spl
+USE_PHP= dom phar
IGNORE_WITH_PHP=80
NO_ARCH= yes
diff --git a/devel/phpunit8/Makefile b/devel/phpunit8/Makefile
index e3a5fc17e146..9a93b99bd0d6 100644
--- a/devel/phpunit8/Makefile
+++ b/devel/phpunit8/Makefile
@@ -15,7 +15,7 @@ CONFLICTS_INSTALL= phpunit7
USES= cpe php:flavors
CPE_VENDOR= phpunit_project
-USE_PHP= dom json spl pcre phar
+USE_PHP= dom phar
NO_ARCH= yes
NO_BUILD= yes
diff --git a/devel/phpunit9/Makefile b/devel/phpunit9/Makefile
index ec5a8802a1f4..cd0a1597a620 100644
--- a/devel/phpunit9/Makefile
+++ b/devel/phpunit9/Makefile
@@ -13,7 +13,7 @@ WWW= https://phpunit.de/ \
LICENSE= BSD3CLAUSE
USES= cpe php:flavors
-USE_PHP= dom json pcre phar spl
+USE_PHP= dom phar
NO_ARCH= yes
NO_BUILD= yes
diff --git a/devel/websvn/Makefile b/devel/websvn/Makefile
index 68c4092d6b37..d36310ea46d0 100644
--- a/devel/websvn/Makefile
+++ b/devel/websvn/Makefile
@@ -17,7 +17,7 @@ USES= php:web,flavors cpe
USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME}php
-USE_PHP= iconv pcre xml mbstring zlib dom
+USE_PHP= iconv xml mbstring zlib dom
NO_ARCH= yes
NO_BUILD= yes
diff --git a/dns/dns-ui/Makefile b/dns/dns-ui/Makefile
index 43cd5fbc18f0..ab4c160fd330 100644
--- a/dns/dns-ui/Makefile
+++ b/dns/dns-ui/Makefile
@@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= pgsql php:cli
USE_GITHUB= yes
GH_ACCOUNT= operasoftware
-USE_PHP= curl intl json ldap mbstring pdo_pgsql
+USE_PHP= curl intl ldap mbstring pdo_pgsql
NO_BUILD= yes
SUB_FILES= pkg-message
diff --git a/finance/frontaccounting/Makefile b/finance/frontaccounting/Makefile
index ce2215df8699..1e9c4765ccc2 100644
--- a/finance/frontaccounting/Makefile
+++ b/finance/frontaccounting/Makefile
@@ -11,7 +11,7 @@ LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/doc/license.txt
USES= cpe
-USE_PHP+= mysqli openssl session hash ctype zlib
+USE_PHP+= mysqli session ctype zlib
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/finance/frontaccounting24/Makefile b/finance/frontaccounting24/Makefile
index 9e2caa235a58..7ae482596d59 100644
--- a/finance/frontaccounting24/Makefile
+++ b/finance/frontaccounting24/Makefile
@@ -14,7 +14,7 @@ LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/doc/license.txt
USES= cpe
-USE_PHP+= mysqli openssl session hash ctype zlib
+USE_PHP+= mysqli session ctype zlib
WRKSRC= ${WRKDIR}/${DIST_SUBDIR}
NO_BUILD= yes
diff --git a/finance/prestashop/Makefile b/finance/prestashop/Makefile
index ce3e111b5506..7907a678243f 100644
--- a/finance/prestashop/Makefile
+++ b/finance/prestashop/Makefile
@@ -12,7 +12,7 @@ USES= cpe php shebangfix zip:infozip
NO_BUILD= yes
PRESTADIR= www/${PORTNAME}
PLIST= ${WRKDIR}/plist
-USE_PHP= ctype curl dom filter gd hash intl json mcrypt \
+USE_PHP= ctype curl dom filter gd intl mcrypt \
mysqli pdo_mysql posix session simplexml soap
WRKSRC= ${WRKDIR}/${PORTNAME}
SUB_FILES= pkg-message
diff --git a/ftp/net2ftp/Makefile b/ftp/net2ftp/Makefile
index bbef48d0df53..089f23ea2655 100644
--- a/ftp/net2ftp/Makefile
+++ b/ftp/net2ftp/Makefile
@@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= cpe php zip
.if !defined(WITHOUT_PHP_DEPENDS)
-USE_PHP= ftp mysqli pcre session zlib
+USE_PHP= ftp mysqli session zlib
.endif
NO_ARCH= yes
diff --git a/mail/nocc/Makefile b/mail/nocc/Makefile
index ecc7b14a7593..99347edef6a6 100644
--- a/mail/nocc/Makefile
+++ b/mail/nocc/Makefile
@@ -13,7 +13,7 @@ USES= cpe php:web
OPTIONS_DEFINE= DOCS
-USE_PHP= ctype iconv imap mbstring openssl pcre session
+USE_PHP= ctype iconv imap mbstring session
SUB_FILES= pkg-message
NO_ARCH= yes
diff --git a/mail/pear-Horde_Imap_Client/Makefile b/mail/pear-Horde_Imap_Client/Makefile
index b4b15f6101da..3d006541d802 100644
--- a/mail/pear-Horde_Imap_Client/Makefile
+++ b/mail/pear-Horde_Imap_Client/Makefile
@@ -8,7 +8,6 @@ COMMENT= Horde IMAP abstraction interface
WWW= https://pear.horde.org
USES= horde php cpe
-USE_PHP= hash
USE_HORDE_RUN= Horde_Exception \
Horde_Mail \
Horde_Mime \
diff --git a/mail/phplist/Makefile b/mail/phplist/Makefile
index c9f2a00bb79a..4d4906da7b94 100644
--- a/mail/phplist/Makefile
+++ b/mail/phplist/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PEARDIR}/HTTP/Request.php:www/pear-HTTP_Request@${PHP_FLAVOR}
USES= cpe tar:tgz php:web,flavors
-USE_PHP= curl gd gettext hash iconv imap json mbstring mysqli pcre session xml zlib
+USE_PHP= curl gd gettext iconv imap mbstring mysqli session xml zlib
IGNORE_WITH_PHP= 82
NO_ARCH= yes
diff --git a/mail/postfixadmin/Makefile b/mail/postfixadmin/Makefile
index 5b3cf647797f..b4ab81cb7f4f 100644
--- a/mail/postfixadmin/Makefile
+++ b/mail/postfixadmin/Makefile
@@ -20,7 +20,7 @@ CPE_VENDOR= postfix_admin_project
CPE_PRODUCT= postfix_admin
USE_GITHUB= yes
GH_TAGNAME= d3bc1551
-USE_PHP= mbstring openssl pcre session spl
+USE_PHP= mbstring session
NO_ARCH= yes
NO_BUILD= yes
diff --git a/mail/postfixadmin33/Makefile b/mail/postfixadmin33/Makefile
index 54d8865dfd5f..2cbc80738598 100644
--- a/mail/postfixadmin33/Makefile
+++ b/mail/postfixadmin33/Makefile
@@ -22,7 +22,7 @@ CPE_PRODUCT= postfix_admin
USE_GITHUB= yes
GH_ACCOUNT= ${DISTNAME}
GH_PROJECT= ${DISTNAME}
-USE_PHP= mbstring openssl pcre session spl
+USE_PHP= mbstring session
NO_ARCH= yes
NO_BUILD= yes
diff --git a/mail/rainloop/Makefile b/mail/rainloop/Makefile
index 3d8260e13059..605eeff14f26 100644
--- a/mail/rainloop/Makefile
+++ b/mail/rainloop/Makefile
@@ -12,7 +12,7 @@ WWW= https://rainloop.net/
LICENSE= MIT
USES= php:web,flavors zip
-USE_PHP= curl dom iconv json openssl pcre simplexml spl xml zlib
+USE_PHP= curl dom iconv simplexml xml zlib
NO_ARCH= yes
NO_BUILD= yes
diff --git a/mail/roundcube/Makefile b/mail/roundcube/Makefile
index ca6537e4adfe..1017de67e7a1 100644
--- a/mail/roundcube/Makefile
+++ b/mail/roundcube/Makefile
@@ -26,7 +26,7 @@ PORTDOCS= CHANGELOG.md INSTALL README.md UPGRADING
CPE_PRODUCT= webmail
CPE_VENDOR= roundcube
-USE_PHP= pcre mbstring session iconv dom xml json intl zip filter openssl fileinfo exif ctype
+USE_PHP= mbstring session iconv dom xml intl zip filter fileinfo exif ctype
IGNORE_WITH_PHP=82
OPTIONS_DEFINE= LDAP GD PSPELL NSC DOCS EXAMPLES
diff --git a/mail/snappymail/Makefile b/mail/snappymail/Makefile
index 2ec62bea6927..6e9a1fc8792c 100644
--- a/mail/snappymail/Makefile
+++ b/mail/snappymail/Makefile
@@ -14,7 +14,7 @@ RUN_DEPENDS= ${PECL_PKGNAMEPREFIX}APCu>0:devel/pecl-APCu@${PHP_FLAVOR} \
${PECL_PKGNAMEPREFIX}uuid>0:devel/pecl-uuid@${PHP_FLAVOR}
USES= php:web,flavors
-USE_PHP= curl dom gd iconv intl json mbstring openssl phar sodium tidy \
+USE_PHP= curl dom gd iconv intl mbstring phar sodium tidy \
xml zip zlib
NO_ARCH= yes
diff --git a/mail/squirrelmail/Makefile b/mail/squirrelmail/Makefile
index 4574e884934c..f7a0c4d3ecf2 100644
--- a/mail/squirrelmail/Makefile
+++ b/mail/squirrelmail/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/doc/COPYING
USES= cpe gettext perl5 php:web,flavors tar:bzip2
USE_PERL5= run
-USE_PHP= gettext hash mbstring openssl pcre session xml
+USE_PHP= gettext mbstring session xml
CONFLICTS= squirreloutlook
diff --git a/math/pear-Math_BigInteger/Makefile b/math/pear-Math_BigInteger/Makefile
index dc9cb97e06bb..056f95cc1b99 100644
--- a/math/pear-Math_BigInteger/Makefile
+++ b/math/pear-Math_BigInteger/Makefile
@@ -7,6 +7,5 @@ COMMENT= Pure-PHP arbitrary precision integer arithmetic library
WWW= https://pear.php.net/package/Math_BigInteger
USES= pear php
-USE_PHP= pcre
.include <bsd.port.mk>
diff --git a/misc/pear-Services_Weather/Makefile b/misc/pear-Services_Weather/Makefile
index ef79b26f9ce5..b45dd1a6e074 100644
--- a/misc/pear-Services_Weather/Makefile
+++ b/misc/pear-Services_Weather/Makefile
@@ -12,7 +12,7 @@ LICENSE= BSD2CLAUSE
RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}HTTP_Request>=1.2.0:www/pear-HTTP_Request@${PHP_FLAVOR}
USES= pear
-USE_PHP= ctype pcre
+USE_PHP= ctype
NO_ARCH= yes
diff --git a/multimedia/zoneminder/Makefile b/multimedia/zoneminder/Makefile
index 92fa530ce642..17b79c0ea0b0 100644
--- a/multimedia/zoneminder/Makefile
+++ b/multimedia/zoneminder/Makefile
@@ -40,7 +40,7 @@ GH_TUPLE= FriendsOfCake:crud:1429237:crud/web/api/app/Plugin/Crud \
ZoneMinder:CakePHP-Enum-Behavior:ea90c0c:crud_plugin/web/api/app/Plugin/CakePHP-Enum-Behavior \
ZoneMinder:RtspServer:eab3285:rtsp_server/dep/RtspServer
USE_RC_SUBR= zoneminder
-USE_PHP= ctype gd hash intl json opcache openssl pdo_mysql session sockets sysvsem
+USE_PHP= ctype gd intl opcache pdo_mysql session sockets sysvsem
OPTIONS_DEFINE= NLS V4L
OPTIONS_SUB= yes
diff --git a/net-mgmt/cacti/Makefile b/net-mgmt/cacti/Makefile
index bb39814cafb8..974ad2b192f6 100644
--- a/net-mgmt/cacti/Makefile
+++ b/net-mgmt/cacti/Makefile
@@ -15,7 +15,7 @@ RUN_DEPENDS= rrdtool:databases/rrdtool
USES= cpe mysql php:web shebangfix
-USE_PHP= ctype filter gd gettext gmp hash json ldap mbstring openssl pcre pdo pdo_mysql posix session simplexml sockets snmp xml zlib
+USE_PHP= ctype filter gd gettext gmp ldap mbstring pdo pdo_mysql posix session simplexml sockets snmp xml zlib
NO_ARCH= yes
NO_BUILD= yes
SUB_FILES= pkg-message
diff --git a/net-mgmt/icingaweb2/Makefile b/net-mgmt/icingaweb2/Makefile
index 26e5bdd7ebb0..6b44d47388c0 100644
--- a/net-mgmt/icingaweb2/Makefile
+++ b/net-mgmt/icingaweb2/Makefile
@@ -17,8 +17,8 @@ RUN_DEPENDS= icinga-php-library${PHP_PKGNAMESUFFIX}>=0.10.0:net-mgmt/icinga-php-
icingaweb2-module-incubator${PHP_PKGNAMESUFFIX}>=0.18.0:net-mgmt/icingaweb2-module-incubator@${PHP_FLAVOR}
USES= php:build,web,flavors shebangfix
-USE_PHP= bcmath bitset ctype curl dom gd gettext hash iconv json ldap \
- mbstring mcrypt memcache memcached opcache openssl pcre pdo \
+USE_PHP= bcmath bitset ctype curl dom gd gettext iconv ldap \
+ mbstring mcrypt memcache memcached opcache pdo \
pdo_sqlite posix session simplexml soap sockets sqlite3 xml \
zlib
diff --git a/net-mgmt/klg/Makefile b/net-mgmt/klg/Makefile
index 2e3bb47babad..7bdca24a2631 100644
--- a/net-mgmt/klg/Makefile
+++ b/net-mgmt/klg/Makefile
@@ -13,7 +13,7 @@ WWW= https://sourceforge.net/projects/klg/
LICENSE= BSD3CLAUSE
USES= tar:txz php:web,flavors mysql:client
-USE_PHP= mysqli pcre sockets xml
+USE_PHP= mysqli sockets xml
NO_ARCH= yes
NO_BUILD= yes
diff --git a/net-mgmt/librenms/Makefile b/net-mgmt/librenms/Makefile
index cf44d7687edb..8dd0471dd157 100644
--- a/net-mgmt/librenms/Makefile
+++ b/net-mgmt/librenms/Makefile
@@ -27,8 +27,8 @@ RUN_DEPENDS+= ${LOCALBASE}/share/pear/Net/IPv4.php:net/pear-Net_IPv4@${PHP_FLAVO
USES= cpe php python shebangfix
USE_GITHUB= yes
-USE_PHP= ctype curl dom fileinfo filter gd hash json ldap mbstring \
- mysqli openssl pdo pdo_mysql phar posix session simplexml snmp \
+USE_PHP= ctype curl dom fileinfo filter gd ldap mbstring \
+ mysqli pdo pdo_mysql phar posix session simplexml snmp \
sockets tokenizer xml xmlwriter zip
USE_RC_SUBR= librenms
diff --git a/net-mgmt/nagvis/Makefile b/net-mgmt/nagvis/Makefile
index eae313eedf4e..6350583a4c29 100644
--- a/net-mgmt/nagvis/Makefile
+++ b/net-mgmt/nagvis/Makefile
@@ -11,7 +11,7 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cpe gettext php:web
-USE_PHP= gd gettext mbstring session json pdo pdo_sqlite
+USE_PHP= gd gettext mbstring session pdo pdo_sqlite
NO_BUILD= yes
NO_ARCH= yes
diff --git a/net-mgmt/nfsen/Makefile b/net-mgmt/nfsen/Makefile
index f0fa7962f75a..1905c6b6b8c0 100644
--- a/net-mgmt/nfsen/Makefile
+++ b/net-mgmt/nfsen/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS= rrdtool>=0:databases/rrdtool \
USES= cpe iconv shebangfix perl5 php
CPE_VENDOR= nfsen
CPE_PRODUCT= nfsen
-USE_PHP= session pcre sockets
+USE_PHP= session sockets
NO_BUILD= yes
NO_ARCH= yes
NFSENOWN?= www
diff --git a/net-mgmt/observium/Makefile b/net-mgmt/observium/Makefile
index e2bea9c27867..6c0bce1875ea 100644
--- a/net-mgmt/observium/Makefile
+++ b/net-mgmt/observium/Makefile
@@ -27,7 +27,7 @@ SHEBANG_FILES= \
poller.php \
scripts/
-USE_PHP= ctype filter gd iconv json mcrypt mysqli openssl posix session snmp tokenizer xml zlib
+USE_PHP= ctype filter gd iconv mcrypt mysqli posix session snmp tokenizer xml zlib
NO_ARCH= yes
NO_BUILD= yes
diff --git a/net-mgmt/ocsinventory-ocsreports/Makefile b/net-mgmt/ocsinventory-ocsreports/Makefile
index be69f2ca9ba5..16b9510566d7 100644
--- a/net-mgmt/ocsinventory-ocsreports/Makefile
+++ b/net-mgmt/ocsinventory-ocsreports/Makefile
@@ -12,7 +12,7 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= php:web
-USE_PHP= curl gd mbstring mysqli openssl pcre session simplexml soap xml zip zlib
+USE_PHP= curl gd mbstring mysqli session simplexml soap xml zip zlib
NO_ARCH= yes
NO_BUILD= yes
GH_ACCOUNT= OCSInventory-NG
diff --git a/net-mgmt/pandorafms_console/Makefile b/net-mgmt/pandorafms_console/Makefile
index fb1430a3dc03..c2ccd5a3b3a4 100644
--- a/net-mgmt/pandorafms_console/Makefile
+++ b/net-mgmt/pandorafms_console/Makefile
@@ -25,7 +25,7 @@ OPTIONS_DEFINE= DOCS PGSQL
DOCS_DESC= Install AUTHORS and ChangeLog
PGSQL_DESC= Use PostgreSQL backend (experimental)
-USE_PHP= curl filter gd gettext hash json ldap mbstring mysqli \
+USE_PHP= curl filter gd gettext ldap mbstring mysqli \
snmp session xml zip zlib
SUB_FILES+= pandora_console.conf pkg-message newsyslog.conf
diff --git a/net-mgmt/phpipam/Makefile b/net-mgmt/phpipam/Makefile
index 9f19a2250448..487be208bdf2 100644
--- a/net-mgmt/phpipam/Makefile
+++ b/net-mgmt/phpipam/Makefile
@@ -16,8 +16,8 @@ IGNORE_WITH_PHP= 82
USE_GITHUB= yes
GH_TAGNAME= be8a2c4
-USE_PHP= ctype curl dom filter gd gettext gmp iconv json mbstring mcrypt \
- openssl pcntl pdo pdo_mysql posix session simplexml sockets
+USE_PHP= ctype curl dom filter gd gettext gmp iconv mbstring mcrypt \
+ pcntl pdo pdo_mysql posix session simplexml sockets
NO_ARCH= yes
NO_BUILD= yes
diff --git a/net-mgmt/pnp/Makefile b/net-mgmt/pnp/Makefile
index b580da0ed814..74de1e58f89f 100644
--- a/net-mgmt/pnp/Makefile
+++ b/net-mgmt/pnp/Makefile
@@ -26,7 +26,7 @@ PDF_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-disable-pdf
.include <bsd.port.options.mk>
-USE_PHP= gd iconv json pcre session simplexml sockets xml zlib
+USE_PHP= gd iconv session simplexml sockets xml zlib
USE_RC_SUBR= npcd
diff --git a/net/pear-Horde_Kolab_Server/Makefile b/net/pear-Horde_Kolab_Server/Makefile
index 126ec04319c7..582ca5ead865 100644
--- a/net/pear-Horde_Kolab_Server/Makefile
+++ b/net/pear-Horde_Kolab_Server/Makefile
@@ -8,7 +8,6 @@ COMMENT= Horde library for manipulating the Kolab user database
WWW= https://pear.horde.org
USES= horde php cpe
-USE_PHP= hash
USE_HORDE_RUN= Horde_Auth \
Horde_Exception
diff --git a/net/pear-Net_UserAgent_Mobile/Makefile b/net/pear-Net_UserAgent_Mobile/Makefile
index 1cc5a45f7e26..0a82e02b0303 100644
--- a/net/pear-Net_UserAgent_Mobile/Makefile
+++ b/net/pear-Net_UserAgent_Mobile/Makefile
@@ -8,7 +8,6 @@ COMMENT= PEAR class that parses HTTP mobile user agent string
WWW= https://pear.php.net/package/Net_UserAgent_Mobile
NO_ARCH= yes
-USE_PHP= pcre
USES= pear php
.include <bsd.port.mk>
diff --git a/net/pear-Services_Twitter/Makefile b/net/pear-Services_Twitter/Makefile
index ee17716a14cd..1afa9fa72d86 100644
--- a/net/pear-Services_Twitter/Makefile
+++ b/net/pear-Services_Twitter/Makefile
@@ -10,7 +10,7 @@ BUILD_DEPENDS= ${PEARDIR}/HTTP/Request2.php:www/pear-HTTP_Request2@${PHP_FLAVOR}
RUN_DEPENDS= ${PEARDIR}/HTTP/Request2.php:www/pear-HTTP_Request2@${PHP_FLAVOR}
USES= cpe pear php
-USE_PHP= json simplexml mbstring
+USE_PHP= simplexml mbstring
CPE_VENDOR= services_twitter_group
diff --git a/net/phpldapadmin/Makefile b/net/phpldapadmin/Makefile
index 9cf571196d61..20ddb167b609 100644
--- a/net/phpldapadmin/Makefile
+++ b/net/phpldapadmin/Makefile
@@ -15,7 +15,7 @@ CPE_VENDOR= phpldapadmin_project
USE_GITHUB= yes
GH_ACCOUNT= leenooks
GH_PROJECT= phpLDAPadmin
-USE_PHP= gettext hash iconv ldap openssl pcre session xml
+USE_PHP= gettext iconv ldap session xml
NO_ARCH= yes
NO_BUILD= yes
diff --git a/net/rtg/Makefile b/net/rtg/Makefile
index e06a1905ff0b..7ed0845faa15 100644
--- a/net/rtg/Makefile
+++ b/net/rtg/Makefile
@@ -38,7 +38,7 @@ WEB_DESC= Include PHP-based web client interface pre-requisites
MYSQL_USES= mysql:server
WEB_USES= php
-WEB_USE= PHP=mysqli,spl
+WEB_USE= PHP=mysqli
WEB_SUB_FILES= pkg-message
post-patch:
diff --git a/net/self-service-password/Makefile b/net/self-service-password/Makefile
index 476234d8bb31..9eccdc59d635 100644
--- a/net/self-service-password/Makefile
+++ b/net/self-service-password/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENCE
RUN_DEPENDS= ${LOCALBASE}/share/smarty3-${PHP_FLAVOR}/Smarty.class.php:www/smarty3@${PHP_FLAVOR}
USES= php:flavors,web
-USE_PHP= filter hash ldap mbstring openssl phar session
+USE_PHP= filter ldap mbstring phar session
NO_ARCH= yes
NO_BUILD= yes
diff --git a/security/maia/Makefile b/security/maia/Makefile
index 77fecd2366b5..30237f78c2e0 100644
--- a/security/maia/Makefile
+++ b/security/maia/Makefile
@@ -102,7 +102,7 @@ USES+= apache:run
.if ${PORT_OPTIONS:MWEBHOST}
USES+= php
-USE_PHP= bcmath ctype dom gettext hash iconv imap json mbstring \
+USE_PHP= bcmath ctype dom gettext iconv imap mbstring \
mcrypt pdo pdo_sqlite posix session simplexml sockets \
sqlite3 tokenizer xml xmlreader xmlwriter xmlrpc
diff --git a/security/pear-Crypt_CHAP/Makefile b/security/pear-Crypt_CHAP/Makefile
index c62e11eb1b42..03b3352eff41 100644
--- a/security/pear-Crypt_CHAP/Makefile
+++ b/security/pear-Crypt_CHAP/Makefile
@@ -7,6 +7,6 @@ COMMENT= PEAR class for generating CHAP packets
WWW= https://pear.php.net/package/Crypt_CHAP
USES= pear php
-USE_PHP= mcrypt hash
+USE_PHP= mcrypt
.include <bsd.port.mk>
diff --git a/security/pear-File_SMBPasswd/Makefile b/security/pear-File_SMBPasswd/Makefile
index 683ece16f071..17e04540d05a 100644
--- a/security/pear-File_SMBPasswd/Makefile
+++ b/security/pear-File_SMBPasswd/Makefile
@@ -10,6 +10,5 @@ BUILD_DEPENDS= ${PEARDIR}/Crypt/CHAP.php:security/pear-Crypt_CHAP@${PHP_FLAVOR}
RUN_DEPENDS= ${PEARDIR}/Crypt/CHAP.php:security/pear-Crypt_CHAP@${PHP_FLAVOR}
USES= pear php
-USE_PHP= hash
.include <bsd.port.mk>
diff --git a/security/pear-Horde_Auth/Makefile b/security/pear-Horde_Auth/Makefile
index edb2fcc53f06..5cea267d5726 100644
--- a/security/pear-Horde_Auth/Makefile
+++ b/security/pear-Horde_Auth/Makefile
@@ -8,6 +8,5 @@ WWW= https://pear.horde.org
USES= horde php cpe
USE_HORDE_RUN= Horde_Exception Horde_Util
-USE_PHP= hash
.include <bsd.port.mk>
diff --git a/security/pear-Horde_Crypt/Makefile b/security/pear-Horde_Crypt/Makefile
index dac4e4b569ed..3578a943ce60 100644
--- a/security/pear-Horde_Crypt/Makefile
+++ b/security/pear-Horde_Crypt/Makefile
@@ -16,7 +16,6 @@ USE_HORDE_RUN= Horde_Exception \
Horde_Stream_Filter \
Horde_Translation \
Horde_Util
-USE_PHP= hash openssl
BCMATH_USE= PHP=bcmath
diff --git a/security/pear-Horde_Crypt_Blowfish/Makefile b/security/pear-Horde_Crypt_Blowfish/Makefile
index bdb911fd3695..5393419af6e1 100644
--- a/security/pear-Horde_Crypt_Blowfish/Makefile
+++ b/security/pear-Horde_Crypt_Blowfish/Makefile
@@ -11,15 +11,6 @@ USES= horde cpe
USE_HORDE_RUN= Horde_Exception \
Horde_Support
-OPTIONS_DEFINE= MHASH OPENSSL
-MHASH_DESC= Depend on mhash PHP extension
-OPENSSL_DESC= Depend on OpenSSL PHP extension
-
-MHASH_USES= php
-MHASH_USE= PHP=hash
-OPENSSL_USES= php
-OPENSSL_USE= PHP=openssl
-
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/security/pear-Horde_Oauth/Makefile b/security/pear-Horde_Oauth/Makefile
index 1949581ccafa..7a6c5c1b9a09 100644
--- a/security/pear-Horde_Oauth/Makefile
+++ b/security/pear-Horde_Oauth/Makefile
@@ -10,6 +10,5 @@ USES= horde php cpe
USE_HORDE_RUN= Horde_Exception \
Horde_Http \
Horde_Util
-USE_PHP= hash openssl
.include <bsd.port.mk>
diff --git a/security/pear-Horde_Secret/Makefile b/security/pear-Horde_Secret/Makefile
index a33fa90d1bc2..dff227a06b4c 100644
--- a/security/pear-Horde_Secret/Makefile
+++ b/security/pear-Horde_Secret/Makefile
@@ -11,6 +11,4 @@ USE_HORDE_RUN= Horde_Crypt_Blowfish \
Horde_Exception \
Horde_Support
-USE_PHP= hash
-
.include <bsd.port.mk>
diff --git a/security/pecl-scrypt/Makefile b/security/pecl-scrypt/Makefile
index d468d094286c..c5752cd8687e 100644
--- a/security/pecl-scrypt/Makefile
+++ b/security/pecl-scrypt/Makefile
@@ -9,8 +9,7 @@ WWW= https://pecl.php.net/package/scrypt
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= php:pecl
-USE_PHP= hash:build
+USES= php:build,pecl
OPTIONS_DEFINE= DOCS EXAMPLES
diff --git a/security/snuffleupagus/Makefile b/security/snuffleupagus/Makefile
index c6b389f53d27..0db1814d6885 100644
--- a/security/snuffleupagus/Makefile
+++ b/security/snuffleupagus/Makefile
@@ -13,10 +13,10 @@ LICENSE_FILE= ${WRKSRC}/../LICENSE
LIB_DEPENDS= libpcre2-8.so:devel/pcre2
-USES= localbase:ldflags php:ext
+USES= localbase:ldflags php:build,ext
USE_GITHUB= yes
GH_ACCOUNT= jvoisin
-USE_PHP= hash:build session:build
+USE_PHP= session:build
IGNORE_WITH_PHP= 82
CONFIGURE_ARGS= --enable-snuffleupagus
diff --git a/shells/pear-PHP_Shell/Makefile b/shells/pear-PHP_Shell/Makefile
index 03d69688d10e..393891d5e7a8 100644
--- a/shells/pear-PHP_Shell/Makefile
+++ b/shells/pear-PHP_Shell/Makefile
@@ -7,7 +7,7 @@ MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Interactive PHP Shell
WWW= https://pear.php.net/package/PHP_Shell
-USE_PHP= pcre tokenizer readline
+USE_PHP= tokenizer readline
USES= pear php
diff --git a/sysutils/froxlor/Makefile b/sysutils/froxlor/Makefile
index 228903a6de38..fc0c32b77989 100644
--- a/sysutils/froxlor/Makefile
+++ b/sysutils/froxlor/Makefile
@@ -10,7 +10,7 @@ WWW= https://www.froxlor.org/
LICENSE= GPLv2
USES= cpe php:cli shebangfix
-USE_PHP= bcmath curl filter ftp json pdo_mysql posix session xml zip
+USE_PHP= bcmath curl filter ftp pdo_mysql posix session xml zip
SUB_FILES= pkg-deinstall pkg-message
SUB_LIST= PORTNAME=${PORTNAME} \
diff --git a/sysutils/ldap-account-manager/Makefile b/sysutils/ldap-account-manager/Makefile
index ec4ca94dec19..a1de8d4d0f8e 100644
--- a/sysutils/ldap-account-manager/Makefile
+++ b/sysutils/ldap-account-manager/Makefile
@@ -14,8 +14,8 @@ RUN_DEPENDS= p5-perl-ldap>=0:net/p5-perl-ldap \
p5-Quota>=0:sysutils/p5-Quota
USES= perl5 php:web tar:bzip2
-USE_PHP= curl filter gd gettext gmp hash iconv json ldap mbstring \
- openssl pcre session simplexml xml xmlreader xmlwriter zip
+USE_PHP= curl filter gd gettext gmp iconv ldap mbstring \
+ session simplexml xml xmlreader xmlwriter zip
WWWDIR= ${PREFIX}/www/${SHORTNAME}
NO_ARCH= yes
diff --git a/sysutils/n98-magerun/Makefile b/sysutils/n98-magerun/Makefile
index fa3a7bf0c252..990eb41ec979 100644
--- a/sysutils/n98-magerun/Makefile
+++ b/sysutils/n98-magerun/Makefile
@@ -12,7 +12,7 @@ WWW= https://magerun.net/
LICENSE= MIT
USES= mysql:client php:cli
-USE_PHP= phar bz2 simplexml pdo_mysql json zlib ctype dom posix
+USE_PHP= phar bz2 simplexml pdo_mysql zlib ctype dom posix
NO_ARCH= yes
NO_BUILD= yes
diff --git a/sysutils/pear-File/Makefile b/sysutils/pear-File/Makefile
index 7f9defa7170a..0adf45745f70 100644
--- a/sysutils/pear-File/Makefile
+++ b/sysutils/pear-File/Makefile
@@ -8,6 +8,5 @@ COMMENT= PEAR common file and directory routines
WWW= https://pear.php.net/package/File
USES= pear php
-USE_PHP= pcre
.include <bsd.port.mk>
diff --git a/sysutils/pear-I18Nv2/Makefile b/sysutils/pear-I18Nv2/Makefile
index 730721828116..457b9bef487b 100644
--- a/sysutils/pear-I18Nv2/Makefile
+++ b/sysutils/pear-I18Nv2/Makefile
@@ -9,7 +9,7 @@ WWW= https://pear.php.net/package/I18Nv2
LICENSE= PHP30
USES= pear
-USE_PHP= iconv pcre
+USE_PHP= iconv
NO_ARCH= yes
diff --git a/sysutils/racktables/Makefile b/sysutils/racktables/Makefile
index c5cc27cc6bce..5429bbd9a98d 100644
--- a/sysutils/racktables/Makefile
+++ b/sysutils/racktables/Makefile
@@ -23,20 +23,18 @@ USE_PERL5= run
SHEBANG_FILES= gateways/*
CPE_VENDOR= racktables_project
-USE_PHP= bcmath gd json mbstring mysqli pdo_mysql session
+USE_PHP= bcmath gd mbstring mysqli pdo_mysql session
SUB_FILES= pkg-message
PLIST_SUB= WWWDIR_REL=${WWWDIR_REL} WWWDIR=${WWWDIR}
WWWUSER?= www
WWWGRP?= www
-OPTIONS_DEFINE= LDAP SNMP CURL PCNTL PCRE EXAMPLES
-PCRE_DESC= Regular Expression Support
+OPTIONS_DEFINE= LDAP SNMP CURL PCNTL EXAMPLES
PCNTL_DESC= pcntl Support
LDAP_USE= PHP=ldap
SNMP_USE= PHP=snmp
CURL_USE= PHP=curl
PCNTL_USE= PHP=pcntl
-PCRE_USE= PHP=pcre
post-patch:
@${FIND} ${WRKSRC} -name \*.orig -type f -delete
diff --git a/www/baculum-common/Makefile b/www/baculum-common/Makefile
index 66b9dcf682f3..5d933602cb26 100644
--- a/www/baculum-common/Makefile
+++ b/www/baculum-common/Makefile
@@ -21,7 +21,7 @@ BCL_LOGDIR?= ${BCL_VARDIR}/log/${PORTNAME}
NO_ARCH= yes
NO_BUILD= yes
-USE_PHP+= ctype dom json session xml
+USE_PHP+= ctype dom session xml
OPTIONS_DEFINE?=EXAMPLES
diff --git a/www/baikal/Makefile b/www/baikal/Makefile
index bf1cf7ceabce..8baa67858c78 100644
--- a/www/baikal/Makefile
+++ b/www/baikal/Makefile
@@ -12,7 +12,7 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= php zip
-USE_PHP= ctype dom filter hash imap json mbstring openssl pdo_sqlite \
+USE_PHP= ctype dom filter imap mbstring pdo_sqlite \
session xml xmlreader xmlwriter
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/www/bareos-webui/Makefile b/www/bareos-webui/Makefile
index acc1142b37ff..272b633a662b 100644
--- a/www/bareos-webui/Makefile
+++ b/www/bareos-webui/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/webui/LICENSE
USE_GITHUB= yes
USES= cpe php:build cmake gettext
-USE_PHP= openssl gettext ctype hash json session iconv
+USE_PHP= gettext ctype session iconv
NO_BUILD= yes
NO_ARCH= yes
diff --git a/www/bareos18-webui/Makefile b/www/bareos18-webui/Makefile
index 32fc78c51ee4..b26b03b35b17 100644
--- a/www/bareos18-webui/Makefile
+++ b/www/bareos18-webui/Makefile
@@ -16,7 +16,7 @@ GH_ACCOUNT= bareos
GH_PROJECT= bareos
USES= cpe php
-USE_PHP= openssl gettext ctype hash json session iconv
+USE_PHP= gettext ctype session iconv
NO_BUILD= yes
NO_ARCH= yes
diff --git a/www/bareos19-webui/Makefile b/www/bareos19-webui/Makefile
index 927e8fa5c6f7..f19709641a62 100644
--- a/www/bareos19-webui/Makefile
+++ b/www/bareos19-webui/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/webui/LICENSE
USE_GITHUB= yes
USES= cmake cpe gettext php:build
-USE_PHP= ctype gettext hash iconv json openssl session
+USE_PHP= ctype gettext iconv session
NO_BUILD= yes
NO_ARCH= yes
diff --git a/www/bareos20-webui/Makefile b/www/bareos20-webui/Makefile
index ee88ab75406f..e68552130616 100644
--- a/www/bareos20-webui/Makefile
+++ b/www/bareos20-webui/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/webui/LICENSE
USE_GITHUB= yes
USES= cpe php:build cmake gettext
-USE_PHP= openssl gettext ctype hash json session iconv
+USE_PHP= gettext ctype session iconv
NO_BUILD= yes
NO_ARCH= yes
diff --git a/www/bareos21-webui/Makefile b/www/bareos21-webui/Makefile
index f1a6ecbc4ed5..a918289be1b4 100644
--- a/www/bareos21-webui/Makefile
+++ b/www/bareos21-webui/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/webui/LICENSE
USE_GITHUB= yes
USES= cpe php:build cmake gettext
-USE_PHP= openssl gettext ctype hash json session iconv
+USE_PHP= gettext ctype session iconv
NO_BUILD= yes
NO_ARCH= yes
diff --git a/www/bolt/Makefile b/www/bolt/Makefile
index 69c723e6ea83..05b824f238ce 100644
--- a/www/bolt/Makefile
+++ b/www/bolt/Makefile
@@ -16,7 +16,7 @@ CPE_VENDOR= ${PORTNAME}cms
NO_ARCH= yes
NO_BUILD= yes
-USE_PHP= ctype curl dom gd json mbstring openssl simplexml tokenizer
+USE_PHP= ctype curl dom gd mbstring simplexml tokenizer
PLIST_SUB+= WWWGRP=${WWWGRP}
diff --git a/www/codeigniter/Makefile b/www/codeigniter/Makefile
index 299f68b8e2cb..9dbfc81ac286 100644
--- a/www/codeigniter/Makefile
+++ b/www/codeigniter/Makefile
@@ -10,7 +10,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/license.txt
USES= cpe php:web
-USE_PHP= mcrypt pcre session
+USE_PHP= mcrypt session
USE_GITHUB= yes
GH_ACCOUNT= bcit-ci
@@ -39,11 +39,10 @@ CI_CONF_FILES= application/config/autoload.php \
application/config/user_agents.php \
index.php
-OPTIONS_DEFINE= APACHE MSSQL MYSQLI ODBC PGSQL SQLITE
+OPTIONS_DEFINE= APACHE MYSQLI ODBC PGSQL SQLITE
OPTIONS_SUB= yes
APACHE_DESC= Configure for Apache-2.x
-MSSQL_DESC= Install MSSQL support for PHP
MYSQLI_DESC= Install MySQLi support for PHP
ODBC_DESC= Install ODBC support for PHP
PGSQL_DESC= Install PostgreSQL support for PHP
@@ -51,7 +50,6 @@ SQLITE_DESC= Install SQLite support for PHP
APACHE_SUB_FILES= codeigniter.conf
APACHE_USES= apache:run
-MSSQL_USE= PHP=mssql
MYSQLI_USE= PHP=mysqli
ODBC_USE= PHP=odbc
PGSQL_USE= PHP=pgsql
diff --git a/www/coppermine/Makefile b/www/coppermine/Makefile
index c91d92268434..947ff0cdf531 100644
--- a/www/coppermine/Makefile
+++ b/www/coppermine/Makefile
@@ -17,7 +17,7 @@ IMAGEMAGICK_DESC= Use ImageMagick instead of PHP GD extension
IMAGEMAGICK_USES= magick:6,run
IMAGEMAGICK_USE_OFF= PHP=gd
-USE_PHP= ctype hash json mysqli pcre xml
+USE_PHP= ctype mysqli xml
USE_GITHUB= yes
GH_ACCOUNT= coppermine-gallery
diff --git a/www/davical/Makefile b/www/davical/Makefile
index a89acdd80159..4109a35b7bc1 100644
--- a/www/davical/Makefile
+++ b/www/davical/Makefile
@@ -24,7 +24,7 @@ USE_GITLAB= yes
GL_ACCOUNT= davical-project
GL_COMMIT= 4301a795ac7a7636846bcc15348d96c68a1830fd
-USE_PHP= calendar curl gettext iconv pcre pdo \
+USE_PHP= calendar curl gettext iconv pdo \
pdo_pgsql pgsql session xml
NO_ARCH= yes
diff --git a/www/dokuwiki/Makefile b/www/dokuwiki/Makefile
index a94dd2887302..25ab01b1fb67 100644
--- a/www/dokuwiki/Makefile
+++ b/www/dokuwiki/Makefile
@@ -19,7 +19,7 @@ LICENSE_FILE_MIT= ${WRKSRC}/vendor/composer/LICENSE
DIST_VER= ${PORTNAME}-2023-04-04
USES= cpe php:web,flavors shebangfix tar:tgz
-USE_PHP= ctype filter gd hash iconv json mbstring ldap openssl pcre pdo_mysql session simplexml xml zlib
+USE_PHP= ctype filter gd iconv mbstring ldap pdo_mysql session simplexml xml zlib
NO_ARCH= YES
NO_BUILD= YES
diff --git a/www/dolibarr/Makefile b/www/dolibarr/Makefile
index 76fa08a283ba..37d2a176a194 100644
--- a/www/dolibarr/Makefile
+++ b/www/dolibarr/Makefile
@@ -11,7 +11,7 @@ LICENSE= GPLv3
USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME:S/d/D/}
USES= cpe php:web
-USE_PHP= calendar curl gd intl pcre session openssl
+USE_PHP= calendar curl gd intl session
NO_BUILD= yes
NO_ARCH= yes
SUB_FILES= pkg-message
diff --git a/www/dolibarr13/Makefile b/www/dolibarr13/Makefile
index 45a8fda9f282..47c0bc3359dc 100644
--- a/www/dolibarr13/Makefile
+++ b/www/dolibarr13/Makefile
@@ -15,7 +15,7 @@ LICENSE= GPLv3
USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME:S/d/D/}
USES= cpe php:web
-USE_PHP= calendar curl gd intl pcre session openssl
+USE_PHP= calendar curl gd intl session
NO_BUILD= yes
NO_ARCH= yes
SUB_FILES= pkg-message
diff --git a/www/dolibarr14/Makefile b/www/dolibarr14/Makefile
index 0b518052e623..6d4ac41a731d 100644
--- a/www/dolibarr14/Makefile
+++ b/www/dolibarr14/Makefile
@@ -15,7 +15,7 @@ USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME:S/d/D/:S/14//}
GH_PROJECT= dolibarr
USES= cpe php:web
-USE_PHP= calendar curl gd intl pcre session openssl
+USE_PHP= calendar curl gd intl session
NO_BUILD= yes
NO_ARCH= yes
SUB_FILES= pkg-message
diff --git a/www/dolibarr15/Makefile b/www/dolibarr15/Makefile
index 120671dca3ba..3ad0c4f89308 100644
--- a/www/dolibarr15/Makefile
+++ b/www/dolibarr15/Makefile
@@ -15,7 +15,7 @@ USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME:S/d/D/:S/15//}
GH_PROJECT= dolibarr
USES= cpe php:web
-USE_PHP= calendar curl gd intl pcre session openssl
+USE_PHP= calendar curl gd intl session
NO_BUILD= yes
NO_ARCH= yes
SUB_FILES= pkg-message
diff --git a/www/dolibarr16/Makefile b/www/dolibarr16/Makefile
index 38dd42f7798f..49d2a49c79a2 100644
--- a/www/dolibarr16/Makefile
+++ b/www/dolibarr16/Makefile
@@ -12,7 +12,7 @@ USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME:S/d/D/:S/16//}
GH_PROJECT= dolibarr
USES= cpe php:web
-USE_PHP= calendar curl gd intl pcre session openssl
+USE_PHP= calendar curl gd intl session
NO_BUILD= yes
NO_ARCH= yes
SUB_FILES= pkg-message
diff --git a/www/drupal10/Makefile b/www/drupal10/Makefile
index b87ebfc1081e..34128abd0dc7 100644
--- a/www/drupal10/Makefile
+++ b/www/drupal10/Makefile
@@ -12,7 +12,7 @@ WWW= https://www.drupal.org/
LICENSE= GPLv2+
USES= php:web shebangfix
-USE_PHP= dom filter gd hash json mbstring opcache pcre pdo session \
+USE_PHP= dom filter gd mbstring opcache pdo session \
simplexml tokenizer xml
IGNORE_WITH_PHP=80
SHEBANG_FILES= core/scripts/password-hash.sh
diff --git a/www/drupal7/Makefile b/www/drupal7/Makefile
index bbe68db21746..b7d6f06d3d08 100644
--- a/www/drupal7/Makefile
+++ b/www/drupal7/Makefile
@@ -13,7 +13,7 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= drupal:7 php:web shebangfix
-USE_PHP= dom filter gd hash json mbstring pcre pdo session simplexml xml
+USE_PHP= dom filter gd mbstring pdo session simplexml xml
SHEBANG_FILES= scripts/password-hash.sh
diff --git a/www/drupal8/Makefile b/www/drupal8/Makefile
index cd2c5a231d99..07137f70e8dd 100644
--- a/www/drupal8/Makefile
+++ b/www/drupal8/Makefile
@@ -12,7 +12,7 @@ WWW= https://www.drupal.org/
LICENSE= GPLv2+
USES= php:web shebangfix
-USE_PHP= dom filter gd hash json mbstring opcache pcre pdo session \
+USE_PHP= dom filter gd mbstring opcache pdo session \
simplexml tokenizer xml
SHEBANG_FILES= core/scripts/password-hash.sh
diff --git a/www/drupal9/Makefile b/www/drupal9/Makefile
index b6d6b6e55a98..23d24e474c59 100644
--- a/www/drupal9/Makefile
+++ b/www/drupal9/Makefile
@@ -12,7 +12,7 @@ WWW= https://www.drupal.org/
LICENSE= GPLv2+
USES= php:web shebangfix
-USE_PHP= dom filter gd hash json mbstring opcache pcre pdo session \
+USE_PHP= dom filter gd mbstring opcache pdo session \
simplexml tokenizer xml
SHEBANG_FILES= core/scripts/password-hash.sh
diff --git a/www/drush/Makefile b/www/drush/Makefile
index 4d24b8281e60..2eee5c9a411d 100644
--- a/www/drush/Makefile
+++ b/www/drush/Makefile
@@ -19,7 +19,7 @@ NO_ARCH= yes
USES= php:cli,flavors
# set php requirements same as drupal itself
-USE_PHP= gd pcre session mbstring ctype json hash simplexml dom pdo filter phar
+USE_PHP= gd session mbstring ctype simplexml dom pdo filter phar
CONFLICTS_INSTALL= drush-php* # bin/drush bin/drush.phar
diff --git a/www/e107/Makefile b/www/e107/Makefile
index 94e3cd348d6b..7474fe9b2d9f 100644
--- a/www/e107/Makefile
+++ b/www/e107/Makefile
@@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cpe dos2unix php shebangfix
-USE_PHP= dom exif hash pdo_mysql session xml
+USE_PHP= dom exif pdo_mysql session xml
WRKSRC= ${WRKDIR}/e107
NO_BUILD= yes
diff --git a/www/elgg/Makefile b/www/elgg/Makefile
index 20615b9287a7..0c800b9a33fd 100644
--- a/www/elgg/Makefile
+++ b/www/elgg/Makefile
@@ -10,8 +10,8 @@ WWW= https://www.elgg.org/
LICENSE= GPLv2
USES= cpe gettext shebangfix zip php
-USE_PHP= curl dom fileinfo filter gd hash intl \
- json mbstring pdo_mysql \
+USE_PHP= curl dom fileinfo filter gd intl \
+ mbstring pdo_mysql \
session simplexml soap sqlite3 xml xmlrpc
NO_BUILD= yes
diff --git a/www/fusionpbx/Makefile b/www/fusionpbx/Makefile
index 7053967848ac..2f30f275a294 100644
--- a/www/fusionpbx/Makefile
+++ b/www/fusionpbx/Makefile
@@ -14,8 +14,8 @@ RUN_DEPENDS= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/pdo_odbc.so:databases/php${PHP_VE
${LOCALBASE}/bin/memcached:databases/memcached
USES= cpe sqlite php fakeroot
-USE_PHP= phar pdo pdo_odbc pdo_sqlite json gd imap \
- ldap openssl sockets simplexml xml session odbc
+USE_PHP= phar pdo pdo_odbc pdo_sqlite gd imap \
+ ldap sockets simplexml xml session odbc
USE_GITHUB= yes
diff --git a/www/gallery2/Makefile b/www/gallery2/Makefile
index 4f962a9b24b8..e5e80ef35957 100644
--- a/www/gallery2/Makefile
+++ b/www/gallery2/Makefile
@@ -14,7 +14,7 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= php:web
-USE_PHP= pcre session
+USE_PHP= session
NO_ARCH= yes
NO_BUILD= yes
diff --git a/www/glpi/Makefile b/www/glpi/Makefile
index ae1c80e201ba..38847f0092ea 100644
--- a/www/glpi/Makefile
+++ b/www/glpi/Makefile
@@ -12,8 +12,8 @@ LICENSE= GPLv2
USES= cpe gettext php tar:tgz
CPE_VENDOR= glpi-project
-USE_PHP= bz2 ctype curl exif fileinfo gd iconv intl json mbstring \
- mysqli opcache openssl session simplexml sodium xml xmlrpc zip zlib
+USE_PHP= bz2 ctype curl exif fileinfo gd iconv intl mbstring \
+ mysqli opcache session simplexml sodium xml xmlrpc zip zlib
IGNORE_WITH_PHP= 82
NO_ARCH= yes
diff --git a/www/groupoffice/Makefile b/www/groupoffice/Makefile
index 5baa617f08ab..f085c623b152 100644
--- a/www/groupoffice/Makefile
+++ b/www/groupoffice/Makefile
@@ -19,8 +19,8 @@ USES= mysql shebangfix php:web python
NO_ARCH= yes
NO_BUILD= yes
-USE_PHP= ctype curl dom fileinfo filter hash intl json mbstring \
- mysqli openssl pcre pdo pdo_mysql phar posix session \
+USE_PHP= ctype curl dom fileinfo filter intl mbstring \
+ mysqli pdo pdo_mysql phar posix session \
simplexml soap sysvshm sysvsem tokenizer xml xmlreader \
xmlwriter zip zlib
SHEBANG_FILES= groupoffice \
diff --git a/www/habari/Makefile b/www/habari/Makefile
index 020fa02b2c99..ac79f6d61b8a 100644
--- a/www/habari/Makefile
+++ b/www/habari/Makefile
@@ -9,7 +9,7 @@ COMMENT= Next-generation free software blogging platform
WWW= http://habariproject.org/
USES= zip php:web
-USE_PHP= ctype filter hash json mbstring pcre pdo session simplexml tokenizer zlib
+USE_PHP= ctype filter mbstring pdo session simplexml tokenizer zlib
NO_BUILD= yes
OPTIONS_MULTI= DB
diff --git a/www/hiawatha-monitor/Makefile b/www/hiawatha-monitor/Makefile
index fb0aed2cd8f9..030e9b136053 100644
--- a/www/hiawatha-monitor/Makefile
+++ b/www/hiawatha-monitor/Makefile
@@ -13,7 +13,7 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= php:flavors shebangfix
-USE_PHP= ctype mysqli openssl xml xsl zlib
+USE_PHP= ctype mysqli xml xsl zlib
SHEBANG_FILES= database/delete_old_logs \
database/fetch_webserver_logs \
database/flush_cache \
diff --git a/www/ilias/Makefile b/www/ilias/Makefile
index f55c20c8476e..ade810ecdc48 100644
--- a/www/ilias/Makefile
+++ b/www/ilias/Makefile
@@ -30,7 +30,7 @@ USES= cpe jpeg magick:6,run php:flavors
USE_GITHUB= yes
GH_ACCOUNT= ILIAS-eLearning
GH_PROJECT= ILIAS
-USE_PHP= curl dom gd ldap fileinfo pcre \
+USE_PHP= curl dom gd ldap fileinfo \
pdo_mysql session simplexml soap \
tokenizer xmlrpc xmlwriter xsl zlib
@@ -45,11 +45,10 @@ SUB_LIST= ILIASFILESDIR=${ILIASFILESDIR}
PLIST= ${WRKDIR}/plist
PLIST_SUB= ILIASFILESDIR=${ILIASFILESDIR}
-OPTIONS_DEFINE= CHECKER MAIL SCORM2004
+OPTIONS_DEFINE= CHECKER MAIL
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}
-SCORM2004_USE= PHP=json
ILIASDIR= www/ilias
ILIASFILESDIR= www/iliasfiles
diff --git a/www/itop/Makefile b/www/itop/Makefile
index 395190088adc..eab0891af7b7 100644
--- a/www/itop/Makefile
+++ b/www/itop/Makefile
@@ -17,8 +17,8 @@ USES= cpe shebangfix php zip
SHEBANG_FILES= lib/tcpdf/tools/tcpdf_addfont.php setup/install/install.sh
CPE_VENDOR= combodo
-USE_PHP= ctype gd iconv mbstring pcre session xml zlib readline \
- dom simplexml hash json soap mcrypt filter zip
+USE_PHP= ctype gd iconv mbstring session xml zlib readline \
+ dom simplexml soap mcrypt filter zip
WRKSRC= ${WRKDIR}/web
NO_BUILD= yes
diff --git a/www/joomla3/Makefile b/www/joomla3/Makefile
index 57ba972846f4..10a2413ebc37 100644
--- a/www/joomla3/Makefile
+++ b/www/joomla3/Makefile
@@ -31,7 +31,7 @@ SHEBANG_FILES= libraries/vendor/leafo/lessphp/lessify
SUB_FILES= pkg-message
-USE_PHP= gd json mbstring pcre session simplexml xml zip zlib
+USE_PHP= gd mbstring session simplexml xml zip zlib
MYSQL_USE= PHP=mysqli
PGSQL_USE= PHP=pgsql
diff --git a/www/joomla4/Makefile b/www/joomla4/Makefile
index 5437ccc24526..6b9e4bc11cff 100644
--- a/www/joomla4/Makefile
+++ b/www/joomla4/Makefile
@@ -29,7 +29,7 @@ PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
SUB_FILES= pkg-message
-USE_PHP= gd json mbstring pcre session simplexml xml zip zlib
+USE_PHP= gd mbstring session simplexml xml zip zlib
MYSQL_USE= PHP=mysqli
PGSQL_USE= PHP=pgsql
diff --git a/www/kanboard/Makefile b/www/kanboard/Makefile
index 58efefb620c0..80ef37c17158 100644
--- a/www/kanboard/Makefile
+++ b/www/kanboard/Makefile
@@ -13,8 +13,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cpe php:flavors
USE_GITHUB= yes
-USE_PHP= ctype curl dom filter gd hash iconv json mbstring mcrypt \
- openssl pdo session simplexml xml zlib
+USE_PHP= ctype curl dom filter gd iconv mbstring mcrypt \
+ pdo session simplexml xml zlib
NO_ARCH= yes
NO_BUILD= yes
diff --git a/www/librespeed/Makefile b/www/librespeed/Makefile
index 4a55170ee4cc..4a9753282841 100644
--- a/www/librespeed/Makefile
+++ b/www/librespeed/Makefile
@@ -12,7 +12,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= php:flavors,web
-USE_PHP= ctype json openssl pdo session
+USE_PHP= ctype pdo session
USE_GITHUB= YES
GH_PROJECT= speedtest
diff --git a/www/limesurvey/Makefile b/www/limesurvey/Makefile
index 9d80a298ddbe..c4ccdfb46f3c 100644
--- a/www/limesurvey/Makefile
+++ b/www/limesurvey/Makefile
@@ -37,7 +37,7 @@ USE_PHP+= ldap
.if ${PORT_OPTIONS:MIMAP}
USE_PHP+= imap
.endif
-USE_PHP+= ctype dom hash iconv json mbstring openssl pcre session \
+USE_PHP+= ctype dom iconv mbstring session \
simplexml xmlwriter zip zlib
WWWDOCROOT?= www
diff --git a/www/matomo/Makefile b/www/matomo/Makefile
index 2515070b1dec..0dbb57b1e3cc 100644
--- a/www/matomo/Makefile
+++ b/www/matomo/Makefile
@@ -12,8 +12,8 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cpe shebangfix php:flavors
-USE_PHP= ctype curl dom fileinfo filter gd hash iconv intl json \
- mbstring mcrypt memcache mysqli opcache openssl pcre pdo \
+USE_PHP= ctype curl dom fileinfo filter gd iconv intl \
+ mbstring mcrypt memcache mysqli opcache pdo \
pdo_mysql posix readline session simplexml soap sockets \
sqlite3 tidy tokenizer xml zlib
diff --git a/www/mediawiki135/Makefile b/www/mediawiki135/Makefile
index 10c6ee27f475..366702822b47 100644
--- a/www/mediawiki135/Makefile
+++ b/www/mediawiki135/Makefile
@@ -20,8 +20,8 @@ SHEBANG_FILES= maintenance/dev/*.sh \
SHEBANG_LANG= hhvm
hhvm_OLD_CMD= /usr/bin/hhvm
hhvm_CMD= ${LOCALBASE}/bin/hhvm # not installed by anything yet
-USE_PHP= ctype dom fileinfo filter hash iconv intl json mbstring openssl \
- pcre readline session xml xmlreader zlib
+USE_PHP= ctype dom fileinfo filter iconv intl mbstring \
+ readline session xml xmlreader zlib
MEDIAWIKIDIR?= www/mediawiki
NO_BUILD= yes
diff --git a/www/mediawiki138/Makefile b/www/mediawiki138/Makefile
index d3cc9f38dbd7..611fe7820e4a 100644
--- a/www/mediawiki138/Makefile
+++ b/www/mediawiki138/Makefile
@@ -18,8 +18,8 @@ SHEBANG_FILES= maintenance/dev/*.sh \
SHEBANG_LANG= hhvm
hhvm_OLD_CMD= /usr/bin/hhvm
hhvm_CMD= ${LOCALBASE}/bin/hhvm # not installed by anything yet
-USE_PHP= ctype dom fileinfo filter hash iconv intl json mbstring openssl \
- pcre readline session xml xmlreader zlib
+USE_PHP= ctype dom fileinfo filter iconv intl mbstring \
+ readline session xml xmlreader zlib
MEDIAWIKIDIR?= www/mediawiki
NO_BUILD= yes
diff --git a/www/mediawiki139/Makefile b/www/mediawiki139/Makefile
index e7a66f1ba550..e57c75d0f3fa 100644
--- a/www/mediawiki139/Makefile
+++ b/www/mediawiki139/Makefile
@@ -18,8 +18,8 @@ SHEBANG_FILES= maintenance/dev/*.sh \
SHEBANG_LANG= hhvm
hhvm_OLD_CMD= /usr/bin/hhvm
hhvm_CMD= ${LOCALBASE}/bin/hhvm # not installed by anything yet
-USE_PHP= ctype dom fileinfo filter hash iconv intl json mbstring openssl \
- pcre readline session xml xmlreader zlib
+USE_PHP= ctype dom fileinfo filter iconv intl mbstring \
+ readline session xml xmlreader zlib
MEDIAWIKIDIR?= www/mediawiki
NO_BUILD= yes
diff --git a/www/moodle311/Makefile b/www/moodle311/Makefile
index 462b4203c3e2..885e4036007c 100644
--- a/www/moodle311/Makefile
+++ b/www/moodle311/Makefile
@@ -17,22 +17,21 @@ EXPIRATION_DATE= 2023-12-31
CONFLICTS= moodle39-3.9.[0-9]* moodle40-4.0.[0-9]* moodle41-4.1.[0-9]*
USES= cpe php:flavors tar:tgz
-USE_PHP= ctype curl dom fileinfo filter gd hash iconv intl json mbstring \
- opcache openssl pcre session simplexml soap sodium spl tokenizer \
+USE_PHP= ctype curl dom fileinfo filter gd iconv intl mbstring \
+ opcache session simplexml soap sodium tokenizer \
xml xmlreader xmlrpc zip zlib
IGNORE_WITH_PHP= 81 82
WRKSRC= ${WRKDIR}/moodle
OPTIONS_SINGLE= BACKEND
-OPTIONS_SINGLE_BACKEND= MYSQL PGSQL MSSQL
+OPTIONS_SINGLE_BACKEND= MYSQL PGSQL
OPTIONS_DEFINE= LDAP
OPTIONS_DEFAULT= MYSQL
MYSQL_USES= mysql
MYSQL_USE= php=mysqli
PGSQL_USE= php=pgsql
-MSSQL_USE= php=mssql
LDAP_USE= php=ldap
NO_BUILD= yes
diff --git a/www/moodle39/Makefile b/www/moodle39/Makefile
index 45ddc6138122..036d432b8fce 100644
--- a/www/moodle39/Makefile
+++ b/www/moodle39/Makefile
@@ -16,22 +16,21 @@ EXPIRATION_DATE= 2023-04-30
CONFLICTS= moodle311-3.11.[0-9]* moodle40-4.0.[0-9]* moodle41-4.1.[0-9]*
USES= cpe php:flavors tar:tgz
-USE_PHP= ctype curl dom fileinfo filter gd hash iconv intl json mbstring \
- opcache openssl pcre session simplexml soap spl tokenizer \
+USE_PHP= ctype curl dom fileinfo filter gd iconv intl mbstring \
+ opcache session simplexml soap tokenizer \
xml xmlreader xmlrpc zip zlib
IGNORE_WITH_PHP= 81 82
WRKSRC= ${WRKDIR}/moodle
OPTIONS_SINGLE= BACKEND
-OPTIONS_SINGLE_BACKEND= MYSQL PGSQL MSSQL
+OPTIONS_SINGLE_BACKEND= MYSQL PGSQL
OPTIONS_DEFINE= LDAP
OPTIONS_DEFAULT= MYSQL
MYSQL_USES= mysql
MYSQL_USE= php=mysqli
PGSQL_USE= php=pgsql
-MSSQL_USE= php=mssql
LDAP_USE= php=ldap
NO_BUILD= yes
diff --git a/www/moodle40/Makefile b/www/moodle40/Makefile
index b560d125352d..f2ac0a2e5938 100644
--- a/www/moodle40/Makefile
+++ b/www/moodle40/Makefile
@@ -17,23 +17,22 @@ EXPIRATION_DATE= 2023-12-31
CONFLICTS= moodle39-3.9.[0-9]* moodle311-3.11.[0-9]* moodle41-4.1.[0-9]*
USES= cpe php:flavors tar:tgz
-USE_PHP= ctype curl dom exif fileinfo filter gd hash \
- iconv intl json mbstring opcache openssl \
- pcre session simplexml soap sodium spl tokenizer \
+USE_PHP= ctype curl dom exif fileinfo filter gd \
+ iconv intl mbstring opcache \
+ session simplexml soap sodium tokenizer \
xml xmlreader xmlrpc zip zlib
IGNORE_WITH_PHP= 81 82
WRKSRC= ${WRKDIR}/moodle
OPTIONS_SINGLE= BACKEND
-OPTIONS_SINGLE_BACKEND= MYSQL PGSQL MSSQL
+OPTIONS_SINGLE_BACKEND= MYSQL PGSQL
OPTIONS_DEFINE= LDAP
OPTIONS_DEFAULT= MYSQL
MYSQL_USES= mysql
MYSQL_USE= php=mysqli
PGSQL_USE= php=pgsql
-MSSQL_USE= php=mssql
LDAP_USE= php=ldap
NO_BUILD= yes
diff --git a/www/moodle41/Makefile b/www/moodle41/Makefile
index 62c4eebb45f4..3df9e51d8107 100644
--- a/www/moodle41/Makefile
+++ b/www/moodle41/Makefile
@@ -13,23 +13,22 @@ LICENSE= GPLv3
CONFLICTS= moodle39-3.9.[0-9]* moodle311-3.11.[0-9]* moodle40-4.0.[0-9]*
USES= cpe php:flavors tar:tgz
-USE_PHP= ctype curl dom exif fileinfo filter gd hash \
- iconv intl json mbstring opcache openssl \
- pcre session simplexml soap sodium spl tokenizer \
+USE_PHP= ctype curl dom exif fileinfo filter gd \
+ iconv intl mbstring opcache \
+ session simplexml soap sodium tokenizer \
xml xmlreader xmlrpc zip zlib
IGNORE_WITH_PHP= 82
WRKSRC= ${WRKDIR}/moodle
OPTIONS_SINGLE= BACKEND
-OPTIONS_SINGLE_BACKEND= MYSQL PGSQL MSSQL
+OPTIONS_SINGLE_BACKEND= MYSQL PGSQL
OPTIONS_DEFINE= LDAP
OPTIONS_DEFAULT= MYSQL
MYSQL_USES= mysql
MYSQL_USE= php=mysqli
PGSQL_USE= php=pgsql
-MSSQL_USE= php=mssql
LDAP_USE= php=ldap
NO_BUILD= yes
diff --git a/www/mythplugin-mythweb/Makefile b/www/mythplugin-mythweb/Makefile
index ec02eef1516a..73e7feb1d19f 100644
--- a/www/mythplugin-mythweb/Makefile
+++ b/www/mythplugin-mythweb/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= php shebangfix perl5
USE_PERL5= run
-USE_PHP= json pcre posix mysqli session spl sockets
+USE_PHP= posix mysqli session sockets
USE_GITHUB= yes
GH_ACCOUNT= MythTV
SHEBANG_FILES= mythweb.pl modules/_shared/lang/build_translation.pl \
diff --git a/www/nextcloud/Makefile b/www/nextcloud/Makefile
index 5ffb88730afa..13efaecd17e9 100644
--- a/www/nextcloud/Makefile
+++ b/www/nextcloud/Makefile
@@ -1,6 +1,6 @@
PORTNAME= nextcloud
PORTVERSION= 26.0.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= https://download.nextcloud.com/server/releases/
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
@@ -13,8 +13,8 @@ WWW= https://nextcloud.com
LICENSE= AGPLv3
USES= cpe gettext-runtime php:flavors,web tar:bzip2
-USE_PHP= bcmath bz2 ctype curl dom fileinfo filter gd gmp hash iconv \
- json mbstring pcntl pdo posix session simplexml xml xmlreader \
+USE_PHP= bcmath bz2 ctype curl dom fileinfo filter gd gmp iconv \
+ mbstring pcntl pdo posix session simplexml xml xmlreader \
xmlwriter xsl zip zlib
NEXTCLOUD_USERNAME?= ${WWWOWN}
@@ -28,12 +28,12 @@ SUB_LIST= NEXTCLOUD_USERNAME=${NEXTCLOUD_USERNAME} \
NEXTCLOUD_GROUPNAME=${NEXTCLOUD_GROUPNAME}
PLIST_SUB= ${SUB_LIST}
-OPTIONS_DEFINE= EXIF IMAGICK INTL LDAP PCNTL SMB SSL SYSVSEM
+OPTIONS_DEFINE= EXIF IMAGICK INTL LDAP PCNTL SMB SYSVSEM
OPTIONS_GROUP= CACHING
OPTIONS_GROUP_CACHING= APCU OPCACHE REDIS
OPTIONS_MULTI= DB
OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE
-OPTIONS_DEFAULT= APCU EXIF INTL LDAP MYSQL OPCACHE SSL SYSVSEM
+OPTIONS_DEFAULT= APCU EXIF INTL LDAP MYSQL OPCACHE SYSVSEM
OPTIONS_SUB= yes
APCU_DESC= Local data caching using APCu (recommended)
@@ -59,7 +59,6 @@ PGSQL_USE= PHP=pdo_pgsql,pgsql
REDIS_RUN_DEPENDS= ${PECL_PKGNAMEPREFIX}redis>=2.2.6:databases/pecl-redis@${PHP_FLAVOR}
SMB_RUN_DEPENDS= ${PECL_PKGNAMEPREFIX}smbclient>=0.9.0:net/pecl-smbclient@${PHP_FLAVOR}
SQLITE_USE= PHP=pdo_sqlite,sqlite3
-SSL_USE= PHP=openssl
SYSVSEM_USE= PHP=sysvsem
.include <bsd.port.options.mk>
diff --git a/www/opencart/Makefile b/www/opencart/Makefile
index b28b4f46ed58..2cc43714022e 100644
--- a/www/opencart/Makefile
+++ b/www/opencart/Makefile
@@ -12,7 +12,7 @@ USE_GITHUB= yes
GH_ACCOUNT= opencart
USES= cpe php
-USE_PHP= filter mysqli curl mbstring gd zlib mcrypt session zip hash openssl
+USE_PHP= filter mysqli curl mbstring gd zlib mcrypt session zip
WRKSRC_SUBDIR= upload
NO_BUILD= yes
diff --git a/www/orangehrm/Makefile b/www/orangehrm/Makefile
index 0b49df9667a9..2d73045f5351 100644
--- a/www/orangehrm/Makefile
+++ b/www/orangehrm/Makefile
@@ -11,7 +11,7 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cpe php zip
-USE_PHP= ctype curl filter iconv json \
+USE_PHP= ctype curl filter iconv \
mbstring pdo_mysql xml session \
simplexml tokenizer zip
NO_BUILD= yes
diff --git a/www/osticket/Makefile b/www/osticket/Makefile
index a68fcbea6443..6674dbfd9c65 100644
--- a/www/osticket/Makefile
+++ b/www/osticket/Makefile
@@ -16,7 +16,7 @@ RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:devel/pecl-APCu@${PHP_F
USES= cpe php:web zip
CPE_VENDOR= enhancesoft
-USE_PHP= ctype curl dom fileinfo filter gd gettext iconv imap intl json \
+USE_PHP= ctype curl dom fileinfo filter gd gettext iconv imap intl \
mbstring mysqli opcache phar session xml zip
IGNORE_WITH_PHP= 82
NO_ARCH= yes
diff --git a/www/owncloud/Makefile b/www/owncloud/Makefile
index 34d1145ad45f..a5cbff5356a0 100644
--- a/www/owncloud/Makefile
+++ b/www/owncloud/Makefile
@@ -1,5 +1,6 @@
PORTNAME= owncloud
PORTVERSION= 10.12.0
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= https://download.owncloud.com/server/stable/ \
LOCAL/sunpoet
@@ -13,7 +14,7 @@ LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cpe php:flavors,web tar:bzip2
-USE_PHP= bz2 ctype curl dom fileinfo filter gd hash iconv intl json \
+USE_PHP= bz2 ctype curl dom fileinfo filter gd iconv intl \
mbstring pdo posix session simplexml xml xmlreader xmlwriter \
xsl zip zlib
@@ -28,10 +29,10 @@ PLIST_SUB= OWNCLOUD_USER=${OWNCLOUD_USER} \
OWNCLOUD_GROUP=${OWNCLOUD_GROUP}
SUB_FILES= pkg-message newsyslog
-OPTIONS_DEFINE= EXAMPLES EXIF LDAP SMB SSL
+OPTIONS_DEFINE= EXAMPLES EXIF LDAP SMB
OPTIONS_MULTI= DB
OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE
-OPTIONS_DEFAULT=EXIF LDAP MYSQL SMB SSL
+OPTIONS_DEFAULT=EXIF LDAP MYSQL SMB
EXIF_DESC= Image rotation support
EXIF_USE= PHP=exif
@@ -40,7 +41,6 @@ MYSQL_USE= PHP=pdo_mysql
PGSQL_USE= PHP=pdo_pgsql
SMB_RUN_DEPENDS=${PECL_PKGNAMEPREFIX}smbclient>=0.8.0:net/pecl-smbclient@${PHP_FLAVOR}
SQLITE_USE= PHP=pdo_sqlite
-SSL_USE= PHP=openssl
post-patch:
@${FIND} ${WRKSRC} -type d -empty -delete
diff --git a/www/pear-Horde_Service_Facebook/Makefile b/www/pear-Horde_Service_Facebook/Makefile
index 4fd750e3a45a..1cd463b1cf1b 100644
--- a/www/pear-Horde_Service_Facebook/Makefile
+++ b/www/pear-Horde_Service_Facebook/Makefile
@@ -7,7 +7,7 @@ COMMENT= Horde Facebook client
WWW= https://pear.horde.org
USES= horde php cpe
-USE_PHP= json simplexml
+USE_PHP= simplexml
USE_HORDE_RUN= Horde_Exception \
Horde_Http \
Horde_Translation \
diff --git a/www/pear-Services_Amazon_S3/Makefile b/www/pear-Services_Amazon_S3/Makefile
index cfcaa16749b2..2473b02159f1 100644
--- a/www/pear-Services_Amazon_S3/Makefile
+++ b/www/pear-Services_Amazon_S3/Makefile
@@ -11,7 +11,6 @@ BUILD_DEPENDS= ${PEARDIR}/HTTP/Request2.php:www/pear-HTTP_Request2@${PHP_FLAVOR}
RUN_DEPENDS= ${PEARDIR}/HTTP/Request2.php:www/pear-HTTP_Request2@${PHP_FLAVOR} \
${PEARDIR}/Crypt/HMAC2.php:security/pear-Crypt_HMAC2@${PHP_FLAVOR}
-USE_PHP= spl
-USES= pear php
+USES= pear
.include <bsd.port.mk>
diff --git a/www/pear-Services_Delicious/Makefile b/www/pear-Services_Delicious/Makefile
index d567429766d9..cfa61b98ce81 100644
--- a/www/pear-Services_Delicious/Makefile
+++ b/www/pear-Services_Delicious/Makefile
@@ -12,6 +12,5 @@ RUN_DEPENDS= ${PEARDIR}/XML/Serializer.php:devel/pear-XML_Serializer@${PHP_FLAVO
${PEARDIR}/HTTP/Request.php:www/pear-HTTP_Request@${PHP_FLAVOR}
USES= dos2unix pear php
-USE_PHP= openssl
.include <bsd.port.mk>
diff --git a/www/pear-Services_ShortURL/Makefile b/www/pear-Services_ShortURL/Makefile
index 61cc83abdfb9..24229b7d39fe 100644
--- a/www/pear-Services_ShortURL/Makefile
+++ b/www/pear-Services_ShortURL/Makefile
@@ -9,6 +9,6 @@ WWW= https://pear.php.net/package/Services_ShortURL
RUN_DEPENDS= ${PEARDIR}/HTTP/Request2.php:www/pear-HTTP_Request2@${PHP_FLAVOR}
USES= pear php
-USE_PHP= simplexml pcre spl
+USE_PHP= simplexml
.include <bsd.port.mk>
diff --git a/www/pear-twig/Makefile b/www/pear-twig/Makefile
index a868db4d1f58..b3e3d5a536df 100644
--- a/www/pear-twig/Makefile
+++ b/www/pear-twig/Makefile
@@ -16,6 +16,6 @@ PEAR_CHANNEL= twig
NO_ARCH= yes
CPE_VENDOR= symfony
-USE_PHP= ctype hash
+USE_PHP= ctype
.include <bsd.port.mk>
diff --git a/www/pecl-http/Makefile b/www/pecl-http/Makefile
index b48a123f4745..746df8252aaa 100644
--- a/www/pecl-http/Makefile
+++ b/www/pecl-http/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
libicudata.so:devel/icu
RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/raphf.so:devel/pecl-raphf2@${PHP_FLAVOR}
-USES= php:pecl
-USE_PHP= hash:build iconv:build zlib:build
+USES= php:build,pecl
+USE_PHP= iconv:build zlib:build
.include <bsd.port.mk>
diff --git a/www/pecl-solr/Makefile b/www/pecl-solr/Makefile
index a78d1c8a3fc6..06386d087a8a 100644
--- a/www/pecl-solr/Makefile
+++ b/www/pecl-solr/Makefile
@@ -12,8 +12,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libcurl.so:ftp/curl \
libxml2.so:textproc/libxml2
-USES= php:pecl
-USE_PHP= json:build
+USES= php:build,pecl
CONFIGURE_ARGS= LIBXML_CFLAGS=-I${LOCALBASE}/include/libxml2 \
LIBXML_LIBS=-L${LOCALBASE}/include/libxml2
diff --git a/www/pecl-yar/Makefile b/www/pecl-yar/Makefile
index 8646ea788eb9..c66ea384a2c8 100644
--- a/www/pecl-yar/Makefile
+++ b/www/pecl-yar/Makefile
@@ -11,8 +11,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libcurl.so:ftp/curl
-USES= localbase:ldflags php:pecl
-USE_PHP= curl json:build
+USES= localbase:ldflags php:build,pecl
+USE_PHP= curl
IGNORE_WITH_PHP=82
diff --git a/www/phalcon/Makefile b/www/phalcon/Makefile
index 5a420d3367a4..5b4ffd0d3a15 100644
--- a/www/phalcon/Makefile
+++ b/www/phalcon/Makefile
@@ -10,10 +10,10 @@ WWW= https://phalcon.io/
LICENSE= BSD3CLAUSE
-USES= localbase php:ext
+USES= localbase php:build,ext
USE_GITHUB= yes
GH_PROJECT= c${PORTNAME}
-USE_PHP= json:build mbstring pdo:build session:build
+USE_PHP= mbstring pdo:build session:build
CONFIGURE_ARGS= --enable-phalcon
diff --git a/www/phpbb3/Makefile b/www/phpbb3/Makefile
index e9ca118f766e..149cb05d3202 100644
--- a/www/phpbb3/Makefile
+++ b/www/phpbb3/Makefile
@@ -13,7 +13,7 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/docs/LICENSE.txt
USES= cpe php tar:bzip2
-USE_PHP= ctype dom filter hash json tokenizer
+USE_PHP= ctype dom filter tokenizer
CONFLICTS= phpbb-[0-2]*
diff --git a/www/phpmyfaq/Makefile b/www/phpmyfaq/Makefile
index f6e81aa9176a..3d56056a4507 100644
--- a/www/phpmyfaq/Makefile
+++ b/www/phpmyfaq/Makefile
@@ -12,7 +12,7 @@ LICENSE= MPL20
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= cpe php:web
-USE_PHP= filter json mysqli pcre session xml xmlrpc xmlwriter zlib
+USE_PHP= filter mysqli session xml xmlrpc xmlwriter zlib
FAQ_DIR= attachments data images inc pdf xml
NO_BUILD= YES
NO_ARCH= YES
diff --git a/www/phpsysinfo/Makefile b/www/phpsysinfo/Makefile
index a3547c0c2ee8..7dbf0f543379 100644
--- a/www/phpsysinfo/Makefile
+++ b/www/phpsysinfo/Makefile
@@ -12,7 +12,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USES= cpe php:web
USE_GITHUB= yes
-USE_PHP= dom mbstring pcre simplexml xml
+USE_PHP= dom mbstring simplexml xml
NO_ARCH= yes
NO_BUILD= yes
diff --git a/www/phpvirtualbox-legacy/Makefile b/www/phpvirtualbox-legacy/Makefile
index 5cb67911b912..117f2698e55b 100644
--- a/www/phpvirtualbox-legacy/Makefile
+++ b/www/phpvirtualbox-legacy/Makefile
@@ -11,7 +11,7 @@ WWW= https://sourceforge.net/projects/phpvirtualbox/
LICENSE= GPLv3
USES= dos2unix php
-USE_PHP= json session simplexml soap xml
+USE_PHP= session simplexml soap xml
NO_ARCH= yes
NO_BUILD= yes
diff --git a/www/phpvirtualbox/Makefile b/www/phpvirtualbox/Makefile
index 6340cce6dc9e..ee127b0ab5b1 100644
--- a/www/phpvirtualbox/Makefile
+++ b/www/phpvirtualbox/Makefile
@@ -9,7 +9,7 @@ WWW= https://sourceforge.net/projects/phpvirtualbox/
LICENSE= GPLv3
USES= dos2unix php
-USE_PHP= json session simplexml soap xml
+USE_PHP= session simplexml soap xml
NO_ARCH= yes
NO_BUILD= yes
diff --git a/www/piwigo/Makefile b/www/piwigo/Makefile
index 1fe8a1577e07..435023fb3442 100644
--- a/www/piwigo/Makefile
+++ b/www/piwigo/Makefile
@@ -13,8 +13,8 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/doc/COPYING
USES= cpe php:web,flavors zip
-USE_PHP= ctype dom exif filter gd hash iconv json mbstring mysqli \
- openssl pcre pdo session simplexml sodium spl tokenizer \
+USE_PHP= ctype dom exif filter gd iconv mbstring mysqli \
+ pdo session simplexml sodium tokenizer \
xml zip zlib
# sodium is needed for randomisation stuff (prefferred option),
# could be replaced by mcrypt
diff --git a/www/privatebin/Makefile b/www/privatebin/Makefile
index 92f01c588f34..c1aa6398c154 100644
--- a/www/privatebin/Makefile
+++ b/www/privatebin/Makefile
@@ -17,7 +17,7 @@ SUB_LIST= PORTNAME=${PORTNAME}
NO_BUILD= yes
NO_ARCH= yes
-USE_PHP= gd hash json zlib
+USE_PHP= gd zlib
USE_GITHUB= yes
GH_PROJECT= PrivateBin
diff --git a/www/rss-bridge/Makefile b/www/rss-bridge/Makefile
index 87140c2b0b09..8365859c39db 100644
--- a/www/rss-bridge/Makefile
+++ b/www/rss-bridge/Makefile
@@ -12,7 +12,7 @@ LICENSE= UNLICENSE
USES= php:web
USE_GITHUB= yes
GH_ACCOUNT= RSS-Bridge
-USE_PHP= curl json mbstring openssl simplexml zip
+USE_PHP= curl mbstring simplexml zip
NO_ARCH= yes
NO_BUILD= yes
diff --git a/www/sabredav/Makefile b/www/sabredav/Makefile
index aaa1cc55211c..8f6979198f62 100644
--- a/www/sabredav/Makefile
+++ b/www/sabredav/Makefile
@@ -14,7 +14,7 @@ CPE_VENDOR= sabre-io
USE_GITHUB= yes
GH_ACCOUNT= sabre-io
GH_PROJECT= dav
-USE_PHP= ctype dom iconv mbstring pcre simplexml spl xmlwriter
+USE_PHP= ctype dom iconv mbstring simplexml xmlwriter
NO_ARCH= yes
NO_BUILD= yes
diff --git a/www/samdruckerserver/Makefile b/www/samdruckerserver/Makefile
index 8a97f52c4f43..0d9742fe1b04 100644
--- a/www/samdruckerserver/Makefile
+++ b/www/samdruckerserver/Makefile
@@ -12,7 +12,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= apache php
-USE_PHP= json pdo_pgsql
+USE_PHP= pdo_pgsql
NO_ARCH= yes
NO_BUILD= yes
diff --git a/www/serendipity/Makefile b/www/serendipity/Makefile
index ed421ad85be4..6faa32738d8f 100644
--- a/www/serendipity/Makefile
+++ b/www/serendipity/Makefile
@@ -18,7 +18,7 @@ GH_PROJECT= Serendipity
NO_BUILD= YES
SERENDIPITY?= www/${PORTNAME}
PLIST_SUB+= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
-USE_PHP= session pcre gd openssl mbstring iconv zlib xml
+USE_PHP= session gd mbstring iconv zlib xml
SUB_FILES= pkg-message
CPE_VENDOR= s9y
diff --git a/www/smarty/Makefile b/www/smarty/Makefile
index b6359ab878cf..e1e4b7597f23 100644
--- a/www/smarty/Makefile
+++ b/www/smarty/Makefile
@@ -12,7 +12,6 @@ LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cpe php:flavors,web
-USE_PHP= pcre
NO_ARCH= yes
NO_BUILD= yes
diff --git a/www/smarty2/Makefile b/www/smarty2/Makefile
index e54cf89847d9..54ea26b44e5e 100644
--- a/www/smarty2/Makefile
+++ b/www/smarty2/Makefile
@@ -18,7 +18,6 @@ OPTIONS_DEFINE= DOCS
NO_ARCH= yes
NO_BUILD= yes
USES= cpe php:web,flavors
-USE_PHP= pcre
SUB_FILES= pkg-message
diff --git a/www/smarty3/Makefile b/www/smarty3/Makefile
index 9d04cdba11a9..bb90274ac3c6 100644
--- a/www/smarty3/Makefile
+++ b/www/smarty3/Makefile
@@ -12,7 +12,6 @@ LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cpe php:flavors,web
-USE_PHP= pcre
NO_ARCH= yes
NO_BUILD= yes
diff --git a/www/sqstat/Makefile b/www/sqstat/Makefile
index c65a526b02e1..a5919872bdbf 100644
--- a/www/sqstat/Makefile
+++ b/www/sqstat/Makefile
@@ -13,7 +13,7 @@ LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/docs/LICENSE
USES= php
-USE_PHP= pcre session
+USE_PHP= session
NO_BUILD= yes
NO_ARCH= yes
diff --git a/www/templatelite/Makefile b/www/templatelite/Makefile
index c481edd52b97..079a07bac9e5 100644
--- a/www/templatelite/Makefile
+++ b/www/templatelite/Makefile
@@ -14,7 +14,6 @@ LICENSE_FILE= ${WRKSRC}/COPYING
NO_BUILD= yes
NO_ARCH= yes
USES= php:web
-USE_PHP= pcre
WRKSRC= ${WRKDIR}/template_lite
SUB_FILES= pkg-message
diff --git a/www/thirtybees/Makefile b/www/thirtybees/Makefile
index 901ecfedf682..00c04e890726 100644
--- a/www/thirtybees/Makefile
+++ b/www/thirtybees/Makefile
@@ -11,7 +11,7 @@ WWW= https://thirtybees.com
LICENSE_FILE= ${WRKSRC}/LICENSES
USES= php:web zip
-USE_PHP= bcmath curl gd imap json mbstring opcache openssl pdo_mysql \
+USE_PHP= bcmath curl gd imap mbstring opcache pdo_mysql \
soap xml zip
IGNORE_WITH_PHP=80
diff --git a/www/thundercache/Makefile b/www/thundercache/Makefile
index 97d751b54c8f..b2b9555ecd97 100644
--- a/www/thundercache/Makefile
+++ b/www/thundercache/Makefile
@@ -50,7 +50,7 @@ WANT_PGSQL= server
.endif
.if ${PORT_OPTIONS:MPHP}
-USE_PHP+= curl pcre bcmath pdo mcrypt hash session
+USE_PHP+= curl bcmath pdo mcrypt session
. if ${PORT_OPTIONS:MPGSQL}
USE_PHP+= pdo_pgsql pgsql
. endif
diff --git a/www/thundersnarf/Makefile b/www/thundersnarf/Makefile
index 917db96179e7..03c24ec96749 100644
--- a/www/thundersnarf/Makefile
+++ b/www/thundersnarf/Makefile
@@ -38,7 +38,7 @@ WANT_PGSQL= server
.endif
.if ${PORT_OPTIONS:MPHP}
-USE_PHP+= curl pcre bcmath pdo mcrypt hash session pgsql spl dom xmlrpc ctype openssl simplexml soap json
+USE_PHP+= curl bcmath pdo mcrypt session pgsql spl dom xmlrpc ctype simplexml soap
. if ${PORT_OPTIONS:MPGSQL}
USE_PHP+= pdo_pgsql pgsql
. endif
diff --git a/www/tikiwiki/Makefile b/www/tikiwiki/Makefile
index cb21c2c3b6f5..ec99000af821 100644
--- a/www/tikiwiki/Makefile
+++ b/www/tikiwiki/Makefile
@@ -12,7 +12,7 @@ LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/license.txt
USES= php:web
-USE_PHP= calendar dom fileinfo gd gettext intl mbstring mcrypt pcre \
+USE_PHP= calendar dom fileinfo gd gettext intl mbstring mcrypt \
posix session xml zip zlib
NO_BUILD= yes
diff --git a/www/tivoka/Makefile b/www/tivoka/Makefile
index 566f5261433b..0fe144c3e612 100644
--- a/www/tivoka/Makefile
+++ b/www/tivoka/Makefile
@@ -12,7 +12,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
OPTIONS_DEFINE= EXAMPLES
USES= php
-USE_PHP= json filter
+USE_PHP= filter
NO_BUILD= yes
USE_GITHUB= yes
diff --git a/www/tt-rss/Makefile b/www/tt-rss/Makefile
index ce8ff370cd94..c8e169cc8231 100644
--- a/www/tt-rss/Makefile
+++ b/www/tt-rss/Makefile
@@ -15,7 +15,7 @@ LICENSE= GPLv2
RUN_DEPENDS= ${LOCALBASE}/bin/git:devel/git
USES= gettext-tools php:cli,web shebangfix
-USE_PHP= ctype dom exif fileinfo filter hash iconv intl json mbstring \
+USE_PHP= ctype dom exif fileinfo filter iconv intl mbstring \
openssl pcntl pdo phar posix session simplexml tokenizer xml \
xmlwriter zip
USE_RC_SUBR= ttrssd
diff --git a/www/typo3-11/Makefile b/www/typo3-11/Makefile
index b9cf1e825d51..75f59c9462f7 100644
--- a/www/typo3-11/Makefile
+++ b/www/typo3-11/Makefile
@@ -15,8 +15,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
IGNORE_WITH_MYSQL= 56 101m
USES= cpe php:web,flavors shebangfix
-USE_PHP= ctype dom fileinfo filter hash intl json openssl pcre session simplexml \
- spl tokenizer xml zip
+USE_PHP= ctype dom fileinfo filter intl session simplexml \
+ tokenizer xml zip
WRKSRC= ${WRKDIR}/${TYPO3SRC}
SHEBANG_GLOB= *.sh *.php
@@ -39,7 +39,7 @@ TYPO3DIR= ${PORTNAME}-${PORT_V_MAJOR}
USERS= ${WWWOWN}
GROUPS= ${WWWGRP}
-OPTIONS_DEFINE= CURL GD GMP IMAGICK MBSTRING MYSQL POSTGRES SQLSRV SQLITE ZLIB
+OPTIONS_DEFINE= CURL GD GMP IMAGICK MBSTRING MYSQL POSTGRES SQLITE ZLIB
OPTIONS_DEFAULT=MYSQL
GD_DESC= GDlib/freetype support
IMAGICK_DESC= ${IMAGEMAGICK_DESC}
@@ -47,15 +47,13 @@ MBSTRING_DESC= ${MULTIBYTE_DESC}
MYSQL_DESC= Use MySQL as DBMS
POSTGRES_DESC= Use PostgreSQL as DBMS
SQLITE_DESC= Use SQLite as DBMS
-SQLSRV_DESC= Use MSSQL as DBMS
CURL_USE= PHP=curl
GD_USE= PHP=gd
GMP_USE= PHP=gmp
MBSTRING_USE= PHP=mbstring
MYSQL_USE= PHP=mysqli
-POSTGRES_USE= PHP=postgresql
-SQLSRV_USE= PHP=sqlsrv
+POSTGRES_USE= PHP=pgsql
SQLITE_USE= PHP=sqlite3
ZLIB_USE= PHP=zlib
diff --git a/www/typo3-12/Makefile b/www/typo3-12/Makefile
index 6e0317be246b..4848e10d93a6 100644
--- a/www/typo3-12/Makefile
+++ b/www/typo3-12/Makefile
@@ -16,9 +16,9 @@ IGNORE_WITH_MYSQL= 56 57 101m 102m
IGNORE_WITH_PHP= 80 82
USES= cpe php:web,flavors shebangfix
-USE_PHP= ctype dom fileinfo filter gd hash intl json \
- mbstring openssl pcre pdo session simplexml \
- spl tokenizer xml zip zlib
+USE_PHP= ctype dom fileinfo filter gd intl \
+ mbstring openssl pdo session simplexml \
+ tokenizer xml zip zlib
WRKSRC= ${WRKDIR}/${PORTNAME}_src-${PORTVERSION}
SHEBANG_GLOB= *.sh *.php
@@ -36,7 +36,7 @@ PORT_V_PATCH= 0
TYPO3DIR= www/${PORTNAME}-${PORT_V_MAJOR}
-OPTIONS_DEFINE= CURL GMP IMAGICK MYSQL POSTGRES SQLSRV SQLITE
+OPTIONS_DEFINE= CURL GMP IMAGICK MYSQL POSTGRES SQLITE
OPTIONS_DEFAULT=MYSQL
IMAGICK_DESC= ${IMAGEMAGICK_DESC}
@@ -44,13 +44,11 @@ MBSTRING_DESC= ${MULTIBYTE_DESC}
MYSQL_DESC= Use MySQL as DBMS
POSTGRES_DESC= Use PostgreSQL as DBMS
SQLITE_DESC= Use SQLite as DBMS
-SQLSRV_DESC= Use MSSQL as DBMS
CURL_USE= PHP=curl
GMP_USE= PHP=gmp
MYSQL_USE= PHP=mysqli
-POSTGRES_USE= PHP=postgresql
-SQLSRV_USE= PHP=sqlsrv
+POSTGRES_USE= PHP=pgsql
SQLITE_USE= PHP=sqlite3
.include <bsd.port.options.mk>
diff --git a/www/webtrees20/Makefile b/www/webtrees20/Makefile
index 134cd7dbfe48..e5da72752669 100644
--- a/www/webtrees20/Makefile
+++ b/www/webtrees20/Makefile
@@ -12,7 +12,7 @@ LICENSE= GPLv3+
USES= cpe php shebangfix zip
-USE_PHP= calendar dom filter gd json pcre pdo_mysql session simplexml xml
+USE_PHP= calendar dom filter gd pdo_mysql session simplexml xml
SHEBANG_FILES= webtrees/vendor/swiftmailer/swiftmailer/lib/swiftmailer_generate_mimes_config.php \
webtrees/vendor/tecnickcom/tcpdf/tools/tcpdf_addfont.php
diff --git a/www/webtrees21/Makefile b/www/webtrees21/Makefile
index b775f5c5f540..fc8ccf06f344 100644
--- a/www/webtrees21/Makefile
+++ b/www/webtrees21/Makefile
@@ -12,7 +12,7 @@ LICENSE= GPLv3+
USES= cpe php shebangfix zip
-USE_PHP= calendar dom filter gd json pcre pdo_mysql session simplexml xml
+USE_PHP= calendar dom filter gd pdo_mysql session simplexml xml
SHEBANG_FILES= webtrees/vendor/tecnickcom/tcpdf/tools/tcpdf_addfont.php
diff --git a/www/wordpress/Makefile b/www/wordpress/Makefile
index b6eea1d69580..60cf6a5616d7 100644
--- a/www/wordpress/Makefile
+++ b/www/wordpress/Makefile
@@ -12,7 +12,7 @@ CATEGORIES+= www
MAINTAINER= joneum@FreeBSD.org
COMMENT= State-of-the-art semantic personal publishing platform
-WWW= ${MASTER_SITES}
+WWW= ${MASTER_SITES}
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/license.txt
@@ -29,7 +29,7 @@ PKGNAMESUFFIX= -${WORDPRESS_LANG}
CPE_LANG= ${WORDPRESS_LANG}
.endif
-USE_PHP= curl exif fileinfo ftp gd hash json mysqli pcre tokenizer xml zip zlib
+USE_PHP= curl exif fileinfo ftp gd mysqli tokenizer xml zip zlib
CONFLICTS_INSTALL= ??-wordpress
NO_ARCH= yes
NO_BUILD= yes
diff --git a/www/yourls/Makefile b/www/yourls/Makefile
index d815af9a1878..3ff44b3012fe 100644
--- a/www/yourls/Makefile
+++ b/www/yourls/Makefile
@@ -10,7 +10,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cpe php
-USE_PHP= bcmath curl iconv json pcre pdo_mysql xml
+USE_PHP= bcmath curl iconv pdo_mysql xml
NO_ARCH= yes
NO_BUILD= yes
diff --git a/www/zend-framework/Makefile b/www/zend-framework/Makefile
index 273943e02e91..0fdd3456c4a5 100644
--- a/www/zend-framework/Makefile
+++ b/www/zend-framework/Makefile
@@ -13,7 +13,6 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= gettext php:web,flavors tar:tgz
-USE_PHP= spl
NO_ARCH= yes
NO_BUILD= yes
@@ -36,11 +35,11 @@ MEMCACHE_USE= PHP=memcache,memcached
MYSQLI_USE= PHP=mysqli
MYSQL_USE= PHP=pdo_mysql
ODBC_USE= PHP=pdo_odbc
-OPTPHP_USE= PHP=bcmath,bitset,json,posix
+OPTPHP_USE= PHP=bcmath,bitset,posix
PGSQL_USE= PHP=pdo_pgsql
# Add all of the required and/or optional PHP extension dependencies,
# if chosen by the user.
-REQPHP_USE= PHP=ctype,curl,dom,gd,hash,iconv,ldap,mbstring,mcrypt,opcache,pcre,pdo,session,simplexml,soap,sqlite3,xml,zlib
+REQPHP_USE= PHP=ctype,curl,dom,gd,iconv,ldap,mbstring,mcrypt,opcache,pdo,session,simplexml,soap,sqlite3,xml,zlib
SQLITE_USE= PHP=pdo_sqlite
do-install:
diff --git a/www/zenphoto/Makefile b/www/zenphoto/Makefile
index 59b478172f77..b866bf5e6d30 100644
--- a/www/zenphoto/Makefile
+++ b/www/zenphoto/Makefile
@@ -12,7 +12,7 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cpe php:flavors,web
-USE_PHP= gd gettext hash json mbstring mysqli pcre session
+USE_PHP= gd gettext mbstring mysqli session
NO_ARCH= yes
NO_BUILD= yes