Hello, 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). Regards Marten
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>
> I'll add --rundir (or is there something more standard?) which defaults > to $localstatedir/run/dovecot.Thanks!> pkglibexecdir should be easy to override > without patching makefiles: > > make 'pkglibexecdir=$(libexecdir)'Good idea! I should have find this out on my own this as I'm defining DESTDIR exactly this way.
> I'll add --rundir (or is there something more standard?) which defaults > to $localstatedir/run/dovecot.Will you add it in dovecot-1.0-stable? I'm just waiting impatiently for a new 1.0-release including --rundir.
Hello, > pkglibexecdir should be easy to override> without patching makefiles: > > make 'pkglibexecdir=$(libexecdir)'unfortunately, this didn't help. While DESTDIR is undefined and may be defined externally be setting env-variables, pkglibexecdir is defined within the makefiles. So even if I'm trying to change it externally, these values get overwritten by the later processed Makefile-definition. But it's more a cosmetic issue than a real problem. I'd simply rather have the binaries in PREFIX/bin than in PREFIX/libexec/dovecot. Regards Marten
Seemingly Similar Threads
- Install fails when libdir and libexecdir are the same directory
- libexecdir changed again?
- [WIP][PATCH] 'fix' smbspool_krb5_wrapper, libexecdir and ctdb helper binary locations for 4.4
- [WIP][PATCH] 'fix' smbspool_krb5_wrapper, libexecdir and ctdb helper binary locations for 4.4
- feature request: login in process title