diff --git a/Mk/Uses/php.mk b/Mk/Uses/php.mk index c35e3dad88d7..ed76cf6f5f54 100644 --- a/Mk/Uses/php.mk +++ b/Mk/Uses/php.mk @@ -1,479 +1,483 @@ # Support for PHP-based ports. # # Feature: php # Usage: USES=php # Valid ARGS: (none), phpize, ext, zend, build, cli, cgi, mod, web, embed, # pecl, flavors, noflavors # # - phpize : Use to build a PHP extension. # - ext : Use to build, install and register a PHP extension. # - zend : Use to build, install and register a Zend extension. # - build : Set PHP also as a build dependency. # - cli : Want the CLI version of PHP. # - cgi : Want the CGI version of PHP. # - mod : Want the Apache Module for PHP. # - web : Want the Apache Module or the CGI version of PHP. # - embed : Want the embedded library version of PHP. # - pecl : Fetches from PECL. # - flavors : Generates flavors for supported versions. # (implied by phpize,ext,zend,pecl) # - noflavors: Prevents generation of flavor. # # If the port requires a predefined set of PHP extensions, they can be # listed in this way: # # USE_PHP= ext1 ext2 ext3 # # PHP and Zend extensions built with :ext and :zend are automatically enabled # when the port is installed. Each port creates a PHP_EXT_INI_FILE file and # registers the extension in it. # # The PHP_EXT_INI_FILE file has a priority number embeded into its name so that # extensions are loaded in the right order. The priority is defined by # PHP_MOD_PRIO and is a number between 00 and 99. # # For extensions that do not depend on any extension, the priority is # automatically set to 20, for extensions that depend on another extension, the # priority is automatically set to 30. Some extensions may need to be loaded # before everyone else (for example opcache), or after an extension with a # priotity of 30, in that case, add PHP_MOD_PRIO=XX in the port's Makefile. # For example: # # USES= php:ext # USE_PHP= xml # PHP_MOD_PRIO= 40 # # The port can set these options in its Makefile before bsd.port.pre.mk: # # IGNORE_WITH_PHP=N - The port doesn't work with PHP version N. # # BUILD_ONLY_DEFAULT_PHP_FLAVOR - explicitely marks non-default ignored (use in make.conf) # # You may combine multiple php:* arguments. # Don't specify any php:* argument if your port will work with every PHP SAPI. # # If you are building PHP-based ports in poudriere(8) with ZTS enabled, # add WITH_MPM=event to /etc/make.conf to prevent build failures. .if !defined(_INCLUDE_USES_PHP_MK) PHP_Include_MAINTAINER= ale@FreeBSD.org _INCLUDE_USES_PHP_MK= yes _PHP_VALID_ARGS= build cgi cli embed ext flavors mod noflavors pecl \ phpize web zend _PHP_UNKNOWN_ARGS= . for arg in ${php_ARGS} . if empty(_PHP_VALID_ARGS:M${arg}) _PHP_UNKNOWN_ARGS+= ${arg} . endif . endfor . if !empty(_PHP_UNKNOWN_ARGS) IGNORE= has unknown USES=php arguments: ${_PHP_UNKNOWN_ARGS} . endif . if ${php_ARGS:Mbuild} && ( ${php_ARGS:Mphpize} || ${php_ARGS:Mext} || ${php_ARGS:Mzend} ) DEV_WARNING+= "USES=php:build is included in USES=php:phpize, USES=php:ext, and USES=php:zend, so it is not needed" . endif . if ${php_ARGS:Mflavors} && ( ${php_ARGS:Mphpize} || ${php_ARGS:Mext} || ${php_ARGS:Mzend} || ${php_ARGS:Mpecl} ) DEV_WARNING+= "USES=php:flavors is included in phpize, ext, zend and pecl, so it is not needed." . endif . if ${php_ARGS:Mphpize} && ( ${php_ARGS:Mext} || ${php_ARGS:Mzend} ) DEV_WARNING+= "USES=php:phpize is included in USES=php:ext and USES=php:zend, so it is not needed" . endif . if ${php_ARGS:Mext} && ${php_ARGS:Mzend} DEV_WARNING+= "USES=php:ext is included in USES=php:zend, so it is not needed" . endif . if ${php_ARGS:Mext} && ${php_ARGS:Mpecl} DEV_WARNING+= "USES=php:ext is included in USES=php:pecl, so it is not needed" . endif . if ( ${php_ARGS:Mphpize} || ${php_ARGS:Mext} || ${php_ARGS:Mzend} || ${php_ARGS:Mpecl} ) && !${php_ARGS:Mnoflavors} php_ARGS+= flavors . endif . if ${php_ARGS:Mnoflavors} && ${php_ARGS:Mflavors} php_ARGS:= ${php_ARGS:Nflavors} . endif . if ${php_ARGS:Mpecl} php_ARGS+= ext . if !defined(USE_GITHUB) EXTRACT_SUFX= .tgz MASTER_SITES= https://pecl.php.net/get/ \ http://pecl.php.net/get/ . endif PKGNAMEPREFIX= ${PECL_PKGNAMEPREFIX} DIST_SUBDIR= PECL . endif PHPBASE?= ${LOCALBASE} _ALL_PHP_VERSIONS= 81 82 83 84 # Make the already installed PHP the default one. . if exists(${PHPBASE}/etc/php.conf) .include "${PHPBASE}/etc/php.conf" . if !defined(PHP_EXT_DIR) PHP_EXT_DIR!= ${PHPBASE}/bin/php-config --extension-dir | ${SED} -ne 's,^${PHPBASE}/lib/php/\(.*\),\1,p' . endif _INSTALLED_PHP_VER:= ${PHP_VER} # If we have an installed version of PHP, and this does not support it, set # IGNORE to fail early as you cannot install two different versions of PHP at # the same time anyway. . if defined(IGNORE_WITH_PHP) && ${IGNORE_WITH_PHP:M${_INSTALLED_PHP_VER}} IGNORE= does not work with PHP versions "${IGNORE_WITH_PHP}" and "${_INSTALLED_PHP_VER}" is installed. . endif . else PHP_VER?= ${PHP_DEFAULT:S/.//} . endif # .if exists(${PHPBASE}/etc/php.conf) . if defined(BUILD_ONLY_DEFAULT_PHP_FLAVOR) # Only build php ports of the default flavor _ALL_FLAVOR_VERSIONS= ${PHP_VER} . else # Use the "default" php version as the first version for flavors, so that it # gets to be the default flavor. _ALL_FLAVOR_VERSIONS= ${PHP_VER} ${_ALL_PHP_VERSIONS:N${PHP_VER}} . endif # If we want flavors, fill in FLAVORS with the allowed PHP versions, if some # cannot be used, or all of them if they all can. # Then if there is no flavor set, use the first one as the default. . if ${php_ARGS:Mflavors} . if empty(FLAVORS) . if defined(IGNORE_WITH_PHP) . for _v in ${_ALL_FLAVOR_VERSIONS} . if empty(IGNORE_WITH_PHP:M${_v}) # Avoid a leading space in FLAVORS. . if empty(FLAVORS) FLAVORS:= php${_v} . else FLAVORS:= ${FLAVORS} php${_v} . endif . endif . endfor . else # defined(IGNORE_WITH_PHP) FLAVORS:= ${_ALL_FLAVOR_VERSIONS:S/^/php/} . endif # defined(IGNORE_WITH_PHP) . endif . if empty(FLAVOR) FLAVOR= ${FLAVORS:[1]} . endif . endif # This variable is for dependencies lines, so you write: # ${PHP_PKGNAMEPREFIX}foo:devel/php-foo@${PHP_FLAVOR} PHP_FLAVOR= php${PHP_VER} # So, we have PHP flavors, set PHP_VER accordingly. . if ${FLAVOR:Mphp[0-9][0-9]} PHP_VER= ${FLAVOR:S/^php//} . endif # If lang/php is not installed, or if we have a php flavor but want a non # default one, we need to overwrite those. . if empty(PHP_EXT_DIR) || empty(PHP_EXT_INC) || \ (${FLAVOR:Mphp[0-9][0-9]} && ${FLAVOR} != ${FLAVORS:[1]}) # When adding a version, please keep the comment in # Mk/bsd.default-versions.mk in sync. . if ${PHP_VER} == 84 PHP_EXT_DIR= 20230901 PHP_EXT_INC= hash json openssl pcre random spl . elif ${PHP_VER} == 83 PHP_EXT_DIR= 20230831 PHP_EXT_INC= hash json openssl pcre random spl . elif ${PHP_VER} == 82 PHP_EXT_DIR= 20220829 PHP_EXT_INC= hash json openssl pcre random spl . elif ${PHP_VER} == 81 PHP_EXT_DIR= 20210902 PHP_EXT_INC= hash json openssl pcre spl . else # (rene) default to DEFAULT_VERSIONS PHP_EXT_DIR= 20220829 PHP_EXT_INC= hash json openssl pcre random spl . endif # Try to figure out what the PHP_EXT_DIR should be WRT the # installed Apache port. HTTPD?= ${LOCALBASE}/sbin/httpd . if exists(${HTTPD}) APACHE_THR!= ${HTTPD} -V | ${AWK} '/threaded/ {print $2}' . if ${APACHE_THR:Myes} PHP_EXT_DIR:= ${PHP_EXT_DIR}-zts . endif . elif defined(APACHE_PORT) && (${APACHE_PORT:M*worker*} != "" || ${APACHE_PORT:M*event*} != "") PHP_EXT_DIR:= ${PHP_EXT_DIR}-zts . elif defined(WITH_MPM) && (${WITH_MPM} == "worker" || ${WITH_MPM} == "event") PHP_EXT_DIR:= ${PHP_EXT_DIR}-zts . endif . if defined(WITH_DEBUG) PHP_EXT_DIR:= ${PHP_EXT_DIR}-debug . endif PHP_SAPI?= "" . endif # empty(PHP_EXT_DIR) || empty(PHP_EXT_INC) || (${FLAVOR:Mphp[0-9][0-9]} && ${FLAVOR} != ${FLAVORS:[1]}) # Set a few PKGNAME(PRE|SUF)FIX to be used in ports. PHP_PKGNAMEPREFIX= php${PHP_VER}- PHP_PKGNAMESUFFIX= -php${PHP_VER} PECL_PKGNAMEPREFIX= php${PHP_VER}-pecl- . if defined(IGNORE_WITH_PHP) . for VER in ${IGNORE_WITH_PHP} . if ${PHP_VER} == "${VER}" _IGNORE_PHP_SET= IGNORE= cannot be installed: doesn't work with lang/php${PHP_VER} port\ (doesn't support PHP ${IGNORE_WITH_PHP:C/^(8)/\1./}) . endif . endfor . endif . if ${php_ARGS:Mweb} . if ${php_ARGS:Mcgi} || ${php_ARGS:Mmod} check-makevars:: @${ECHO_CMD} "If you use :web you cannot also use :cgi" @${ECHO_CMD} "or :mod. Use only one of them." @${FALSE} . endif . endif . if ${php_ARGS:Mcgi} . if defined(PHP_VERSION) && ${PHP_SAPI:Mcgi} == "" && ${PHP_SAPI:Mfpm} == "" check-makevars:: @${ECHO_CMD} "This port requires the CGI version of PHP, but you have already" @${ECHO_CMD} "installed a PHP port without CGI." @${FALSE} . endif . endif . if ${php_ARGS:Mcli} . if defined(PHP_VERSION) && ${PHP_SAPI:Mcli} == "" check-makevars:: @${ECHO_CMD} "This port requires the CLI version of PHP, but you have already" @${ECHO_CMD} "installed a PHP port without CLI." @${FALSE} . endif . endif . if ${php_ARGS:Membed} . if defined(PHP_VERSION) && ${PHP_SAPI:Membed} == "" check-makevars:: @${ECHO_CMD} "This port requires the embedded library version of PHP, but you have already" @${ECHO_CMD} "installed a PHP port without the embedded library." @${FALSE} . endif . endif PHP_PORT?= lang/php${PHP_VER} MOD_PHP_PORT?= www/mod_php${PHP_VER} . if ${php_ARGS:Mbuild} BUILD_DEPENDS+= ${PHPBASE}/include/php/main/php.h:${PHP_PORT} . endif RUN_DEPENDS+= ${PHPBASE}/include/php/main/php.h:${PHP_PORT} . if ${php_ARGS:Mmod} || (${php_ARGS:Mweb} && defined(PHP_VERSION) && ${PHP_SAPI:Mcgi} == "" && ${PHP_SAPI:Mfpm} == "") apache_ARGS?=run .include "${USESDIR}/apache.mk" RUN_DEPENDS+= ${PHPBASE}/${APACHEMODDIR}/libphp.so:${MOD_PHP_PORT} . endif PLIST_SUB+= PHP_EXT_DIR=${PHP_EXT_DIR} SUB_LIST+= PHP_EXT_DIR=${PHP_EXT_DIR} . if ${php_ARGS:Mphpize} || ${php_ARGS:Mext} || ${php_ARGS:Mzend} BUILD_DEPENDS+= ${PHPBASE}/bin/phpize:${PHP_PORT} \ autoconf>0:devel/autoconf GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-php-config=${PHPBASE}/bin/php-config _USES_configure+= 190:phpize-message 250:do-phpize phpize-message: @${ECHO_MSG} "===> PHPizing for ${PKGNAME}" do-phpize: @(cd ${WRKSRC}; ${SETENV} ${SCRIPTS_ENV} ${PHPBASE}/bin/phpize) . endif _USES_POST+=php .endif .if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_PHP_POST_MK) _INCLUDE_USES_PHP_POST_MK=yes . if ${php_ARGS:Mext} || ${php_ARGS:Mzend} PHP_MODNAME?= ${PORTNAME} PHP_EXT_PKGMESSAGE= ${WRKDIR}/php-ext-pkg-message _PKGMESSAGES+= ${PHP_EXT_PKGMESSAGE} PHP_HEADER_DIRS+= . # If there is no priority defined, we wing it. . if !defined(PHP_MOD_PRIO) . if defined(USE_PHP) # If an extension needs another, put it after the others. PHP_MOD_PRIO= 30 . else # Otherwise, put it where it with everybody. PHP_MOD_PRIO= 20 . endif . endif PHP_EXT_INI_FILE= etc/php/ext-${PHP_MOD_PRIO}-${PHP_MODNAME}.ini.sample do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR} @${INSTALL_LIB} ${WRKSRC}/modules/${PHP_MODNAME}.so \ ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR} . for header in ${PHP_HEADER_DIRS} @${MKDIR} ${STAGEDIR}${PREFIX}/include/php/ext/${PHP_MODNAME}/${header} @${INSTALL_DATA} ${WRKSRC}/${header}/*.h \ ${STAGEDIR}${PREFIX}/include/php/ext/${PHP_MODNAME}/${header} . endfor @${RM} ${STAGEDIR}${PREFIX}/include/php/ext/${PHP_MODNAME}/config.h @${EGREP} "#define (COMPILE|HAVE|USE)_" ${WRKSRC}/config.h \ > ${STAGEDIR}${PREFIX}/include/php/ext/${PHP_MODNAME}/config.h @${MKDIR} ${STAGEDIR}${PREFIX}/etc/php . if ${php_ARGS:Mzend} @${ECHO_CMD} "zend_extension=${PHP_MODNAME}.so" > ${STAGEDIR}${PREFIX}/${PHP_EXT_INI_FILE} . else @${ECHO_CMD} "extension=${PHP_MODNAME}.so" > ${STAGEDIR}${PREFIX}/${PHP_EXT_INI_FILE} . endif _USES_stage+= 899:add-plist-phpext add-plist-phpext: @${ECHO_CMD} "lib/php/${PHP_EXT_DIR}/${PHP_MODNAME}.so" \ >> ${TMPPLIST} @${FIND} -P ${STAGEDIR}${PREFIX}/include/php/ext/${PHP_MODNAME} ! -type d 2>/dev/null | \ ${SED} -ne 's,^${STAGEDIR}${PREFIX}/,,p' >> ${TMPPLIST} @${ECHO_CMD} "@postexec echo \#include \\\"ext/${PHP_MODNAME}/config.h\\\" >> %D/include/php/ext/php_config.h" \ >> ${TMPPLIST} @${ECHO_CMD} "@preunexec cp %D/include/php/ext/php_config.h %D/include/php/ext/php_config.h.orig" \ >> ${TMPPLIST} @${ECHO_CMD} "@preunexec grep -v ext/${PHP_MODNAME}/config.h %D/include/php/ext/php_config.h.orig > %D/include/php/ext/php_config.h || true" \ >> ${TMPPLIST} @${ECHO_CMD} "@preunexec ${RM} %D/include/php/ext/php_config.h.orig" \ >> ${TMPPLIST} @${ECHO_CMD} "@sample ${PHP_EXT_INI_FILE}" \ >> ${TMPPLIST} @${ECHO_CMD} "[" > ${PHP_EXT_PKGMESSAGE} @${ECHO_CMD} "{" >> ${PHP_EXT_PKGMESSAGE} @${ECHO_CMD} " message: <> ${PHP_EXT_PKGMESSAGE} @${ECHO_CMD} "This file has been added to automatically load the installed extension:" >> ${PHP_EXT_PKGMESSAGE} @${ECHO_CMD} "${PREFIX}/${PHP_EXT_INI_FILE}" >> ${PHP_EXT_PKGMESSAGE} @${ECHO_CMD} "EOD" >> ${PHP_EXT_PKGMESSAGE} @${ECHO_CMD} " type: install" >> ${PHP_EXT_PKGMESSAGE} @${ECHO_CMD} "}" >> ${PHP_EXT_PKGMESSAGE} @${ECHO_CMD} "]" >> ${PHP_EXT_PKGMESSAGE} . endif # Extensions . if defined(USE_PHP) && ${USE_PHP:tl} != "yes" # non-version specific components _USE_PHP_ALL= bcmath bitset bz2 calendar ctype curl dba dom \ enchant exif ffi fileinfo filter ftp gd gettext gmp \ - hash iconv igbinary intl json ldap mbstring mcrypt \ + hash iconv igbinary imap intl json ldap mbstring mcrypt \ memcache memcached mysqli odbc opcache \ openssl pcntl pcre pdo pdo_dblib pdo_firebird pdo_mysql \ pdo_odbc pdo_pgsql pdo_sqlite phar pgsql posix \ pspell radius random readline redis session shmop simplexml snmp \ soap sockets sodium spl sqlite3 sysvmsg sysvsem sysvshm \ tidy tokenizer xml xmlreader xmlrpc xmlwriter xsl zephir_parser \ zip zlib # version specific components -_USE_PHP_VER81= ${_USE_PHP_ALL} imap -_USE_PHP_VER82= ${_USE_PHP_ALL} imap -_USE_PHP_VER83= ${_USE_PHP_ALL} imap +_USE_PHP_VER81= ${_USE_PHP_ALL} +_USE_PHP_VER82= ${_USE_PHP_ALL} +_USE_PHP_VER83= ${_USE_PHP_ALL} _USE_PHP_VER84= ${_USE_PHP_ALL} bcmath_DEPENDS= math/php${PHP_VER}-bcmath bitset_DEPENDS= math/pecl-bitset@${PHP_FLAVOR} bz2_DEPENDS= archivers/php${PHP_VER}-bz2 calendar_DEPENDS= misc/php${PHP_VER}-calendar ctype_DEPENDS= textproc/php${PHP_VER}-ctype curl_DEPENDS= ftp/php${PHP_VER}-curl dba_DEPENDS= databases/php${PHP_VER}-dba dom_DEPENDS= textproc/php${PHP_VER}-dom enchant_DEPENDS= textproc/php${PHP_VER}-enchant exif_DEPENDS= graphics/php${PHP_VER}-exif ffi_DEPENDS= devel/php${PHP_VER}-ffi fileinfo_DEPENDS= sysutils/php${PHP_VER}-fileinfo filter_DEPENDS= security/php${PHP_VER}-filter ftp_DEPENDS= ftp/php${PHP_VER}-ftp gd_DEPENDS= graphics/php${PHP_VER}-gd gettext_DEPENDS=devel/php${PHP_VER}-gettext gmp_DEPENDS= math/php${PHP_VER}-gmp iconv_DEPENDS= converters/php${PHP_VER}-iconv igbinary_DEPENDS= converters/pecl-igbinary@${PHP_FLAVOR} +. if ${PHP_VER} <= 83 imap_DEPENDS= mail/php${PHP_VER}-imap +. else +imap_DEPENDS= mail/pecl-imap@${PHP_FLAVOR} +. endif intl_DEPENDS= devel/php${PHP_VER}-intl ldap_DEPENDS= net/php${PHP_VER}-ldap mbstring_DEPENDS= converters/php${PHP_VER}-mbstring mcrypt_DEPENDS= security/pecl-mcrypt@${PHP_FLAVOR} memcache_DEPENDS= databases/pecl-memcache@${PHP_FLAVOR} memcached_DEPENDS= databases/pecl-memcached@${PHP_FLAVOR} mysqli_DEPENDS= databases/php${PHP_VER}-mysqli odbc_DEPENDS= databases/php${PHP_VER}-odbc opcache_DEPENDS= www/php${PHP_VER}-opcache pcntl_DEPENDS= devel/php${PHP_VER}-pcntl pdo_DEPENDS= databases/php${PHP_VER}-pdo pdo_dblib_DEPENDS= databases/php${PHP_VER}-pdo_dblib pdo_firebird_DEPENDS= databases/php${PHP_VER}-pdo_firebird pdo_mysql_DEPENDS= databases/php${PHP_VER}-pdo_mysql pdo_odbc_DEPENDS= databases/php${PHP_VER}-pdo_odbc pdo_pgsql_DEPENDS= databases/php${PHP_VER}-pdo_pgsql pdo_sqlite_DEPENDS= databases/php${PHP_VER}-pdo_sqlite pgsql_DEPENDS= databases/php${PHP_VER}-pgsql phar_DEPENDS= archivers/php${PHP_VER}-phar posix_DEPENDS= sysutils/php${PHP_VER}-posix . if ${PHP_VER} <= 83 pspell_DEPENDS= textproc/php${PHP_VER}-pspell . else pspell_DEPENDS= textproc/pecl-pspell@${PHP_FLAVOR} . endif radius_DEPENDS= net/pecl-radius@${PHP_FLAVOR} readline_DEPENDS= devel/php${PHP_VER}-readline redis_DEPENDS= databases/pecl-redis@${PHP_FLAVOR} session_DEPENDS=www/php${PHP_VER}-session shmop_DEPENDS= devel/php${PHP_VER}-shmop simplexml_DEPENDS= textproc/php${PHP_VER}-simplexml snmp_DEPENDS= net-mgmt/php${PHP_VER}-snmp soap_DEPENDS= net/php${PHP_VER}-soap sockets_DEPENDS=net/php${PHP_VER}-sockets sodium_DEPENDS= security/php${PHP_VER}-sodium sqlite3_DEPENDS=databases/php${PHP_VER}-sqlite3 sysvmsg_DEPENDS=devel/php${PHP_VER}-sysvmsg sysvsem_DEPENDS=devel/php${PHP_VER}-sysvsem sysvshm_DEPENDS=devel/php${PHP_VER}-sysvshm tidy_DEPENDS= www/php${PHP_VER}-tidy tokenizer_DEPENDS= devel/php${PHP_VER}-tokenizer xml_DEPENDS= textproc/php${PHP_VER}-xml xmlreader_DEPENDS= textproc/php${PHP_VER}-xmlreader xmlrpc_DEPENDS= net/pecl-xmlrpc@${PHP_FLAVOR} xmlwriter_DEPENDS= textproc/php${PHP_VER}-xmlwriter xsl_DEPENDS= textproc/php${PHP_VER}-xsl zephir_parser_DEPENDS= textproc/pecl-zephir_parser@${PHP_FLAVOR} zip_DEPENDS= archivers/php${PHP_VER}-zip zlib_DEPENDS= archivers/php${PHP_VER}-zlib . for extension in ${USE_PHP} ext= ${extension} . if !empty(_USE_PHP_VER${PHP_VER}:M${extension:S/:build//}) . if empty(PHP_EXT_INC:M${extension:S/:build//}) . if !empty(php_ARGS:Mbuild) || !empty(ext:M*\:build) BUILD_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/${extension:S/:build//}.so:${${extension:S/:build//}_DEPENDS} . endif RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/${extension:S/:build//}.so:${${extension:S/:build//}_DEPENDS} . endif . else . if ${ext:tl} != "yes" && !defined(_IGNORE_PHP_SET) check-makevars:: @${ECHO_CMD} "Unknown extension ${extension:S/:build//} for PHP ${PHP_VER}." @${FALSE} . endif . endif . endfor . endif .endif diff --git a/mail/Makefile b/mail/Makefile index 4193b1f7d61f..d86307825e46 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -1,753 +1,754 @@ COMMENT = Electronic mail utilities SUBDIR += abook SUBDIR += adcomplain SUBDIR += addresses SUBDIR += addresses-goodies SUBDIR += aerc SUBDIR += akpop3d SUBDIR += alpine SUBDIR += amavis-logwatch SUBDIR += anomy-sanitizer SUBDIR += antivirus-milter SUBDIR += anubis SUBDIR += archiveopteryx SUBDIR += archiveopteryx-devel SUBDIR += archivesmtp SUBDIR += archmbox SUBDIR += ask SUBDIR += asmail SUBDIR += assp SUBDIR += astroid SUBDIR += automx SUBDIR += autorespond SUBDIR += balsa SUBDIR += batv-milter SUBDIR += bayespam SUBDIR += bbmail SUBDIR += biabam SUBDIR += bincimap SUBDIR += bmf SUBDIR += bogofilter SUBDIR += bogofilter-bdb SUBDIR += bogofilter-kc SUBDIR += bogofilter-sqlite SUBDIR += bsd-vacation SUBDIR += bsfilter SUBDIR += bsmtp SUBDIR += bulk_mailer SUBDIR += c-sig SUBDIR += claws-mail SUBDIR += claws-mail-acpi_notifier SUBDIR += claws-mail-address_keeper SUBDIR += claws-mail-archive SUBDIR += claws-mail-att_remover SUBDIR += claws-mail-attachwarner SUBDIR += claws-mail-bogofilter SUBDIR += claws-mail-bsfilter SUBDIR += claws-mail-clamd SUBDIR += claws-mail-dillo SUBDIR += claws-mail-fancy SUBDIR += claws-mail-fetchinfo SUBDIR += claws-mail-gdata SUBDIR += claws-mail-keyword_warner SUBDIR += claws-mail-libravatar SUBDIR += claws-mail-litehtml_viewer SUBDIR += claws-mail-mailmbox SUBDIR += claws-mail-managesieve SUBDIR += claws-mail-newmail SUBDIR += claws-mail-notification SUBDIR += claws-mail-pdf_viewer SUBDIR += claws-mail-perl SUBDIR += claws-mail-pgp SUBDIR += claws-mail-plugins SUBDIR += claws-mail-rssyl SUBDIR += claws-mail-spam_report SUBDIR += claws-mail-spamassassin SUBDIR += claws-mail-tnef_parse SUBDIR += claws-mail-vcalendar SUBDIR += clawsker SUBDIR += cleanup-maildir SUBDIR += cone SUBDIR += coolmail SUBDIR += courier SUBDIR += courier-analog SUBDIR += courier-authlib-vchkpw SUBDIR += courier-imap SUBDIR += couriergraph SUBDIR += crm114 SUBDIR += cvsmail SUBDIR += cyrus-imapd25 SUBDIR += cyrus-imapd30 SUBDIR += cyrus-imapd32 SUBDIR += cyrus-imapd34 SUBDIR += cyrus-imapd36 SUBDIR += cyrus-imapd38 SUBDIR += cyrus2courier SUBDIR += cyrus2dovecot SUBDIR += datovka SUBDIR += davmail SUBDIR += dbmail SUBDIR += dcc-dccd SUBDIR += deforaos-mailer SUBDIR += delatt SUBDIR += dk-milter SUBDIR += dkfilter SUBDIR += dkimproxy SUBDIR += dma SUBDIR += dmarcts-report-parser SUBDIR += dot-forward SUBDIR += dovecot SUBDIR += dovecot-coi SUBDIR += dovecot-fts-elastic SUBDIR += dovecot-fts-flatcurve SUBDIR += dovecot-fts-xapian SUBDIR += dovecot-pigeonhole SUBDIR += dovecot-xaps SUBDIR += dspam SUBDIR += ecartis SUBDIR += elm SUBDIR += emailrelay SUBDIR += emil SUBDIR += enma SUBDIR += eps SUBDIR += epstools SUBDIR += evolution SUBDIR += evolution-ews SUBDIR += exilog SUBDIR += exim SUBDIR += exim-doc-html SUBDIR += exim-doc-pdf SUBDIR += exim-doc-postscript SUBDIR += exim-ldap2 SUBDIR += exim-monitor SUBDIR += exim-mysql SUBDIR += exim-postgresql SUBDIR += exim-sa-exim SUBDIR += exim-sqlite SUBDIR += exipick SUBDIR += exmh-devel SUBDIR += exmh2 SUBDIR += ez-pine-gpg SUBDIR += ezmlm SUBDIR += ezmlm-idx SUBDIR += faces SUBDIR += fastforward SUBDIR += fdm SUBDIR += fetchmail SUBDIR += fetchmailconf SUBDIR += filtermail SUBDIR += findmaildirs SUBDIR += geary SUBDIR += gensig SUBDIR += getmail6 SUBDIR += gmime26 SUBDIR += gmime26-sharp SUBDIR += gmime30 SUBDIR += gnarwl SUBDIR += gnubiff SUBDIR += gnumail SUBDIR += gotmail SUBDIR += grepmail SUBDIR += greyfix SUBDIR += greylite SUBDIR += gubby SUBDIR += hashcash SUBDIR += hbiff SUBDIR += heirloom-mailx SUBDIR += hydroxide SUBDIR += ifile SUBDIR += im SUBDIR += imapdedup SUBDIR += imapfilter SUBDIR += imapsync SUBDIR += imaptools SUBDIR += imaputils SUBDIR += isbg SUBDIR += isoqlog SUBDIR += isync SUBDIR += james SUBDIR += jamlib SUBDIR += jmba SUBDIR += junkfilter SUBDIR += jwsmtp SUBDIR += lbdb SUBDIR += lens SUBDIR += libcmime SUBDIR += libdkim SUBDIR += libdomainkeys SUBDIR += libesmtp SUBDIR += libetpan SUBDIR += libmilter SUBDIR += libpst SUBDIR += libsieve SUBDIR += libspamtest SUBDIR += libspf2 SUBDIR += libsrs2 SUBDIR += libsrs_alt SUBDIR += libvmime SUBDIR += linux-r7-organizer-pro SUBDIR += listadmin SUBDIR += lmtp2nntp SUBDIR += lookout SUBDIR += lurker SUBDIR += mail-expire SUBDIR += mail2sms SUBDIR += mailagent SUBDIR += maildrop SUBDIR += mailest SUBDIR += mailfromd SUBDIR += mailfront SUBDIR += mailgraph SUBDIR += mailhog SUBDIR += mailio SUBDIR += mailman SUBDIR += mailman-exim4 SUBDIR += mailman-postfix SUBDIR += mailman3 SUBDIR += mailpit SUBDIR += mailscanner SUBDIR += mailslurper SUBDIR += mailutils SUBDIR += mailx SUBDIR += mairix SUBDIR += masqmail SUBDIR += mb2md SUBDIR += mblaze SUBDIR += mbox2imap SUBDIR += mbox2mdir SUBDIR += mboxgrep SUBDIR += mboxstats SUBDIR += mbx2mbox SUBDIR += mdpop3d SUBDIR += mess822 SUBDIR += meta1 SUBDIR += metamail SUBDIR += mew SUBDIR += mew-devel SUBDIR += mfmod_ldap SUBDIR += mfmod_openmetrics SUBDIR += mfmod_pcre SUBDIR += milter-bogom SUBDIR += milter-callback SUBDIR += milter-greylist SUBDIR += milter-manager SUBDIR += milter-regex SUBDIR += milter-skem SUBDIR += mime-construct SUBDIR += mime4j SUBDIR += mimedefang SUBDIR += mini_sendmail SUBDIR += minimalist SUBDIR += missey SUBDIR += mlmmj SUBDIR += mlmmj-archive-mid SUBDIR += mlmmj-archiver SUBDIR += mlmmj-webview SUBDIR += mls SUBDIR += mmh SUBDIR += mmr SUBDIR += mox SUBDIR += mpop SUBDIR += msglint SUBDIR += msmtp SUBDIR += mu SUBDIR += mu4e SUBDIR += mu4e-maildirs SUBDIR += mulberry SUBDIR += mutt SUBDIR += mutt_vc_query SUBDIR += nbsmtp SUBDIR += neomutt SUBDIR += nextcloud-mail SUBDIR += nmh SUBDIR += nmh-devel SUBDIR += noattach SUBDIR += nocc SUBDIR += normalizemime SUBDIR += notmuch SUBDIR += notmuch-emacs SUBDIR += notmuch-mutt SUBDIR += nullmailer SUBDIR += openarc SUBDIR += opendkim SUBDIR += opendkim-devel SUBDIR += opendmarc SUBDIR += opensmtpd SUBDIR += opensmtpd-extras SUBDIR += opensmtpd-extras-queue-ram SUBDIR += opensmtpd-extras-scheduler-ram SUBDIR += opensmtpd-extras-table-ldap SUBDIR += opensmtpd-extras-table-mysql SUBDIR += opensmtpd-extras-table-passwd SUBDIR += opensmtpd-extras-table-postgresql SUBDIR += opensmtpd-extras-table-redis SUBDIR += opensmtpd-extras-table-socketmap SUBDIR += opensmtpd-extras-table-sqlite SUBDIR += opensmtpd-filter-rspamd SUBDIR += opensmtpd-filter-senderscore SUBDIR += osbf-lua SUBDIR += ovs SUBDIR += p5-CGP-CLI SUBDIR += p5-Clamd SUBDIR += p5-Dancer-Plugin-Email SUBDIR += p5-Dancer2-Plugin-Email SUBDIR += p5-Data-Validate-Email SUBDIR += p5-Email-Abstract SUBDIR += p5-Email-Address SUBDIR += p5-Email-Address-List SUBDIR += p5-Email-Address-Loose SUBDIR += p5-Email-Address-UseXS SUBDIR += p5-Email-Address-XS SUBDIR += p5-Email-AddressParser SUBDIR += p5-Email-Date SUBDIR += p5-Email-Date-Format SUBDIR += p5-Email-Delete SUBDIR += p5-Email-Filter SUBDIR += p5-Email-Find SUBDIR += p5-Email-Folder SUBDIR += p5-Email-Folder-IMAP SUBDIR += p5-Email-Folder-IMAPS SUBDIR += p5-Email-Folder-POP3 SUBDIR += p5-Email-FolderType SUBDIR += p5-Email-FolderType-Net SUBDIR += p5-Email-LocalDelivery SUBDIR += p5-Email-LocalDelivery-Ezmlm SUBDIR += p5-Email-MIME SUBDIR += p5-Email-MIME-Attachment-Stripper SUBDIR += p5-Email-MIME-ContentType SUBDIR += p5-Email-MIME-CreateHTML SUBDIR += p5-Email-MIME-Creator-ISO_2022_JP SUBDIR += p5-Email-MIME-Encodings SUBDIR += p5-Email-MIME-RFC2047 SUBDIR += p5-Email-MessageID SUBDIR += p5-Email-Outlook-Message SUBDIR += p5-Email-Reply SUBDIR += p5-Email-Send SUBDIR += p5-Email-Sender SUBDIR += p5-Email-Sender-Transport-SMTP-TLS SUBDIR += p5-Email-Sender-Transport-SQLite SUBDIR += p5-Email-Simple SUBDIR += p5-Email-Simple-FromHandle SUBDIR += p5-Email-Stuffer SUBDIR += p5-Email-Valid SUBDIR += p5-Email-Valid-Loose SUBDIR += p5-FuzzyOcr-devel SUBDIR += p5-GMail-IMAPD SUBDIR += p5-IMAP-Admin SUBDIR += p5-IMAP-Client SUBDIR += p5-IMAP-Sieve SUBDIR += p5-LMAP-CID2SPF SUBDIR += p5-Log-Procmail SUBDIR += p5-MIME-AltWords SUBDIR += p5-MIME-Charset SUBDIR += p5-MIME-EcoEncode SUBDIR += p5-MIME-EncWords SUBDIR += p5-MIME-Explode SUBDIR += p5-MIME-Lite SUBDIR += p5-MIME-Lite-HTML SUBDIR += p5-MIME-Lite-TT SUBDIR += p5-MIME-Lite-TT-HTML SUBDIR += p5-MIME-Tools SUBDIR += p5-MIME-Types SUBDIR += p5-Mail-Address-MobileJp SUBDIR += p5-Mail-Alias SUBDIR += p5-Mail-Audit SUBDIR += p5-Mail-Audit-Attach SUBDIR += p5-Mail-AuthenticationResults SUBDIR += p5-Mail-BIMI SUBDIR += p5-Mail-Box SUBDIR += p5-Mail-Box-IMAP4 SUBDIR += p5-Mail-Box-IMAP4-SSL SUBDIR += p5-Mail-Box-POP3 SUBDIR += p5-Mail-Box-Parser-C SUBDIR += p5-Mail-Bulkmail SUBDIR += p5-Mail-CheckUser SUBDIR += p5-Mail-DKIM SUBDIR += p5-Mail-DMARC SUBDIR += p5-Mail-DataFeed-Abusix SUBDIR += p5-Mail-DeliveryStatus-BounceParser SUBDIR += p5-Mail-DomainKeys SUBDIR += p5-Mail-Ezmlm SUBDIR += p5-Mail-Field-Received SUBDIR += p5-Mail-FilterXML SUBDIR += p5-Mail-Folder SUBDIR += p5-Mail-Freshmeat SUBDIR += p5-Mail-GnuPG SUBDIR += p5-Mail-Graph SUBDIR += p5-Mail-IMAPClient SUBDIR += p5-Mail-IMAPTalk SUBDIR += p5-Mail-LMLM SUBDIR += p5-Mail-ListDetector SUBDIR += p5-Mail-Mbox-MessageParser SUBDIR += p5-Mail-MboxParser SUBDIR += p5-Mail-Message SUBDIR += p5-Mail-Milter-Authentication SUBDIR += p5-Mail-OpenDKIM SUBDIR += p5-Mail-OpenRelay-Simple SUBDIR += p5-Mail-POP3Client SUBDIR += p5-Mail-Procmail SUBDIR += p5-Mail-Procmailrc SUBDIR += p5-Mail-RBL SUBDIR += p5-Mail-RFC822-Address SUBDIR += p5-Mail-SPF SUBDIR += p5-Mail-SRS SUBDIR += p5-Mail-SendEasy SUBDIR += p5-Mail-Sender SUBDIR += p5-Mail-Sendmail SUBDIR += p5-Mail-Spool SUBDIR += p5-Mail-Tools SUBDIR += p5-Mail-Transport SUBDIR += p5-Mail-Transport-Dbx SUBDIR += p5-Mail-Verify SUBDIR += p5-Mail-Verp SUBDIR += p5-Mail-Webmail-Gmail SUBDIR += p5-Mojolicious-Plugin-Mail SUBDIR += p5-Net-IMAP-Client SUBDIR += p5-Net-IMAP-Server SUBDIR += p5-Net-IMAP-Simple SUBDIR += p5-Net-IMAP-Simple-SSL SUBDIR += p5-Net-LMTP SUBDIR += p5-Net-ManageSieve SUBDIR += p5-Net-POP3-SSLWrapper SUBDIR += p5-Net-QMTP SUBDIR += p5-Net-SMTP-Server SUBDIR += p5-Net-SMTP-TLS SUBDIR += p5-Net-SMTP-TLS-ButMaintained SUBDIR += p5-Net-SMTPS SUBDIR += p5-Net-SMTP_auth SUBDIR += p5-Net-SenderBase SUBDIR += p5-Net-Server-Mail SUBDIR += p5-POE-Component-Client-POP3 SUBDIR += p5-POE-Component-Client-SMTP SUBDIR += p5-POE-Component-SMTP SUBDIR += p5-POE-Filter-Transparent-SMTP SUBDIR += p5-Parse-MIME SUBDIR += p5-Parse-Syslog-Mail SUBDIR += p5-Qmail-Envelope SUBDIR += p5-SES SUBDIR += p5-Sendmail-AccessDB SUBDIR += p5-Sendmail-Milter SUBDIR += p5-Sisimai SUBDIR += p5-Test-Email SUBDIR += p5-URI-imap SUBDIR += p5-URI-imaps SUBDIR += p5-WWW-GMail SUBDIR += p5-WWW-Hotmail SUBDIR += p5-qpsmtpd SUBDIR += panda-cclient SUBDIR += panda-imap SUBDIR += pantomime SUBDIR += pathalias SUBDIR += pear-Contact_Vcard_Build SUBDIR += pear-Contact_Vcard_Parse SUBDIR += pear-Horde_Imap_Client SUBDIR += pear-Horde_Kolab_Storage SUBDIR += pear-Horde_ListHeaders SUBDIR += pear-Horde_Mail SUBDIR += pear-Horde_Mail_Autoconfig SUBDIR += pear-Horde_Mapi SUBDIR += pear-Horde_Mime SUBDIR += pear-Horde_Mime_Viewer SUBDIR += pear-Horde_Smtp SUBDIR += pear-MIME_Type SUBDIR += pear-Mail SUBDIR += pear-Mail_Mbox SUBDIR += pear-Mail_Mime SUBDIR += pear-Mail_Queue SUBDIR += pear-Mail_mimeDecode SUBDIR += pear-Net_Cyrus SUBDIR += pear-Net_IMAP SUBDIR += pear-Net_LMTP + SUBDIR += pecl-imap SUBDIR += pecl-mailparse SUBDIR += perdition SUBDIR += pflogsumm SUBDIR += pfqueue SUBDIR += php81-imap SUBDIR += php82-imap SUBDIR += php83-imap SUBDIR += phplist SUBDIR += phpmailer SUBDIR += phpmailer6 SUBDIR += pine-pgp-filters SUBDIR += pm-lib SUBDIR += policyd2 SUBDIR += popa3d SUBDIR += popa3d-before-sendmail SUBDIR += popcheck SUBDIR += popfile SUBDIR += poppwd SUBDIR += popular SUBDIR += postfinger SUBDIR += postfix SUBDIR += postfix-current SUBDIR += postfix-logwatch SUBDIR += postfix-policyd-sf SUBDIR += postfix-policyd-spf-perl SUBDIR += postfix-policyd-weight SUBDIR += postfix-postfwd SUBDIR += postfixadmin SUBDIR += postfixadmin-lite SUBDIR += postfixadmin33 SUBDIR += postfixadmin33-lite SUBDIR += postgrey SUBDIR += postsrsd SUBDIR += prepflog SUBDIR += procmail SUBDIR += procmail-bgrb SUBDIR += proxsmtp SUBDIR += py-Products.SecureMailHost SUBDIR += py-afew SUBDIR += py-aiosmtpd SUBDIR += py-alot SUBDIR += py-authheaders SUBDIR += py-authres SUBDIR += py-checkdmarc SUBDIR += py-django-mailbox SUBDIR += py-django-mailman3 SUBDIR += py-dkimpy SUBDIR += py-dkimpy-milter SUBDIR += py-email-reply-parser SUBDIR += py-email-validator SUBDIR += py-flanker SUBDIR += py-flask-mail SUBDIR += py-flufl.bounce SUBDIR += py-fuglu SUBDIR += py-imap-tools SUBDIR += py-imapclient SUBDIR += py-imaplib2 SUBDIR += py-mail-parser SUBDIR += py-mailmanclient SUBDIR += py-mailnag SUBDIR += py-mailsuite SUBDIR += py-managesieve3 SUBDIR += py-milter SUBDIR += py-notmuch SUBDIR += py-notmuch2 SUBDIR += py-offlineimap3 SUBDIR += py-postfix-mta-sts-resolver SUBDIR += py-premailer SUBDIR += py-pyisemail SUBDIR += py-pymailq SUBDIR += py-pysasl SUBDIR += py-pyspf SUBDIR += py-python-slimta SUBDIR += py-pyzmail SUBDIR += py-rfc6555 SUBDIR += py-spf-engine SUBDIR += py-validate_email SUBDIR += pymsgauth SUBDIR += pyzor SUBDIR += qconfirm SUBDIR += qmail SUBDIR += qmail-activedir SUBDIR += qmail-autoresponder SUBDIR += qmail-conf SUBDIR += qmail-contrib SUBDIR += qmail-dk SUBDIR += qmail-mysql SUBDIR += qmail-notify SUBDIR += qmail-qfilter SUBDIR += qmail-rblchk SUBDIR += qmail-remove SUBDIR += qmail-tls SUBDIR += qmailadmin SUBDIR += qmailanalog SUBDIR += qmailmrtg7 SUBDIR += qmhandle SUBDIR += qpopper SUBDIR += qsf SUBDIR += queue-fix SUBDIR += queue-repair SUBDIR += rainloop SUBDIR += ratelimit-policyd SUBDIR += raysfilter SUBDIR += razor-agents SUBDIR += rbl-milter SUBDIR += rblcheck SUBDIR += renattach SUBDIR += ripmime SUBDIR += rmilter SUBDIR += roundcube SUBDIR += roundcube-automatic_addressbook SUBDIR += roundcube-calendar-kolab SUBDIR += roundcube-carddav SUBDIR += roundcube-classic SUBDIR += roundcube-contextmenu SUBDIR += roundcube-gravatar SUBDIR += roundcube-html5_notifier SUBDIR += roundcube-identity_smtp SUBDIR += roundcube-larry SUBDIR += roundcube-login_info SUBDIR += roundcube-sauserprefs SUBDIR += roundcube-thunderbird_labels SUBDIR += roundcube-tls_icon SUBDIR += roundcube-twofactor_gauthenticator SUBDIR += roundcube-veximaccountadmin SUBDIR += roundcube-yubikey_auth SUBDIR += rspamd SUBDIR += rspamd-devel SUBDIR += rss2email3 SUBDIR += rubygem-actionmailbox60 SUBDIR += rubygem-actionmailbox61 SUBDIR += rubygem-actionmailbox70 SUBDIR += rubygem-actionmailbox71 SUBDIR += rubygem-actionmailer4 SUBDIR += rubygem-actionmailer5 SUBDIR += rubygem-actionmailer50 SUBDIR += rubygem-actionmailer52 SUBDIR += rubygem-actionmailer60 SUBDIR += rubygem-actionmailer61 SUBDIR += rubygem-actionmailer70 SUBDIR += rubygem-actionmailer71 SUBDIR += rubygem-email_reply_parser SUBDIR += rubygem-email_reply_parser-discourse SUBDIR += rubygem-email_reply_trimmer SUBDIR += rubygem-exception_notification SUBDIR += rubygem-extended_email_reply_parser SUBDIR += rubygem-gitlab-mail_room SUBDIR += rubygem-mail SUBDIR += rubygem-mail_room SUBDIR += rubygem-mailboxer SUBDIR += rubygem-mailfactory SUBDIR += rubygem-mini_mime SUBDIR += rubygem-net-imap SUBDIR += rubygem-net-pop SUBDIR += rubygem-net-smtp SUBDIR += rubygem-pony SUBDIR += rubygem-premailer SUBDIR += rubygem-premailer-rails SUBDIR += rubygem-premailer-rails-rails5 SUBDIR += rubygem-premailer-rails-rails52 SUBDIR += rubygem-premailer-rails-rails60 SUBDIR += rubygem-premailer-rails-rails61 SUBDIR += rubygem-premailer-rails-rails70 SUBDIR += rubygem-premailer-rails-rails71 SUBDIR += rubygem-premailer-rails110-rails70 SUBDIR += rubygem-rmail SUBDIR += rubygem-roadie SUBDIR += rubygem-roadie-rails-rails4 SUBDIR += rubygem-roadie-rails-rails52 SUBDIR += rubygem-roadie-rails-rails61 SUBDIR += rubygem-roadie3 SUBDIR += rubygem-ruby-qmail SUBDIR += rubygem-valid_email SUBDIR += rubygem-valid_email02 SUBDIR += rubygem-vmail SUBDIR += s-nail SUBDIR += sa-stats SUBDIR += sa-utils SUBDIR += scam-backscatter SUBDIR += sendmail SUBDIR += sendmail-devel SUBDIR += sendok SUBDIR += sentinel SUBDIR += serialmail SUBDIR += sgwi SUBDIR += sid-milter SUBDIR += sieve-connect SUBDIR += sigrot SUBDIR += simscan SUBDIR += slimta SUBDIR += sma SUBDIR += smfsav SUBDIR += smfsav-devel SUBDIR += smtp-cli SUBDIR += smtpfeed SUBDIR += smtpmail SUBDIR += smtprc SUBDIR += smtprelay SUBDIR += smtptrapd SUBDIR += snappymail SUBDIR += sortmail SUBDIR += spamass-ixhash SUBDIR += spamass-milter SUBDIR += spamass-rules SUBDIR += spamassassin SUBDIR += spamassassin-devel SUBDIR += spamassassin-dqs SUBDIR += spambnc SUBDIR += spamcup SUBDIR += spamd SUBDIR += spamguard SUBDIR += spamilter SUBDIR += spampd SUBDIR += spamprobe SUBDIR += spamstats SUBDIR += spfmilter SUBDIR += spfval SUBDIR += spmfilter SUBDIR += spmfilter-clamav SUBDIR += sqlgrey SUBDIR += squirrelmail SUBDIR += squirrelmail-abook_import_export-plugin SUBDIR += squirrelmail-askuserinfo-plugin SUBDIR += squirrelmail-avelsieve-plugin SUBDIR += squirrelmail-calendar_file_backend-plugin SUBDIR += squirrelmail-change_ldappass-plugin SUBDIR += squirrelmail-change_sqlpass-plugin SUBDIR += squirrelmail-check_quota-plugin SUBDIR += squirrelmail-compatibility-plugin SUBDIR += squirrelmail-decode SUBDIR += squirrelmail-email_footer-plugin SUBDIR += squirrelmail-login_auth-plugin SUBDIR += squirrelmail-login_notes-plugin SUBDIR += squirrelmail-mark_read-plugin SUBDIR += squirrelmail-multilogin-plugin SUBDIR += squirrelmail-notes-plugin SUBDIR += squirrelmail-notify-plugin SUBDIR += squirrelmail-password_forget-plugin SUBDIR += squirrelmail-plugins SUBDIR += squirrelmail-pupdate-plugin SUBDIR += squirrelmail-qmailadmin_login-plugin SUBDIR += squirrelmail-quota_usage-plugin SUBDIR += squirrelmail-sasql-plugin SUBDIR += squirrelmail-secure_login-plugin SUBDIR += squirrelmail-shared_calendars-plugin SUBDIR += squirrelmail-spam-buttons-plugin SUBDIR += squirrelmail-squirrel_logger-plugin SUBDIR += squirrelmail-timeout_user-plugin SUBDIR += squirrelmail-translations SUBDIR += squirrelmail-unsafe_image_rules-plugin SUBDIR += squirrelmail-user_special_mailboxes-plugin SUBDIR += squirrelmail-vlogin-plugin SUBDIR += squirrelmail-websearch-plugin SUBDIR += squirrelmail-wetteronline-plugin SUBDIR += sqwebmail SUBDIR += ssmtp SUBDIR += surblhost SUBDIR += swaks SUBDIR += sylpheed SUBDIR += sympa SUBDIR += t-prot SUBDIR += textmail SUBDIR += thunderbird SUBDIR += thunderbird-dictionaries SUBDIR += tlb SUBDIR += tmpmail SUBDIR += tpop3d SUBDIR += tumgreyspf SUBDIR += up-imapproxy SUBDIR += usendmail SUBDIR += vacation SUBDIR += vbsfilter SUBDIR += vexim SUBDIR += vpopmail SUBDIR += vqadmin SUBDIR += vrfy SUBDIR += wanderlust SUBDIR += websieve SUBDIR += whoson SUBDIR += wmbiff SUBDIR += wmmaiload SUBDIR += x-face-e21 SUBDIR += xbuffy SUBDIR += xcite SUBDIR += xfaces SUBDIR += xfce4-mailwatch-plugin SUBDIR += xmail SUBDIR += xmailbox SUBDIR += xmailwatcher SUBDIR += xpbiff .include diff --git a/mail/pecl-imap/Makefile b/mail/pecl-imap/Makefile new file mode 100644 index 000000000000..74caf92aed10 --- /dev/null +++ b/mail/pecl-imap/Makefile @@ -0,0 +1,28 @@ +PORTNAME= imap +DISTVERSION= 1.0.2 +CATEGORIES= mail + +PATCH_SITES= https://github.com/php/pecl-mail-imap/commit/ +PATCHFILES= 4fc9970a29c205ec328f36edc8c119c158129324.diff:-p1 + +MAINTAINER= mickael.maillot@gmail.com +COMMENT= PHP extension to operate with the IMAP protocol +WWW= https://github.com/php/pecl-mail-imap + +LICENSE= PHP301 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libc-client.so.2010:mail/panda-cclient \ + libpcre2-8.so:devel/pcre2 + +USES= php:pecl localbase ssl +IGNORE_WITH_PHP= 81 82 83 + +CONFIGURE_ARGS+= --with-imap-ssl=${OPENSSLBASE} --with-imap=${LOCALBASE} +CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" + +TEST_TARGET= test + +LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl + +.include diff --git a/mail/pecl-imap/distinfo b/mail/pecl-imap/distinfo new file mode 100644 index 000000000000..70167ef0e690 --- /dev/null +++ b/mail/pecl-imap/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1722361491 +SHA256 (PECL/imap-1.0.2.tgz) = eb6d13fe10668dbb0ad6aa424139645434d0f8b4816c69dd1b251367adb3a16c +SIZE (PECL/imap-1.0.2.tgz) = 63295 +SHA256 (PECL/4fc9970a29c205ec328f36edc8c119c158129324.diff) = 110a2723afcf4cc02e703e8549002552de6b5303b66ee54bbd4c749b0ebe4b33 +SIZE (PECL/4fc9970a29c205ec328f36edc8c119c158129324.diff) = 489 diff --git a/mail/pecl-imap/pkg-descr b/mail/pecl-imap/pkg-descr new file mode 100644 index 000000000000..ff59fc016029 --- /dev/null +++ b/mail/pecl-imap/pkg-descr @@ -0,0 +1,2 @@ +PHP extension to operate with the IMAP protocol, as well as the +NNTP, POP3, and local mailbox access methods.