Добавлены шаблоны net-fs/samba

master
parent a472a57ff5
commit a666e8e838

@ -32,3 +32,5 @@ desktop файл содержит то же самое значение
Пропущен gfxboot-themes-calculate, так как пока не поддерживается формат backgrounds Пропущен gfxboot-themes-calculate, так как пока не поддерживается формат backgrounds
Из шаблонов samba убран параметр protected (unbound), необходимо проверить новый механизм изменённых пользователем параметров

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

@ -0,0 +1 @@
{% calculate path='/etc', package='net-fs/samba' %}

@ -0,0 +1,3 @@
{% calculate format='openrc', path='/etc/conf.d', pkg('sys-apps/calculate-server') %}
daemon_list="smbd nmbd winbind"

@ -0,0 +1 @@
{% calculate format='raw', (not exists('/etc/samba/smb.conf')) %}

@ -0,0 +1,9 @@
{% calculate name='smb.conf', format='samba', pkg('kde-apps/kio-extras') or pkg('gnome-base/gvfs') %}
[global]
{% if not grep('/etc/samba/smb.conf', 'client max protocol') %}
client max protocol = NT1
{% endif %}
{% if not grep('/etc/samba/smb.conf', 'client min protocol') %}
client min protocol = NT1
{% endif %}
Loading…
Cancel
Save