FreeBSD: support for php.ng.composer

added

  - php.ng.filter
  - php.ng.hash
  - php.ng.openssl
  - php.ng.phar
This commit is contained in:
Alexander Weidinger 2018-03-15 15:14:13 +01:00
parent 7f5c0aaea7
commit eb32e3a095
6 changed files with 24 additions and 0 deletions

View File

@ -12,6 +12,14 @@
include:
- php.ng
{% if grains['os_family'] == 'FreeBSD' %}
- php.ng.filter
- php.ng.hash
- php.ng.json
- php.ng.mbstring
- php.ng.openssl
- php.ng.phar
{% endif %}
get-composer:
file.managed:

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

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

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

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

View File

@ -2398,8 +2398,16 @@
},
'pkgs': {
'apache2': 'mod_php' + freebsd_phpng_version,
'composer_bin': 'composer',
'filter': 'php' + freebsd_phpng_version + '-filter',
'hash': 'php' + freebsd_phpng_version + '-hash',
'json': 'php' + freebsd_phpng_version + '-json',
'local_bin': '/usr/local/bin',
'mbstring': 'php' + freebsd_phpng_version + '-mbstring',
'openssl': 'php' + freebsd_phpng_version + '-openssl',
'php': 'php' + freebsd_phpng_version,
'phar': 'php' + freebsd_phpng_version + '-phar',
'temp_dir': '/tmp',
},
},
}),

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

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

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

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