[pam_mapi] Initial import of pam_mapi for Fedora and Red Hat Enterprise Linux

Robert Scheck robert at fedoraproject.org
Wed Nov 30 22:29:30 UTC 2011


commit b91541b3f818ed8d8e0eff295ccc414a359746f3
Author: Robert Scheck <robert at fedoraproject.org>
Date:   Wed Nov 30 23:29:19 2011 +0100

    Initial import of pam_mapi for Fedora and Red Hat Enterprise Linux

 .gitignore    |    1 +
 pam_mapi.spec |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources       |    1 +
 3 files changed, 56 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..429aaba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+pam_mapi-0.1.0.tar.gz
diff --git a/pam_mapi.spec b/pam_mapi.spec
new file mode 100644
index 0000000..d56e155
--- /dev/null
+++ b/pam_mapi.spec
@@ -0,0 +1,54 @@
+Summary:	PAM module for authentication via MAPI against a Zarafa server
+Name:		pam_mapi
+Version:	0.1.0
+Release:	1%{?dist}
+License:	BSD and GPLv2+
+Group:		System Environment/Base
+URL:		http://ftp.robert-scheck.de/linux/%{name}/
+Source:		http://ftp.robert-scheck.de/linux/%{name}/%{name}-%{version}.tar.gz
+BuildRequires:	zarafa-devel >= 6.30.0, pam-devel, %{_includedir}/uuid/uuid.h, zlib-devel
+%if 0%{?rhel}%{?fedora} > 5
+BuildRequires:	libicu-devel >= 3.4
+%endif
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%description
+pam_mapi is a PAM module (Pluggable Authentication Modules) for authentication
+against a Zarafa server. Applications like Zarafa WebAccess, Zarafa WebApp or
+Microsoft Outlook which directly connect to the Zarafa Collaboration Platform
+use MAPI in SOAP to do so. If Zarafa is configured to use the DB authentication
+plugin, all user information are stored in a MySQL database.
+
+Once IMAP/POP3 is used via the Zarafa Gateway, SMTP gets involved for outbound
+e-mails, too. Usually this requires SMTP authentication (to avoid open relays),
+but the user information in the MySQL database is unfortunately not accessible
+for established SASL daemons. The pam_mapi module is filling this gap by adding
+MAPI-based authentication to PAM and thus to SMTP daemons via SASL.
+
+Just execute "cat %{_docdir}/%{name}-%{version}/pam.conf > %{_sysconfdir}/pam.d/smtp" for
+a simple setup. Please read the documentation for more extended configurations.
+
+%prep
+%setup -q
+
+%build
+%configure --libdir=/%{_lib}
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make DESTDIR=$RPM_BUILD_ROOT install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc ChangeLog COPYING README pam.conf
+/%{_lib}/security/%{name}.so
+%{_mandir}/man8/%{name}.8*
+
+%changelog
+* Tue Nov 29 2011 Robert Scheck <robert at fedoraproject.org> 0.1.0-1
+- Upgrade to 0.1.0
+- Initial spec file for Fedora and Red Hat Enterprise Linux
diff --git a/sources b/sources
index e69de29..7784ced 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+dcc2c675a25e8884da6aec7cd0e1fb30  pam_mapi-0.1.0.tar.gz


More information about the scm-commits mailing list