From 3f6c0bc894169333b291059172072c4f6c59c1e6 Mon Sep 17 00:00:00 2001 From: nb Date: Mon, 1 Jul 2019 17:07:28 +1100 Subject: [PATCH] feat(mods): added some mods support for FreeBSD --- php/ng/dom.sls | 2 ++ php/ng/iconv.sls | 2 ++ php/ng/map.jinja | 11 +++++++++++ php/ng/pdo.sls | 2 ++ php/ng/pdo_mysql.sls | 2 ++ php/ng/simplexml.sls | 2 ++ 6 files changed, 21 insertions(+) create mode 100644 php/ng/dom.sls create mode 100644 php/ng/iconv.sls create mode 100644 php/ng/pdo.sls create mode 100644 php/ng/pdo_mysql.sls create mode 100644 php/ng/simplexml.sls diff --git a/php/ng/dom.sls b/php/ng/dom.sls new file mode 100644 index 0000000..64b7add --- /dev/null +++ b/php/ng/dom.sls @@ -0,0 +1,2 @@ +{% set state = 'dom' %} +{% include "php/ng/installed.jinja" %} diff --git a/php/ng/iconv.sls b/php/ng/iconv.sls new file mode 100644 index 0000000..75e68b9 --- /dev/null +++ b/php/ng/iconv.sls @@ -0,0 +1,2 @@ +{% set state = 'iconv' %} +{% include "php/ng/installed.jinja" %} diff --git a/php/ng/map.jinja b/php/ng/map.jinja index 04ad217..fb63de3 100644 --- a/php/ng/map.jinja +++ b/php/ng/map.jinja @@ -2932,25 +2932,36 @@ 'cli': 'php' + freebsd_phpng_version, 'ctype': 'php' + freebsd_phpng_version + '-ctype', 'curl': 'php' + freebsd_phpng_version + '-curl', + 'dom': 'php' + freebsd_phpng_version + '-dom', 'filter': 'php' + freebsd_phpng_version + '-filter', 'fileinfo': 'php' + freebsd_phpng_version + '-fileinfo', 'fpm': 'php' + freebsd_phpng_version, 'gd': 'php' + freebsd_phpng_version + '-gd', 'hash': 'php' + freebsd_phpng_version + '-hash', + 'iconv': 'php' + freebsd_phpng_version + '-iconv', + 'intl': 'php' + freebsd_phpng_version + '-intl', 'json': 'php' + freebsd_phpng_version + '-json', 'local_bin': '/usr/local/bin', + 'memcached': 'php' + freebsd_phpng_version + '-pecl-memcached', 'mbstring': 'php' + freebsd_phpng_version + '-mbstring', 'mcrypt': 'php' + freebsd_phpng_version + '-mcrypt', 'mysql': 'php' + freebsd_phpng_version + '-mysqli', + 'opcache': 'php' + freebsd_phpng_version + '-opcache', 'openssl': 'php' + freebsd_phpng_version + '-openssl', + 'pdo': 'php' + freebsd_phpng_version + '-pdo', + 'pdo_mysql': 'php' + freebsd_phpng_version + '-pdo_mysql', + 'pear': 'php' + freebsd_phpng_version + '-pear', 'php': 'php' + freebsd_phpng_version, 'phar': 'php' + freebsd_phpng_version + '-phar', 'posix': 'php' + freebsd_phpng_version + '-posix', 'session': 'php' + freebsd_phpng_version + '-session', + 'simplexml': 'php' + freebsd_phpng_version + '-simplexml', 'snmp': 'php' + freebsd_phpng_version + '-snmp', 'temp_dir': '/tmp', 'tokenizer': 'php' + freebsd_phpng_version + '-tokenizer', + 'xdebug': 'php' + freebsd_phpng_version + '-pecl-xdebug', 'xml': 'php' + freebsd_phpng_version + '-xml', + 'xmlwriter': 'php' + freebsd_phpng_version + '-xmlwriter', 'zip': 'php' + freebsd_phpng_version + '-zip', }, 'fpm': { diff --git a/php/ng/pdo.sls b/php/ng/pdo.sls new file mode 100644 index 0000000..6d96b5c --- /dev/null +++ b/php/ng/pdo.sls @@ -0,0 +1,2 @@ +{% set state = 'pdo' %} +{% include "php/ng/installed.jinja" %} diff --git a/php/ng/pdo_mysql.sls b/php/ng/pdo_mysql.sls new file mode 100644 index 0000000..c6e8fc4 --- /dev/null +++ b/php/ng/pdo_mysql.sls @@ -0,0 +1,2 @@ +{% set state = 'pdo_mysql' %} +{% include "php/ng/installed.jinja" %} diff --git a/php/ng/simplexml.sls b/php/ng/simplexml.sls new file mode 100644 index 0000000..3bd164f --- /dev/null +++ b/php/ng/simplexml.sls @@ -0,0 +1,2 @@ +{% set state = 'simplexml' %} +{% include "php/ng/installed.jinja" %} \ No newline at end of file