[packages/cyrus-sasl] - enable NTLM plugin - rel up
adwol
adwol at pld-linux.org
Sun Oct 25 03:19:20 CET 2015
commit 5810fa6ce25d4145b4ba76bcd01eb577bd6e5895
Author: Adam Osuchowski <adwol at pld-linux.org>
Date: Sun Oct 25 03:18:58 2015 +0100
- enable NTLM plugin
- rel up
cyrus-sasl.spec | 22 +++++++++++++++++++++-
1 file changed, 21 insertions(+), 1 deletion(-)
---
diff --git a/cyrus-sasl.spec b/cyrus-sasl.spec
index c28d4e2..92f8da2 100644
--- a/cyrus-sasl.spec
+++ b/cyrus-sasl.spec
@@ -4,6 +4,7 @@
%bcond_without ldap # disable LDAP support for saslauthd
%bcond_without gssapi # do not enable GSSAPI support for saslauthd and build gssapi plugin
%bcond_without mysql # don't build MySQL plugin
+%bcond_without ntlm # do not build NTLM plugin
%bcond_without pgsql # do not build PostgreSQL plugin
%bcond_without sqlite # do not enable sqlite 2 plugin
%bcond_without sqlite3 # do not enable sqlite 3 plugin
@@ -23,7 +24,7 @@ Summary(ru.UTF-8): Библиотека Cyrus SASL
Summary(uk.UTF-8): Бібліотека Cyrus SASL
Name: cyrus-sasl
Version: 2.1.26
-Release: 4
+Release: 5
License: distributable
Group: Libraries
Source0: ftp://ftp.cyrusimap.org/cyrus-sasl/%{name}-%{version}.tar.gz
@@ -297,6 +298,18 @@ Cyrus SASL MySQL plugin.
%description mysql -l pl.UTF-8
Wtyczka MySQL do Cyrus SASL.
+%package ntlm
+Summary: Cyrus SASL NTLM plugin
+Summary(pl.UTF-8): Wtyczka NTLM do Cyrus SASL
+Group: Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description ntlm
+Cyrus SASL NTLM plugin.
+
+%description ntlm -l pl.UTF-8
+Wtyczka NTLM do Cyrus SASL.
+
%package otp
Summary: OTP Cyrus SASL plugin
Summary(pl.UTF-8): Wtyczka OTP do Cyrus SASL
@@ -572,6 +585,7 @@ cd ..
%{?with_ldap:--with-ldap=%{_prefix}} \
%{?with_ldap:--enable-ldapdb} \
%{?with_mysql:--with-mysql=%{_prefix}} \
+ %{?with_ntlm:--enable-ntlm} \
%{?with_pgsql:--with-pgsql=%{_prefix}} \
%{?with_sqlite:--with-sqlite=%{_prefix}} \
%{?with_sqlite3:--with-sqlite3=%{_prefix}} \
@@ -717,6 +731,12 @@ fi
%attr(755,root,root) %{_libdir}/sasl2/libmysql.so*
%endif
+%if %{with ntlm}
+%files ntlm
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/sasl2/libntlm.so*
+%endif
+
%files otp
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/sasl2/libotp.so*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cyrus-sasl.git/commitdiff/5810fa6ce25d4145b4ba76bcd01eb577bd6e5895
More information about the pld-cvs-commit
mailing list