From 6381ad46347862cd3ab78cbedc7cf3b85572d513 Mon Sep 17 00:00:00 2001 From: sticky-note Date: Thu, 17 Jun 2021 12:07:24 +1100 Subject: [PATCH 1/4] feat(mods): add `bcmath` module for FreeBSD --- php/map.jinja | 1 + 1 file changed, 1 insertion(+) diff --git a/php/map.jinja b/php/map.jinja index 66e2a93b..fad3cf6e 100644 --- a/php/map.jinja +++ b/php/map.jinja @@ -3113,6 +3113,7 @@ }, 'pkgs': { 'apache2': 'mod_php' + freebsd_php_version, + 'bcmath': 'php' + freebsd_php_version + '-bcmath', 'composer_bin': 'composer', 'cli': 'php' + freebsd_php_version, 'ctype': 'php' + freebsd_php_version + '-ctype', From 7eef994582ca9ea894368eb37826d9fd3d9cc878 Mon Sep 17 00:00:00 2001 From: sticky-note Date: Thu, 17 Jun 2021 12:08:16 +1100 Subject: [PATCH 2/4] feat(mods): add `soap` module for FreeBSD --- php/map.jinja | 1 + 1 file changed, 1 insertion(+) diff --git a/php/map.jinja b/php/map.jinja index fad3cf6e..843924ac 100644 --- a/php/map.jinja +++ b/php/map.jinja @@ -3143,6 +3143,7 @@ 'session': 'php' + freebsd_php_version + '-session', 'simplexml': 'php' + freebsd_php_version + '-simplexml', 'snmp': 'php' + freebsd_php_version + '-snmp', + 'soap': 'php' + freebsd_php_version + '-soap', 'temp_dir': '/tmp', 'tokenizer': 'php' + freebsd_php_version + '-tokenizer', 'xdebug': 'php' + freebsd_php_version + '-pecl-xdebug', From 4c9ed0295ce039ef32a4f881f944f0ac82c108df Mon Sep 17 00:00:00 2001 From: sticky-note Date: Thu, 17 Jun 2021 12:08:52 +1100 Subject: [PATCH 3/4] feat(mods): add `xsl` module for FreeBSD --- php/map.jinja | 1 + 1 file changed, 1 insertion(+) diff --git a/php/map.jinja b/php/map.jinja index 843924ac..d7be3ea2 100644 --- a/php/map.jinja +++ b/php/map.jinja @@ -3149,6 +3149,7 @@ 'xdebug': 'php' + freebsd_php_version + '-pecl-xdebug', 'xml': 'php' + freebsd_php_version + '-xml', 'xmlwriter': 'php' + freebsd_php_version + '-xmlwriter', + 'xsl': 'php' + freebsd_php_version + '-xsl', 'zip': 'php' + freebsd_php_version + '-zip', }, 'fpm': { From b776b00168497f23f9afd843a442d44773ea19d0 Mon Sep 17 00:00:00 2001 From: sticky-note Date: Thu, 17 Jun 2021 12:42:19 +1100 Subject: [PATCH 4/4] test(mods): update integration tests accordingly --- test/integration/default/files/_mapdata/freebsd-11.yaml | 3 +++ test/integration/default/files/_mapdata/freebsd-12.yaml | 3 +++ test/integration/default/files/_mapdata/freebsd-13.yaml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/test/integration/default/files/_mapdata/freebsd-11.yaml b/test/integration/default/files/_mapdata/freebsd-11.yaml index 158feba2..7c1bfe30 100644 --- a/test/integration/default/files/_mapdata/freebsd-11.yaml +++ b/test/integration/default/files/_mapdata/freebsd-11.yaml @@ -225,6 +225,7 @@ values: user: root pkgs: apache2: mod_php74 + bcmath: php74-bcmath cli: php74 composer_bin: composer ctype: php74-ctype @@ -254,11 +255,13 @@ values: session: php74-session simplexml: php74-simplexml snmp: php74-snmp + soap: php74-soap temp_dir: /tmp tokenizer: php74-tokenizer xdebug: php74-pecl-xdebug xml: php74-xml xmlwriter: php74-xmlwriter + xsl: php74-xsl zip: php74-zip version: - '7.4' diff --git a/test/integration/default/files/_mapdata/freebsd-12.yaml b/test/integration/default/files/_mapdata/freebsd-12.yaml index 10ec9d03..d93cf3a5 100644 --- a/test/integration/default/files/_mapdata/freebsd-12.yaml +++ b/test/integration/default/files/_mapdata/freebsd-12.yaml @@ -225,6 +225,7 @@ values: user: root pkgs: apache2: mod_php74 + bcmath: php74-bcmath cli: php74 composer_bin: composer ctype: php74-ctype @@ -254,11 +255,13 @@ values: session: php74-session simplexml: php74-simplexml snmp: php74-snmp + soap: php74-soap temp_dir: /tmp tokenizer: php74-tokenizer xdebug: php74-pecl-xdebug xml: php74-xml xmlwriter: php74-xmlwriter + xsl: php74-xsl zip: php74-zip version: - '7.4' diff --git a/test/integration/default/files/_mapdata/freebsd-13.yaml b/test/integration/default/files/_mapdata/freebsd-13.yaml index 09d95d79..f0c1cfc6 100644 --- a/test/integration/default/files/_mapdata/freebsd-13.yaml +++ b/test/integration/default/files/_mapdata/freebsd-13.yaml @@ -225,6 +225,7 @@ values: user: root pkgs: apache2: mod_php74 + bcmath: php74-bcmath cli: php74 composer_bin: composer ctype: php74-ctype @@ -254,11 +255,13 @@ values: session: php74-session simplexml: php74-simplexml snmp: php74-snmp + soap: php74-soap temp_dir: /tmp tokenizer: php74-tokenizer xdebug: php74-pecl-xdebug xml: php74-xml xmlwriter: php74-xmlwriter + xsl: php74-xsl zip: php74-zip version: - '7.4'