We move dovecot libexec binaries and modules (including the package
pigeonhole) to their standard locations. This is okay for libexec
because it was added to core prior to 17.04 release. Moving the
binaries normally in libexec eliminates the reason the modules were in an
unusual directory, which is that there were conflicts with
libexec binaries that were in lib, which the modules normally use.
Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
When trying to use managesieve my MUA complained sieve wasn't supported.
On investigation dovecot logs the following could be seen:
Aug 16 00:28:44 managesieve-login: Fatal: master:
service(managesieve-login): child 1430 returned error 127
Aug 16 00:31:32 managesieve-login: Error: Error loading shared
library libdovecot-login.so.0: No such file or directory
(needed by /usr/lib/dovecot/managesieve-login)
Aug 16 00:31:32 managesieve-login: Error: Error loading
shared library libdovecot.so.0: No such file or directory
(needed by /usr/lib/dovecot/managesieve-login)
Aug 16 00:31:32 managesieve-login: Error: Error relocating
/usr/lib/dovecot/managesieve-login: net_ip2addr: symbol not found
The issue (verified with readelf on non-working build and build with my fix)
is that there is no RPATH information in the pigeonhole binaries (like
managesieve-login).
The dovecot-config that is 'installed' in the staging dir
assumes that plugins will be built on the same host as the installed files.
The 'installed' dovecot-config (partial) looks like:
LIBDOVECOT='-L/usr/lib/dovecot -ldovecot'
LIBDOVECOT_LOGIN='-ldovecot-login -L/home/user/Build/openwrt/openwrt-ath79/staging_dir/target-mips_24kc_musl/usr/lib -lssl -lcrypto'
LIBDOVECOT_SQL=-ldovecot-sql
LIBDOVECOT_COMPRESS=-ldovecot-compression
LIBDOVECOT_LDA=-ldovecot-lda
LIBDOVECOT_STORAGE='-ldovecot-storage '
LIBDOVECOT_DSYNC=-ldovecot-dsync
LIBDOVECOT_LIBFTS=-ldovecot-fts
The solution I used was to modify dovecot-config to add the rpath to
DOVECOT_BINARY_LDFLAGS, and to replace references to host directories
with staging_dir directories.
This results in RPATH being added as it needs to be, and results in a working
version of dovecot+pigeonhole.
NB: I've also touched package version of pigeonhole as this change in dovecot
results in (needed) binary changes for pigeonhole.
Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
Added PKG_BUILD_PARALLEL to speed up compilation times.
Added PKG_CPE_ID for proper CVE tracking.
A few other cosmetic changes.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Added PKG_CPE_ID for proper CVE tracking.
Fixed URLs. Changed to HTTPS as well.
Removed autoreconf as there is no patching being done.
PKG_BUILD_PARALLEL was enabled for faster building.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Taken from Fedora. Reordered them so as to apply properly.
Added a CPE ID.
Added parallel build for faster compilation.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Update dbus to 1.12.10
Remove Steven Barth as maintainer since he hasn't replied to numerous of
reviews requests for several packages within months.
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Switched to regular tarballs. Makes updating easier and avoids having to
autoreconf. Simplifies Makefile slightly.
Updated project URL. Some Makefile reorganization was done for consistency
with other packages.
Added parallel build for faster building.
Signed-off-by: Rosen Penev <rosenp@gmail.com>