aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/dovecot/APKBUILD2
-rw-r--r--main/dovecot/dovecot.post-upgrade9
2 files changed, 8 insertions, 3 deletions
diff --git a/main/dovecot/APKBUILD b/main/dovecot/APKBUILD
index 2738d254e3..4fa96a3c45 100644
--- a/main/dovecot/APKBUILD
+++ b/main/dovecot/APKBUILD
@@ -6,7 +6,7 @@
pkgname=dovecot
pkgver=2.3.5.1
_pkgvermajor=2.3
-pkgrel=0
+pkgrel=1
_pigeonholever=0.5.5
_pigeonholevermajor=${_pigeonholever%.*}
pkgdesc="IMAP and POP3 server"
diff --git a/main/dovecot/dovecot.post-upgrade b/main/dovecot/dovecot.post-upgrade
index 2bdd73d967..1410be35f4 100644
--- a/main/dovecot/dovecot.post-upgrade
+++ b/main/dovecot/dovecot.post-upgrade
@@ -9,8 +9,13 @@ if [ "$(apk version -t "$ver_old" "2.3.2.1-r1")" = "<" ]; then
* POP3, LMTP and Submission protocols were moved into subpackages:
* dovecot-pop3d, dovecot-lmtpd and dovecot-submissiond. If you use
* some of these protocols, you have to install particular subpackage.
- *
+ *
EOF
fi
-exit 0
+# warn Dovecot version mismatch
+if ! grep ^"version_ignore=yes" /etc/dovecot/dovecot.conf; then
+ printf "dovecot restart required (version_ignore=yes not set)\n"
+fi
+
+exit $?