mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-10 11:01:14 +00:00
Add PHP module dirs
This commit is contained in:
38
php_modules/Makefile
Normal file
38
php_modules/Makefile
Normal file
@@ -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"
|
||||||
195
php_modules/README-build.yml.md
Normal file
195
php_modules/README-build.yml.md
Normal file
@@ -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<br/>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<br/>Shell code | Description |
|
||||||
|
|-------------|----------|-------------------------|-------------|
|
||||||
|
| `configure` | No | Yes | Add `./configure` arguments. E.g.:<br/> `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<br/>Shell code | Description |
|
||||||
|
|-------------|----------|-------------------------|-------------|
|
||||||
|
| `version` | No | Yes | Pecl packet version |
|
||||||
|
| `command` | No | Yes | Overwrite pecl command (default: `pecl install <ext>`) |
|
||||||
|
|
||||||
|
**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<br/>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<br/>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.<br/>
|
||||||
|
**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 `&&`.<br/>
|
||||||
|
**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}" \
|
||||||
|
|
||||||
|
```
|
||||||
6
php_modules/README-options.yml.md
Normal file
6
php_modules/README-options.yml.md
Normal file
@@ -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.
|
||||||
3
php_modules/README-test.yml.md
Normal file
3
php_modules/README-test.yml.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# Extension definition: `test.yml`
|
||||||
|
|
||||||
|
This is not yet implemented and thus no documentation exists.
|
||||||
42
php_modules/README.md
Normal file
42
php_modules/README.md
Normal file
@@ -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.
|
||||||
32
php_modules/amqp/build.yml
Normal file
32
php_modules/amqp/build.yml
Normal file
@@ -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]
|
||||||
21
php_modules/amqp/options.yml
Normal file
21
php_modules/amqp/options.yml
Normal file
@@ -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
|
||||||
2
php_modules/amqp/test.yml
Normal file
2
php_modules/amqp/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
25
php_modules/apcu/build.yml
Normal file
25
php_modules/apcu/build.yml
Normal file
@@ -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
|
||||||
21
php_modules/apcu/options.yml
Normal file
21
php_modules/apcu/options.yml
Normal file
@@ -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
|
||||||
2
php_modules/apcu/test.yml
Normal file
2
php_modules/apcu/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
9
php_modules/bcmath/build.yml
Normal file
9
php_modules/bcmath/build.yml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# Available Jinja2 variables:
|
||||||
|
# ---------------------------
|
||||||
|
# * {{ php_all_versions }}: Array of all PHP versions
|
||||||
|
|
||||||
|
|
||||||
|
all:
|
||||||
|
type: builtin
|
||||||
21
php_modules/bcmath/options.yml
Normal file
21
php_modules/bcmath/options.yml
Normal file
@@ -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
|
||||||
2
php_modules/bcmath/test.yml
Normal file
2
php_modules/bcmath/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
16
php_modules/blackfire/build.yml
Normal file
16
php_modules/blackfire/build.yml
Normal file
@@ -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 \
|
||||||
8
php_modules/blackfire/curl/build.yml
Normal file
8
php_modules/blackfire/curl/build.yml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# Available Jinja2 variables:
|
||||||
|
# ---------------------------
|
||||||
|
# * {{ php_all_versions }}: Array of all PHP versions
|
||||||
|
|
||||||
|
|
||||||
|
already_avail: "{{ php_all_versions }}"
|
||||||
24
php_modules/blackfire/curl/options.yml
Normal file
24
php_modules/blackfire/curl/options.yml
Normal file
@@ -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
|
||||||
2
php_modules/blackfire/curl/test.yml
Normal file
2
php_modules/blackfire/curl/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
30
php_modules/blackfire/options.yml
Normal file
30
php_modules/blackfire/options.yml
Normal file
@@ -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
|
||||||
2
php_modules/blackfire/test.yml
Normal file
2
php_modules/blackfire/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
10
php_modules/bz2/build.yml
Normal file
10
php_modules/bz2/build.yml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# Available Jinja2 variables:
|
||||||
|
# ---------------------------
|
||||||
|
# * {{ php_all_versions }}: Array of all PHP versions
|
||||||
|
|
||||||
|
|
||||||
|
all:
|
||||||
|
type: builtin
|
||||||
|
build_dep: [libbz2-dev]
|
||||||
24
php_modules/bz2/options.yml
Normal file
24
php_modules/bz2/options.yml
Normal file
@@ -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
|
||||||
2
php_modules/bz2/test.yml
Normal file
2
php_modules/bz2/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
9
php_modules/calendar/build.yml
Normal file
9
php_modules/calendar/build.yml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# Available Jinja2 variables:
|
||||||
|
# ---------------------------
|
||||||
|
# * {{ php_all_versions }}: Array of all PHP versions
|
||||||
|
|
||||||
|
|
||||||
|
all:
|
||||||
|
type: builtin
|
||||||
24
php_modules/calendar/options.yml
Normal file
24
php_modules/calendar/options.yml
Normal file
@@ -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
|
||||||
2
php_modules/calendar/test.yml
Normal file
2
php_modules/calendar/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
8
php_modules/ctype/build.yml
Normal file
8
php_modules/ctype/build.yml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# Available Jinja2 variables:
|
||||||
|
# ---------------------------
|
||||||
|
# * {{ php_all_versions }}: Array of all PHP versions
|
||||||
|
|
||||||
|
|
||||||
|
already_avail: "{{ php_all_versions }}"
|
||||||
24
php_modules/ctype/options.yml
Normal file
24
php_modules/ctype/options.yml
Normal file
@@ -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
|
||||||
2
php_modules/ctype/test.yml
Normal file
2
php_modules/ctype/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
8
php_modules/curl/build.yml
Normal file
8
php_modules/curl/build.yml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# Available Jinja2 variables:
|
||||||
|
# ---------------------------
|
||||||
|
# * {{ php_all_versions }}: Array of all PHP versions
|
||||||
|
|
||||||
|
|
||||||
|
already_avail: "{{ php_all_versions }}"
|
||||||
24
php_modules/curl/options.yml
Normal file
24
php_modules/curl/options.yml
Normal file
@@ -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
|
||||||
2
php_modules/curl/test.yml
Normal file
2
php_modules/curl/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
9
php_modules/dba/build.yml
Normal file
9
php_modules/dba/build.yml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# Available Jinja2 variables:
|
||||||
|
# ---------------------------
|
||||||
|
# * {{ php_all_versions }}: Array of all PHP versions
|
||||||
|
|
||||||
|
|
||||||
|
all:
|
||||||
|
type: builtin
|
||||||
24
php_modules/dba/options.yml
Normal file
24
php_modules/dba/options.yml
Normal file
@@ -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
|
||||||
2
php_modules/dba/test.yml
Normal file
2
php_modules/dba/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
8
php_modules/dom/build.yml
Normal file
8
php_modules/dom/build.yml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# Available Jinja2 variables:
|
||||||
|
# ---------------------------
|
||||||
|
# * {{ php_all_versions }}: Array of all PHP versions
|
||||||
|
|
||||||
|
|
||||||
|
already_avail: "{{ php_all_versions }}"
|
||||||
25
php_modules/dom/options.yml
Normal file
25
php_modules/dom/options.yml
Normal file
@@ -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
|
||||||
2
php_modules/dom/test.yml
Normal file
2
php_modules/dom/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
45
php_modules/enchant/build.yml
Normal file
45
php_modules/enchant/build.yml
Normal file
@@ -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]
|
||||||
27
php_modules/enchant/options.yml
Normal file
27
php_modules/enchant/options.yml
Normal file
@@ -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
|
||||||
2
php_modules/enchant/test.yml
Normal file
2
php_modules/enchant/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
9
php_modules/exif/build.yml
Normal file
9
php_modules/exif/build.yml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# Available Jinja2 variables:
|
||||||
|
# ---------------------------
|
||||||
|
# * {{ php_all_versions }}: Array of all PHP versions
|
||||||
|
|
||||||
|
|
||||||
|
all:
|
||||||
|
type: builtin
|
||||||
26
php_modules/exif/options.yml
Normal file
26
php_modules/exif/options.yml
Normal file
@@ -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
|
||||||
2
php_modules/exif/test.yml
Normal file
2
php_modules/exif/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
13
php_modules/ffi/build.yml
Normal file
13
php_modules/ffi/build.yml
Normal file
@@ -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]
|
||||||
24
php_modules/ffi/options.yml
Normal file
24
php_modules/ffi/options.yml
Normal file
@@ -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
|
||||||
2
php_modules/ffi/test.yml
Normal file
2
php_modules/ffi/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
13
php_modules/fileinfo/build.yml
Normal file
13
php_modules/fileinfo/build.yml
Normal file
@@ -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]
|
||||||
24
php_modules/fileinfo/options.yml
Normal file
24
php_modules/fileinfo/options.yml
Normal file
@@ -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
|
||||||
2
php_modules/fileinfo/test.yml
Normal file
2
php_modules/fileinfo/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
8
php_modules/filter/build.yml
Normal file
8
php_modules/filter/build.yml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# Available Jinja2 variables:
|
||||||
|
# ---------------------------
|
||||||
|
# * {{ php_all_versions }}: Array of all PHP versions
|
||||||
|
|
||||||
|
|
||||||
|
already_avail: "{{ php_all_versions }}"
|
||||||
24
php_modules/filter/options.yml
Normal file
24
php_modules/filter/options.yml
Normal file
@@ -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
|
||||||
2
php_modules/filter/test.yml
Normal file
2
php_modules/filter/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
8
php_modules/ftp/build.yml
Normal file
8
php_modules/ftp/build.yml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# Available Jinja2 variables:
|
||||||
|
# ---------------------------
|
||||||
|
# * {{ php_all_versions }}: Array of all PHP versions
|
||||||
|
|
||||||
|
|
||||||
|
already_avail: "{{ php_all_versions }}"
|
||||||
24
php_modules/ftp/options.yml
Normal file
24
php_modules/ftp/options.yml
Normal file
@@ -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
|
||||||
2
php_modules/ftp/test.yml
Normal file
2
php_modules/ftp/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
102
php_modules/gd/build.yml
Normal file
102
php_modules/gd/build.yml
Normal file
@@ -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]
|
||||||
25
php_modules/gd/options.yml
Normal file
25
php_modules/gd/options.yml
Normal file
@@ -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
|
||||||
2
php_modules/gd/test.yml
Normal file
2
php_modules/gd/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
9
php_modules/gettext/build.yml
Normal file
9
php_modules/gettext/build.yml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# Available Jinja2 variables:
|
||||||
|
# ---------------------------
|
||||||
|
# * {{ php_all_versions }}: Array of all PHP versions
|
||||||
|
|
||||||
|
|
||||||
|
all:
|
||||||
|
type: builtin
|
||||||
24
php_modules/gettext/options.yml
Normal file
24
php_modules/gettext/options.yml
Normal file
@@ -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
|
||||||
2
php_modules/gettext/test.yml
Normal file
2
php_modules/gettext/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
12
php_modules/gmp/build.yml
Normal file
12
php_modules/gmp/build.yml
Normal file
@@ -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
|
||||||
24
php_modules/gmp/options.yml
Normal file
24
php_modules/gmp/options.yml
Normal file
@@ -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
|
||||||
2
php_modules/gmp/test.yml
Normal file
2
php_modules/gmp/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
8
php_modules/hash/build.yml
Normal file
8
php_modules/hash/build.yml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# Available Jinja2 variables:
|
||||||
|
# ---------------------------
|
||||||
|
# * {{ php_all_versions }}: Array of all PHP versions
|
||||||
|
|
||||||
|
|
||||||
|
already_avail: "{{ php_all_versions }}"
|
||||||
24
php_modules/hash/options.yml
Normal file
24
php_modules/hash/options.yml
Normal file
@@ -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
|
||||||
2
php_modules/hash/test.yml
Normal file
2
php_modules/hash/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
8
php_modules/iconv/build.yml
Normal file
8
php_modules/iconv/build.yml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# Available Jinja2 variables:
|
||||||
|
# ---------------------------
|
||||||
|
# * {{ php_all_versions }}: Array of all PHP versions
|
||||||
|
|
||||||
|
|
||||||
|
already_avail: "{{ php_all_versions }}"
|
||||||
24
php_modules/iconv/options.yml
Normal file
24
php_modules/iconv/options.yml
Normal file
@@ -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
|
||||||
2
php_modules/iconv/test.yml
Normal file
2
php_modules/iconv/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
29
php_modules/igbinary/build.yml
Normal file
29
php_modules/igbinary/build.yml
Normal file
@@ -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
|
||||||
21
php_modules/igbinary/options.yml
Normal file
21
php_modules/igbinary/options.yml
Normal file
@@ -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
|
||||||
2
php_modules/igbinary/test.yml
Normal file
2
php_modules/igbinary/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
35
php_modules/imagick/build.yml
Normal file
35
php_modules/imagick/build.yml
Normal file
@@ -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".*| <policy domain="resource" name="thread" value="1"/>|g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS2".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS3".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"EPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PDF".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"XPS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="coder".*"PS".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
&& sed -i'' 's|.*<policy domain="delegate".*pattern="gs".*||g' /etc/ImageMagick-6/policy.xml \
|
||||||
|
|
||||||
|
7.0:
|
||||||
|
type: pecl
|
||||||
|
run_dep: [libmagickwand-6.q16-3, libwebp6, ghostscript]
|
||||||
|
|
||||||
|
5.6:
|
||||||
|
type: pecl
|
||||||
|
run_dep: [libmagickwand-6.q16-3, libwebp6, ghostscript]
|
||||||
|
|
||||||
|
5.5:
|
||||||
|
type: pecl
|
||||||
|
run_dep: [libmagickwand-6.q16-2, libwebp5, ghostscript]
|
||||||
24
php_modules/imagick/options.yml
Normal file
24
php_modules/imagick/options.yml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# The name of the module
|
||||||
|
name: imagick
|
||||||
|
|
||||||
|
# Exclude module build/installation for the following PHP versions
|
||||||
|
exclude: [5.2, 5.3, 5.4] # Only available since 5.3. 5.3 and 5.4 segfaults
|
||||||
|
|
||||||
|
# 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
|
||||||
2
php_modules/imagick/test.yml
Normal file
2
php_modules/imagick/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
13
php_modules/imap/build.yml
Normal file
13
php_modules/imap/build.yml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# 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)/libkrb5* /usr/lib/
|
||||||
|
configure: --with-kerberos --with-imap-ssl --with-imap
|
||||||
|
build_dep: [libc-client-dev, libkrb5-dev, libcurl4-openssl-dev]
|
||||||
|
run_dep: [libc-client2007e]
|
||||||
24
php_modules/imap/options.yml
Normal file
24
php_modules/imap/options.yml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# The name of the module
|
||||||
|
name: imap
|
||||||
|
|
||||||
|
# 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
|
||||||
2
php_modules/imap/test.yml
Normal file
2
php_modules/imap/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
11
php_modules/interbase/build.yml
Normal file
11
php_modules/interbase/build.yml
Normal file
@@ -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]
|
||||||
24
php_modules/interbase/options.yml
Normal file
24
php_modules/interbase/options.yml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# The name of the module
|
||||||
|
name: interbase
|
||||||
|
|
||||||
|
# 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
|
||||||
2
php_modules/interbase/test.yml
Normal file
2
php_modules/interbase/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
43
php_modules/intl/build.yml
Normal file
43
php_modules/intl/build.yml
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# Available Jinja2 variables:
|
||||||
|
# ---------------------------
|
||||||
|
# * {{ php_all_versions }}: Array of all PHP versions
|
||||||
|
|
||||||
|
|
||||||
|
all:
|
||||||
|
type: builtin
|
||||||
|
build_dep: [libicu-dev]
|
||||||
|
run_dep: [libicu67]
|
||||||
|
|
||||||
|
7.2:
|
||||||
|
type: builtin
|
||||||
|
run_dep: [libicu63]
|
||||||
|
|
||||||
|
7.1:
|
||||||
|
type: builtin
|
||||||
|
run_dep: [libicu63]
|
||||||
|
|
||||||
|
7.0:
|
||||||
|
type: builtin
|
||||||
|
run_dep: [libicu57]
|
||||||
|
|
||||||
|
5.6:
|
||||||
|
type: builtin
|
||||||
|
run_dep: [libicu57]
|
||||||
|
|
||||||
|
5.5:
|
||||||
|
type: builtin
|
||||||
|
run_dep: [libicu52]
|
||||||
|
|
||||||
|
5.4:
|
||||||
|
type: builtin
|
||||||
|
run_dep: [libicu52]
|
||||||
|
|
||||||
|
5.3:
|
||||||
|
type: builtin
|
||||||
|
run_dep: [libicu52]
|
||||||
|
|
||||||
|
5.2:
|
||||||
|
type: pecl
|
||||||
|
run_dep: [libicu52]
|
||||||
24
php_modules/intl/options.yml
Normal file
24
php_modules/intl/options.yml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# The name of the module
|
||||||
|
name: intl
|
||||||
|
|
||||||
|
# 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
|
||||||
2
php_modules/intl/test.yml
Normal file
2
php_modules/intl/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
19
php_modules/ioncube/build.yml
Normal file
19
php_modules/ioncube/build.yml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# Available Jinja2 variables:
|
||||||
|
# ---------------------------
|
||||||
|
# * {{ php_all_versions }}: Array of all PHP versions
|
||||||
|
|
||||||
|
|
||||||
|
all:
|
||||||
|
type: custom
|
||||||
|
command: |
|
||||||
|
EXTENSION_DIR="$( php -i | grep ^extension_dir | awk -F '=>' '{print $2}' | xargs )" \
|
||||||
|
&& if [ ! -d "${EXTENSION_DIR}" ]; then mkdir -p "${EXTENSION_DIR}"; fi \
|
||||||
|
&& curl -sS --fail -k https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_$(dpkg-architecture --query DEB_HOST_GNU_CPU | sed 's/_/-/g').tar.gz -L -o ioncube.tar.gz \
|
||||||
|
&& tar xvfz ioncube.tar.gz \
|
||||||
|
&& cd ioncube \
|
||||||
|
&& cp "ioncube_loader_lin_{{ php_version }}.so" "${EXTENSION_DIR}/ioncube.so" \
|
||||||
|
&& cd ../ \
|
||||||
|
&& rm -rf ioncube \
|
||||||
|
&& rm -rf ioncube.tar.gz \
|
||||||
27
php_modules/ioncube/options.yml
Normal file
27
php_modules/ioncube/options.yml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# The name of the module
|
||||||
|
name: ioncube
|
||||||
|
|
||||||
|
# Exclude module build/installation for the following PHP versions
|
||||||
|
# ioncube on amd64 is only available from 4.1 up to 7.4
|
||||||
|
# ioncube on arm64 is only available from 5.5 up to 7.4
|
||||||
|
# TODO: Remove some exludes, as ioncube had some recent updates
|
||||||
|
exclude: [5.2, 5.3, 5.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
|
||||||
2
php_modules/ioncube/test.yml
Normal file
2
php_modules/ioncube/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
8
php_modules/json/build.yml
Normal file
8
php_modules/json/build.yml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# Available Jinja2 variables:
|
||||||
|
# ---------------------------
|
||||||
|
# * {{ php_all_versions }}: Array of all PHP versions
|
||||||
|
|
||||||
|
|
||||||
|
already_avail: "{{ php_all_versions }}"
|
||||||
24
php_modules/json/options.yml
Normal file
24
php_modules/json/options.yml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# The name of the module
|
||||||
|
name: json
|
||||||
|
|
||||||
|
# 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
|
||||||
2
php_modules/json/test.yml
Normal file
2
php_modules/json/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
12
php_modules/ldap/build.yml
Normal file
12
php_modules/ldap/build.yml
Normal file
@@ -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)/libldap* /usr/lib/
|
||||||
|
configure: --with-ldap --with-ldap-sasl
|
||||||
|
build_dep: [libldap2-dev, libsasl2-dev]
|
||||||
24
php_modules/ldap/options.yml
Normal file
24
php_modules/ldap/options.yml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# The name of the module
|
||||||
|
name: ldap
|
||||||
|
|
||||||
|
# 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
|
||||||
2
php_modules/ldap/test.yml
Normal file
2
php_modules/ldap/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
9
php_modules/libxml/build.yml
Normal file
9
php_modules/libxml/build.yml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# Available Jinja2 variables:
|
||||||
|
# ---------------------------
|
||||||
|
# * {{ php_all_versions }}: Array of all PHP versions
|
||||||
|
|
||||||
|
|
||||||
|
already_avail: "{{ php_all_versions }}"
|
||||||
|
# TODO: required run_dep libxml >= 2.6.0
|
||||||
24
php_modules/libxml/options.yml
Normal file
24
php_modules/libxml/options.yml
Normal file
@@ -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
|
||||||
2
php_modules/libxml/test.yml
Normal file
2
php_modules/libxml/test.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
|
||||||
8
php_modules/mbstring/build.yml
Normal file
8
php_modules/mbstring/build.yml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# Available Jinja2 variables:
|
||||||
|
# ---------------------------
|
||||||
|
# * {{ php_all_versions }}: Array of all PHP versions
|
||||||
|
|
||||||
|
|
||||||
|
already_avail: "{{ php_all_versions }}" # Available by default
|
||||||
24
php_modules/mbstring/options.yml
Normal file
24
php_modules/mbstring/options.yml
Normal file
@@ -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
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user