[Dovecot] libexecdir and localstatedir problem

Timo Sirainen tss at iki.fi
Sat Apr 23 17:11:27 EEST 2005


On 22.4.2005, at 19:17, Marten Lehmann wrote:

> I'd really like to define the finale libexecdir and localstatedir 
> through the configure-script. But the Makefiles are rewriting them. 
> Not $libexecdir is used, but $pkglibexecdir. And $pkglibexecdir is 
> always defined as $libexecdir/dovecot. But I don't want this trailing 
> "/dovecot".
> Same with localstatedir. I want dovecot to use a certain path. But to 
> this path, a "run/dovecot" is appended. I surely could build some 
> patchfiles to change the Makefiles. But it would be easier, if you 
> could add a new directive --pgklibexecdir to the configure-script.
> I don't know where the "run/dovecot" is defined, but it would also be 
> very fine to set it in the configure-script (specially when upgrading 
> to new releases) instead of defining them all in the dovecot.conf 
> (base_dir, login_dir).

I'll add --rundir (or is there something more standard?) which defaults 
to $localstatedir/run/dovecot. pkglibexecdir should be easy to override 
without patching makefiles:

make 'pkglibexecdir=$(libexecdir)'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20050423/6db7c4aa/attachment-0001.bin>


More information about the dovecot mailing list