[Dovecot] Re: mkcert.sh broken

Marcus Rueckert rueckert at informatik.uni-rostock.de
Thu Jun 8 14:37:32 EEST 2006


On 2006-06-07 22:50:55 -0700, Erick Calder wrote:
> OPENSSL=${OPENSSL-openssl}
> 
> # test for presence of RPM
> rpm --help > /dev/null 2>&1
> [[ $? = 0 ]] && {
>     OPENSSLCONFIG=$(rpm -ql dovecot |grep cnf)
>     SSLDIR=${OPENSSLCONFIG%/*}
>     }

that would badly fail on all other systems, which are supported by
dovecot but that dont ship with rpm.

if some of your parse dont match the assumptions you can easily
overwrite them with 

SSLDIR=/usr/share/ssl/etc ./mkcert.sh

you could file a bug report at redhat to fix the defaults inside the
script. so they match the distro a bit better

darix

-- 
           openSUSE - SUSE Linux is my linux
               openSUSE is good for you
                   www.opensuse.org


More information about the dovecot mailing list