- update URL in description
- call dovecot --build-ssl-parameters in postinst as per #179430
This commit is contained in:
parent
0259e2e090
commit
43cfb74a3f
13
dovecot.spec
13
dovecot.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: Dovecot Secure imap server
|
Summary: Dovecot Secure imap server
|
||||||
Name: dovecot
|
Name: dovecot
|
||||||
Version: 1.0
|
Version: 1.0
|
||||||
Release: 0.beta2.1
|
Release: 0.beta2.2
|
||||||
License: LGPL
|
License: LGPL
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ Patch104: dovecot-1.0.beta2-pam-setcred.patch
|
|||||||
#Patch105: dovecot-auth-log.patch
|
#Patch105: dovecot-auth-log.patch
|
||||||
|
|
||||||
# Patches 500+ from upstream fixes
|
# Patches 500+ from upstream fixes
|
||||||
URL: http://dovecot.procontrol.fi/
|
URL: http://www.dovecot.org/
|
||||||
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: openldap-devel
|
BuildRequires: openldap-devel
|
||||||
@ -159,6 +159,11 @@ fi
|
|||||||
if [ ! -f %{ssldir}/certs/%{name}.pem ]; then
|
if [ ! -f %{ssldir}/certs/%{name}.pem ]; then
|
||||||
%{docdir}/examples/mkcert.sh &> /dev/null
|
%{docdir}/examples/mkcert.sh &> /dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! test -f /var/run/dovecot/login/ssl-parameters.dat; then
|
||||||
|
dovecot --build-ssl-parameters
|
||||||
|
fi
|
||||||
|
|
||||||
# Restart if it had been running before installation
|
# Restart if it had been running before installation
|
||||||
if [ -e %{restart_flag} ]; then
|
if [ -e %{restart_flag} ]; then
|
||||||
rm %{restart_flag}
|
rm %{restart_flag}
|
||||||
@ -200,6 +205,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 31 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.beta2.2
|
||||||
|
- update URL in description
|
||||||
|
- call dovecot --build-ssl-parameters in postinst as per #179430
|
||||||
|
|
||||||
* Mon Jan 30 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.beta2.1
|
* Mon Jan 30 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.beta2.1
|
||||||
- fix spec to work with BUILD_DIR != SOURCE_DIR
|
- fix spec to work with BUILD_DIR != SOURCE_DIR
|
||||||
- forward-port and split pam-nocred patch
|
- forward-port and split pam-nocred patch
|
||||||
|
Loading…
Reference in New Issue
Block a user