packages: dovecot/dovecot.spec - rel 6 - dovecot needs restart after pam up...
baggins
baggins at pld-linux.org
Thu Nov 4 11:01:24 CET 2010
Author: baggins Date: Thu Nov 4 10:01:24 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- rel 6
- dovecot needs restart after pam upgrade
---- Files affected:
packages/dovecot:
dovecot.spec (1.173 -> 1.174)
---- Diffs:
================================================================
Index: packages/dovecot/dovecot.spec
diff -u packages/dovecot/dovecot.spec:1.173 packages/dovecot/dovecot.spec:1.174
--- packages/dovecot/dovecot.spec:1.173 Mon Nov 1 12:59:59 2010
+++ packages/dovecot/dovecot.spec Thu Nov 4 11:01:15 2010
@@ -12,7 +12,7 @@
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
@@ -227,6 +227,13 @@
%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"
@@ -341,6 +348,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.174 2010/11/04 10:01:15 baggins
+- rel 6
+- dovecot needs restart after pam upgrade
+
Revision 1.173 2010/11/01 11:59:59 pawelz
- restart on upgrade. reload is not enough. thx janekr.
- rel 5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dovecot/dovecot.spec?r1=1.173&r2=1.174&f=u
More information about the pld-cvs-commit
mailing list