Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#7564 - Pkg 'dovecot' places files in /usr/libexec/ and has arguable 'conflicts'
Attached to Project:
Arch Linux
Opened by Benito (benito) - Thursday, 05 July 2007, 12:25 GMT
Last edited by Paul Mattal (paul) - Wednesday, 01 August 2007, 21:55 GMT
Opened by Benito (benito) - Thursday, 05 July 2007, 12:25 GMT
Last edited by Paul Mattal (paul) - Wednesday, 01 August 2007, 21:55 GMT
|
DetailsDescription:
#1 The package dovecot-1.0.1-1 from [extra] places some files into /usr/libexec/ which is (AFAIK) against the archlinux packaging policy. #2 The same package has 'imap-server pop3-server' listed as conflicts which I think is a bug because: a) there are no file or other real conflicts that would require this setting; b) it bars from installing other imap-servers/pop3-server e.g. to compare them directly (which is annoying). (The package bincimap, for example, doesn't 'conflict' with other imap-servers.) |
This task depends upon
Closed by Paul Mattal (paul)
Wednesday, 01 August 2007, 21:55 GMT
Reason for closing: Implemented
Additional comments about closing: #1: Considered and rejected moving out of /usr/libexec. This is the standard way dovecot installs, and it doesn't offer a clean way around it.
#2: Done.
Wednesday, 01 August 2007, 21:55 GMT
Reason for closing: Implemented
Additional comments about closing: #1: Considered and rejected moving out of /usr/libexec. This is the standard way dovecot installs, and it doesn't offer a clean way around it.
#2: Done.
I'm not really sure about to handle this though.
Avoid using /usr/libexec/ for anything. Use /usr/lib/${pkgname}/ instead.
The problem is that if you tell dovecot to use /usr/lib as its libexecdir, there are filename conflicts with directories (e.g. imap).
Doing something one-off for this then interferes with Arch's goal to be vanilla and to do things that would be predictable to users of dovecot in general.
So if anyone has better ideas, I'd like to hear them, but I don't see a compelling reason to change this.
#2 you are right, and I'm removing the restriction.
Concerning #1: I'd suggest to use /usr/lib/dovecot as dovecot's libexecdir. That would prevent filename conflicts, be conform with the packaging standard and also comprehensible to users (once they understood that there is no /usr/libexec at all in Arch Linux (at least on my system there wouldn't be -- without dovecot's files)). Also many other packages use /usr/lib/$pkgname/, too.
(But I know my suggestion ranks the packaging standard higher than the being-vanilla-claim which might be considered differently by the Arch development crowd.)
The point here is that libexecdir as a concept is an integral part of dovecot's installation strategy. This makes me just want to leave it in /usr/libexec/dovecot, unless Timo would consider changing his install strategy upstream.