2010-04-18 17:48:17 +02:00
|
|
|
# Template file for 'cyrus-sasl'
|
|
|
|
. ${XBPS_SRCPKGDIR}/libsasl/template
|
|
|
|
|
|
|
|
# Unset some unneeded stuff.
|
2012-07-09 23:10:14 +02:00
|
|
|
unset depends makedepends
|
2010-04-18 17:48:17 +02:00
|
|
|
|
|
|
|
pkgname=cyrus-sasl
|
2012-07-09 23:10:14 +02:00
|
|
|
revision=7
|
2011-10-11 03:38:24 +02:00
|
|
|
configure_args="--with-saslauthd=/run/saslauthd
|
2010-04-18 17:48:17 +02:00
|
|
|
--enable-login --enable-plain --enable-sql --disable-sqlite
|
|
|
|
--enable-postgresql --enable-mysql --enable-ldapdb --with-ldap=/usr"
|
2012-05-23 18:26:56 +02:00
|
|
|
depends="e2fsprogs-libs cyrus-sasl-modules"
|
|
|
|
makedepends="libsasl-devel libldap-devel mit-krb5-devel e2fsprogs-devel pam-devel openssl-devel postgresql-libs-devel libmysqlclient-devel"
|
2010-04-18 17:48:17 +02:00
|
|
|
short_desc="Cyrus SASL - auth daemon and administration tools"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This package includes the Cyrus SASL authentication daemon and administration
|
|
|
|
programs for the SASL users database and common binary files for plugin
|
|
|
|
modules."
|
|
|
|
|
|
|
|
subpackages="${pkgname}-modules-ldap ${pkgname}-modules-sql ${pkgname}-modules"
|
2011-11-10 12:46:34 +01:00
|
|
|
systemd_services="saslauthd.service on"
|
2010-04-18 17:48:17 +02:00
|
|
|
conf_files="/etc/conf.d/saslauthd"
|
|
|
|
|
2012-07-09 23:10:14 +02:00
|
|
|
post_install() {
|
2010-04-18 17:48:17 +02:00
|
|
|
# Remove stuff in libsasl{,-devel} pkgs.
|
|
|
|
rm -rf ${DESTDIR}/usr/share/man/man3
|
|
|
|
rm -rf ${DESTDIR}/usr/include
|
|
|
|
rm -f ${DESTDIR}/usr/lib/libsasl*
|
|
|
|
rm -rf ${DESTDIR}/usr/lib/sasl2/libsasldb*
|
|
|
|
|
2011-10-11 03:38:24 +02:00
|
|
|
# systemd
|
2012-07-09 23:10:14 +02:00
|
|
|
vinstall ${FILESDIR}/saslauthd.service 644 \
|
|
|
|
usr/lib/systemd/system
|
2011-10-11 03:38:24 +02:00
|
|
|
vinstall ${FILESDIR}/saslauthd.tmpfiles.d 644 \
|
|
|
|
usr/lib/tmpfiles.d saslauthd.conf
|
2010-04-18 17:48:17 +02:00
|
|
|
}
|