From ba5301815ed3dec8079e5e21c1d8353d683d39a4 Mon Sep 17 00:00:00 2001 From: Andrzej Augustynowicz Date: Sun, 30 May 2004 22:21:16 +0000 Subject: [PATCH] - update post,preun; fix certsdir perm; rel.1 Changed files: courier.spec -> 1.88 --- courier.spec | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/courier.spec b/courier.spec index 59ff01b..3b0d1f2 100644 --- a/courier.spec +++ b/courier.spec @@ -6,7 +6,7 @@ Summary: Courier mail server Summary(pl): Serwer poczty Courier Name: courier Version: 0.45.5 -Release: 0.7 +Release: 1 License: GPL Group: Networking/Daemons Source0: http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2 @@ -591,10 +591,20 @@ if [ -e %{_localstatedir}/tmp/imapd.pid ]; then %{_sbindir}/imapd stop %{_sbindir}/imapd start fi +else +echo +echo Type "%{_sbindir}/imapd start" to start imapd server +echo +fi if [ -e %{_localstatedir}/tmp/imapd-ssl.pid ]; then %{_sbindir}/imapd-ssl stop %{_sbindir}/imapd-ssl start fi +else +echo +echo Type "%{_sbindir}/imapd-ssl start" to start imapd-ssl server +echo +fi %preun imapd if [ "$1" = "0" ]; then @@ -611,10 +621,20 @@ if [ -e %{_localstatedir}/tmp/pop3d.pid ]; then %{_sbindir}/pop3d stop %{_sbindir}/pop3d start fi +else +echo +echo Type "%{_sbindir}/pop3d start" to start pop3d server +echo +fi if [ -e %{_localstatedir}/tmp/pop3d-ssl.pid ]; then %{_sbindir}/pop3d-ssl stop %{_sbindir}/pop3d-ssl start fi +else +echo +echo Type "%{_sbindir}/pop3d-ssl start" to start pop3d-ssl server +echo +fi %preun pop3d if [ "$1" = "0" ]; then @@ -784,7 +804,7 @@ fi %{_mandir}/man8/pw2userdb.8* %{_mandir}/man8/vchkpw2userdb.8* %dir %{_sysconfdir} -%attr(750,root,root) %dir %{_certsdir} +%attr(750,daemon,root) %dir %{_certsdir} %attr(755,daemon,daemon) %dir %{_sysconfdir}/hosteddomains %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/me %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ldapaddressbook -- 2.44.0