On Tuesday 06 of October 2009, Pascal Volk wrote:
On 10/06/2009 05:32 PM Timo Sirainen wrote:
Where do you think the following binaries should be installed to? The possible locations are:
- bin/
- sbin/
- libexec/dovecot/ (or lib/dovecot/ in most Linux distros)
So the binaries are:
- These probably belong to bin/ or sbin/ or both:
- authtest
- dovecotpw
- doveadm
- Binaries that you might want to call from mail_executable setting:
- rawlog
- gdbhelper
- Index file dumping programs, mostly meant for debugging problems:
- idxview
- listview
- logview
- mailboxlogview
- threadview
- Some extra tools that might be useful sometimes:
- imap-utf7 : Encode/decode IMAP mailbox names (mUTF-7 <-> UTF-8)
- maildirlock : Lock a Maildir, primarily intended for compressing files in maildir
And perhaps some of the binaries should be renamed? The authtest actually now looks like a bad name. Maybe it should have been "doveauthtest" or "dovecot-authtest" or ..?
under $PREFIX/bin: authtest (or doveauthtest) dovecotpw imap-utf7 maildirlock
Nooo, these are too generic names to be in bin (also not $PREFIX/bin but @bindir@ as in autoconf convention).
Everything that's not meant to be run by hand should be in @libdir@/dovecot (or @libexecdir@/dovecot).
Proposition of "doveadm subcommand" was much nicer than splitting into tons of bin/sbin utils.
doveadm subcommand can actually simply call @libdir@/dovecot/subcommand if someone want's separate binaries instead of single one.
Regards, Pascal
-- Arkadiusz MiĆkiewicz PLD/Linux Team arekm / maven.pl http://ftp.pld-linux.org/