Accepting request 779407 from home:dimstar:Factory

- Update dovecot-2.3.0-dont_use_etc_ssl_certs.patch: since we
  change CERTDIR to /etc/ssl/private, it is rather evil to then err
  out claiming /etc/ssl/certs would not exist. The error message
  should mention the directory it tested for.

OBS-URL: https://build.opensuse.org/request/show/779407
OBS-URL: https://build.opensuse.org/package/show/server:mail/dovecot23?expand=0&rev=65
This commit is contained in:
2020-02-26 13:41:24 +00:00
committed by Git OBS Bridge
parent 5ab2c237ea
commit 8b548c1efa
3 changed files with 34 additions and 21 deletions

View File

@@ -1,7 +1,7 @@
Index: dovecot-2.3.7.2/doc/example-config/conf.d/10-ssl.conf
Index: dovecot-2.3.9.3/doc/example-config/conf.d/10-ssl.conf
===================================================================
--- dovecot-2.3.7.2.orig/doc/example-config/conf.d/10-ssl.conf
+++ dovecot-2.3.7.2/doc/example-config/conf.d/10-ssl.conf
--- dovecot-2.3.9.3.orig/doc/example-config/conf.d/10-ssl.conf
+++ dovecot-2.3.9.3/doc/example-config/conf.d/10-ssl.conf
@@ -9,7 +9,7 @@
# dropping root privileges, so keep the key file unreadable by anyone but
# root. Included doc/mkcert.sh can be used to easily generate self-signed
@@ -11,10 +11,10 @@ Index: dovecot-2.3.7.2/doc/example-config/conf.d/10-ssl.conf
ssl_key = </etc/ssl/private/dovecot.pem
# If key file is password protected, give the password here. Alternatively
Index: dovecot-2.3.7.2/doc/man/doveconf.1.in
Index: dovecot-2.3.9.3/doc/man/doveconf.1.in
===================================================================
--- dovecot-2.3.7.2.orig/doc/man/doveconf.1.in
+++ dovecot-2.3.7.2/doc/man/doveconf.1.in
--- dovecot-2.3.9.3.orig/doc/man/doveconf.1.in
+++ dovecot-2.3.9.3/doc/man/doveconf.1.in
@@ -132,7 +132,7 @@ Show passwords and other sensitive value
.TP
.B \-x
@@ -31,11 +31,11 @@ Index: dovecot-2.3.7.2/doc/man/doveconf.1.in
-.BR dsync (1)
\ No newline at end of file
+.BR dsync (1)
Index: dovecot-2.3.7.2/doc/mkcert.sh
Index: dovecot-2.3.9.3/doc/mkcert.sh
===================================================================
--- dovecot-2.3.7.2.orig/doc/mkcert.sh
+++ dovecot-2.3.7.2/doc/mkcert.sh
@@ -8,10 +8,10 @@ OPENSSL=${OPENSSL-openssl}
--- dovecot-2.3.9.3.orig/doc/mkcert.sh
+++ dovecot-2.3.9.3/doc/mkcert.sh
@@ -8,14 +8,14 @@ OPENSSL=${OPENSSL-openssl}
SSLDIR=${SSLDIR-/etc/ssl}
OPENSSLCONFIG=${OPENSSLCONFIG-dovecot-openssl.cnf}
@@ -48,10 +48,15 @@ Index: dovecot-2.3.7.2/doc/mkcert.sh
KEYFILE=$KEYDIR/dovecot.pem
if [ ! -d $CERTDIR ]; then
Index: dovecot-2.3.7.2/doc/wiki/CompilingSource.txt
- echo "$SSLDIR/certs directory doesn't exist"
+ echo "$CERTDIR directory doesn't exist"
exit 1
fi
Index: dovecot-2.3.9.3/doc/wiki/CompilingSource.txt
===================================================================
--- dovecot-2.3.7.2.orig/doc/wiki/CompilingSource.txt
+++ dovecot-2.3.7.2/doc/wiki/CompilingSource.txt
--- dovecot-2.3.9.3.orig/doc/wiki/CompilingSource.txt
+++ dovecot-2.3.9.3/doc/wiki/CompilingSource.txt
@@ -142,7 +142,7 @@ non-standard path. Make sure you have th
installed, and if it is not in the standard location, set 'CPPFLAGS' and
'LDFLAGS' as shown in <the first section above.> [CompilingSource.txt]
@@ -61,10 +66,10 @@ Index: dovecot-2.3.7.2/doc/wiki/CompilingSource.txt
the private key from '/etc/ssl/private/dovecot.pem'. The '/etc/ssl' directory
can be changed using the '--with-ssldir=DIR' configure option. Both can of
course be overridden from the configuration file.
Index: dovecot-2.3.7.2/doc/wiki/SSL.CertificateCreation.txt
Index: dovecot-2.3.9.3/doc/wiki/SSL.CertificateCreation.txt
===================================================================
--- dovecot-2.3.7.2.orig/doc/wiki/SSL.CertificateCreation.txt
+++ dovecot-2.3.7.2/doc/wiki/SSL.CertificateCreation.txt
--- dovecot-2.3.9.3.orig/doc/wiki/SSL.CertificateCreation.txt
+++ dovecot-2.3.9.3/doc/wiki/SSL.CertificateCreation.txt
@@ -39,7 +39,7 @@ CN matches the connected host name, othe
invalid. It's also possible to use wildcards (eg. *.domain.com) in the host
name. They should work with most clients.
@@ -74,10 +79,10 @@ Index: dovecot-2.3.7.2/doc/wiki/SSL.CertificateCreation.txt
private key file is created to '/etc/ssl/private/dovecot.pem'. Also by default
the certificate will expire in 365 days. If you wish to change any of these,
modify the mkcert.sh script.
Index: dovecot-2.3.7.2/doc/wiki/SSL.DovecotConfiguration.txt
Index: dovecot-2.3.9.3/doc/wiki/SSL.DovecotConfiguration.txt
===================================================================
--- dovecot-2.3.7.2.orig/doc/wiki/SSL.DovecotConfiguration.txt
+++ dovecot-2.3.7.2/doc/wiki/SSL.DovecotConfiguration.txt
--- dovecot-2.3.9.3.orig/doc/wiki/SSL.DovecotConfiguration.txt
+++ dovecot-2.3.9.3/doc/wiki/SSL.DovecotConfiguration.txt
@@ -41,7 +41,7 @@ The most important SSL settings are (in
---%<-------------------------------------------------------------------------
ssl = yes

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Feb 26 12:40:54 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- Update dovecot-2.3.0-dont_use_etc_ssl_certs.patch: since we
change CERTDIR to /etc/ssl/private, it is rather evil to then err
out claiming /etc/ssl/certs would not exist. The error message
should mention the directory it tested for.
-------------------------------------------------------------------
Wed Feb 12 12:24:46 UTC 2020 - Arjen de Korte <suse+build@de-korte.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package dovecot23
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -127,7 +127,7 @@ Recommends: %{name}-backend-sqlite = %{version}
%endif
Recommends: %{name}-fts = %{version}
Recommends: %{name}-fts-squat = %{version}
Url: http://www.dovecot.org
URL: http://www.dovecot.org
Source: http://www.dovecot.org/releases/%{dovecot_branch}/%{pkg_name}-%{dovecot_version}.tar.gz
Source1: http://pigeonhole.dovecot.org/releases/%{dovecot_branch}/%{dovecot_pigeonhole_source_dir}.tar.gz
Source2: dovecot-rpmlintrc