Browse Source

Добавлены шаблоны dev-lang/php

master
parent
commit
61702e4430
  1. 1
      merge/dev-lang/.calculate_directory
  2. 1
      merge/dev-lang/php/.calculate_directory
  3. 1
      merge/dev-lang/php/fpm-php7.1/.calculate_directory
  4. 17
      merge/dev-lang/php/fpm-php7.1/fpm.d/www.conf
  5. 1
      merge/dev-lang/php/fpm-php7.1/php.ini
  6. 1
      merge/dev-lang/php/fpm-php7.2/.calculate_directory
  7. 17
      merge/dev-lang/php/fpm-php7.2/fpm.d/www.conf
  8. 9
      merge/dev-lang/php/fpm-php7.2/php.ini
  9. 1
      merge/dev-lang/php/fpm-php7.3/.calculate_directory
  10. 17
      merge/dev-lang/php/fpm-php7.3/fpm.d/www.conf
  11. 9
      merge/dev-lang/php/fpm-php7.3/php.ini
  12. 1
      merge/dev-lang/php/fpm-php7.4/.calculate_directory
  13. 17
      merge/dev-lang/php/fpm-php7.4/fpm.d/www.conf
  14. 9
      merge/dev-lang/php/fpm-php7.4/php.ini

1
merge/dev-lang/.calculate_directory

@ -0,0 +1 @@
{% calculate append = 'skip' %}

1
merge/dev-lang/php/.calculate_directory

@ -0,0 +1 @@
{% calculate path='/etc', package='dev-lang/php', pkg('www-servers/nginx') %}

1
merge/dev-lang/php/fpm-php7.1/.calculate_directory

@ -0,0 +1 @@
{% calculate package='dev-lang/php:7.1' %}

17
merge/dev-lang/php/fpm-php7.1/fpm.d/www.conf

@ -0,0 +1,17 @@
{% calculate format='regex', multiline %}
<reg>^;?(user)\s*=.*</reg>
<text>\1 = nginx</text>
<reg>^;?(group)\s*=.*</reg>
<text>\1 = nginx</text>
<reg>^;?(listen)\s*=.*</reg>
<text>\1 = /run/php-fpm.socket</text>
<reg>^;?(listen\.owner)\s*=.*</reg>
<text>\1 = nginx</text>
<reg>^;?(listen\.group)\s*=.*</reg>
<text>\1 = nginx</text>
<reg>^;?(pm.max_children)\s*=.*</reg>
<text>\1 = 20</text>
<reg>^;env</reg>
<text>env</text>
<reg>^(env\[PATH\])\s*=.*</reg>
<text>\1 = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin</text>

1
merge/dev-lang/php/fpm-php7.1/php.ini

@ -0,0 +1 @@
{% calculate format='regex' %}

1
merge/dev-lang/php/fpm-php7.2/.calculate_directory

@ -0,0 +1 @@
{% calculate package='dev-lang/php:7.2' %}

17
merge/dev-lang/php/fpm-php7.2/fpm.d/www.conf

@ -0,0 +1,17 @@
{% calculate format='regex', multiline %}
<reg>^;?(user)\s*=.*</reg>
<text>\1 = nginx</text>
<reg>^;?(group)\s*=.*</reg>
<text>\1 = nginx</text>
<reg>^;?(listen)\s*=.*</reg>
<text>\1 = /run/php-fpm.socket</text>
<reg>^;?(listen\.owner)\s*=.*</reg>
<text>\1 = nginx</text>
<reg>^;?(listen\.group)\s*=.*</reg>
<text>\1 = nginx</text>
<reg>^;?(pm.max_children)\s*=.*</reg>
<text>\1 = 20</text>
<reg>^;env</reg>
<text>env</text>
<reg>^(env\[PATH\])\s*=.*</reg>
<text>\1 = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin</text>

9
merge/dev-lang/php/fpm-php7.2/php.ini

@ -0,0 +1,9 @@
{% calculate format='regex' %}
<reg>;?(cgi.fix_pathinfo)\s*=.*</reg>
<text>\1=0</text>
<reg>;?(date\.timezone)\s*=.*</reg>
<text>\1="Europe/Moscow"</text>
<reg>;?(opcache\.enable_cli)\s*=.*</reg>
<text>\1=1</text>
<reg>;?(opcache\.revalidate_freq)\s*=.*</reg>
<text>\1=1</text>

1
merge/dev-lang/php/fpm-php7.3/.calculate_directory

@ -0,0 +1 @@
{% calculate package='dev-lang/php:7.3' %}

17
merge/dev-lang/php/fpm-php7.3/fpm.d/www.conf

@ -0,0 +1,17 @@
{% calculate format='regex', multiline %}
<reg>^;?(user)\s*=.*</reg>
<text>\1 = nginx</text>
<reg>^;?(group)\s*=.*</reg>
<text>\1 = nginx</text>
<reg>^;?(listen)\s*=.*</reg>
<text>\1 = /run/php-fpm.socket</text>
<reg>^;?(listen\.owner)\s*=.*</reg>
<text>\1 = nginx</text>
<reg>^;?(listen\.group)\s*=.*</reg>
<text>\1 = nginx</text>
<reg>^;?(pm.max_children)\s*=.*</reg>
<text>\1 = 20</text>
<reg>^;env</reg>
<text>env</text>
<reg>^(env\[PATH\])\s*=.*</reg>
<text>\1 = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin</text>

9
merge/dev-lang/php/fpm-php7.3/php.ini

@ -0,0 +1,9 @@
{% calculate format='regex' %}
<reg>;?(cgi.fix_pathinfo)\s*=.*</reg>
<text>\1=0</text>
<reg>;?(date\.timezone)\s*=.*</reg>
<text>\1="Europe/Moscow"</text>
<reg>;?(opcache\.enable_cli)\s*=.*</reg>
<text>\1=1</text>
<reg>;?(opcache\.revalidate_freq)\s*=.*</reg>
<text>\1=1</text>

1
merge/dev-lang/php/fpm-php7.4/.calculate_directory

@ -0,0 +1 @@
{% calculate package='dev-lang/php:7.4' %}

17
merge/dev-lang/php/fpm-php7.4/fpm.d/www.conf

@ -0,0 +1,17 @@
{% calculate format='regex', multiline %}
<reg>^;?(user)\s*=.*</reg>
<text>\1 = nginx</text>
<reg>^;?(group)\s*=.*</reg>
<text>\1 = nginx</text>
<reg>^;?(listen)\s*=.*</reg>
<text>\1 = /run/php-fpm.socket</text>
<reg>^;?(listen\.owner)\s*=.*</reg>
<text>\1 = nginx</text>
<reg>^;?(listen\.group)\s*=.*</reg>
<text>\1 = nginx</text>
<reg>^;?(pm.max_children)\s*=.*</reg>
<text>\1 = 20</text>
<reg>^;env</reg>
<text>env</text>
<reg>^(env\[PATH\])\s*=.*</reg>
<text>\1 = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin</text>

9
merge/dev-lang/php/fpm-php7.4/php.ini

@ -0,0 +1,9 @@
{% calculate format='regex' %}
<reg>;?(cgi.fix_pathinfo)\s*=.*</reg>
<text>\1=0</text>
<reg>;?(date\.timezone)\s*=.*</reg>
<text>\1="Europe/Moscow"</text>
<reg>;?(opcache\.enable_cli)\s*=.*</reg>
<text>\1=1</text>
<reg>;?(opcache\.revalidate_freq)\s*=.*</reg>
<text>\1=1</text>
Loading…
Cancel
Save