Community maintained packages for difos.
Find a file
Daniel F. Dickinson f0fb968346 dovecot: Fix managesieve-login needs libdovecot-login
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>
2018-08-19 14:35:23 -04:00
.github github: adapt templates 2018-01-27 11:24:43 +08:00
.keys build: move gpg keys into .keys directory 2018-04-30 13:14:25 -07:00
admin Merge pull request #6803 from neheb/monit 2018-08-19 10:55:06 -04:00
devel Merge pull request #6256 from neheb/patch-17 2018-07-10 22:58:21 +03:00
fonts/dejavu-fonts-ttf [dejavu-fonts] add license info and myself as maintainer 2017-02-22 18:39:54 +01:00
ipv6/tayga treewide: run "make check FIXUP=1" 2017-08-29 21:41:14 -07:00
kernel exfat-nofuse: set Yousong Zhou as the current maintainer 2018-01-25 09:36:20 +08:00
lang php7-pecl-http: update to 3.2.0 2018-08-17 23:18:57 +02:00
libs Merge pull request #6780 from neheb/tiff 2018-08-19 19:10:32 +02:00
mail dovecot: Fix managesieve-login needs libdovecot-login 2018-08-19 14:35:23 -04:00
multimedia ffmpeg: Add build overrides for some specific CPUs: Octeon, X86 and 24kf. 2018-08-15 09:01:39 -04:00
net Merge pull request #6673 from neheb/patch-21 2018-08-17 16:37:30 +02:00
sound shairport-sync: Install /etc/config as 600 2018-08-16 21:02:38 -07:00
utils Merge pull request #6539 from neheb/patch-4 2018-08-19 20:15:39 +03:00
.travis.yml travis: don't need git cloning progress 2018-07-03 10:31:44 +08:00
.travis_do.sh travis: fail on bad hash message 2018-07-17 20:35:00 +08:00
CONTRIBUTING.md treewide: use name in define and eval lines 2017-03-08 21:15:20 +01:00
LICENSE Add GPLv2 pro-forma license 2014-06-16 08:14:04 +02:00
README.md Fixed broken link in README.md 2015-07-10 13:51:22 -05:00

OpenWrt packages feed

Description

This is the OpenWrt "packages"-feed containing community-maintained build scripts, options and patches for applications, modules and libraries used within OpenWrt.

Installation of pre-built packages is handled directly by the opkg utility within your running OpenWrt system or by using the OpenWrt SDK on a build system.

Usage

This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot Installation on the OpenWrt support site.

This feed is enabled by default. To install all its package definitions, run:

./scripts/feeds update packages
./scripts/feeds install -a -p packages

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.