Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F56333736
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/roles/mailserver/dovecot/software.sls b/roles/mailserver/dovecot/software.sls
index 2721f5c..92187fc 100644
--- a/roles/mailserver/dovecot/software.sls
+++ b/roles/mailserver/dovecot/software.sls
@@ -1,9 +1,44 @@
# -------------------------------------------------------------
# Salt — Provision Dovecot
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
+{% if grains['os'] == 'FreeBSD' %}
+
+# -------------------------------------------------------------
+# Port options
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+/var/db/ports/mail_dovecot/options:
+ file.managed:
+ - source: salt://roles/devserver/userland-software/files/port_options
+ - template: jinja
+ - mode: 644
+ - context:
+ args:
+ category: mail
+ name: mail_dovecot
+ options:
+ set:
+ - PGSQL
+
+# -------------------------------------------------------------
+# Build and install package
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+dovecot_build_port:
+ cmd.run:
+ - name: |
+ make build package deinstall reinstall
+ pkg lock --yes mail_dovecot
+ - cwd: /usr/ports/databases/mail_dovecot
+ - creates: /usr/local/etc/dovecot
+
+{% else %}
+
dovecot:
pkg.installed
+
+{% endif %}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Nov 7, 03:41 (1 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4251512
Default Alt Text
(1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment