Subject: [alpine-aports] [PATCH] main/dovecot: Fix name for protocol files

From: Marco Dickert <[email-masked]>
Date: Fri, 1 Mar 2019 11:59:20 +0100

In dovecots default config file, there is an optional include:
```
!include_try /usr/share/dovecot/protocols.d/*.protocol
```
The protocol subpackages create *.conf files in this directory, which
is the wrong extension.

Signed-off-by: Marco Dickert <[email-masked]>
---
 main/dovecot/APKBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/dovecot/APKBUILD b/main/dovecot/APKBUILD
index cc2a65eefe..a08bf68172 100644
--- a/main/dovecot/APKBUILD
+++ b/main/dovecot/APKBUILD
@@ -197,7 +197,7 @@ _protocol() {
 
 	mkdir -p "$protocolsd"
 	echo "protocols = \$protocols $name" \
-		> "$protocolsd"/${subpkgname#$pkgname-}.conf
+		> "$protocolsd"/${subpkgname#$pkgname-}.procotol
 }
 
 _sieve() {
-- 
2.21.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---

---

From: Marco Dickert <[email-masked]>
Date: Fri, 1 Mar 2019 13:31:49 +0100

Nevermind, apparently this changed in the latest dovecot version. I upgraded
from alpine 3.8 to 3.9, which hadn't upgraded my dovecot.conf. Sorry for the
inconvenience.

-- 
Marco Dickert
[email-masked]
https://misterunknown.de