############################################################################### # IPFire.org - An Open Source Firewall Solution # # Copyright (C) - IPFire Development Team # ############################################################################### name = cyrus-sasl version = 2.1.28 release = 2 groups = System/Libraries url = https://github.com/cyrusimap/cyrus-sasl license = BSD summary = The Cyrus SASL library description The cyrus-sasl package contains the Cyrus implementation of SASL. SASL is the Simple Authentication and Security Layer, a method for adding authentication support to connection-based protocols. end source_dl = https://github.com/cyrusimap/cyrus-sasl/releases/download/cyrus-sasl-%{version}/ build requires automake gdbm-devel openssl-devel pam-devel end configure_options += \ --with-configdir=%{libdir}/sasl2:/etc/sasl2 \ --with-plugindir=%{libdir}/sasl2 \ --with-dbpath=/var/lib/sasl/sasldb2 \ --with-saslauthd=/var/run/saslauthd make_install_targets += sasldir=%{libdir}/sasl2 install_cmds # Install plugins. make install DESTDIR=%{BUILDROOT} sasldir=%{libdir}/sasl2 -C plugins mkdir -pv %{BUILDROOT}%{libdir}/sasl2 cp -vf %{DIR_SOURCE}/smtpd.conf %{BUILDROOT}%{libdir}/sasl2/ install -v -m700 -d %{BUILDROOT}/var/lib/sasl %{BUILDROOT}/var/run/saslauthd end end packages package %{name} package %{name}-libs template LIBS end package %{name}-devel template DEVEL end package %{name}-debuginfo template DEBUGINFO end end