Browse Source

FreeBSD: support for php.ng.composer

added

  - php.ng.filter
  - php.ng.hash
  - php.ng.openssl
  - php.ng.phar
tags/v0.34.0
Alexander Weidinger 6 years ago
parent
commit
eb32e3a095
6 changed files with 24 additions and 0 deletions
  1. +8
    -0
      php/ng/composer.sls
  2. +2
    -0
      php/ng/filter.sls
  3. +2
    -0
      php/ng/hash.sls
  4. +8
    -0
      php/ng/map.jinja
  5. +2
    -0
      php/ng/openssl.sls
  6. +2
    -0
      php/ng/phar.sls

+ 8
- 0
php/ng/composer.sls 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
- 0
php/ng/filter.sls View File

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

+ 2
- 0
php/ng/hash.sls View File

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

+ 8
- 0
php/ng/map.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
- 0
php/ng/openssl.sls View File

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

+ 2
- 0
php/ng/phar.sls View File

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

Loading…
Cancel
Save