Merge pull request #146 from saltstack-formulas/freebsd-support2

FreeBSD support: ctype & session
This commit is contained in:
Niels Abspoel 2018-03-16 12:32:26 +01:00 committed by GitHub
commit 46bebfafbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 43 additions and 0 deletions

View File

@ -539,3 +539,33 @@ Installs the php-cache-lite package.
--------------
Installs the php-console-table package.
``php.ng.filter``
-----------------
Installs the php-filter package.
``php.ng.hash``
---------------
Installs the php-hash package.
``php.ng.openssl``
------------------
Installs the php-openssl package.
``php.ng.phar``
---------------
Installs the php-phar package.
``php.ng.ctype``
----------------
Installs the php-ctype package.
``php.ng.session``
------------------
Installs the php-session package.

2
php/ng/ctype.sls Normal file
View File

@ -0,0 +1,2 @@
{% set state = 'ctype' %}
{% include "php/ng/installed.jinja" %}

View File

@ -2405,15 +2405,24 @@
'pkgs': {
'apache2': 'mod_php' + freebsd_phpng_version,
'composer_bin': 'composer',
'ctype': 'php' + freebsd_phpng_version + '-ctype',
'curl': 'php' + freebsd_phpng_version + '-curl',
'filter': 'php' + freebsd_phpng_version + '-filter',
'gd': 'php' + freebsd_phpng_version + '-gd',
'hash': 'php' + freebsd_phpng_version + '-hash',
'json': 'php' + freebsd_phpng_version + '-json',
'local_bin': '/usr/local/bin',
'mbstring': 'php' + freebsd_phpng_version + '-mbstring',
'mcrypt': 'php' + freebsd_phpng_version + '-mcrypt',
'mysql': 'php' + freebsd_phpng_version + '-mysqli',
'openssl': 'php' + freebsd_phpng_version + '-openssl',
'php': 'php' + freebsd_phpng_version,
'phar': 'php' + freebsd_phpng_version + '-phar',
'session': 'php' + freebsd_phpng_version + '-session',
'snmp': 'php' + freebsd_phpng_version + '-snmp',
'temp_dir': '/tmp',
'xml': 'php' + freebsd_phpng_version + '-xml',
'zip': 'php' + freebsd_phpng_version + '-zip',
},
},
}),

2
php/ng/session.sls Normal file
View File

@ -0,0 +1,2 @@
{% set state = 'session' %}
{% include "php/ng/installed.jinja" %}