diff --git a/profiles/templates/3.6/2_ac_install_merge/Depends/nginx b/profiles/templates/3.6/2_ac_install_merge/Depends/nginx new file mode 100644 index 000000000..17d256735 --- /dev/null +++ b/profiles/templates/3.6/2_ac_install_merge/Depends/nginx @@ -0,0 +1 @@ +# Calculate append=skip merge(www-servers/nginx)!= merge=dev-lang/php diff --git a/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/.calculate_directory b/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/.calculate_directory new file mode 100644 index 000000000..8969b0a35 --- /dev/null +++ b/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/.calculate_directory @@ -0,0 +1 @@ +# Calculate mergepkg()!=&&pkg(www-servers/nginx)!= path=/etc diff --git a/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.1/.calculate_directory b/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.1/.calculate_directory new file mode 100644 index 000000000..989465ec8 --- /dev/null +++ b/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.1/.calculate_directory @@ -0,0 +1 @@ +# Calculate mergepkg(dev-lang/php:7.1)!= diff --git a/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.1/fpm.d/www.conf b/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.1/fpm.d/www.conf new file mode 100644 index 000000000..08d3b1cbf --- /dev/null +++ b/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.1/fpm.d/www.conf @@ -0,0 +1,17 @@ +# Calculate multiline format=diff +^;?(user)\s*=.* +\1 = nginx +^;?(group)\s*=.* +\1 = nginx +^;?(listen)\s*=.* +\1 = /run/php-fpm.socket +^;?(listen\.owner)\s*=.* +\1 = nginx +^;?(listen\.group)\s*=.* +\1 = nginx +^;?(pm.max_children)\s*=.* +\1 = 20 +^;env +env +^(env\[PATH\])\s*=.* +\1 = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin diff --git a/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.1/php.ini b/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.1/php.ini new file mode 100644 index 000000000..87f645a66 --- /dev/null +++ b/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.1/php.ini @@ -0,0 +1,9 @@ +# Calculate format=patch +;?(cgi.fix_pathinfo)\s*=.* +\1=0 +;?(date\.timezone)\s*=.* +\1="Europe/Moscow" +;?(opcache\.enable_cli)\s*=.* +\1=1 +;?(opcache\.revalidate_freq)\s*=.* +\1=1 diff --git a/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.2/.calculate_directory b/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.2/.calculate_directory new file mode 100644 index 000000000..a2a28e137 --- /dev/null +++ b/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.2/.calculate_directory @@ -0,0 +1 @@ +# Calculate mergepkg(dev-lang/php:7.2)!= diff --git a/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.2/fpm.d/www.conf b/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.2/fpm.d/www.conf new file mode 100644 index 000000000..08d3b1cbf --- /dev/null +++ b/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.2/fpm.d/www.conf @@ -0,0 +1,17 @@ +# Calculate multiline format=diff +^;?(user)\s*=.* +\1 = nginx +^;?(group)\s*=.* +\1 = nginx +^;?(listen)\s*=.* +\1 = /run/php-fpm.socket +^;?(listen\.owner)\s*=.* +\1 = nginx +^;?(listen\.group)\s*=.* +\1 = nginx +^;?(pm.max_children)\s*=.* +\1 = 20 +^;env +env +^(env\[PATH\])\s*=.* +\1 = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin diff --git a/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.2/php.ini b/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.2/php.ini new file mode 100644 index 000000000..87f645a66 --- /dev/null +++ b/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.2/php.ini @@ -0,0 +1,9 @@ +# Calculate format=patch +;?(cgi.fix_pathinfo)\s*=.* +\1=0 +;?(date\.timezone)\s*=.* +\1="Europe/Moscow" +;?(opcache\.enable_cli)\s*=.* +\1=1 +;?(opcache\.revalidate_freq)\s*=.* +\1=1 diff --git a/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.3/.calculate_directory b/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.3/.calculate_directory new file mode 100644 index 000000000..b503ba647 --- /dev/null +++ b/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.3/.calculate_directory @@ -0,0 +1 @@ +# Calculate mergepkg(dev-lang/php:7.3)!= diff --git a/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.3/fpm.d/www.conf b/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.3/fpm.d/www.conf new file mode 100644 index 000000000..08d3b1cbf --- /dev/null +++ b/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.3/fpm.d/www.conf @@ -0,0 +1,17 @@ +# Calculate multiline format=diff +^;?(user)\s*=.* +\1 = nginx +^;?(group)\s*=.* +\1 = nginx +^;?(listen)\s*=.* +\1 = /run/php-fpm.socket +^;?(listen\.owner)\s*=.* +\1 = nginx +^;?(listen\.group)\s*=.* +\1 = nginx +^;?(pm.max_children)\s*=.* +\1 = 20 +^;env +env +^(env\[PATH\])\s*=.* +\1 = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin diff --git a/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.3/php.ini b/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.3/php.ini new file mode 100644 index 000000000..87f645a66 --- /dev/null +++ b/profiles/templates/3.6/2_ac_install_merge/dev-lang/php/fpm-php7.3/php.ini @@ -0,0 +1,9 @@ +# Calculate format=patch +;?(cgi.fix_pathinfo)\s*=.* +\1=0 +;?(date\.timezone)\s*=.* +\1="Europe/Moscow" +;?(opcache\.enable_cli)\s*=.* +\1=1 +;?(opcache\.revalidate_freq)\s*=.* +\1=1