]> git.pld-linux.org Git - packages/dovecot.git/commitdiff
- rel 6 auto/th/dovecot-2_0_6-6
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 4 Nov 2010 10:01:15 +0000 (10:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- dovecot needs restart after pam upgrade

Changed files:
    dovecot.spec -> 1.174

dovecot.spec

index 5dd7449eff406fa1202b96bf6568b69382cb6deb..8c7ebd3b958eea30802059f833b9ea17669b162f 100644 (file)
@@ -11,7 +11,7 @@ Summary:      IMAP and POP3 server written with security primarily in mind
 Summary(pl.UTF-8):     Serwer IMAP i POP3 pisany głównie z myślą o bezpieczeństwie
 Name:          dovecot
 Version:       2.0.6
-Release:       5
+Release:       6
 Epoch:         1
 License:       MIT (libraries), LGPL v2.1 (the rest)
 Group:         Networking/Daemons
@@ -226,6 +226,13 @@ fi
 %post  libs -p /sbin/ldconfig
 %postun        libs -p /sbin/ldconfig
 
+%triggerin -- pam
+# restart devocot if pam is upgraded
+# (dovecot is linked with old libpam but tries to open modules linked with new libpam)
+if [ "$2" != 1 ]; then
+       %service -q dovecot restart
+fi
+
 %triggerpostun -- dovecot < 1:2.0.0
 # upgrading dovecot < 1.1
 echo "Configuration change default_mail_env -> mail_location"
This page took 1.396388 seconds and 4 git commands to generate.