FS#35464 - [pigeonhole] extprograms module compiled incorrectly

Attached to Project: Arch Linux
Opened by Etienne Perot (EtiennePerot) - Friday, 24 May 2013, 21:54 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 25 May 2013, 09:05 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Pigeonhole 0.4 includes the extprograms plugin by default[0] rather than having to compile it separately. However, the plugin (lib90_sieve_extprograms_plugin.so) is getting compiled but at the wrong place (the file list[1] shows it being saved at /usr/lib/dovecot/sieve/lib90_sieve_extprograms_plugin.so). If you try to use it in a Sieve script, the following error shows up in the log:

managesieve: Fatal: opendir(/usr/lib/dovecot/modules/sieve) failed: No such file or directory

Adding --with-moduledir=/usr/lib/dovecot/modules to the ./configure line fixes the problem by putting the compiled plugin at /usr/lib/dovecot/modules/sieve/lib90_sieve_extprograms_plugin.so.

Steps to reproduce:
- Install pigeonhole-0.4.0-2
- Attempt to upload a Sieve script containing 'require ["vnd.dovecot.filter"];' using ManageSieve
- Witness failure

Attached is a fixed PKGBUILD.

[0]: http://www.dovecot.org/list/dovecot/2013-April/089498.html
[1]: https://www.archlinux.org/packages/extra/i686/pigeonhole/files/
   PKGBUILD (1.3 KiB)
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Saturday, 25 May 2013, 09:05 GMT
Reason for closing:  Fixed

Loading...