dovecot-plugin-pigeonhole: add ldap support as a plugin

This commit is contained in:
John Regan 2016-02-20 17:42:30 -06:00
parent 6e7d296dd3
commit 2159d9bc92
2 changed files with 12 additions and 2 deletions

View file

@ -0,0 +1 @@
dovecot-plugin-pigeonhole

View file

@ -1,17 +1,19 @@
# Template file for 'dovecot-plugin-pigeonhole' # Template file for 'dovecot-plugin-pigeonhole'
pkgname=dovecot-plugin-pigeonhole pkgname=dovecot-plugin-pigeonhole
version=0.4.12 version=0.4.12
revision=1 revision=2
wrksrc="dovecot-2.2-pigeonhole-${version}" wrksrc="dovecot-2.2-pigeonhole-${version}"
build_style=gnu-configure build_style=gnu-configure
configure_args="--prefix=/usr configure_args="--prefix=/usr
--with-dovecot=${XBPS_CROSS_BASE}/usr/lib/dovecot --with-dovecot=${XBPS_CROSS_BASE}/usr/lib/dovecot
--with-moduledir=/usr/lib/dovecot/modules --with-moduledir=/usr/lib/dovecot/modules
--with-ldap=plugin
--disable-static" --disable-static"
# Hack around dovecot-config for cross building. # Hack around dovecot-config for cross building.
make_build_args="LIBDOVECOT_INCLUDE=-I${XBPS_CROSS_BASE}/usr/include/dovecot make_build_args="LIBDOVECOT_INCLUDE=-I${XBPS_CROSS_BASE}/usr/include/dovecot
LIBS=-L${XBPS_CROSS_BASE}/usr/lib/dovecot" LIBS=-L${XBPS_CROSS_BASE}/usr/lib/dovecot"
makedepends="dovecot-devel libressl-devel" hostmakedepends="libldap-devel"
makedepends="dovecot-devel libressl-devel libldap-devel"
short_desc="Sieve implementation for Dovecot" short_desc="Sieve implementation for Dovecot"
maintainer="John Regan <john@jrjrtech.com>" maintainer="John Regan <john@jrjrtech.com>"
license="LGPL-2.1" license="LGPL-2.1"
@ -27,3 +29,10 @@ dovecot-plugin-pigeonhole-devel_package() {
} }
} }
dovecot-plugin-pigeonhole-ldap_package() {
short_desc+=" - ldap plugin"
pkg_install() {
vmove usr/lib/dovecot/modules/sieve/lib10_sieve_storage_ldap_plugin.so
vmove usr/share/doc/dovecot/sieve/locations/ldap.txt
}
}