packages: heimdal/heimdal.spec - post/preun cleanups
baggins
baggins at pld-linux.org
Wed Jul 8 13:21:22 CEST 2009
Author: baggins Date: Wed Jul 8 11:21:22 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- post/preun cleanups
---- Files affected:
packages/heimdal:
heimdal.spec (1.168 -> 1.169)
---- Diffs:
================================================================
Index: packages/heimdal/heimdal.spec
diff -u packages/heimdal/heimdal.spec:1.168 packages/heimdal/heimdal.spec:1.169
--- packages/heimdal/heimdal.spec:1.168 Wed Jul 8 13:10:28 2009
+++ packages/heimdal/heimdal.spec Wed Jul 8 13:21:17 2009
@@ -412,22 +412,37 @@
%post server
/sbin/chkconfig --add heimdal
-%service heimdal restart "heimdal daemon"
-
+%service heimdal restart "heimdal KDC daemon"
/sbin/chkconfig --add kpasswdd
%service kpasswdd restart "heimdal password changing daemon"
-
+/sbin/chkconfig --add ipropd
+%service ipropd restart "heimdal propagation daemons"
%service -q rc-inetd reload
%preun server
if [ "$1" = "0" ]; then
+ %service ipropd stop
+ /sbin/chkconfig --del ipropd
+ %service kpasswdd stop
+ /sbin/chkconfig --del kpasswdd
%service heimdal stop
/sbin/chkconfig --del heimdal
+ %service -q rc-inetd reload
+fi
- %service kpasswdd stop
- /sbin/chkconfig --del kpasswdd
+%post kcm
+/sbin/chkconfig --add kcm
+if [ -f /var/lock/subsys/kcm ]; then
+ echo "Run \"/sbin/service kcm restart\" to restart kcm." >&2
+ echo "WARNING: it will clear all credentials and tickets kept in kcm!" >&2
+else
+ echo "Run \"/sbin/service kcm start\" to start kcm." >&2
+fi
- %service -q rc-inetd reload
+%preun kcm
+if [ "$1" = "0" ]; then
+ %service kcm stop
+ /sbin/chkconfig --del kcm
fi
%post ftpd
@@ -736,6 +751,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.169 2009/07/08 11:21:17 baggins
+- post/preun cleanups
+
Revision 1.168 2009/07/08 11:10:28 baggins
- don't package /etc
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/heimdal/heimdal.spec?r1=1.168&r2=1.169&f=u
More information about the pld-cvs-commit
mailing list