From 52aa0d4d42d932878be8bd8af7a026b5a21b2c7f Mon Sep 17 00:00:00 2001 From: cytopia Date: Tue, 29 Nov 2022 04:44:19 +0100 Subject: [PATCH] Add PHP module dirs --- php_modules/Makefile | 38 +++++ php_modules/README-build.yml.md | 195 +++++++++++++++++++++++++ php_modules/README-options.yml.md | 6 + php_modules/README-test.yml.md | 3 + php_modules/README.md | 42 ++++++ php_modules/amqp/build.yml | 32 ++++ php_modules/amqp/options.yml | 21 +++ php_modules/amqp/test.yml | 2 + php_modules/apcu/build.yml | 25 ++++ php_modules/apcu/options.yml | 21 +++ php_modules/apcu/test.yml | 2 + php_modules/bcmath/build.yml | 9 ++ php_modules/bcmath/options.yml | 21 +++ php_modules/bcmath/test.yml | 2 + php_modules/blackfire/build.yml | 16 ++ php_modules/blackfire/curl/build.yml | 8 + php_modules/blackfire/curl/options.yml | 24 +++ php_modules/blackfire/curl/test.yml | 2 + php_modules/blackfire/options.yml | 30 ++++ php_modules/blackfire/test.yml | 2 + php_modules/bz2/build.yml | 10 ++ php_modules/bz2/options.yml | 24 +++ php_modules/bz2/test.yml | 2 + php_modules/calendar/build.yml | 9 ++ php_modules/calendar/options.yml | 24 +++ php_modules/calendar/test.yml | 2 + php_modules/ctype/build.yml | 8 + php_modules/ctype/options.yml | 24 +++ php_modules/ctype/test.yml | 2 + php_modules/curl/build.yml | 8 + php_modules/curl/options.yml | 24 +++ php_modules/curl/test.yml | 2 + php_modules/dba/build.yml | 9 ++ php_modules/dba/options.yml | 24 +++ php_modules/dba/test.yml | 2 + php_modules/dom/build.yml | 8 + php_modules/dom/options.yml | 25 ++++ php_modules/dom/test.yml | 2 + php_modules/enchant/build.yml | 45 ++++++ php_modules/enchant/options.yml | 27 ++++ php_modules/enchant/test.yml | 2 + php_modules/exif/build.yml | 9 ++ php_modules/exif/options.yml | 26 ++++ php_modules/exif/test.yml | 2 + php_modules/ffi/build.yml | 13 ++ php_modules/ffi/options.yml | 24 +++ php_modules/ffi/test.yml | 2 + php_modules/fileinfo/build.yml | 13 ++ php_modules/fileinfo/options.yml | 24 +++ php_modules/fileinfo/test.yml | 2 + php_modules/filter/build.yml | 8 + php_modules/filter/options.yml | 24 +++ php_modules/filter/test.yml | 2 + php_modules/ftp/build.yml | 8 + php_modules/ftp/options.yml | 24 +++ php_modules/ftp/test.yml | 2 + php_modules/gd/build.yml | 102 +++++++++++++ php_modules/gd/options.yml | 25 ++++ php_modules/gd/test.yml | 2 + php_modules/gettext/build.yml | 9 ++ php_modules/gettext/options.yml | 24 +++ php_modules/gettext/test.yml | 2 + php_modules/gmp/build.yml | 12 ++ php_modules/gmp/options.yml | 24 +++ php_modules/gmp/test.yml | 2 + php_modules/hash/build.yml | 8 + php_modules/hash/options.yml | 24 +++ php_modules/hash/test.yml | 2 + php_modules/iconv/build.yml | 8 + php_modules/iconv/options.yml | 24 +++ php_modules/iconv/test.yml | 2 + php_modules/igbinary/build.yml | 29 ++++ php_modules/igbinary/options.yml | 21 +++ php_modules/igbinary/test.yml | 2 + php_modules/imagick/build.yml | 35 +++++ php_modules/imagick/options.yml | 24 +++ php_modules/imagick/test.yml | 2 + php_modules/imap/build.yml | 13 ++ php_modules/imap/options.yml | 24 +++ php_modules/imap/test.yml | 2 + php_modules/interbase/build.yml | 11 ++ php_modules/interbase/options.yml | 24 +++ php_modules/interbase/test.yml | 2 + php_modules/intl/build.yml | 43 ++++++ php_modules/intl/options.yml | 24 +++ php_modules/intl/test.yml | 2 + php_modules/ioncube/build.yml | 19 +++ php_modules/ioncube/options.yml | 27 ++++ php_modules/ioncube/test.yml | 2 + php_modules/json/build.yml | 8 + php_modules/json/options.yml | 24 +++ php_modules/json/test.yml | 2 + php_modules/ldap/build.yml | 12 ++ php_modules/ldap/options.yml | 24 +++ php_modules/ldap/test.yml | 2 + php_modules/libxml/build.yml | 9 ++ php_modules/libxml/options.yml | 24 +++ php_modules/libxml/test.yml | 2 + php_modules/mbstring/build.yml | 8 + php_modules/mbstring/options.yml | 24 +++ php_modules/mbstring/test.yml | 2 + php_modules/mcrypt/build.yml | 40 +++++ php_modules/mcrypt/options.yml | 26 ++++ php_modules/mcrypt/test.yml | 2 + php_modules/memcache/build.yml | 50 +++++++ php_modules/memcache/options.yml | 24 +++ php_modules/memcache/test.yml | 2 + php_modules/memcached/build.yml | 65 +++++++++ php_modules/memcached/options.yml | 26 ++++ php_modules/memcached/test.yml | 2 + php_modules/mhash/build.yml | 8 + php_modules/mhash/options.yml | 24 +++ php_modules/mhash/test.yml | 2 + php_modules/modules-generate.py | 1 + php_modules/modules-validate.py | 1 + php_modules/mongo/build.yml | 15 ++ php_modules/mongo/options.yml | 24 +++ php_modules/mongo/test.yml | 2 + php_modules/mongodb/build.yml | 34 +++++ php_modules/mongodb/options.yml | 24 +++ php_modules/mongodb/test.yml | 2 + php_modules/msgpack/build.yml | 29 ++++ php_modules/msgpack/options.yml | 21 +++ php_modules/msgpack/test.yml | 2 + php_modules/mysql/build.yml | 17 +++ php_modules/mysql/options.yml | 24 +++ php_modules/mysql/test.yml | 2 + php_modules/mysqli/build.yml | 40 +++++ php_modules/mysqli/options.yml | 24 +++ php_modules/mysqli/test.yml | 2 + php_modules/mysqlnd/build.yml | 8 + php_modules/mysqlnd/options.yml | 24 +++ php_modules/mysqlnd/test.yml | 2 + php_modules/oauth/build.yml | 30 ++++ php_modules/oauth/options.yml | 27 ++++ php_modules/oauth/test.yml | 2 + php_modules/oci8/build.yml | 51 +++++++ php_modules/oci8/options.yml | 24 +++ php_modules/oci8/test.yml | 2 + php_modules/odbc/build.yml | 5 + php_modules/odbc/options.yml | 24 +++ php_modules/odbc/test.yml | 2 + php_modules/opcache/build.yml | 29 ++++ php_modules/opcache/options.yml | 29 ++++ php_modules/opcache/test.yml | 2 + php_modules/openssl/build.yml | 8 + php_modules/openssl/options.yml | 24 +++ php_modules/openssl/test.yml | 2 + php_modules/pcntl/build.yml | 9 ++ php_modules/pcntl/options.yml | 24 +++ php_modules/pcntl/test.yml | 2 + php_modules/pcre/build.yml | 8 + php_modules/pcre/curl/build.yml | 8 + php_modules/pcre/curl/options.yml | 24 +++ php_modules/pcre/curl/test.yml | 2 + php_modules/pcre/options.yml | 21 +++ php_modules/pcre/test.yml | 2 + php_modules/pdo/build.yml | 8 + php_modules/pdo/options.yml | 24 +++ php_modules/pdo/test.yml | 2 + php_modules/pdo_dblib/build.yml | 12 ++ php_modules/pdo_dblib/options.yml | 25 ++++ php_modules/pdo_dblib/test.yml | 2 + php_modules/pdo_firebird/build.yml | 11 ++ php_modules/pdo_firebird/options.yml | 25 ++++ php_modules/pdo_firebird/test.yml | 2 + php_modules/pdo_mysql/build.yml | 42 ++++++ php_modules/pdo_mysql/options.yml | 25 ++++ php_modules/pdo_mysql/test.yml | 2 + php_modules/pdo_oci/build.yml | 62 ++++++++ php_modules/pdo_oci/options.yml | 25 ++++ php_modules/pdo_oci/test.yml | 2 + php_modules/pdo_odbc/build.yml | 5 + php_modules/pdo_odbc/options.yml | 25 ++++ php_modules/pdo_odbc/test.yml | 2 + php_modules/pdo_pgsql/build.yml | 11 ++ php_modules/pdo_pgsql/options.yml | 25 ++++ php_modules/pdo_pgsql/test.yml | 2 + php_modules/pdo_sqlite/build.yml | 8 + php_modules/pdo_sqlite/options.yml | 25 ++++ php_modules/pdo_sqlite/test.yml | 2 + php_modules/pdo_sqlsrv/build.yml | 27 ++++ php_modules/pdo_sqlsrv/options.yml | 25 ++++ php_modules/pdo_sqlsrv/test.yml | 2 + php_modules/pgsql/build.yml | 11 ++ php_modules/pgsql/options.yml | 24 +++ php_modules/pgsql/test.yml | 2 + php_modules/phalcon/build.yml | 68 +++++++++ php_modules/phalcon/options.yml | 92 ++++++++++++ php_modules/phalcon/test.yml | 2 + php_modules/phar/build.yml | 12 ++ php_modules/phar/options.yml | 24 +++ php_modules/phar/test.yml | 2 + php_modules/posix/build.yml | 8 + php_modules/posix/options.yml | 24 +++ php_modules/posix/test.yml | 2 + php_modules/pspell/build.yml | 11 ++ php_modules/pspell/options.yml | 24 +++ php_modules/pspell/test.yml | 2 + php_modules/psr/build.yml | 33 +++++ php_modules/psr/options.yml | 24 +++ php_modules/psr/test.yml | 2 + php_modules/rdkafka/build.yml | 31 ++++ php_modules/rdkafka/options.yml | 24 +++ php_modules/rdkafka/test.yml | 2 + php_modules/readline/build.yml | 9 ++ php_modules/readline/options.yml | 24 +++ php_modules/readline/test.yml | 2 + php_modules/recode/build.yml | 13 ++ php_modules/recode/options.yml | 24 +++ php_modules/recode/test.yml | 2 + php_modules/redis/build.yml | 81 ++++++++++ php_modules/redis/options.yml | 27 ++++ php_modules/redis/test.yml | 2 + php_modules/reflection/build.yml | 8 + php_modules/reflection/options.yml | 24 +++ php_modules/reflection/test.yml | 2 + php_modules/session/build.yml | 8 + php_modules/session/options.yml | 24 +++ php_modules/session/test.yml | 2 + php_modules/shmop/build.yml | 9 ++ php_modules/shmop/options.yml | 24 +++ php_modules/shmop/test.yml | 2 + php_modules/simplexml/build.yml | 8 + php_modules/simplexml/options.yml | 25 ++++ php_modules/simplexml/test.yml | 2 + php_modules/snmp/build.yml | 12 ++ php_modules/snmp/options.yml | 24 +++ php_modules/snmp/test.yml | 2 + php_modules/soap/build.yml | 10 ++ php_modules/soap/options.yml | 25 ++++ php_modules/soap/test.yml | 2 + php_modules/sockets/build.yml | 26 ++++ php_modules/sockets/options.yml | 24 +++ php_modules/sockets/test.yml | 2 + php_modules/sodium/build.yml | 12 ++ php_modules/sodium/options.yml | 24 +++ php_modules/sodium/test.yml | 2 + php_modules/solr/build.yml | 10 ++ php_modules/solr/options.yml | 27 ++++ php_modules/solr/test.yml | 2 + php_modules/spl/build.yml | 8 + php_modules/spl/options.yml | 24 +++ php_modules/spl/test.yml | 2 + php_modules/sqlite3/build.yml | 8 + php_modules/sqlite3/options.yml | 24 +++ php_modules/sqlite3/test.yml | 2 + php_modules/sqlsrv/build.yml | 27 ++++ php_modules/sqlsrv/options.yml | 24 +++ php_modules/sqlsrv/test.yml | 2 + php_modules/ssh2/build.yml | 12 ++ php_modules/ssh2/options.yml | 24 +++ php_modules/ssh2/test.yml | 2 + php_modules/swoole/build.yml | 52 +++++++ php_modules/swoole/options.yml | 36 +++++ php_modules/swoole/test.yml | 2 + php_modules/sysvmsg/build.yml | 9 ++ php_modules/sysvmsg/options.yml | 24 +++ php_modules/sysvmsg/test.yml | 2 + php_modules/sysvsem/build.yml | 9 ++ php_modules/sysvsem/options.yml | 24 +++ php_modules/sysvsem/test.yml | 2 + php_modules/sysvshm/build.yml | 9 ++ php_modules/sysvshm/options.yml | 24 +++ php_modules/sysvshm/test.yml | 2 + php_modules/tidy/build.yml | 35 +++++ php_modules/tidy/options.yml | 24 +++ php_modules/tidy/test.yml | 2 + php_modules/tokenizer/build.yml | 8 + php_modules/tokenizer/options.yml | 24 +++ php_modules/tokenizer/test.yml | 2 + php_modules/uploadprogress/build.yml | 37 +++++ php_modules/uploadprogress/options.yml | 24 +++ php_modules/uploadprogress/test.yml | 2 + php_modules/uuid/build.yml | 27 ++++ php_modules/uuid/options.yml | 24 +++ php_modules/uuid/test.yml | 2 + php_modules/vips/build.yml | 18 +++ php_modules/vips/options.yml | 24 +++ php_modules/vips/test.yml | 2 + php_modules/wddx/build.yml | 12 ++ php_modules/wddx/options.yml | 25 ++++ php_modules/wddx/test.yml | 2 + php_modules/xdebug/build.yml | 49 +++++++ php_modules/xdebug/options.yml | 24 +++ php_modules/xdebug/test.yml | 2 + php_modules/xlswriter/build.yml | 11 ++ php_modules/xlswriter/options.yml | 24 +++ php_modules/xlswriter/test.yml | 2 + php_modules/xml/build.yml | 8 + php_modules/xml/options.yml | 25 ++++ php_modules/xml/test.yml | 2 + php_modules/xmlreader/build.yml | 8 + php_modules/xmlreader/options.yml | 25 ++++ php_modules/xmlreader/test.yml | 2 + php_modules/xmlrpc/build.yml | 16 ++ php_modules/xmlrpc/options.yml | 25 ++++ php_modules/xmlrpc/test.yml | 2 + php_modules/xmlwriter/build.yml | 8 + php_modules/xmlwriter/options.yml | 25 ++++ php_modules/xmlwriter/test.yml | 2 + php_modules/xsl/build.yml | 11 ++ php_modules/xsl/options.yml | 25 ++++ php_modules/xsl/test.yml | 2 + php_modules/yaml/build.yml | 31 ++++ php_modules/yaml/options.yml | 24 +++ php_modules/yaml/test.yml | 2 + php_modules/zip/build.yml | 66 +++++++++ php_modules/zip/options.yml | 24 +++ php_modules/zip/test.yml | 2 + 310 files changed, 5087 insertions(+) create mode 100644 php_modules/Makefile create mode 100644 php_modules/README-build.yml.md create mode 100644 php_modules/README-options.yml.md create mode 100644 php_modules/README-test.yml.md create mode 100644 php_modules/README.md create mode 100644 php_modules/amqp/build.yml create mode 100644 php_modules/amqp/options.yml create mode 100644 php_modules/amqp/test.yml create mode 100644 php_modules/apcu/build.yml create mode 100644 php_modules/apcu/options.yml create mode 100644 php_modules/apcu/test.yml create mode 100644 php_modules/bcmath/build.yml create mode 100644 php_modules/bcmath/options.yml create mode 100644 php_modules/bcmath/test.yml create mode 100644 php_modules/blackfire/build.yml create mode 100644 php_modules/blackfire/curl/build.yml create mode 100644 php_modules/blackfire/curl/options.yml create mode 100644 php_modules/blackfire/curl/test.yml create mode 100644 php_modules/blackfire/options.yml create mode 100644 php_modules/blackfire/test.yml create mode 100644 php_modules/bz2/build.yml create mode 100644 php_modules/bz2/options.yml create mode 100644 php_modules/bz2/test.yml create mode 100644 php_modules/calendar/build.yml create mode 100644 php_modules/calendar/options.yml create mode 100644 php_modules/calendar/test.yml create mode 100644 php_modules/ctype/build.yml create mode 100644 php_modules/ctype/options.yml create mode 100644 php_modules/ctype/test.yml create mode 100644 php_modules/curl/build.yml create mode 100644 php_modules/curl/options.yml create mode 100644 php_modules/curl/test.yml create mode 100644 php_modules/dba/build.yml create mode 100644 php_modules/dba/options.yml create mode 100644 php_modules/dba/test.yml create mode 100644 php_modules/dom/build.yml create mode 100644 php_modules/dom/options.yml create mode 100644 php_modules/dom/test.yml create mode 100644 php_modules/enchant/build.yml create mode 100644 php_modules/enchant/options.yml create mode 100644 php_modules/enchant/test.yml create mode 100644 php_modules/exif/build.yml create mode 100644 php_modules/exif/options.yml create mode 100644 php_modules/exif/test.yml create mode 100644 php_modules/ffi/build.yml create mode 100644 php_modules/ffi/options.yml create mode 100644 php_modules/ffi/test.yml create mode 100644 php_modules/fileinfo/build.yml create mode 100644 php_modules/fileinfo/options.yml create mode 100644 php_modules/fileinfo/test.yml create mode 100644 php_modules/filter/build.yml create mode 100644 php_modules/filter/options.yml create mode 100644 php_modules/filter/test.yml create mode 100644 php_modules/ftp/build.yml create mode 100644 php_modules/ftp/options.yml create mode 100644 php_modules/ftp/test.yml create mode 100644 php_modules/gd/build.yml create mode 100644 php_modules/gd/options.yml create mode 100644 php_modules/gd/test.yml create mode 100644 php_modules/gettext/build.yml create mode 100644 php_modules/gettext/options.yml create mode 100644 php_modules/gettext/test.yml create mode 100644 php_modules/gmp/build.yml create mode 100644 php_modules/gmp/options.yml create mode 100644 php_modules/gmp/test.yml create mode 100644 php_modules/hash/build.yml create mode 100644 php_modules/hash/options.yml create mode 100644 php_modules/hash/test.yml create mode 100644 php_modules/iconv/build.yml create mode 100644 php_modules/iconv/options.yml create mode 100644 php_modules/iconv/test.yml create mode 100644 php_modules/igbinary/build.yml create mode 100644 php_modules/igbinary/options.yml create mode 100644 php_modules/igbinary/test.yml create mode 100644 php_modules/imagick/build.yml create mode 100644 php_modules/imagick/options.yml create mode 100644 php_modules/imagick/test.yml create mode 100644 php_modules/imap/build.yml create mode 100644 php_modules/imap/options.yml create mode 100644 php_modules/imap/test.yml create mode 100644 php_modules/interbase/build.yml create mode 100644 php_modules/interbase/options.yml create mode 100644 php_modules/interbase/test.yml create mode 100644 php_modules/intl/build.yml create mode 100644 php_modules/intl/options.yml create mode 100644 php_modules/intl/test.yml create mode 100644 php_modules/ioncube/build.yml create mode 100644 php_modules/ioncube/options.yml create mode 100644 php_modules/ioncube/test.yml create mode 100644 php_modules/json/build.yml create mode 100644 php_modules/json/options.yml create mode 100644 php_modules/json/test.yml create mode 100644 php_modules/ldap/build.yml create mode 100644 php_modules/ldap/options.yml create mode 100644 php_modules/ldap/test.yml create mode 100644 php_modules/libxml/build.yml create mode 100644 php_modules/libxml/options.yml create mode 100644 php_modules/libxml/test.yml create mode 100644 php_modules/mbstring/build.yml create mode 100644 php_modules/mbstring/options.yml create mode 100644 php_modules/mbstring/test.yml create mode 100644 php_modules/mcrypt/build.yml create mode 100644 php_modules/mcrypt/options.yml create mode 100644 php_modules/mcrypt/test.yml create mode 100644 php_modules/memcache/build.yml create mode 100644 php_modules/memcache/options.yml create mode 100644 php_modules/memcache/test.yml create mode 100644 php_modules/memcached/build.yml create mode 100644 php_modules/memcached/options.yml create mode 100644 php_modules/memcached/test.yml create mode 100644 php_modules/mhash/build.yml create mode 100644 php_modules/mhash/options.yml create mode 100644 php_modules/mhash/test.yml create mode 120000 php_modules/modules-generate.py create mode 120000 php_modules/modules-validate.py create mode 100644 php_modules/mongo/build.yml create mode 100644 php_modules/mongo/options.yml create mode 100644 php_modules/mongo/test.yml create mode 100644 php_modules/mongodb/build.yml create mode 100644 php_modules/mongodb/options.yml create mode 100644 php_modules/mongodb/test.yml create mode 100644 php_modules/msgpack/build.yml create mode 100644 php_modules/msgpack/options.yml create mode 100644 php_modules/msgpack/test.yml create mode 100644 php_modules/mysql/build.yml create mode 100644 php_modules/mysql/options.yml create mode 100644 php_modules/mysql/test.yml create mode 100644 php_modules/mysqli/build.yml create mode 100644 php_modules/mysqli/options.yml create mode 100644 php_modules/mysqli/test.yml create mode 100644 php_modules/mysqlnd/build.yml create mode 100644 php_modules/mysqlnd/options.yml create mode 100644 php_modules/mysqlnd/test.yml create mode 100644 php_modules/oauth/build.yml create mode 100644 php_modules/oauth/options.yml create mode 100644 php_modules/oauth/test.yml create mode 100644 php_modules/oci8/build.yml create mode 100644 php_modules/oci8/options.yml create mode 100644 php_modules/oci8/test.yml create mode 100644 php_modules/odbc/build.yml create mode 100644 php_modules/odbc/options.yml create mode 100644 php_modules/odbc/test.yml create mode 100644 php_modules/opcache/build.yml create mode 100644 php_modules/opcache/options.yml create mode 100644 php_modules/opcache/test.yml create mode 100644 php_modules/openssl/build.yml create mode 100644 php_modules/openssl/options.yml create mode 100644 php_modules/openssl/test.yml create mode 100644 php_modules/pcntl/build.yml create mode 100644 php_modules/pcntl/options.yml create mode 100644 php_modules/pcntl/test.yml create mode 100644 php_modules/pcre/build.yml create mode 100644 php_modules/pcre/curl/build.yml create mode 100644 php_modules/pcre/curl/options.yml create mode 100644 php_modules/pcre/curl/test.yml create mode 100644 php_modules/pcre/options.yml create mode 100644 php_modules/pcre/test.yml create mode 100644 php_modules/pdo/build.yml create mode 100644 php_modules/pdo/options.yml create mode 100644 php_modules/pdo/test.yml create mode 100644 php_modules/pdo_dblib/build.yml create mode 100644 php_modules/pdo_dblib/options.yml create mode 100644 php_modules/pdo_dblib/test.yml create mode 100644 php_modules/pdo_firebird/build.yml create mode 100644 php_modules/pdo_firebird/options.yml create mode 100644 php_modules/pdo_firebird/test.yml create mode 100644 php_modules/pdo_mysql/build.yml create mode 100644 php_modules/pdo_mysql/options.yml create mode 100644 php_modules/pdo_mysql/test.yml create mode 100644 php_modules/pdo_oci/build.yml create mode 100644 php_modules/pdo_oci/options.yml create mode 100644 php_modules/pdo_oci/test.yml create mode 100644 php_modules/pdo_odbc/build.yml create mode 100644 php_modules/pdo_odbc/options.yml create mode 100644 php_modules/pdo_odbc/test.yml create mode 100644 php_modules/pdo_pgsql/build.yml create mode 100644 php_modules/pdo_pgsql/options.yml create mode 100644 php_modules/pdo_pgsql/test.yml create mode 100644 php_modules/pdo_sqlite/build.yml create mode 100644 php_modules/pdo_sqlite/options.yml create mode 100644 php_modules/pdo_sqlite/test.yml create mode 100644 php_modules/pdo_sqlsrv/build.yml create mode 100644 php_modules/pdo_sqlsrv/options.yml create mode 100644 php_modules/pdo_sqlsrv/test.yml create mode 100644 php_modules/pgsql/build.yml create mode 100644 php_modules/pgsql/options.yml create mode 100644 php_modules/pgsql/test.yml create mode 100644 php_modules/phalcon/build.yml create mode 100644 php_modules/phalcon/options.yml create mode 100644 php_modules/phalcon/test.yml create mode 100644 php_modules/phar/build.yml create mode 100644 php_modules/phar/options.yml create mode 100644 php_modules/phar/test.yml create mode 100644 php_modules/posix/build.yml create mode 100644 php_modules/posix/options.yml create mode 100644 php_modules/posix/test.yml create mode 100644 php_modules/pspell/build.yml create mode 100644 php_modules/pspell/options.yml create mode 100644 php_modules/pspell/test.yml create mode 100644 php_modules/psr/build.yml create mode 100644 php_modules/psr/options.yml create mode 100644 php_modules/psr/test.yml create mode 100644 php_modules/rdkafka/build.yml create mode 100644 php_modules/rdkafka/options.yml create mode 100644 php_modules/rdkafka/test.yml create mode 100644 php_modules/readline/build.yml create mode 100644 php_modules/readline/options.yml create mode 100644 php_modules/readline/test.yml create mode 100644 php_modules/recode/build.yml create mode 100644 php_modules/recode/options.yml create mode 100644 php_modules/recode/test.yml create mode 100644 php_modules/redis/build.yml create mode 100644 php_modules/redis/options.yml create mode 100644 php_modules/redis/test.yml create mode 100644 php_modules/reflection/build.yml create mode 100644 php_modules/reflection/options.yml create mode 100644 php_modules/reflection/test.yml create mode 100644 php_modules/session/build.yml create mode 100644 php_modules/session/options.yml create mode 100644 php_modules/session/test.yml create mode 100644 php_modules/shmop/build.yml create mode 100644 php_modules/shmop/options.yml create mode 100644 php_modules/shmop/test.yml create mode 100644 php_modules/simplexml/build.yml create mode 100644 php_modules/simplexml/options.yml create mode 100644 php_modules/simplexml/test.yml create mode 100644 php_modules/snmp/build.yml create mode 100644 php_modules/snmp/options.yml create mode 100644 php_modules/snmp/test.yml create mode 100644 php_modules/soap/build.yml create mode 100644 php_modules/soap/options.yml create mode 100644 php_modules/soap/test.yml create mode 100644 php_modules/sockets/build.yml create mode 100644 php_modules/sockets/options.yml create mode 100644 php_modules/sockets/test.yml create mode 100644 php_modules/sodium/build.yml create mode 100644 php_modules/sodium/options.yml create mode 100644 php_modules/sodium/test.yml create mode 100644 php_modules/solr/build.yml create mode 100644 php_modules/solr/options.yml create mode 100644 php_modules/solr/test.yml create mode 100644 php_modules/spl/build.yml create mode 100644 php_modules/spl/options.yml create mode 100644 php_modules/spl/test.yml create mode 100644 php_modules/sqlite3/build.yml create mode 100644 php_modules/sqlite3/options.yml create mode 100644 php_modules/sqlite3/test.yml create mode 100644 php_modules/sqlsrv/build.yml create mode 100644 php_modules/sqlsrv/options.yml create mode 100644 php_modules/sqlsrv/test.yml create mode 100644 php_modules/ssh2/build.yml create mode 100644 php_modules/ssh2/options.yml create mode 100644 php_modules/ssh2/test.yml create mode 100644 php_modules/swoole/build.yml create mode 100644 php_modules/swoole/options.yml create mode 100644 php_modules/swoole/test.yml create mode 100644 php_modules/sysvmsg/build.yml create mode 100644 php_modules/sysvmsg/options.yml create mode 100644 php_modules/sysvmsg/test.yml create mode 100644 php_modules/sysvsem/build.yml create mode 100644 php_modules/sysvsem/options.yml create mode 100644 php_modules/sysvsem/test.yml create mode 100644 php_modules/sysvshm/build.yml create mode 100644 php_modules/sysvshm/options.yml create mode 100644 php_modules/sysvshm/test.yml create mode 100644 php_modules/tidy/build.yml create mode 100644 php_modules/tidy/options.yml create mode 100644 php_modules/tidy/test.yml create mode 100644 php_modules/tokenizer/build.yml create mode 100644 php_modules/tokenizer/options.yml create mode 100644 php_modules/tokenizer/test.yml create mode 100644 php_modules/uploadprogress/build.yml create mode 100644 php_modules/uploadprogress/options.yml create mode 100644 php_modules/uploadprogress/test.yml create mode 100644 php_modules/uuid/build.yml create mode 100644 php_modules/uuid/options.yml create mode 100644 php_modules/uuid/test.yml create mode 100644 php_modules/vips/build.yml create mode 100644 php_modules/vips/options.yml create mode 100644 php_modules/vips/test.yml create mode 100644 php_modules/wddx/build.yml create mode 100644 php_modules/wddx/options.yml create mode 100644 php_modules/wddx/test.yml create mode 100644 php_modules/xdebug/build.yml create mode 100644 php_modules/xdebug/options.yml create mode 100644 php_modules/xdebug/test.yml create mode 100644 php_modules/xlswriter/build.yml create mode 100644 php_modules/xlswriter/options.yml create mode 100644 php_modules/xlswriter/test.yml create mode 100644 php_modules/xml/build.yml create mode 100644 php_modules/xml/options.yml create mode 100644 php_modules/xml/test.yml create mode 100644 php_modules/xmlreader/build.yml create mode 100644 php_modules/xmlreader/options.yml create mode 100644 php_modules/xmlreader/test.yml create mode 100644 php_modules/xmlrpc/build.yml create mode 100644 php_modules/xmlrpc/options.yml create mode 100644 php_modules/xmlrpc/test.yml create mode 100644 php_modules/xmlwriter/build.yml create mode 100644 php_modules/xmlwriter/options.yml create mode 100644 php_modules/xmlwriter/test.yml create mode 100644 php_modules/xsl/build.yml create mode 100644 php_modules/xsl/options.yml create mode 100644 php_modules/xsl/test.yml create mode 100644 php_modules/yaml/build.yml create mode 100644 php_modules/yaml/options.yml create mode 100644 php_modules/yaml/test.yml create mode 100644 php_modules/zip/build.yml create mode 100644 php_modules/zip/options.yml create mode 100644 php_modules/zip/test.yml diff --git a/php_modules/Makefile b/php_modules/Makefile new file mode 100644 index 00000000..68cb4454 --- /dev/null +++ b/php_modules/Makefile @@ -0,0 +1,38 @@ +ifneq (,) +.error This Makefile requires GNU Make. +endif + +default: help + +# Ensure additional Makefiles are present +MAKEFILES = Makefile.python +$(MAKEFILES): URL=https://raw.githubusercontent.com/devilbox/makefiles/master/$(@) +$(MAKEFILES): + @if ! (curl --fail -sS -o $(@) $(URL) || wget -O $(@) $(URL)); then \ + echo "Error, curl or wget required."; \ + echo "Exiting."; \ + false; \ + fi +include $(MAKEFILES) + + +# ------------------------------------------------------------------------------------------------- +# Default configuration +# ------------------------------------------------------------------------------------------------- +MYPY_ARGS = --strict --disable-error-code no-any-return + +PYLINT_DIR = *.py +PYLINT_PIP_PKGS = yamllint +PYLINT_ARGS = --disable=invalid-name + +PYCODE_ARGS = --max-line-length=100 + +BLACK_LINT_ARGS = -l 100 --check --diff +BLACK_FIX_ARGS = -l 100 + + +# ------------------------------------------------------------------------------------------------- +# Default Target +# ------------------------------------------------------------------------------------------------- +help: + @echo "make lint # Lint Python sources" diff --git a/php_modules/README-build.yml.md b/php_modules/README-build.yml.md new file mode 100644 index 00000000..19297fec --- /dev/null +++ b/php_modules/README-build.yml.md @@ -0,0 +1,195 @@ +# Extension definition: `build.yml` + + +## Top level defines + +| Yaml key | Description | +|-----------------|-------------| +| `already_avail` | Array of PHP versions for which we don't have to install the module as it is already present via its FROM image. | +| `all` | Is generic for all PHP versions and will be used whenever no specific version is defined. | +| `7.2` | A version specific block for PHP 7.2. Its child keys will overwrite what has been defined in `all`. | + +**Example:** Using `already_avail` +```yaml +# "{{ php_all_versions }}" Jinja2 variable is available and +# translates to an array of all available PHP versions. +already_avail: "{{ php_all_versions }}" +``` + +**Example:** Overwriting `git_ref` for a specific version +```yaml +already_avail: [5.2] +all: + type: git + git_url: https://github.com/phalcon/cphalcon + git_ref: master +# PHP 8.1 is using a different git_ref +8.1: + git_ref: v1.0.0 +# PHP 8.0 is using a different git_ref dynamically with latest tag found +# See the usage of supported shell code +8.0: + git_ref: $( git tag | sort -V | tail -1 ) +``` + + +## Second level defines + +The following keys can be added below: `all`, `8.2`, `8.1`, `8.0`, `7.4`, ... + +| Yaml key | Required | Supports
Shell code | Description | +|-------------|----------|-------------------------|-------------| +| `pre` | No | Yes | Specify a shell command to be run before module installation. | +| `post` | No | Yes | Specify a shell command to be run after module installation. | +| `build_dep` | No | No | Array Debian packages required to build the module (they won't be present in the final image - only used to built the module) If you don't need any, assign it an empty array: `build_dep: []`. | +| `run_dep` | No | No | Array Debian packages required for the module run-time (they won't be present during the build stage - only in the final image). If you don't need any, assign it an empty array: `run_dep: []`. | +| `type` | **Yes** | No | On of the following types to build the module: `builtin`, `pecl`, `git`, `custom`. | + +**Example:** +```yaml +all: + type: builtin + pre: | + ARCH="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE))" \ + post: | + rm -f /tmp/file.txt \ + build_dep: [libmcrypt-dev] + run_dep: [libmcrypt4] +8.1: + type: builtin + build_dep: [] + run_dep: [] +``` + + +## Second level defines for `type: builtin` + +| Yaml key | Required | Supports
Shell code | Description | +|-------------|----------|-------------------------|-------------| +| `configure` | No | Yes | Add `./configure` arguments. E.g.:
`configure: --with-jpeg --with-png` | + +**Example:** +```yaml +all: + type: builtin +8.1: + type: builtin + configure: --with-jpeg --with-png +8.0: + type: builtin + configure: --with-jpeg +``` + + +## Second level defines for `type: pecl` + +| Yaml key | Required | Supports
Shell code | Description | +|-------------|----------|-------------------------|-------------| +| `version` | No | Yes | Pecl packet version | +| `command` | No | Yes | Overwrite pecl command (default: `pecl install `) | + +**Example:** +```yaml +all: + type: pecl + command: echo "/usr" | pecl install amqp + build_dep: [librabbitmq-dev] + run_dep: [librabbitmq4] +5.5: + type: pecl + version: 1.9.3 + run_dep: [librabbitmq1] +``` + + +## Second level defines for `type: git` + +| Yaml key | Required | Supports
Shell code | Description | +|-------------|----------|-------------------------|-------------| +| `git_url` | **Yes** | Yes | Git repository URL | +| `git_ref` | No | Yes | Tag, branch, commit to check out (shell code supported to dynamically checkout) | +| `configure` | No | Yes | Add `./configure` arguments. | +| `command` | No | Yes | Overwrite default command (default: `phpize && ./configure && make && make install`) | + +**Example:** +```yaml +already_avail: [5.2] +all: + type: git + git_url: https://github.com/phalcon/cphalcon + git_ref: master +# PHP 8.1 is using a different git_ref +8.1: + git_ref: v1.0.0 +# PHP 8.0 is using a different git_ref dynamically with latest tag found +# See the usage of supported shell code +8.0: + git_ref: $( git tag | sort -V | tail -1 ) +``` + + +## Second level defines for `type: custom` + +| Yaml key | Required | Supports
Shell code | Description | +|-------------|----------|-------------------------|-------------| +| `command` | **Yes** | Yes | Custom command to install and enable a module | + +**Example:** +```yaml +all: + type: custom + command: | + wget http://url/file.tar.gz \ + && tar xvfz file.tar.gz \ + && cd file \ + && phpize \ + && ./configure \ + && make \ + && make install \ +``` + + +## Usage of shell code + +### Single-line vs Multi-line + +**Note:** All keys that support shell code can be written as a single line yaml definition or as a multi line yaml definition. Multi-line yaml definitions need a trailing `\` at the end of each line, including the last line.
+**Single-line:** +```bash +all: + pre: VERSION="$( curl http://url | grep -Eo '[0-9.]+' )" +``` +**Multi-line:** +```bash +all: + pre: | + VERSION="$( \ + curl http://url \ + | grep -Eo '[0-9.]+' \ + )" \ +``` + +### Single-command vs Multi-command + +**Note:** All keys that support shell code also support to write multiple shell commands. If you use multiple shell commands, you need to separate them with `&&`.
+**Single-command:** +```bash +all: + pre: | + VERSION="$( \ + curl http://url \ + | grep -Eo '[0-9.]+' \ + )" \ +``` +**Multi-command:** +```bash +all: + pre: | + URL="http://url" \ + && VERSION="$( \ + curl "${URL} \ + | grep -Eo '[0-9.]+' \ + )" \ + && echo "${VERSION}" \ + +``` diff --git a/php_modules/README-options.yml.md b/php_modules/README-options.yml.md new file mode 100644 index 00000000..6a0d0e69 --- /dev/null +++ b/php_modules/README-options.yml.md @@ -0,0 +1,6 @@ +# Extension definition: `options.yml` + +To be done + + +For now have a look at the existing modules into the respective `options.yml` files as they are mostly the same. diff --git a/php_modules/README-test.yml.md b/php_modules/README-test.yml.md new file mode 100644 index 00000000..ea47fb8b --- /dev/null +++ b/php_modules/README-test.yml.md @@ -0,0 +1,3 @@ +# Extension definition: `test.yml` + +This is not yet implemented and thus no documentation exists. diff --git a/php_modules/README.md b/php_modules/README.md new file mode 100644 index 00000000..5df4bf06 --- /dev/null +++ b/php_modules/README.md @@ -0,0 +1,42 @@ +# PHP Module definitions + +This documentation describes how to create new or alter existing PHP module definitions. + +All PHP modules/extensions (for all PHP versions and both for `amd64` and `arm64` platforms) are defined in here in their dedicated directory. These definitions are then transformed to Ansible group_vars and afterwards Ansible will generate the corresponding Dockerfiles (Stage: `mods`). + + +## How to add PHP modules? + +1. **Inside `php_modules/` directory:** + 1. Create a new directory with the name of the PHP module in `php_modules/` + 2. Add `build.yml`, `options.yml` and `test.yml` into your newly created directory + 3. Alter `build.yml`, `options.yml` and `test.yml` according to documentation below + 4. Run `python3 modules-validate.py` to validate the created PHP module definitions + 5. Run `python3 modules-generate.py` to create Ansible group_vars + +2. **Inside the root of this git repository:** + 1. Run `make gen-dockerfiles` to generate Dockerfiles via Ansible + 2. Run `make build STAGE=mods VERSION=8.1 ARCH=linux/amd64` to build the `mods` Docker image with version `8.1` for platform `linux/amd64` + +**Note:** If you want to test if your new module builds correctly, you can generate Dockerfiles which only contain your module and all others removed. This allows for much faster Docker builds and you don't have to wait for all other modules to be built. To do so you generate group_vars for your module only via: + +```bash +# Only generate group_vars for curl +# Note: if curl has other modules as requiredments to be built beforehand, those will also be added +python3 module-generate.py curl +``` + + +## Extension definition: `build.yml` + +See **[README-build.yml.md](README-build.yml.md)** how to alter the `build.yml` file. + + +## Extension definition: `options.yml` + +See **[README-options.yml.md](README-options.yml.md)** how to alter the `options.yml` file. + + +## Extension definition: `test.yml` + +See **[README-test.yml.md](README-test.yml.md)** how to alter the `test.yml` file. diff --git a/php_modules/amqp/build.yml b/php_modules/amqp/build.yml new file mode 100644 index 00000000..ab7474fe --- /dev/null +++ b/php_modules/amqp/build.yml @@ -0,0 +1,32 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: pecl + command: echo "/usr" | pecl install amqp + build_dep: [librabbitmq-dev] + run_dep: [librabbitmq4] + +5.5: + type: pecl + version: 1.9.3 + run_dep: [librabbitmq1] + +5.4: + type: pecl + version: 1.9.3 + run_dep: [librabbitmq1] + +5.3: + type: pecl + version: 1.9.3 + run_dep: [librabbitmq1] + +5.2: + type: pecl + version: 1.6.1 + run_dep: [librabbitmq1] diff --git a/php_modules/amqp/options.yml b/php_modules/amqp/options.yml new file mode 100644 index 00000000..372d5873 --- /dev/null +++ b/php_modules/amqp/options.yml @@ -0,0 +1,21 @@ +--- + +# The name of the module +name: amqp + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/amqp/test.yml b/php_modules/amqp/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/amqp/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/apcu/build.yml b/php_modules/apcu/build.yml new file mode 100644 index 00000000..44411b61 --- /dev/null +++ b/php_modules/apcu/build.yml @@ -0,0 +1,25 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: pecl + +5.6: + type: pecl + version: 4.0.11 + +5.5: + type: pecl + version: 4.0.11 + +5.4: + type: pecl + version: 4.0.11 + +5.3: + type: pecl + version: 4.0.11 diff --git a/php_modules/apcu/options.yml b/php_modules/apcu/options.yml new file mode 100644 index 00000000..d7daa91b --- /dev/null +++ b/php_modules/apcu/options.yml @@ -0,0 +1,21 @@ +--- + +# The name of the module +name: apcu + +# Exclude module build/installation for the following PHP versions +exclude: [5.2] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/apcu/test.yml b/php_modules/apcu/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/apcu/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/bcmath/build.yml b/php_modules/bcmath/build.yml new file mode 100644 index 00000000..6c0d2dea --- /dev/null +++ b/php_modules/bcmath/build.yml @@ -0,0 +1,9 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin diff --git a/php_modules/bcmath/options.yml b/php_modules/bcmath/options.yml new file mode 100644 index 00000000..9336fc76 --- /dev/null +++ b/php_modules/bcmath/options.yml @@ -0,0 +1,21 @@ +--- + +# The name of the module +name: bcmath + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/bcmath/test.yml b/php_modules/bcmath/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/bcmath/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/blackfire/build.yml b/php_modules/blackfire/build.yml new file mode 100644 index 00000000..4308c9d1 --- /dev/null +++ b/php_modules/blackfire/build.yml @@ -0,0 +1,16 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: custom + command: | + version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \ + && curl -A "Docker" -o /tmp/blackfire-probe.tar.gz -D - -L -s https://blackfire.io/api/v1/releases/probe/php/linux/amd64/$version \ + && mkdir -p /tmp/blackfire \ + && tar zxpf /tmp/blackfire-probe.tar.gz -C /tmp/blackfire \ + && mv /tmp/blackfire/blackfire-*.so $(php -r "echo ini_get('extension_dir');")/blackfire.so \ + && rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz \ diff --git a/php_modules/blackfire/curl/build.yml b/php_modules/blackfire/curl/build.yml new file mode 100644 index 00000000..a04b6871 --- /dev/null +++ b/php_modules/blackfire/curl/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: "{{ php_all_versions }}" diff --git a/php_modules/blackfire/curl/options.yml b/php_modules/blackfire/curl/options.yml new file mode 100644 index 00000000..bafa896b --- /dev/null +++ b/php_modules/blackfire/curl/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: curl + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/blackfire/curl/test.yml b/php_modules/blackfire/curl/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/blackfire/curl/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/blackfire/options.yml b/php_modules/blackfire/options.yml new file mode 100644 index 00000000..864bb923 --- /dev/null +++ b/php_modules/blackfire/options.yml @@ -0,0 +1,30 @@ +--- + +# The name of the module +name: blackfire + +# Exclude module build/installation for the following PHP versions +exclude: [5.2, 5.3, 5.4, 5.5, 8.1, 8.2] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +# https://blackfire.io/docs/up-and-running/installation?action=install&mode=full&version=latest&mode=full&location=local&os=debian&language=php +conflicts_load: + - pcov + - pinba + - suhosin + - xdebug + - xhprof + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/blackfire/test.yml b/php_modules/blackfire/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/blackfire/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/bz2/build.yml b/php_modules/bz2/build.yml new file mode 100644 index 00000000..a71f47f5 --- /dev/null +++ b/php_modules/bz2/build.yml @@ -0,0 +1,10 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin + build_dep: [libbz2-dev] diff --git a/php_modules/bz2/options.yml b/php_modules/bz2/options.yml new file mode 100644 index 00000000..98f557cc --- /dev/null +++ b/php_modules/bz2/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: bz2 + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/bz2/test.yml b/php_modules/bz2/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/bz2/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/calendar/build.yml b/php_modules/calendar/build.yml new file mode 100644 index 00000000..6c0d2dea --- /dev/null +++ b/php_modules/calendar/build.yml @@ -0,0 +1,9 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin diff --git a/php_modules/calendar/options.yml b/php_modules/calendar/options.yml new file mode 100644 index 00000000..29e47041 --- /dev/null +++ b/php_modules/calendar/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: calendar + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/calendar/test.yml b/php_modules/calendar/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/calendar/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/ctype/build.yml b/php_modules/ctype/build.yml new file mode 100644 index 00000000..a04b6871 --- /dev/null +++ b/php_modules/ctype/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: "{{ php_all_versions }}" diff --git a/php_modules/ctype/options.yml b/php_modules/ctype/options.yml new file mode 100644 index 00000000..22facd88 --- /dev/null +++ b/php_modules/ctype/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: ctype + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/ctype/test.yml b/php_modules/ctype/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/ctype/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/curl/build.yml b/php_modules/curl/build.yml new file mode 100644 index 00000000..a04b6871 --- /dev/null +++ b/php_modules/curl/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: "{{ php_all_versions }}" diff --git a/php_modules/curl/options.yml b/php_modules/curl/options.yml new file mode 100644 index 00000000..bafa896b --- /dev/null +++ b/php_modules/curl/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: curl + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/curl/test.yml b/php_modules/curl/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/curl/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/dba/build.yml b/php_modules/dba/build.yml new file mode 100644 index 00000000..6c0d2dea --- /dev/null +++ b/php_modules/dba/build.yml @@ -0,0 +1,9 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin diff --git a/php_modules/dba/options.yml b/php_modules/dba/options.yml new file mode 100644 index 00000000..237a91ae --- /dev/null +++ b/php_modules/dba/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: dba + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/dba/test.yml b/php_modules/dba/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/dba/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/dom/build.yml b/php_modules/dom/build.yml new file mode 100644 index 00000000..a04b6871 --- /dev/null +++ b/php_modules/dom/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: "{{ php_all_versions }}" diff --git a/php_modules/dom/options.yml b/php_modules/dom/options.yml new file mode 100644 index 00000000..518c39f9 --- /dev/null +++ b/php_modules/dom/options.yml @@ -0,0 +1,25 @@ +--- + +# The name of the module +name: dom + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: + - libxml + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/dom/test.yml b/php_modules/dom/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/dom/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/enchant/build.yml b/php_modules/enchant/build.yml new file mode 100644 index 00000000..ebf7db78 --- /dev/null +++ b/php_modules/enchant/build.yml @@ -0,0 +1,45 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin + build_dep: [libenchant-2-dev] + run_dep: [libenchant-2-2] + +7.2: + build_dep: [libenchant-dev] + run_dep: [libenchant1c2a] + +7.1: + build_dep: [libenchant-dev] + run_dep: [libenchant1c2a] + +7.0: + build_dep: [libenchant-dev] + run_dep: [libenchant1c2a] + +5.6: + build_dep: [libenchant-dev] + run_dep: [libenchant1c2a] + +5.5: + build_dep: [libenchant-dev] + run_dep: [libenchant1c2a] + +5.4: + build_dep: [libenchant-dev] + run_dep: [libenchant1c2a] + +5.3: + build_dep: [libenchant-dev] + run_dep: [libenchant1c2a] + +5.2: + type: pecl + command: echo "/usr" | pecl install enchant + build_dep: [libenchant-dev] + run_dep: [libenchant1c2a] diff --git a/php_modules/enchant/options.yml b/php_modules/enchant/options.yml new file mode 100644 index 00000000..3185b0d3 --- /dev/null +++ b/php_modules/enchant/options.yml @@ -0,0 +1,27 @@ +--- + +# The name of the module +name: enchant + +# Exclude module build/installation for the following PHP versions +# https://www.php.net/manual/en/enchant.requirements.php +# 7.3: requires enchant 1, but not avail via apt install +# 7.4: requires enchant 1, but not avail via apt install +exclude: [7.3, 7.4] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/enchant/test.yml b/php_modules/enchant/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/enchant/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/exif/build.yml b/php_modules/exif/build.yml new file mode 100644 index 00000000..6c0d2dea --- /dev/null +++ b/php_modules/exif/build.yml @@ -0,0 +1,9 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin diff --git a/php_modules/exif/options.yml b/php_modules/exif/options.yml new file mode 100644 index 00000000..558a2024 --- /dev/null +++ b/php_modules/exif/options.yml @@ -0,0 +1,26 @@ +--- + +# The name of the module +name: exif + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: + - mbstring + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: + - mbstring + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/exif/test.yml b/php_modules/exif/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/exif/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/ffi/build.yml b/php_modules/ffi/build.yml new file mode 100644 index 00000000..7984b2e8 --- /dev/null +++ b/php_modules/ffi/build.yml @@ -0,0 +1,13 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: [8.0, 8.1, 8.2] + +all: + type: builtin + build_dep: [libffi-dev] + run_dep: [libffi7] diff --git a/php_modules/ffi/options.yml b/php_modules/ffi/options.yml new file mode 100644 index 00000000..92bf7609 --- /dev/null +++ b/php_modules/ffi/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: ffi + +# Exclude module build/installation for the following PHP versions +exclude: [5.2, 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3] # only available as of PHP 7.4 + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/ffi/test.yml b/php_modules/ffi/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/ffi/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/fileinfo/build.yml b/php_modules/fileinfo/build.yml new file mode 100644 index 00000000..ddda1468 --- /dev/null +++ b/php_modules/fileinfo/build.yml @@ -0,0 +1,13 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: [5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2] + +5.2: + type: pecl + build_dep: [libmagic-dev] + run_dep: [libmagic1] diff --git a/php_modules/fileinfo/options.yml b/php_modules/fileinfo/options.yml new file mode 100644 index 00000000..c68c8695 --- /dev/null +++ b/php_modules/fileinfo/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: fileinfo + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/fileinfo/test.yml b/php_modules/fileinfo/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/fileinfo/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/filter/build.yml b/php_modules/filter/build.yml new file mode 100644 index 00000000..a04b6871 --- /dev/null +++ b/php_modules/filter/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: "{{ php_all_versions }}" diff --git a/php_modules/filter/options.yml b/php_modules/filter/options.yml new file mode 100644 index 00000000..3ab2ddff --- /dev/null +++ b/php_modules/filter/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: filter + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/filter/test.yml b/php_modules/filter/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/filter/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/ftp/build.yml b/php_modules/ftp/build.yml new file mode 100644 index 00000000..a04b6871 --- /dev/null +++ b/php_modules/ftp/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: "{{ php_all_versions }}" diff --git a/php_modules/ftp/options.yml b/php_modules/ftp/options.yml new file mode 100644 index 00000000..621bfab0 --- /dev/null +++ b/php_modules/ftp/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: ftp + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/ftp/test.yml b/php_modules/ftp/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/ftp/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/gd/build.yml b/php_modules/gd/build.yml new file mode 100644 index 00000000..e38e64c6 --- /dev/null +++ b/php_modules/gd/build.yml @@ -0,0 +1,102 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin + pre: ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/ + configure: --with-gd --with-vpx-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-native-ttf + build_dep: [libpng-dev, libjpeg-dev, libxpm-dev, libvpx-dev, zlib1g-dev, libfreetype6-dev, libwebp-dev] + run_dep: [libpng16-16, libjpeg62-turbo, libxpm4, libvpx6, libfreetype6, libwebp6] + +8.2: + type: builtin + configure: --enable-gd --with-webp --with-jpeg --with-xpm --with-freetype --with-avif + build_dep: [libpng-dev, libjpeg-dev, libxpm-dev, libvpx-dev, zlib1g-dev, libfreetype6-dev, libwebp-dev, libavif-dev] + run_dep: [libpng16-16, libjpeg62-turbo, libxpm4, libvpx6, libfreetype6, libwebp6, libavif9] + +8.1: + type: builtin + configure: --enable-gd --with-webp --with-jpeg --with-xpm --with-freetype --with-avif + build_dep: [libpng-dev, libjpeg-dev, libxpm-dev, libvpx-dev, zlib1g-dev, libfreetype6-dev, libwebp-dev, libavif-dev] + run_dep: [libpng16-16, libjpeg62-turbo, libxpm4, libvpx6, libfreetype6, libwebp6, libavif9] + +8.0: + type: builtin + configure: --enable-gd --with-webp --with-jpeg --with-xpm --with-freetype + +7.4: + type: builtin + configure: --enable-gd --with-webp --with-jpeg --with-xpm --with-freetype + +7.3: + type: builtin + configure: --with-gd --with-webp-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr + +7.2: + type: builtin + configure: --with-gd --with-webp-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr + run_dep: [libpng16-16, libjpeg62-turbo, libxpm4, libvpx5, libfreetype6, libwebp6] + +7.1: + type: builtin + configure: --with-gd --with-webp-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-native-ttf + run_dep: [libpng16-16, libjpeg62-turbo, libxpm4, libvpx5, libfreetype6, libwebp6] + +7.0: + type: builtin + configure: --with-gd --with-webp-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-native-ttf + run_dep: [libpng16-16, libjpeg62-turbo, libxpm4, libvpx4, libfreetype6, libwebp6] + +5.6: + type: builtin + pre: ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/ + configure: --with-gd --with-vpx-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-native-ttf + run_dep: [libpng16-16, libjpeg62-turbo, libxpm4, libvpx4, libfreetype6, libwebp6] + +5.5: + type: builtin + pre: | + ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libjpeg.* /usr/lib/ && \ + ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libpng.* /usr/lib/ && \ + ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/ && \ + mkdir /usr/include/freetype2/freetype && \ + ln -s /usr/include/freetype2/freetype.h /usr/include/freetype2/freetype/freetype.h \ + configure: --with-gd --with-vpx-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-native-ttf + run_dep: [libpng12-0, libjpeg62-turbo, libxpm4, libvpx1, libfreetype6, libwebp5] + +5.4: + type: builtin + pre: | + ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libjpeg.* /usr/lib/ && \ + ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libpng.* /usr/lib/ && \ + ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/ && \ + mkdir /usr/include/freetype2/freetype && \ + ln -s /usr/include/freetype2/freetype.h /usr/include/freetype2/freetype/freetype.h \ + configure: --with-gd --with-vpx-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-native-ttf + run_dep: [libpng12-0, libjpeg62-turbo, libxpm4, libvpx1, libfreetype6, libwebp5] + +5.3: + type: builtin + pre: | + ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libjpeg.* /usr/lib/ && \ + ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libpng.* /usr/lib/ && \ + ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/ && \ + mkdir /usr/include/freetype2/freetype && \ + ln -s /usr/include/freetype2/freetype.h /usr/include/freetype2/freetype/freetype.h \ + configure: --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-native-ttf + run_dep: [libpng12-0, libjpeg62-turbo, libxpm4, libvpx1, libfreetype6, libwebp5] + +5.2: + type: builtin + pre: | + ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libjpeg.* /usr/lib/ && \ + ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libpng.* /usr/lib/ && \ + ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/ && \ + mkdir /usr/include/freetype2/freetype && \ + ln -s /usr/include/freetype2/freetype.h /usr/include/freetype2/freetype/freetype.h \ + configure: --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-native-ttf + run_dep: [libpng12-0, libjpeg62-turbo, libxpm4, libvpx1, libfreetype6, libwebp5] diff --git a/php_modules/gd/options.yml b/php_modules/gd/options.yml new file mode 100644 index 00000000..4a8a0bdd --- /dev/null +++ b/php_modules/gd/options.yml @@ -0,0 +1,25 @@ +--- + +# The name of the module +name: gd + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: + - exif + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/gd/test.yml b/php_modules/gd/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/gd/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/gettext/build.yml b/php_modules/gettext/build.yml new file mode 100644 index 00000000..6c0d2dea --- /dev/null +++ b/php_modules/gettext/build.yml @@ -0,0 +1,9 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin diff --git a/php_modules/gettext/options.yml b/php_modules/gettext/options.yml new file mode 100644 index 00000000..51755f07 --- /dev/null +++ b/php_modules/gettext/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: gettext + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/gettext/test.yml b/php_modules/gettext/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/gettext/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/gmp/build.yml b/php_modules/gmp/build.yml new file mode 100644 index 00000000..1305d3cf --- /dev/null +++ b/php_modules/gmp/build.yml @@ -0,0 +1,12 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin + pre: ln /usr/include/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/gmp.h /usr/include/ + build_dep: [libgmp-dev] + run_dep: [] # TODO: Ensure to add libgmp10 to each of the versions diff --git a/php_modules/gmp/options.yml b/php_modules/gmp/options.yml new file mode 100644 index 00000000..e8d5dc65 --- /dev/null +++ b/php_modules/gmp/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: gmp + +# Exclude module build/installation for the following PHP versions +exclude: [5.2] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/gmp/test.yml b/php_modules/gmp/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/gmp/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/hash/build.yml b/php_modules/hash/build.yml new file mode 100644 index 00000000..a04b6871 --- /dev/null +++ b/php_modules/hash/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: "{{ php_all_versions }}" diff --git a/php_modules/hash/options.yml b/php_modules/hash/options.yml new file mode 100644 index 00000000..41db8cbb --- /dev/null +++ b/php_modules/hash/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: hash + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/hash/test.yml b/php_modules/hash/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/hash/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/iconv/build.yml b/php_modules/iconv/build.yml new file mode 100644 index 00000000..a04b6871 --- /dev/null +++ b/php_modules/iconv/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: "{{ php_all_versions }}" diff --git a/php_modules/iconv/options.yml b/php_modules/iconv/options.yml new file mode 100644 index 00000000..3d3a54c0 --- /dev/null +++ b/php_modules/iconv/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: iconv + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/iconv/test.yml b/php_modules/iconv/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/iconv/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/igbinary/build.yml b/php_modules/igbinary/build.yml new file mode 100644 index 00000000..32874312 --- /dev/null +++ b/php_modules/igbinary/build.yml @@ -0,0 +1,29 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: pecl + +5.6: + type: pecl + version: 2.0.8 + +5.5: + type: pecl + version: 2.0.8 + +5.4: + type: pecl + version: 2.0.8 + +5.3: + type: pecl + version: 2.0.8 + +5.2: + type: pecl + version: 2.0.7 diff --git a/php_modules/igbinary/options.yml b/php_modules/igbinary/options.yml new file mode 100644 index 00000000..e4a4192f --- /dev/null +++ b/php_modules/igbinary/options.yml @@ -0,0 +1,21 @@ +--- + +# The name of the module +name: igbinary + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/igbinary/test.yml b/php_modules/igbinary/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/igbinary/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/imagick/build.yml b/php_modules/imagick/build.yml new file mode 100644 index 00000000..fd0c44b2 --- /dev/null +++ b/php_modules/imagick/build.yml @@ -0,0 +1,35 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: pecl + build_dep: [libmagickwand-dev, libwebp-dev, ghostscript] + run_dep: [libmagickwand-6.q16-6, libwebp6, ghostscript] + # https://bugs.php.net/bug.php?id=77683 + # https://github.com/Imagick/imagick/issues/262 (policy prevents PDF from being read) + post: | + sed -i'' 's|.*"thread".*| |g' /etc/ImageMagick-6/policy.xml \ + && sed -i'' 's|.*= 2.6.0 diff --git a/php_modules/libxml/options.yml b/php_modules/libxml/options.yml new file mode 100644 index 00000000..254ffed9 --- /dev/null +++ b/php_modules/libxml/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: libxml + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/libxml/test.yml b/php_modules/libxml/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/libxml/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/mbstring/build.yml b/php_modules/mbstring/build.yml new file mode 100644 index 00000000..f19b239d --- /dev/null +++ b/php_modules/mbstring/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: "{{ php_all_versions }}" # Available by default diff --git a/php_modules/mbstring/options.yml b/php_modules/mbstring/options.yml new file mode 100644 index 00000000..f7f45e0d --- /dev/null +++ b/php_modules/mbstring/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: mbstring + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/mbstring/test.yml b/php_modules/mbstring/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/mbstring/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/mcrypt/build.yml b/php_modules/mcrypt/build.yml new file mode 100644 index 00000000..2cf53b70 --- /dev/null +++ b/php_modules/mcrypt/build.yml @@ -0,0 +1,40 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: pecl + run_dep: [libmcrypt4] + build_dep: [libmcrypt-dev] + +7.3: + type: pecl + version: 1.0.2 + +7.2: + type: pecl + version: 1.0.1 + +7.1: + type: builtin + +7.0: + type: builtin + +5.6: + type: builtin + +5.5: + type: builtin + +5.4: + type: builtin + +5.3: + type: builtin + +5.2: + type: builtin diff --git a/php_modules/mcrypt/options.yml b/php_modules/mcrypt/options.yml new file mode 100644 index 00000000..18aa5223 --- /dev/null +++ b/php_modules/mcrypt/options.yml @@ -0,0 +1,26 @@ +--- + +# The name of the module +name: mcrypt + +# Exclude module build/installation for the following PHP versions +# mcrypt 1.0.4 requires PHP 8.1.0 or older +# version >= 7.2.0, version <= 8.1.0, excluded versions: 8.1.0 +exclude: [8.1, 8.2] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/mcrypt/test.yml b/php_modules/mcrypt/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/mcrypt/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/memcache/build.yml b/php_modules/memcache/build.yml new file mode 100644 index 00000000..197845f1 --- /dev/null +++ b/php_modules/memcache/build.yml @@ -0,0 +1,50 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: pecl + build_dep: [zlib1g-dev] + +7.4: + type: pecl + version: 4.0.5.2 + +7.3: + type: pecl + version: 4.0.5.2 + +7.2: + type: pecl + version: 4.0.5.2 + +7.1: + type: pecl + version: 4.0.5.2 + +7.0: + type: pecl + version: 4.0.5.2 + +5.6: + type: pecl + version: 2.2.7 + +5.5: + type: pecl + version: 2.2.7 + +5.4: + type: pecl + version: 2.2.7 + +5.3: + type: pecl + version: 2.2.7 + +5.2: + type: pecl + version: 2.2.7 diff --git a/php_modules/memcache/options.yml b/php_modules/memcache/options.yml new file mode 100644 index 00000000..713a3dd8 --- /dev/null +++ b/php_modules/memcache/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: memcache + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/memcache/test.yml b/php_modules/memcache/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/memcache/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/memcached/build.yml b/php_modules/memcached/build.yml new file mode 100644 index 00000000..4b08574b --- /dev/null +++ b/php_modules/memcached/build.yml @@ -0,0 +1,65 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: pecl + command: printf "\n\n\nyes\nyes\nyes\n" | pecl install memcached + build_dep: [zlib1g-dev, libmemcached-dev, libevent-dev] + run_dep: [libmemcachedutil2, libevent-2.1-7] + +8.2: + type: git + git_url: https://github.com/php-memcached-dev/php-memcached + git_ref: master + command: | + true \ + # FIXME: This is a work-around to mitigate compile error with PHP 8.2 + && sed -i'' 's/\sTSRMLS_CC//g' php_memcached_session.c \ + && phpize \ + && ./configure --enable-memcached \ + && make -j$(getconf _NPROCESSORS_ONLN) \ + && make install \ + +7.2: + type: pecl + command: printf "\n\n\nyes\nyes\nyes\n" | pecl install memcached + run_dep: [libmemcachedutil2, libevent-2.1-6] + +7.1: + type: pecl + command: printf "\n\n\nyes\nyes\nyes\n" | pecl install memcached + run_dep: [libmemcachedutil2, libevent-2.1-6] + +7.0: + type: pecl + command: printf "\n\n\nyes\nyes\nyes\n" | pecl install memcached + run_dep: [libmemcachedutil2, libevent-2.0-5] + +5.6: + type: pecl + version: 2.2.0 + run_dep: [libmemcachedutil2, libevent-2.0-5] + +5.5: + type: pecl + version: 2.2.0 + run_dep: [libmemcachedutil2, libevent-2.0-5] + +5.4: + type: pecl + version: 2.2.0 + run_dep: [libmemcachedutil2, libevent-2.0-5] + +5.3: + type: pecl + version: 2.2.0 + run_dep: [libmemcachedutil2, libevent-2.0-5] + +5.2: + type: pecl + version: 2.1.0 + run_dep: [libmemcachedutil2, libevent-2.0-5] diff --git a/php_modules/memcached/options.yml b/php_modules/memcached/options.yml new file mode 100644 index 00000000..8f091ee9 --- /dev/null +++ b/php_modules/memcached/options.yml @@ -0,0 +1,26 @@ +--- + +# The name of the module +name: memcached + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: + - igbinary + - msgpack + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/memcached/test.yml b/php_modules/memcached/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/memcached/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/mhash/build.yml b/php_modules/mhash/build.yml new file mode 100644 index 00000000..b5075e08 --- /dev/null +++ b/php_modules/mhash/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: [5.2, 5.3, 5.4, 5.5, 5.6] diff --git a/php_modules/mhash/options.yml b/php_modules/mhash/options.yml new file mode 100644 index 00000000..e4ca4617 --- /dev/null +++ b/php_modules/mhash/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: mhash + +# Exclude module build/installation for the following PHP versions +exclude: [7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2] # Deprecated + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/mhash/test.yml b/php_modules/mhash/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/mhash/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/modules-generate.py b/php_modules/modules-generate.py new file mode 120000 index 00000000..a220005a --- /dev/null +++ b/php_modules/modules-generate.py @@ -0,0 +1 @@ +../bin/modules-generate.py \ No newline at end of file diff --git a/php_modules/modules-validate.py b/php_modules/modules-validate.py new file mode 120000 index 00000000..14167079 --- /dev/null +++ b/php_modules/modules-validate.py @@ -0,0 +1 @@ +../bin/modules-validate.py \ No newline at end of file diff --git a/php_modules/mongo/build.yml b/php_modules/mongo/build.yml new file mode 100644 index 00000000..9062bb3e --- /dev/null +++ b/php_modules/mongo/build.yml @@ -0,0 +1,15 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: pecl + command: yes yes | pecl install mongo + build_dep: [libssl-dev, libsasl2-dev] + +5.2: + type: pecl + command: yes yes | pecl install mongo-1.5.8 diff --git a/php_modules/mongo/options.yml b/php_modules/mongo/options.yml new file mode 100644 index 00000000..6636b1ea --- /dev/null +++ b/php_modules/mongo/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: mongo + +# Exclude module build/installation for the following PHP versions +exclude: [7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2] # Deprecated + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/mongo/test.yml b/php_modules/mongo/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/mongo/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/mongodb/build.yml b/php_modules/mongodb/build.yml new file mode 100644 index 00000000..cc1616fe --- /dev/null +++ b/php_modules/mongodb/build.yml @@ -0,0 +1,34 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: pecl + build_dep: [libssl-dev, libsasl2-dev] + +7.1: + type: pecl + version: 1.11.1 + +7.0: + type: pecl + version: 1.9.2 + +5.6: + type: pecl + version: 1.7.5 + +5.5: + type: pecl + version: 1.5.5 + +5.4: + type: pecl + version: 1.2.11 + +5.3: + type: pecl + version: 0.6.3 diff --git a/php_modules/mongodb/options.yml b/php_modules/mongodb/options.yml new file mode 100644 index 00000000..bce5929e --- /dev/null +++ b/php_modules/mongodb/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: mongodb + +# Exclude module build/installation for the following PHP versions +exclude: [5.2] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/mongodb/test.yml b/php_modules/mongodb/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/mongodb/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/msgpack/build.yml b/php_modules/msgpack/build.yml new file mode 100644 index 00000000..864c95fe --- /dev/null +++ b/php_modules/msgpack/build.yml @@ -0,0 +1,29 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: pecl + +5.6: + type: pecl + version: 0.5.7 + +5.5: + type: pecl + version: 0.5.7 + +5.4: + type: pecl + version: 0.5.7 + +5.3: + type: pecl + version: 0.5.7 + +5.2: + type: pecl + version: 0.5.7 diff --git a/php_modules/msgpack/options.yml b/php_modules/msgpack/options.yml new file mode 100644 index 00000000..8496d175 --- /dev/null +++ b/php_modules/msgpack/options.yml @@ -0,0 +1,21 @@ +--- + +# The name of the module +name: msgpack + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/msgpack/test.yml b/php_modules/msgpack/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/msgpack/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/mysql/build.yml b/php_modules/mysql/build.yml new file mode 100644 index 00000000..5574a7ad --- /dev/null +++ b/php_modules/mysql/build.yml @@ -0,0 +1,17 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin + configure: --with-mysql --with-mysql-sock --with-zlib-dir=/usr --with-libdir="/lib/$(dpkg-architecture --query DEB_BUILD_MULTIARCH)" + run_dep: [libmysqlclient18] + build_dep: [libmysqlclient-dev] + +5.6: + type: builtin + run_dep: [libmariadbclient18] + build_dep: [libmariadbclient-dev] diff --git a/php_modules/mysql/options.yml b/php_modules/mysql/options.yml new file mode 100644 index 00000000..d2395ba3 --- /dev/null +++ b/php_modules/mysql/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: mysql + +# Exclude module build/installation for the following PHP versions +exclude: [7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2] # Deprecated in newer versions + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/mysql/test.yml b/php_modules/mysql/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/mysql/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/mysqli/build.yml b/php_modules/mysqli/build.yml new file mode 100644 index 00000000..6e4766a6 --- /dev/null +++ b/php_modules/mysqli/build.yml @@ -0,0 +1,40 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + +all: + type: builtin + run_dep: [libmariadbd19] + build_dep: [libmariadb-dev] + +7.0: + type: builtin + run_dep: [libmariadbclient18] + build_dep: [libmariadbclient-dev] + +5.6: + type: builtin + run_dep: [libmariadbclient18] + build_dep: [libmariadbclient-dev] + +5.5: + type: builtin + run_dep: [libmysqlclient18] + build_dep: [libmysqlclient-dev] + +5.4: + type: builtin + run_dep: [libmysqlclient18] + build_dep: [libmysqlclient-dev] + +5.3: + type: builtin + run_dep: [libmysqlclient18] + build_dep: [libmysqlclient-dev] + +5.2: + type: builtin + run_dep: [libmysqlclient18] + build_dep: [libmysqlclient-dev] diff --git a/php_modules/mysqli/options.yml b/php_modules/mysqli/options.yml new file mode 100644 index 00000000..785626ac --- /dev/null +++ b/php_modules/mysqli/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: mysqli + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/mysqli/test.yml b/php_modules/mysqli/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/mysqli/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/mysqlnd/build.yml b/php_modules/mysqlnd/build.yml new file mode 100644 index 00000000..a6cad66f --- /dev/null +++ b/php_modules/mysqlnd/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: [5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2] diff --git a/php_modules/mysqlnd/options.yml b/php_modules/mysqlnd/options.yml new file mode 100644 index 00000000..3aeccca6 --- /dev/null +++ b/php_modules/mysqlnd/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: mysqlnd + +# Exclude module build/installation for the following PHP versions +exclude: [5.2] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/mysqlnd/test.yml b/php_modules/mysqlnd/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/mysqlnd/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/oauth/build.yml b/php_modules/oauth/build.yml new file mode 100644 index 00000000..634a83d6 --- /dev/null +++ b/php_modules/oauth/build.yml @@ -0,0 +1,30 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: pecl + build_dep: [libpcre3-dev, libcurl4-openssl-dev] + +5.6: + type: pecl + version: 1.2.3 + +5.5: + type: pecl + version: 1.2.3 + +5.4: + type: pecl + version: 1.2.3 + +5.3: + type: pecl + version: 1.2.3 + +5.2: + type: pecl + version: 1.2.3 diff --git a/php_modules/oauth/options.yml b/php_modules/oauth/options.yml new file mode 100644 index 00000000..5fe8901f --- /dev/null +++ b/php_modules/oauth/options.yml @@ -0,0 +1,27 @@ +--- + +# The name of the module +name: oauth + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +# https://www.php.net/manual/en/oauth.requirements.php +depends_build: + - pcre + - hash + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/oauth/test.yml b/php_modules/oauth/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/oauth/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/oci8/build.yml b/php_modules/oci8/build.yml new file mode 100644 index 00000000..81540de9 --- /dev/null +++ b/php_modules/oci8/build.yml @@ -0,0 +1,51 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin + configure: --with-oci8=instantclient,/usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/,${ORACLE_VERSION_MAJOR} + pre: | + ARCH="$(dpkg-architecture --query DEB_HOST_GNU_CPU)" \ + && ORACLE_HREF="$( \ + curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/ \ + | tac \ + | tac \ + | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' \ + | tail -1 \ + )" \ + && ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \ + && ORACLE_VERSION_FULL="$( echo "${ORACLE_HREF}" | grep -Eo 'basiclite-[-.0-9]+' | sed -e 's/basiclite-//g' -e 's/\.$//g' )" \ + \ + && rpm --import http://yum.oracle.com/RPM-GPG-KEY-oracle-ol7 \ + && curl -sS -o /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ + https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/getPackage/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ + && curl -sS -o /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ + https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/getPackage/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ + && alien \ + -v \ + --target=$( dpkg --print-architecture ) \ + -i /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ + && alien \ + -v \ + --target=$( dpkg --print-architecture ) \ + -i /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ + && rm -f /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ + && rm -f /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ + build_dep: [alien, libaio-dev] + run_dep: [libaio1] + post: | + ARCH="$(dpkg-architecture --query DEB_HOST_GNU_CPU)" \ + && ORACLE_HREF="$( \ + curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/ \ + | tac \ + | tac \ + | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' \ + | tail -1 \ + )" \ + && ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \ + && ORACLE_VERSION_FULL="$( echo "${ORACLE_HREF}" | grep -Eo 'basiclite-[-.0-9]+' | sed -e 's/basiclite-//g' -e 's/\.$//g' )" \ + && (ln -sf /usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/*.so* /usr/lib/ || true) \ diff --git a/php_modules/oci8/options.yml b/php_modules/oci8/options.yml new file mode 100644 index 00000000..73dc5022 --- /dev/null +++ b/php_modules/oci8/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: oci8 + +# Exclude module build/installation for the following PHP versions +exclude: [5.2] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/oci8/test.yml b/php_modules/oci8/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/oci8/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/odbc/build.yml b/php_modules/odbc/build.yml new file mode 100644 index 00000000..6639f28d --- /dev/null +++ b/php_modules/odbc/build.yml @@ -0,0 +1,5 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions diff --git a/php_modules/odbc/options.yml b/php_modules/odbc/options.yml new file mode 100644 index 00000000..2989e5d0 --- /dev/null +++ b/php_modules/odbc/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: odbc + +# Exclude module build/installation for the following PHP versions +exclude: [5.2, 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2] # TODO: sqlext.h' not found! + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/odbc/test.yml b/php_modules/odbc/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/odbc/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/opcache/build.yml b/php_modules/opcache/build.yml new file mode 100644 index 00000000..8b37b7f4 --- /dev/null +++ b/php_modules/opcache/build.yml @@ -0,0 +1,29 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin + +8.2: + type: builtin + pre: curl -sS https://raw.githubusercontent.com/php/php-src/php-8.0.6/ext/opcache/Optimizer/zend_dfg.h > /usr/local/include/php/Zend/Optimizer/zend_dfg.h + +8.1: + type: builtin + pre: curl -sS https://raw.githubusercontent.com/php/php-src/php-8.0.6/ext/opcache/Optimizer/zend_dfg.h > /usr/local/include/php/Zend/Optimizer/zend_dfg.h + +5.4: + type: pecl + command: pecl install zendopcache + +5.3: + type: pecl + command: pecl install zendopcache + +5.2: + type: pecl + command: pecl install zendopcache diff --git a/php_modules/opcache/options.yml b/php_modules/opcache/options.yml new file mode 100644 index 00000000..b32a99b3 --- /dev/null +++ b/php_modules/opcache/options.yml @@ -0,0 +1,29 @@ +--- + +# The name of the module +name: opcache + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# In order to be used together with other modules, it must be loaded before +# https://www.php.net/manual/en/opcache.installation.php +loads_before: + - xdebug + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/opcache/test.yml b/php_modules/opcache/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/opcache/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/openssl/build.yml b/php_modules/openssl/build.yml new file mode 100644 index 00000000..a04b6871 --- /dev/null +++ b/php_modules/openssl/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: "{{ php_all_versions }}" diff --git a/php_modules/openssl/options.yml b/php_modules/openssl/options.yml new file mode 100644 index 00000000..7f9ebae0 --- /dev/null +++ b/php_modules/openssl/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: openssl + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/openssl/test.yml b/php_modules/openssl/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/openssl/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/pcntl/build.yml b/php_modules/pcntl/build.yml new file mode 100644 index 00000000..6c0d2dea --- /dev/null +++ b/php_modules/pcntl/build.yml @@ -0,0 +1,9 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin diff --git a/php_modules/pcntl/options.yml b/php_modules/pcntl/options.yml new file mode 100644 index 00000000..59be8dff --- /dev/null +++ b/php_modules/pcntl/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: pcntl + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/pcntl/test.yml b/php_modules/pcntl/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/pcntl/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/pcre/build.yml b/php_modules/pcre/build.yml new file mode 100644 index 00000000..a04b6871 --- /dev/null +++ b/php_modules/pcre/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: "{{ php_all_versions }}" diff --git a/php_modules/pcre/curl/build.yml b/php_modules/pcre/curl/build.yml new file mode 100644 index 00000000..a04b6871 --- /dev/null +++ b/php_modules/pcre/curl/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: "{{ php_all_versions }}" diff --git a/php_modules/pcre/curl/options.yml b/php_modules/pcre/curl/options.yml new file mode 100644 index 00000000..bafa896b --- /dev/null +++ b/php_modules/pcre/curl/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: curl + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/pcre/curl/test.yml b/php_modules/pcre/curl/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/pcre/curl/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/pcre/options.yml b/php_modules/pcre/options.yml new file mode 100644 index 00000000..fadf7caa --- /dev/null +++ b/php_modules/pcre/options.yml @@ -0,0 +1,21 @@ +--- + +# The name of the module +name: pcre + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/pcre/test.yml b/php_modules/pcre/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/pcre/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/pdo/build.yml b/php_modules/pdo/build.yml new file mode 100644 index 00000000..a04b6871 --- /dev/null +++ b/php_modules/pdo/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: "{{ php_all_versions }}" diff --git a/php_modules/pdo/options.yml b/php_modules/pdo/options.yml new file mode 100644 index 00000000..3d5fbdda --- /dev/null +++ b/php_modules/pdo/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: pdo + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/pdo/test.yml b/php_modules/pdo/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/pdo/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/pdo_dblib/build.yml b/php_modules/pdo_dblib/build.yml new file mode 100644 index 00000000..e65fc61d --- /dev/null +++ b/php_modules/pdo_dblib/build.yml @@ -0,0 +1,12 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin + pre: ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libsybdb.* /usr/lib/ + build_dep: [freetds-dev] + run_dep: [libsybdb5] diff --git a/php_modules/pdo_dblib/options.yml b/php_modules/pdo_dblib/options.yml new file mode 100644 index 00000000..23d394c4 --- /dev/null +++ b/php_modules/pdo_dblib/options.yml @@ -0,0 +1,25 @@ +--- + +# The name of the module +name: pdo_dblib + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: + - pdo + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/pdo_dblib/test.yml b/php_modules/pdo_dblib/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/pdo_dblib/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/pdo_firebird/build.yml b/php_modules/pdo_firebird/build.yml new file mode 100644 index 00000000..03fbc424 --- /dev/null +++ b/php_modules/pdo_firebird/build.yml @@ -0,0 +1,11 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin + build_dep: [libfbclient2, libib-util, firebird-dev] + run_dep: [libfbclient2] diff --git a/php_modules/pdo_firebird/options.yml b/php_modules/pdo_firebird/options.yml new file mode 100644 index 00000000..546b5497 --- /dev/null +++ b/php_modules/pdo_firebird/options.yml @@ -0,0 +1,25 @@ +--- + +# The name of the module +name: pdo_firebird + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: + - pdo + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/pdo_firebird/test.yml b/php_modules/pdo_firebird/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/pdo_firebird/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/pdo_mysql/build.yml b/php_modules/pdo_mysql/build.yml new file mode 100644 index 00000000..738f9f23 --- /dev/null +++ b/php_modules/pdo_mysql/build.yml @@ -0,0 +1,42 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin + configure: --with-zlib-dir=/usr + run_dep: [libmariadbd19] + build_dep: [zlib1g-dev, libmariadb-dev] + +7.0: + type: builtin + run_dep: [libmariadbclient18] + build_dep: [zlib1g-dev, libmariadbclient-dev] + +5.6: + type: builtin + run_dep: [libmariadbclient18] + build_dep: [zlib1g-dev, libmariadbclient-dev] + +5.5: + type: builtin + run_dep: [libmysqlclient18] + build_dep: [zlib1g-dev, libmysqlclient-dev] + +5.4: + type: builtin + run_dep: [libmysqlclient18] + build_dep: [zlib1g-dev, libmysqlclient-dev] + +5.3: + type: builtin + run_dep: [libmysqlclient18] + build_dep: [zlib1g-dev, libmysqlclient-dev] + +5.2: + type: builtin + run_dep: [libmysqlclient18] + build_dep: [zlib1g-dev, libmysqlclient-dev] diff --git a/php_modules/pdo_mysql/options.yml b/php_modules/pdo_mysql/options.yml new file mode 100644 index 00000000..34b5f24f --- /dev/null +++ b/php_modules/pdo_mysql/options.yml @@ -0,0 +1,25 @@ +--- + +# The name of the module +name: pdo_mysql + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: + - pdo + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/pdo_mysql/test.yml b/php_modules/pdo_mysql/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/pdo_mysql/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/pdo_oci/build.yml b/php_modules/pdo_oci/build.yml new file mode 100644 index 00000000..769453e6 --- /dev/null +++ b/php_modules/pdo_oci/build.yml @@ -0,0 +1,62 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + +all: + type: builtin + configure: --with-pdo-oci=instantclient,/usr,${ORACLE_VERSION_MAJOR} + pre: | + ARCH="$(dpkg-architecture --query DEB_HOST_GNU_CPU)" \ + && ORACLE_HREF="$( \ + curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/ \ + | tac \ + | tac \ + | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' \ + | tail -1 \ + )" \ + && ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \ + && ORACLE_VERSION_FULL="$( echo "${ORACLE_HREF}" | grep -Eo 'basiclite-[-.0-9]+' | sed -e 's/basiclite-//g' -e 's/\.$//g' )" \ + \ + && rpm --import http://yum.oracle.com/RPM-GPG-KEY-oracle-ol7 \ + && curl -sS -o /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ + https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/getPackage/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ + && curl -sS -o /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ + https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/getPackage/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ + && alien \ + -v \ + --target=$( dpkg --print-architecture ) \ + -i /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ + && alien \ + -v \ + --target=$( dpkg --print-architecture ) \ + -i /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ + && rm -f /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ + && rm -f /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ + && (ln -s /usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/*.so* /usr/lib/ || true) \ + build_dep: [alien] + +8.2: + type: builtin + configure: --with-pdo-oci=instantclient,/usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/,${ORACLE_VERSION_MAJOR} + +8.1: + type: builtin + configure: --with-pdo-oci=instantclient,/usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/,${ORACLE_VERSION_MAJOR} + +8.0: + type: builtin + configure: --with-pdo-oci=instantclient,/usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/,${ORACLE_VERSION_MAJOR} + +7.4: + type: builtin + configure: --with-pdo-oci=instantclient,/usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/,${ORACLE_VERSION_MAJOR} + +7.3: + type: builtin + configure: --with-pdo-oci=instantclient,/usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/,${ORACLE_VERSION_MAJOR} + +7.2: + type: builtin + configure: --with-pdo-oci=instantclient,/usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/,${ORACLE_VERSION_MAJOR} diff --git a/php_modules/pdo_oci/options.yml b/php_modules/pdo_oci/options.yml new file mode 100644 index 00000000..a533c8b3 --- /dev/null +++ b/php_modules/pdo_oci/options.yml @@ -0,0 +1,25 @@ +--- + +# The name of the module +name: pdo_oci + +# Exclude module build/installation for the following PHP versions +exclude: [5.2, 5.3, 5.4, 5.5, 5.6] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: + - pdo + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/pdo_oci/test.yml b/php_modules/pdo_oci/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/pdo_oci/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/pdo_odbc/build.yml b/php_modules/pdo_odbc/build.yml new file mode 100644 index 00000000..6639f28d --- /dev/null +++ b/php_modules/pdo_odbc/build.yml @@ -0,0 +1,5 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions diff --git a/php_modules/pdo_odbc/options.yml b/php_modules/pdo_odbc/options.yml new file mode 100644 index 00000000..71240986 --- /dev/null +++ b/php_modules/pdo_odbc/options.yml @@ -0,0 +1,25 @@ +--- + +# The name of the module +name: pdo_odbc + +# Exclude module build/installation for the following PHP versions +exclude: [5.2, 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2] # TODO: Build errors + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: + - pdo + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/pdo_odbc/test.yml b/php_modules/pdo_odbc/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/pdo_odbc/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/pdo_pgsql/build.yml b/php_modules/pdo_pgsql/build.yml new file mode 100644 index 00000000..6998b9fa --- /dev/null +++ b/php_modules/pdo_pgsql/build.yml @@ -0,0 +1,11 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin + build_dep: [libpq-dev] + run_dep: [libpq5] diff --git a/php_modules/pdo_pgsql/options.yml b/php_modules/pdo_pgsql/options.yml new file mode 100644 index 00000000..86e6db74 --- /dev/null +++ b/php_modules/pdo_pgsql/options.yml @@ -0,0 +1,25 @@ +--- + +# The name of the module +name: pdo_pgsql + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: + - pdo + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/pdo_pgsql/test.yml b/php_modules/pdo_pgsql/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/pdo_pgsql/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/pdo_sqlite/build.yml b/php_modules/pdo_sqlite/build.yml new file mode 100644 index 00000000..a04b6871 --- /dev/null +++ b/php_modules/pdo_sqlite/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: "{{ php_all_versions }}" diff --git a/php_modules/pdo_sqlite/options.yml b/php_modules/pdo_sqlite/options.yml new file mode 100644 index 00000000..63e18612 --- /dev/null +++ b/php_modules/pdo_sqlite/options.yml @@ -0,0 +1,25 @@ +--- + +# The name of the module +name: pdo_sqlite + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: + - pdo + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/pdo_sqlite/test.yml b/php_modules/pdo_sqlite/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/pdo_sqlite/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/pdo_sqlsrv/build.yml b/php_modules/pdo_sqlsrv/build.yml new file mode 100644 index 00000000..fa19ee13 --- /dev/null +++ b/php_modules/pdo_sqlsrv/build.yml @@ -0,0 +1,27 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: pecl + build_dep: [unixodbc-dev] + run_dep: [unixodbc] + +7.3: + type: pecl + version: 5.9.0 + +7.2: + type: pecl + version: 5.8.1 + +7.1: + type: pecl + version: 5.6.1 + +7.0: + type: pecl + version: 5.3.0 diff --git a/php_modules/pdo_sqlsrv/options.yml b/php_modules/pdo_sqlsrv/options.yml new file mode 100644 index 00000000..4f447e0b --- /dev/null +++ b/php_modules/pdo_sqlsrv/options.yml @@ -0,0 +1,25 @@ +--- + +# The name of the module +name: pdo_sqlsrv + +# Exclude module build/installation for the following PHP versions +exclude: [5.2, 5.3, 5.4, 5.5, 5.6] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: + - pdo + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/pdo_sqlsrv/test.yml b/php_modules/pdo_sqlsrv/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/pdo_sqlsrv/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/pgsql/build.yml b/php_modules/pgsql/build.yml new file mode 100644 index 00000000..6998b9fa --- /dev/null +++ b/php_modules/pgsql/build.yml @@ -0,0 +1,11 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin + build_dep: [libpq-dev] + run_dep: [libpq5] diff --git a/php_modules/pgsql/options.yml b/php_modules/pgsql/options.yml new file mode 100644 index 00000000..b109c7b7 --- /dev/null +++ b/php_modules/pgsql/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: pgsql + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/pgsql/test.yml b/php_modules/pgsql/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/pgsql/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/phalcon/build.yml b/php_modules/phalcon/build.yml new file mode 100644 index 00000000..fc99662c --- /dev/null +++ b/php_modules/phalcon/build.yml @@ -0,0 +1,68 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: git + git_url: https://github.com/phalcon/cphalcon + git_ref: | + $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags \ + | sort -V \ + | sed 's/^.*tags\///g' \ + | grep -E '^v[.0-9]+$' \ + | tail -1 \ + ) \ + command: cd build && ./install + build_dep: [libpcre-dev, re2c] + run_dep: [] + +7.3: + type: git + git_url: https://github.com/phalcon/cphalcon + git_ref: v4.1.2 + command: cd build && ./install + +7.2: + type: git + git_url: https://github.com/phalcon/cphalcon + git_ref: v4.1.1 + command: cd build && ./install + +7.1: + type: git + git_url: https://github.com/phalcon/cphalcon + git_ref: v3.4.4 + command: cd build && ./install + +7.0: + type: git + git_url: https://github.com/phalcon/cphalcon + git_ref: v3.4.4 + command: cd build && ./install + +5.6: + type: git + git_url: https://github.com/phalcon/cphalcon + git_ref: v3.4.4 + command: cd build && ./install + +5.5: + type: git + git_url: https://github.com/phalcon/cphalcon + git_ref: v3.4.4 + command: cd build && ./install + +5.4: + type: git + git_url: https://github.com/phalcon/cphalcon + git_ref: phalcon-v2.0.13 + command: cd build && ./install + +5.3: + type: git + git_url: https://github.com/phalcon/cphalcon + git_ref: phalcon-v2.0.9 + command: cd build && ./install diff --git a/php_modules/phalcon/options.yml b/php_modules/phalcon/options.yml new file mode 100644 index 00000000..6dee662a --- /dev/null +++ b/php_modules/phalcon/options.yml @@ -0,0 +1,92 @@ +--- + +# The name of the module +name: phalcon + +# Exclude module build/installation for the following PHP versions +exclude: + - 5.2 + - 8.2 + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +# https://docs.phalcon.io/5.0/en/installation#software +depends_build: + - curl + - fileinfo + - gd + - gettext + - imagick + - interbase + - json + - mbstring + - memcache + - memcached + - mongo + - mongodb + - mysql + - mysqli + - mysqlnd + - oci8 + - odbc + - openssl + - pdo + - pdo_dblib + - pdo_firebird + - pdo_mysql + - pdo_oci + - pdo_odbc + - pdo_pgsql + - pdo_sqlite + - pdo_sqlsrv + - pgsql + - psr + - redis + - sqlite3 + - sqlsrv + +# In order for this module to function correctly, +# the following modules must be loaded before. +# https://docs.phalcon.io/5.0/en/installation#load-order +depends_load: + - curl + - fileinfo + - gd + - gettext + - imagick + - interbase + - json + - mbstring + - memcache + - memcached + - mongo + - mongodb + - mysql + - mysqli + - mysqlnd + - oci8 + - odbc + - openssl + - pdo + - pdo_dblib + - pdo_firebird + - pdo_mysql + - pdo_oci + - pdo_odbc + - pdo_pgsql + - pdo_sqlite + - pdo_sqlsrv + - pgsql + - psr + - redis + - sqlite3 + - sqlsrv + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: false + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: false diff --git a/php_modules/phalcon/test.yml b/php_modules/phalcon/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/phalcon/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/phar/build.yml b/php_modules/phar/build.yml new file mode 100644 index 00000000..e65dc47e --- /dev/null +++ b/php_modules/phar/build.yml @@ -0,0 +1,12 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: [5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2] + +5.2: + type: pecl + build_dep: [libssl-dev] diff --git a/php_modules/phar/options.yml b/php_modules/phar/options.yml new file mode 100644 index 00000000..d9b5cb04 --- /dev/null +++ b/php_modules/phar/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: phar + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/phar/test.yml b/php_modules/phar/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/phar/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/posix/build.yml b/php_modules/posix/build.yml new file mode 100644 index 00000000..a04b6871 --- /dev/null +++ b/php_modules/posix/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: "{{ php_all_versions }}" diff --git a/php_modules/posix/options.yml b/php_modules/posix/options.yml new file mode 100644 index 00000000..8c89bdeb --- /dev/null +++ b/php_modules/posix/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: posix + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/posix/test.yml b/php_modules/posix/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/posix/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/pspell/build.yml b/php_modules/pspell/build.yml new file mode 100644 index 00000000..8fdac37d --- /dev/null +++ b/php_modules/pspell/build.yml @@ -0,0 +1,11 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin + build_dep: [libpspell-dev] + run_dep: [libaspell15] diff --git a/php_modules/pspell/options.yml b/php_modules/pspell/options.yml new file mode 100644 index 00000000..60a0f7ec --- /dev/null +++ b/php_modules/pspell/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: pspell + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/pspell/test.yml b/php_modules/pspell/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/pspell/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/psr/build.yml b/php_modules/psr/build.yml new file mode 100644 index 00000000..0101db7c --- /dev/null +++ b/php_modules/psr/build.yml @@ -0,0 +1,33 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: pecl + +7.2: + type: pecl + version: 1.1.0 + +7.1: + type: pecl + version: 1.1.0 + +7.0: + type: pecl + version: 1.1.0 + +5.6: + type: pecl + version: 0.6.0 # NOTE: 0.6.1 fails with: Package "psr" Version "0.6.1" does not have REST xml available + +5.5: + type: pecl + version: 0.5.1 + +5.4: + type: pecl + version: 0.5.1 diff --git a/php_modules/psr/options.yml b/php_modules/psr/options.yml new file mode 100644 index 00000000..518f3e1a --- /dev/null +++ b/php_modules/psr/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: psr + +# Exclude module build/installation for the following PHP versions +exclude: [5.2, 5.3] # IMPORTANT: Required by PHP >= 7.2 by phalcon >=4.0 module + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/psr/test.yml b/php_modules/psr/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/psr/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/rdkafka/build.yml b/php_modules/rdkafka/build.yml new file mode 100644 index 00000000..46907bc9 --- /dev/null +++ b/php_modules/rdkafka/build.yml @@ -0,0 +1,31 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: pecl + build_dep: [librdkafka-dev] + run_dep: [librdkafka1] + +7.0: + type: pecl + version: 3.1.2 + +5.6: + type: pecl + version: 3.1.2 + +5.5: + type: pecl + version: 3.0.5 + +5.4: + type: pecl + version: 3.0.5 + +5.3: + type: pecl + version: 3.0.5 diff --git a/php_modules/rdkafka/options.yml b/php_modules/rdkafka/options.yml new file mode 100644 index 00000000..abe2300e --- /dev/null +++ b/php_modules/rdkafka/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: rdkafka + +# Exclude module build/installation for the following PHP versions +exclude: [5.2] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/rdkafka/test.yml b/php_modules/rdkafka/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/rdkafka/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/readline/build.yml b/php_modules/readline/build.yml new file mode 100644 index 00000000..a8627a43 --- /dev/null +++ b/php_modules/readline/build.yml @@ -0,0 +1,9 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: "{{ php_all_versions }}" +# TODO: requires run_dep libreadline diff --git a/php_modules/readline/options.yml b/php_modules/readline/options.yml new file mode 100644 index 00000000..cc9a6960 --- /dev/null +++ b/php_modules/readline/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: readline + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/readline/test.yml b/php_modules/readline/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/readline/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/recode/build.yml b/php_modules/recode/build.yml new file mode 100644 index 00000000..54b88dfe --- /dev/null +++ b/php_modules/recode/build.yml @@ -0,0 +1,13 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: [5.2, 5.3, 5.4, 5.5] + +all: + type: builtin + build_dep: [librecode-dev] + run_dep: [librecode0] diff --git a/php_modules/recode/options.yml b/php_modules/recode/options.yml new file mode 100644 index 00000000..f0b6f87d --- /dev/null +++ b/php_modules/recode/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: recode + +# Exclude module build/installation for the following PHP versions +exclude: [7.4, 8.0, 8.1, 8.2] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/recode/test.yml b/php_modules/recode/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/recode/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/redis/build.yml b/php_modules/redis/build.yml new file mode 100644 index 00000000..1d854bf1 --- /dev/null +++ b/php_modules/redis/build.yml @@ -0,0 +1,81 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: git + git_url: https://github.com/phpredis/phpredis + git_ref: $(git for-each-ref --format='%(refname)' refs/tags | grep -E 'tags/[.0-9]+$' | sed 's|.*tags/||g' | sort -V | tail -1) + command: | + REDIS_ARGS=""; \ + if [ -d "/usr/local/include/php/ext/igbinary" ]; then \ + REDIS_ARGS="${REDIS_ARGS} --enable-redis-igbinary"; \ + fi; \ + if [ -d "/usr/local/include/php/ext/msgpack" ]; then \ + REDIS_ARGS="${REDIS_ARGS} --enable-redis-msgpack"; \ + fi; \ + phpize \ + && ./configure --enable-redis ${REDIS_ARGS} \ + && make -j$(getconf _NPROCESSORS_ONLN) \ + && make install \ + +8.2: + type: git + git_url: https://github.com/phpredis/phpredis + git_ref: $(git for-each-ref --format='%(refname)' refs/tags | grep -E 'tags/[.0-9]+$' | sed 's|.*tags/||g' | sort -V | tail -1) + command: | + REDIS_ARGS=""; \ + if [ -d "/usr/local/include/php/ext/igbinary" ]; then \ + REDIS_ARGS="${REDIS_ARGS} --enable-redis-igbinary"; \ + fi; \ + if [ -d "/usr/local/include/php/ext/msgpack" ]; then \ + REDIS_ARGS="${REDIS_ARGS} --enable-redis-msgpack"; \ + fi; \ + phpize \ + && ./configure --enable-redis ${REDIS_ARGS} \ + && sed -i'' 's/ops->hash_init(ctx);/ops->hash_init(ctx, NULL);/g' library.c \ + && sed -i'' 's/ops->hash_init(ctx);/ops->hash_init(ctx, NULL);/g' redis_array_impl.c \ + && make -j$(getconf _NPROCESSORS_ONLN) \ + && make install \ + +8.1: + type: git + git_url: https://github.com/phpredis/phpredis + git_ref: $(git for-each-ref --format='%(refname)' refs/tags | grep -E 'tags/[.0-9]+$' | sed 's|.*tags/||g' | sort -V | tail -1) + command: | + REDIS_ARGS=""; \ + if [ -d "/usr/local/include/php/ext/igbinary" ]; then \ + REDIS_ARGS="${REDIS_ARGS} --enable-redis-igbinary"; \ + fi; \ + if [ -d "/usr/local/include/php/ext/msgpack" ]; then \ + REDIS_ARGS="${REDIS_ARGS} --enable-redis-msgpack"; \ + fi; \ + phpize \ + && ./configure --enable-redis ${REDIS_ARGS} \ + && sed -i'' 's/ops->hash_init(ctx);/ops->hash_init(ctx, NULL);/g' library.c \ + && sed -i'' 's/ops->hash_init(ctx);/ops->hash_init(ctx, NULL);/g' redis_array_impl.c \ + && make -j$(getconf _NPROCESSORS_ONLN) \ + && make install \ + +5.6: + type: pecl + version: 4.3.0 + +5.5: + type: pecl + version: 4.3.0 + +5.4: + type: pecl + version: 4.3.0 + +5.3: + type: pecl + version: 4.3.0 + +5.2: + type: pecl + version: 2.2.7 diff --git a/php_modules/redis/options.yml b/php_modules/redis/options.yml new file mode 100644 index 00000000..83c5a103 --- /dev/null +++ b/php_modules/redis/options.yml @@ -0,0 +1,27 @@ +--- + +# The name of the module +name: redis + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: + - igbinary + - msgpack +# - lzf # TODO: add lzf module to redis + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/redis/test.yml b/php_modules/redis/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/redis/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/reflection/build.yml b/php_modules/reflection/build.yml new file mode 100644 index 00000000..a04b6871 --- /dev/null +++ b/php_modules/reflection/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: "{{ php_all_versions }}" diff --git a/php_modules/reflection/options.yml b/php_modules/reflection/options.yml new file mode 100644 index 00000000..aaff243a --- /dev/null +++ b/php_modules/reflection/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: reflection + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/reflection/test.yml b/php_modules/reflection/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/reflection/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/session/build.yml b/php_modules/session/build.yml new file mode 100644 index 00000000..a04b6871 --- /dev/null +++ b/php_modules/session/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: "{{ php_all_versions }}" diff --git a/php_modules/session/options.yml b/php_modules/session/options.yml new file mode 100644 index 00000000..992f27c1 --- /dev/null +++ b/php_modules/session/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: session + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/session/test.yml b/php_modules/session/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/session/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/shmop/build.yml b/php_modules/shmop/build.yml new file mode 100644 index 00000000..6c0d2dea --- /dev/null +++ b/php_modules/shmop/build.yml @@ -0,0 +1,9 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin diff --git a/php_modules/shmop/options.yml b/php_modules/shmop/options.yml new file mode 100644 index 00000000..47bff472 --- /dev/null +++ b/php_modules/shmop/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: shmop + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/shmop/test.yml b/php_modules/shmop/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/shmop/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/simplexml/build.yml b/php_modules/simplexml/build.yml new file mode 100644 index 00000000..a04b6871 --- /dev/null +++ b/php_modules/simplexml/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: "{{ php_all_versions }}" diff --git a/php_modules/simplexml/options.yml b/php_modules/simplexml/options.yml new file mode 100644 index 00000000..b607e8c8 --- /dev/null +++ b/php_modules/simplexml/options.yml @@ -0,0 +1,25 @@ +--- + +# The name of the module +name: simplexml + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: + - libxml + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/simplexml/test.yml b/php_modules/simplexml/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/simplexml/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/snmp/build.yml b/php_modules/snmp/build.yml new file mode 100644 index 00000000..6acd2193 --- /dev/null +++ b/php_modules/snmp/build.yml @@ -0,0 +1,12 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin + configure: --with-snmp + build_dep: [libssl-dev, libsnmp-dev, snmp] + run_dep: [snmp] diff --git a/php_modules/snmp/options.yml b/php_modules/snmp/options.yml new file mode 100644 index 00000000..57939bb0 --- /dev/null +++ b/php_modules/snmp/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: snmp + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/snmp/test.yml b/php_modules/snmp/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/snmp/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/soap/build.yml b/php_modules/soap/build.yml new file mode 100644 index 00000000..29626602 --- /dev/null +++ b/php_modules/soap/build.yml @@ -0,0 +1,10 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin + build_dep: [libxml2-dev] diff --git a/php_modules/soap/options.yml b/php_modules/soap/options.yml new file mode 100644 index 00000000..2f473589 --- /dev/null +++ b/php_modules/soap/options.yml @@ -0,0 +1,25 @@ +--- + +# The name of the module +name: soap + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: + - libxml + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/soap/test.yml b/php_modules/soap/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/soap/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/sockets/build.yml b/php_modules/sockets/build.yml new file mode 100644 index 00000000..0be33bf4 --- /dev/null +++ b/php_modules/sockets/build.yml @@ -0,0 +1,26 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + +all: + type: builtin + +8.2: + # Remove ucred (currently breaks build) + pre: | + docker-php-ext-configure sockets \ + && sed -i'' 's/.*ucred.*//g' /usr/src/php/ext/sockets/sendrecvmsg.c \ + +8.1: + # Remove ucred (currently breaks build) + pre: | + docker-php-ext-configure sockets \ + && sed -i'' 's/.*ucred.*//g' /usr/src/php/ext/sockets/sendrecvmsg.c \ + +8.0: + # Remove ucred (currently breaks build) + pre: | + docker-php-ext-configure sockets \ + && sed -i'' 's/.*ucred.*//g' /usr/src/php/ext/sockets/sendrecvmsg.c \ diff --git a/php_modules/sockets/options.yml b/php_modules/sockets/options.yml new file mode 100644 index 00000000..9c879b48 --- /dev/null +++ b/php_modules/sockets/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: sockets + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/sockets/test.yml b/php_modules/sockets/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/sockets/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/sodium/build.yml b/php_modules/sodium/build.yml new file mode 100644 index 00000000..e784b8b2 --- /dev/null +++ b/php_modules/sodium/build.yml @@ -0,0 +1,12 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: [7.2, 7.3, 7.4] + +all: + type: builtin + build_dep: [libsodium-dev] diff --git a/php_modules/sodium/options.yml b/php_modules/sodium/options.yml new file mode 100644 index 00000000..889db9b2 --- /dev/null +++ b/php_modules/sodium/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: sodium + +# Exclude module build/installation for the following PHP versions +exclude: [5.2, 5.3, 5.4, 5.5, 5.6, 7.0, 7.1] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/sodium/test.yml b/php_modules/sodium/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/sodium/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/solr/build.yml b/php_modules/solr/build.yml new file mode 100644 index 00000000..3a4c06bd --- /dev/null +++ b/php_modules/solr/build.yml @@ -0,0 +1,10 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: pecl + build_dep: [libxml2-dev, libcurl4-openssl-dev] diff --git a/php_modules/solr/options.yml b/php_modules/solr/options.yml new file mode 100644 index 00000000..e21bba89 --- /dev/null +++ b/php_modules/solr/options.yml @@ -0,0 +1,27 @@ +--- + +# The name of the module +name: solr + +# Exclude module build/installation for the following PHP versions +# PHP 8.2: SolrParams::__toString() implemented without string return type in Unknown on line 0 +exclude: [5.2, 5.3, 5.4, 5.5, 5.6, 7.0, 8.2] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: + - curl + - libxml + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/solr/test.yml b/php_modules/solr/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/solr/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/spl/build.yml b/php_modules/spl/build.yml new file mode 100644 index 00000000..a04b6871 --- /dev/null +++ b/php_modules/spl/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: "{{ php_all_versions }}" diff --git a/php_modules/spl/options.yml b/php_modules/spl/options.yml new file mode 100644 index 00000000..b23aa8c8 --- /dev/null +++ b/php_modules/spl/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: spl + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/spl/test.yml b/php_modules/spl/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/spl/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/sqlite3/build.yml b/php_modules/sqlite3/build.yml new file mode 100644 index 00000000..a04b6871 --- /dev/null +++ b/php_modules/sqlite3/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: "{{ php_all_versions }}" diff --git a/php_modules/sqlite3/options.yml b/php_modules/sqlite3/options.yml new file mode 100644 index 00000000..7bb21db9 --- /dev/null +++ b/php_modules/sqlite3/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: sqlite3 + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/sqlite3/test.yml b/php_modules/sqlite3/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/sqlite3/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/sqlsrv/build.yml b/php_modules/sqlsrv/build.yml new file mode 100644 index 00000000..fa19ee13 --- /dev/null +++ b/php_modules/sqlsrv/build.yml @@ -0,0 +1,27 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: pecl + build_dep: [unixodbc-dev] + run_dep: [unixodbc] + +7.3: + type: pecl + version: 5.9.0 + +7.2: + type: pecl + version: 5.8.1 + +7.1: + type: pecl + version: 5.6.1 + +7.0: + type: pecl + version: 5.3.0 diff --git a/php_modules/sqlsrv/options.yml b/php_modules/sqlsrv/options.yml new file mode 100644 index 00000000..24e67595 --- /dev/null +++ b/php_modules/sqlsrv/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: sqlsrv + +# Exclude module build/installation for the following PHP versions +exclude: [5.2, 5.3, 5.4, 5.5, 5.6] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/sqlsrv/test.yml b/php_modules/sqlsrv/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/sqlsrv/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/ssh2/build.yml b/php_modules/ssh2/build.yml new file mode 100644 index 00000000..ecc4184b --- /dev/null +++ b/php_modules/ssh2/build.yml @@ -0,0 +1,12 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: pecl + version: 1.2 + build_dep: [libssh2-1-dev] + run_dep: [libssh2-1] diff --git a/php_modules/ssh2/options.yml b/php_modules/ssh2/options.yml new file mode 100644 index 00000000..45312f8d --- /dev/null +++ b/php_modules/ssh2/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: ssh2 + +# Exclude module build/installation for the following PHP versions +exclude: [5.2, 5.3, 5.4, 5.5, 5.6, 8.0, 8.1, 8.2] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/ssh2/test.yml b/php_modules/ssh2/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/ssh2/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/swoole/build.yml b/php_modules/swoole/build.yml new file mode 100644 index 00000000..156bf894 --- /dev/null +++ b/php_modules/swoole/build.yml @@ -0,0 +1,52 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: pecl + # Note: -D is only supported from PHP 7.2+ + command: pecl install -D 'enable-sockets="no" enable-openssl="yes" enable-http2="yes" enable-mysqlnd="yes" enable-swoole-json="no" enable-swoole-curl="yes" enable-cares="yes" with-postgres="yes"' swoole + build_dep: [libc-ares-dev, libnghttp2-dev, libssl-dev, libcurl4-openssl-dev] + run_dep: [libc-ares2, libnghttp2-14] + +7.4: + type: pecl + version: 4.8.12 + +7.3: + type: pecl + version: 4.8.12 + +7.2: + type: pecl + version: 4.8.12 + +7.1: + type: pecl + version: 4.4.26 + +7.0: + type: pecl + version: 4.2.13 + +5.6: + type: pecl + version: 1.9.23 + +5.5: + type: pecl + version: 1.9.23 + run_dep: [libc-ares2, libnghttp2-5, libssl1.0.0] + +5.4: + type: pecl + version: 1.9.23 + run_dep: [libc-ares2, libnghttp2-5, libssl1.0.0] + +5.3: + type: pecl + version: 1.9.23 + run_dep: [libc-ares2, libnghttp2-5, libssl1.0.0] diff --git a/php_modules/swoole/options.yml b/php_modules/swoole/options.yml new file mode 100644 index 00000000..f16589c8 --- /dev/null +++ b/php_modules/swoole/options.yml @@ -0,0 +1,36 @@ +--- + +# The name of the module +name: swoole + +# Exclude module build/installation for the following PHP versions +exclude: [5.2, 8.2] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +# https://openswoole.com/docs/get-started/prerequisites#php-extensions +depends_build: + - bcmath + - curl + - gd + - intl + - json + - mbstring + - mysqlnd + - opcache + - sockets + - xml + - zip + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/swoole/test.yml b/php_modules/swoole/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/swoole/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/sysvmsg/build.yml b/php_modules/sysvmsg/build.yml new file mode 100644 index 00000000..6c0d2dea --- /dev/null +++ b/php_modules/sysvmsg/build.yml @@ -0,0 +1,9 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin diff --git a/php_modules/sysvmsg/options.yml b/php_modules/sysvmsg/options.yml new file mode 100644 index 00000000..4e76ad97 --- /dev/null +++ b/php_modules/sysvmsg/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: sysvmsg + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/sysvmsg/test.yml b/php_modules/sysvmsg/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/sysvmsg/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/sysvsem/build.yml b/php_modules/sysvsem/build.yml new file mode 100644 index 00000000..6c0d2dea --- /dev/null +++ b/php_modules/sysvsem/build.yml @@ -0,0 +1,9 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin diff --git a/php_modules/sysvsem/options.yml b/php_modules/sysvsem/options.yml new file mode 100644 index 00000000..428beb0e --- /dev/null +++ b/php_modules/sysvsem/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: sysvsem + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/sysvsem/test.yml b/php_modules/sysvsem/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/sysvsem/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/sysvshm/build.yml b/php_modules/sysvshm/build.yml new file mode 100644 index 00000000..6c0d2dea --- /dev/null +++ b/php_modules/sysvshm/build.yml @@ -0,0 +1,9 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin diff --git a/php_modules/sysvshm/options.yml b/php_modules/sysvshm/options.yml new file mode 100644 index 00000000..8d824915 --- /dev/null +++ b/php_modules/sysvshm/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: sysvshm + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/sysvshm/test.yml b/php_modules/sysvshm/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/sysvshm/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/tidy/build.yml b/php_modules/tidy/build.yml new file mode 100644 index 00000000..5f835054 --- /dev/null +++ b/php_modules/tidy/build.yml @@ -0,0 +1,35 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin + build_dep: [libtidy-dev] + run_dep: [libtidy5deb1] + +7.0: + type: builtin + run_dep: [libtidy5] + +5.6: + type: builtin + run_dep: [libtidy5] + +5.5: + type: builtin + run_dep: [libtidy-0.99-0] + +5.4: + type: builtin + run_dep: [libtidy-0.99-0] + +5.3: + type: builtin + run_dep: [libtidy-0.99-0] + +5.2: + type: builtin + run_dep: [libtidy-0.99-0] diff --git a/php_modules/tidy/options.yml b/php_modules/tidy/options.yml new file mode 100644 index 00000000..911dbd37 --- /dev/null +++ b/php_modules/tidy/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: tidy + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/tidy/test.yml b/php_modules/tidy/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/tidy/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/tokenizer/build.yml b/php_modules/tokenizer/build.yml new file mode 100644 index 00000000..a04b6871 --- /dev/null +++ b/php_modules/tokenizer/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: "{{ php_all_versions }}" diff --git a/php_modules/tokenizer/options.yml b/php_modules/tokenizer/options.yml new file mode 100644 index 00000000..58184a7e --- /dev/null +++ b/php_modules/tokenizer/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: tokenizer + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/tokenizer/test.yml b/php_modules/tokenizer/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/tokenizer/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/uploadprogress/build.yml b/php_modules/uploadprogress/build.yml new file mode 100644 index 00000000..3bb0944f --- /dev/null +++ b/php_modules/uploadprogress/build.yml @@ -0,0 +1,37 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: pecl + +7.1: + type: pecl + version: 1.1.4 + +7.0: + type: pecl + version: 1.1.4 + +5.6: + type: pecl + version: 1.1.4 + +5.5: + type: pecl + version: 1.1.4 + +5.4: + type: pecl + version: 1.1.4 + +5.3: + type: pecl + version: 1.1.4 + +5.2: + type: pecl + version: 1.1.4 diff --git a/php_modules/uploadprogress/options.yml b/php_modules/uploadprogress/options.yml new file mode 100644 index 00000000..d0e63005 --- /dev/null +++ b/php_modules/uploadprogress/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: uploadprogress + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/uploadprogress/test.yml b/php_modules/uploadprogress/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/uploadprogress/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/uuid/build.yml b/php_modules/uuid/build.yml new file mode 100644 index 00000000..14d3ac57 --- /dev/null +++ b/php_modules/uuid/build.yml @@ -0,0 +1,27 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: pecl + run_dep: [uuid] + build_dep: [uuid-dev] + +5.6: + type: pecl + version: 1.0.5 + +5.5: + type: pecl + version: 1.0.5 + +5.4: + type: pecl + version: 1.0.5 + +5.3: + type: pecl + version: 1.0.5 diff --git a/php_modules/uuid/options.yml b/php_modules/uuid/options.yml new file mode 100644 index 00000000..51e9ee84 --- /dev/null +++ b/php_modules/uuid/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: uuid + +# Exclude module build/installation for the following PHP versions +exclude: [5.2] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/uuid/test.yml b/php_modules/uuid/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/uuid/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/vips/build.yml b/php_modules/vips/build.yml new file mode 100644 index 00000000..ca7e77ec --- /dev/null +++ b/php_modules/vips/build.yml @@ -0,0 +1,18 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: pecl + build_dep: + - libvips-dev + - libvips42 + run_dep: + - libvips42 + +5.6: + type: pecl + version: 1.0.0 diff --git a/php_modules/vips/options.yml b/php_modules/vips/options.yml new file mode 100644 index 00000000..e6f4e78e --- /dev/null +++ b/php_modules/vips/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: vips + +# Exclude module build/installation for the following PHP versions +exclude: [5.2, 5.3, 5.4, 5.5, 5.6, 8.2] # vips requires PHP > 5.6 + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/vips/test.yml b/php_modules/vips/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/vips/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/wddx/build.yml b/php_modules/wddx/build.yml new file mode 100644 index 00000000..5e2b0d62 --- /dev/null +++ b/php_modules/wddx/build.yml @@ -0,0 +1,12 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin + configure: --with-libxml-dir=/usr + build_dep: [libxml2-dev] + # TODO: requires run_dep libxml diff --git a/php_modules/wddx/options.yml b/php_modules/wddx/options.yml new file mode 100644 index 00000000..9b23daf2 --- /dev/null +++ b/php_modules/wddx/options.yml @@ -0,0 +1,25 @@ +--- + +# The name of the module +name: wddx + +# Exclude module build/installation for the following PHP versions +exclude: [7.4, 8.0, 8.1, 8.2] # https://wiki.php.net/rfc/deprecate-and-remove-ext-wddx + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: + - libxml + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/wddx/test.yml b/php_modules/wddx/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/wddx/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/xdebug/build.yml b/php_modules/xdebug/build.yml new file mode 100644 index 00000000..11d81125 --- /dev/null +++ b/php_modules/xdebug/build.yml @@ -0,0 +1,49 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: pecl + +8.2: + type: git + git_url: https://github.com/xdebug/xdebug + git_ref: $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1) + configure: --enable-xdebug + +8.1: + type: git + git_url: https://github.com/xdebug/xdebug + git_ref: $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1) + configure: --enable-xdebug + +7.1: + type: pecl + version: 2.9.8 + +7.0: + type: pecl + version: 2.9.0 + +5.6: + type: pecl + version: 2.4.1 + +5.5: + type: pecl + version: 2.4.1 + +5.4: + type: pecl + version: 2.4.1 + +5.3: + type: pecl + version: 2.2.7 + +5.2: + type: pecl + version: 2.2.7 diff --git a/php_modules/xdebug/options.yml b/php_modules/xdebug/options.yml new file mode 100644 index 00000000..ea9408d4 --- /dev/null +++ b/php_modules/xdebug/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: xdebug + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/xdebug/test.yml b/php_modules/xdebug/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/xdebug/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/xlswriter/build.yml b/php_modules/xlswriter/build.yml new file mode 100644 index 00000000..168627d1 --- /dev/null +++ b/php_modules/xlswriter/build.yml @@ -0,0 +1,11 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: pecl + build_dep: [zlib1g-dev] + run_dep: [] diff --git a/php_modules/xlswriter/options.yml b/php_modules/xlswriter/options.yml new file mode 100644 index 00000000..31d17d4b --- /dev/null +++ b/php_modules/xlswriter/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: xlswriter + +# Exclude module build/installation for the following PHP versions +exclude: [5.2, 5.3, 5.4, 5.5, 5.6] # XLSWriter requires PHP 7.0 and above. + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/xlswriter/test.yml b/php_modules/xlswriter/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/xlswriter/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/xml/build.yml b/php_modules/xml/build.yml new file mode 100644 index 00000000..a04b6871 --- /dev/null +++ b/php_modules/xml/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: "{{ php_all_versions }}" diff --git a/php_modules/xml/options.yml b/php_modules/xml/options.yml new file mode 100644 index 00000000..aff491a3 --- /dev/null +++ b/php_modules/xml/options.yml @@ -0,0 +1,25 @@ +--- + +# The name of the module +name: xml + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: + - libxml + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/xml/test.yml b/php_modules/xml/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/xml/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/xmlreader/build.yml b/php_modules/xmlreader/build.yml new file mode 100644 index 00000000..a04b6871 --- /dev/null +++ b/php_modules/xmlreader/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: "{{ php_all_versions }}" diff --git a/php_modules/xmlreader/options.yml b/php_modules/xmlreader/options.yml new file mode 100644 index 00000000..6b7184e3 --- /dev/null +++ b/php_modules/xmlreader/options.yml @@ -0,0 +1,25 @@ +--- + +# The name of the module +name: xmlreader + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: + - libxml + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/xmlreader/test.yml b/php_modules/xmlreader/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/xmlreader/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/xmlrpc/build.yml b/php_modules/xmlrpc/build.yml new file mode 100644 index 00000000..57d6a38e --- /dev/null +++ b/php_modules/xmlrpc/build.yml @@ -0,0 +1,16 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin + configure: --with-libxml-dir=/usr --with-iconv-dir=/usr + build_dep: [libxml2-dev] + # TODO: requires run_dep libxml + +7.4: + type: builtin + configure: --with-iconv-dir=/usr diff --git a/php_modules/xmlrpc/options.yml b/php_modules/xmlrpc/options.yml new file mode 100644 index 00000000..4989621b --- /dev/null +++ b/php_modules/xmlrpc/options.yml @@ -0,0 +1,25 @@ +--- + +# The name of the module +name: xmlrpc + +# Exclude module build/installation for the following PHP versions +exclude: [8.0, 8.1, 8.2] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: + - libxml + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/xmlrpc/test.yml b/php_modules/xmlrpc/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/xmlrpc/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/xmlwriter/build.yml b/php_modules/xmlwriter/build.yml new file mode 100644 index 00000000..a04b6871 --- /dev/null +++ b/php_modules/xmlwriter/build.yml @@ -0,0 +1,8 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +already_avail: "{{ php_all_versions }}" diff --git a/php_modules/xmlwriter/options.yml b/php_modules/xmlwriter/options.yml new file mode 100644 index 00000000..bf75cdf8 --- /dev/null +++ b/php_modules/xmlwriter/options.yml @@ -0,0 +1,25 @@ +--- + +# The name of the module +name: xmlwriter + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: + - libxml + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/xmlwriter/test.yml b/php_modules/xmlwriter/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/xmlwriter/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/xsl/build.yml b/php_modules/xsl/build.yml new file mode 100644 index 00000000..eefbe3cf --- /dev/null +++ b/php_modules/xsl/build.yml @@ -0,0 +1,11 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin + build_dep: [libxslt-dev] + run_dep: [libxslt1.1] diff --git a/php_modules/xsl/options.yml b/php_modules/xsl/options.yml new file mode 100644 index 00000000..d213747f --- /dev/null +++ b/php_modules/xsl/options.yml @@ -0,0 +1,25 @@ +--- + +# The name of the module +name: xsl + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: + - libxml + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/xsl/test.yml b/php_modules/xsl/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/xsl/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/yaml/build.yml b/php_modules/yaml/build.yml new file mode 100644 index 00000000..048a4740 --- /dev/null +++ b/php_modules/yaml/build.yml @@ -0,0 +1,31 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: pecl + build_dep: [libyaml-dev] + run_dep: [libyaml-0-2] + +7.0: + type: pecl + version: 2.0.4 + +5.6: + type: pecl + version: 1.3.2 + +5.5: + type: pecl + version: 1.3.2 + +5.4: + type: pecl + version: 1.3.2 + +5.3: + type: pecl + version: 1.3.2 diff --git a/php_modules/yaml/options.yml b/php_modules/yaml/options.yml new file mode 100644 index 00000000..c5e6d742 --- /dev/null +++ b/php_modules/yaml/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: yaml + +# Exclude module build/installation for the following PHP versions +exclude: [5.2] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/yaml/test.yml b/php_modules/yaml/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/yaml/test.yml @@ -0,0 +1,2 @@ +--- + diff --git a/php_modules/zip/build.yml b/php_modules/zip/build.yml new file mode 100644 index 00000000..d47797be --- /dev/null +++ b/php_modules/zip/build.yml @@ -0,0 +1,66 @@ +--- + +# Available Jinja2 variables: +# --------------------------- +# * {{ php_all_versions }}: Array of all PHP versions + + +all: + type: builtin + configure: --with-zip + build_dep: [libzip-dev] + run_dep: [libzip4] + +7.3: + type: builtin + configure: --enable-zip --with-zlib-dir=/usr --with-pcre-dir=/usr --with-libzip=/usr + build_dep: [libzip-dev, zlib1g-dev] + run_dep: [libzip4, zlib1g] + +7.2: + type: builtin + configure: --enable-zip --with-zlib-dir=/usr --with-pcre-dir=/usr --with-libzip=/usr + build_dep: [libzip-dev, zlib1g-dev] + run_dep: [libzip4, zlib1g] + +7.1: + type: builtin + configure: --enable-zip --with-zlib-dir=/usr --with-pcre-dir=/usr --with-libzip=/usr + build_dep: [libzip-dev, zlib1g-dev] + run_dep: [libzip4, zlib1g] + +7.0: + type: builtin + configure: --enable-zip --with-zlib-dir=/usr --with-pcre-dir=/usr --with-libzip=/usr + build_dep: [libzip-dev, zlib1g-dev] + run_dep: [libzip4, zlib1g] + +5.6: + type: builtin + configure: --enable-zip --with-zlib-dir=/usr --with-pcre-dir=/usr --with-libzip=/usr + build_dep: [libzip-dev, zlib1g-dev] + run_dep: [libzip4, zlib1g] + +5.5: + type: builtin + configure: --enable-zip --with-zlib-dir=/usr --with-pcre-dir=/usr + build_dep: [libzip-dev, zlib1g-dev] + run_dep: [libzip2, zlib1g] + +5.4: + type: builtin + configure: --enable-zip --with-zlib-dir=/usr --with-pcre-dir=/usr + build_dep: [libzip-dev, zlib1g-dev] + run_dep: [libzip2, zlib1g] + +5.3: + type: builtin + configure: --enable-zip --with-zlib-dir=/usr --with-pcre-dir=/usr + build_dep: [libzip-dev, zlib1g-dev] + run_dep: [libzip2, zlib1g] + +5.2: + type: builtin + configure: --enable-zip + build_dep: [libzip-dev] + run_dep: [libzip2] diff --git a/php_modules/zip/options.yml b/php_modules/zip/options.yml new file mode 100644 index 00000000..1754cf9e --- /dev/null +++ b/php_modules/zip/options.yml @@ -0,0 +1,24 @@ +--- + +# The name of the module +name: zip + +# Exclude module build/installation for the following PHP versions +exclude: [] + +# In order for this module to built correctly against all dependencies, +# the following modules must have been built first. +depends_build: [] + +# In order for this module to function correctly, +# the following modules must be loaded before. +depends_load: [] + +# If the following PHP modules are loaded, this module will not behave as expected. +conflicts_load: [] + +# Enable this module by default via php.ini for PHP cli command? +enabled_php_cli: true + +# Enable this module by default via php.ini for PHP-FPM? +enabled_php_fpm: true diff --git a/php_modules/zip/test.yml b/php_modules/zip/test.yml new file mode 100644 index 00000000..cd21505a --- /dev/null +++ b/php_modules/zip/test.yml @@ -0,0 +1,2 @@ +--- +