packages: proftpd/proftpd.spec - proftpd standalone daemon needs restart af...

baggins baggins at pld-linux.org
Thu Nov 4 10:55:48 CET 2010


Author: baggins                      Date: Thu Nov  4 09:55:48 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- proftpd standalone daemon needs restart after pam upgrade

---- Files affected:
packages/proftpd:
   proftpd.spec (1.276 -> 1.277) 

---- Diffs:

================================================================
Index: packages/proftpd/proftpd.spec
diff -u packages/proftpd/proftpd.spec:1.276 packages/proftpd/proftpd.spec:1.277
--- packages/proftpd/proftpd.spec:1.276	Thu Nov  4 09:11:32 2010
+++ packages/proftpd/proftpd.spec	Thu Nov  4 10:55:43 2010
@@ -596,6 +596,13 @@
 	/sbin/chkconfig --del proftpd
 fi
 
+%triggerin standalone -- pam
+# restart proftpd if pam is upgraded
+# (proftpd is linked with old libpam but tries to open modules linked with new libpam)
+if [ "$2" != 1 ]; then
+	%service -q proftpd restart
+fi
+
 # macro called at module post scriptlet
 %define	module_post \
 if [ "$1" = "1" ]; then \
@@ -793,6 +800,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.277  2010/11/04 09:55:43  baggins
+- proftpd standalone daemon needs restart after pam upgrade
+
 Revision 1.276  2010/11/04 08:11:32  qwiat
 - updated to 1.3.3c (security fix: ZDI-CAN-925)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/proftpd/proftpd.spec?r1=1.276&r2=1.277&f=u



More information about the pld-cvs-commit mailing list