fix bug #129539, dovecot starts too early

This commit is contained in:
John Dennis 2005-01-05 21:42:51 +00:00
parent 71d947cd2c
commit 9c72578133
2 changed files with 7 additions and 16 deletions

View File

@ -4,7 +4,7 @@
# #
# Starts the dovecot daemon # Starts the dovecot daemon
# #
# chkconfig: - 54 54 # chkconfig: - 65 35
# description: Dovecot Imap Server # description: Dovecot Imap Server
# processname: dovecot # processname: dovecot
# Source function library. # Source function library.

View File

@ -1,7 +1,7 @@
Summary: Dovecot Secure imap server Summary: Dovecot Secure imap server
Name: dovecot Name: dovecot
Version: 0.99.11 Version: 0.99.11
Release: 7.devel Release: 8.devel
License: LGPL License: LGPL
Group: System Environment/Daemons Group: System Environment/Daemons
Source: %{name}-%{version}.tar.gz Source: %{name}-%{version}.tar.gz
@ -98,20 +98,6 @@ done
# create a ssl cert # create a ssl cert
if [ ! -f %{ssldir}/certs/dovecot.pem ]; then if [ ! -f %{ssldir}/certs/dovecot.pem ]; then
%{docdir}/examples/mkcert.sh &> /dev/null %{docdir}/examples/mkcert.sh &> /dev/null
#pushd %{ssldir} &>/dev/null
#umask 077
#cat << EOF | openssl req -new -x509 -days 365 -nodes -out certs/dovecot.pem -keyout private/dovecot.pem &>/dev/null
#--
#SomeState
#SomeCity
#SomeOrganization
#SomeOrganizationalUnit
#localhost.localdomain
#root@localhost.localdomain
#EOF
#chown root:root private/dovecot.pem certs/dovecot.pem
#chmod 600 private/dovecot.pem certs/dovecot.pem
#popd &>/dev/null
fi fi
exit 0 exit 0
@ -145,6 +131,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Wed Jan 5 2005 John Dennis <jdennis@redhat.com> 0.99.11-8.devel
- fix bug #129539, dovecot starts too early,
set chkconfig to 65 35 to match cyrus-imapd
- also delete some old commented out code from SSL certificate creation
* Thu Dec 23 2004 John Dennis <jdennis@redhat.com> 0.99.11-7.devel * Thu Dec 23 2004 John Dennis <jdennis@redhat.com> 0.99.11-7.devel
- add UW to Dovecot migration documentation and scripts, bug #139954 - add UW to Dovecot migration documentation and scripts, bug #139954
fix SSL documentation and scripts, add missing documentation, bug #139276 fix SSL documentation and scripts, add missing documentation, bug #139276