Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
105
Merge Requests
105
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
11588661
Commit
11588661
authored
Feb 10, 2023
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP
parent
d6357ff8
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
19 deletions
+30
-19
component/dovecot/buildout.cfg
component/dovecot/buildout.cfg
+12
-0
software/dovecot/buildout.hash.cfg
software/dovecot/buildout.hash.cfg
+4
-4
software/dovecot/instance-default.cfg.in
software/dovecot/instance-default.cfg.in
+0
-1
software/dovecot/instance.cfg.in
software/dovecot/instance.cfg.in
+11
-1
software/dovecot/software.cfg
software/dovecot/software.cfg
+3
-13
No files found.
component/dovecot/buildout.cfg
0 → 100644
View file @
11588661
# Dovecot
# https://doc.dovecot.org/
[dovecot]
recipe = slapos.recipe.cmmi
url = https://dovecot.org/releases/2.3/dovecot-2.3.20.tar.gz
location = @@LOCATION@@
configure-command = ./configure
configure-options =
--prefix=${:location}
make-targets = install
post-install = cp -r ${:location}/share/doc/dovecot/example-config/* ${:location}/etc/dovecot/
software/dovecot/buildout.hash.cfg
View file @
11588661
...
...
@@ -15,11 +15,11 @@
[template]
filename = instance.cfg.in
md5sum =
35079cbfed884eadcef732ad0842bd46
md5sum =
86824391101f5e2131c4c06d2e7ba7f2
[template-d
oveco
t]
filename = instance-d
oveco
t.cfg.in
md5sum =
76e0f278e232b0e98b22d12244779b35
[template-d
efaul
t]
filename = instance-d
efaul
t.cfg.in
md5sum =
47f942d4bf70ef430f455498963b58a7
[template-postfix]
filename = instance-postfix.cfg.jinja2.in
...
...
software/dovecot/instance-d
oveco
t.cfg.in
→
software/dovecot/instance-d
efaul
t.cfg.in
View file @
11588661
...
...
@@ -23,4 +23,3 @@ partition = $${slap-connection:partition-id}
url = $${slap-connection:server-url}
key = $${slap-connection:key-file}
cert = $${slap-connection:cert-file}
software/dovecot/instance.cfg.in
View file @
11588661
...
...
@@ -35,6 +35,16 @@ context =
raw template_monitor ${monitor2-template:output}
raw template_dovecot ${template-dovecot:output}
[dynamic-template-default]
recipe = slapos.recipe.template:jinja2
url = ${template-default:output}
filename = instance-default.cfg
output = $${buildout:directory}/$${:filename}
extensions = jinja2.ext.do
context =
key slapparameter_dict slap-configuration:configuration
raw template_monitor ${monitor2-template:output}
[slap-configuration]
recipe = slapos.cookbook:slapconfiguration.serialised
computer = $${slap-connection:computer-id}
...
...
@@ -45,5 +55,5 @@ cert = $${slap-connection:cert-file}
[switch-softwaretype]
recipe = slapos.cookbook:switch-softwaretype
default = dynamic-template-
postfix
:output
default = dynamic-template-
default
:output
RootSoftwareInstance = $${:default}
software/dovecot/software.cfg
View file @
11588661
...
...
@@ -2,6 +2,7 @@
extends =
../../component/xz-utils/buildout.cfg
../../component/postfix/buildout.cfg
../../component/dovecot/buildout.cfg
../../stack/monitor/buildout.cfg
../../stack/slapos.cfg
buildout.hash.cfg
...
...
@@ -11,17 +12,6 @@ parts =
template
dovecot
[dovecot]
recipe = slapos.recipe.cmmi
url = https://dovecot.org/releases/2.3/dovecot-2.3.20.tar.gz
location = @@LOCATION@@
configure-command = ./configure
configure-options =
--prefix=${:location}
make-targets = install
post-install = cp -r ${:location}/share/doc/dovecot/example-config/* ${:location}/etc/dovecot/
[template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
...
...
@@ -32,10 +22,10 @@ recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:directory}/instance-postfix.cfg.jinja2
[template-d
oveco
t]
[template-d
efaul
t]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:directory}/instance-d
oveco
t.cfg
output = ${buildout:directory}/instance-d
efaul
t.cfg
[download-base]
recipe = slapos.recipe.build:download
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment