File apache2-mod_auth_ntlm_winbind.spec of Package apache2-mod_auth_ntlm_winbind
#
# spec file for package apache2-mod_auth_ntlm_winbind (Version 0.0.0.lorikeet_svn_682)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: apache2-mod_auth_ntlm_winbind
BuildRequires: apache2-devel
%define modname mod_auth_ntlm_winbind
%define apxs /usr/sbin/apxs2
%define apache apache2
%define apache_libexecdir %(%{apxs} -q LIBEXECDIR)
%define apache_sysconfdir %(%{apxs} -q SYSCONFDIR)
%define apache_includedir %(%{apxs} -q INCLUDEDIR)
%define apache_serverroot %(%{apxs} -q PREFIX)
%define apache_localstatedir %(%{apxs} -q LOCALSTATEDIR)
%define apache_mmn %(MMN=$(%{apxs} -q LIBEXECDIR)_MMN; test -x $MMN && $MMN)
Version: 0.0.0.lorikeet_svn_682
Release: 1
License: The Apache Software License
Group: Productivity/Networking/Web/Servers
Requires: apache2 %{apache_mmn} samba-winbind
Autoreqprov: on
Summary: Enables the Apache Web Server to Authenticate Users against Microsoft like DCs
URL: http://samba.org/
Source: %{modname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#Docdir: %{_defaultdocdir}/%{apache}
%description
mod_auth_ntlm_winbind is an Apache module to authenticate users and
authorize access through Samba's winbind daemon against a Microsoft
like Domain Controller (DC). These are Microsoft NT/2000/XP and Samba.
To load the module into Apache, add mod_auth_ntlm_winbind to
APACHE_MODULES in /etc/sysconfig/apache2.
Check /usr/share/doc/packages/apache2-mod_auth_ntlm_winbind/README for
examples how to add mod_auth_ntlm_winbind to your Apache configuration.
Authors:
--------
Andreas Gal <agal at uwsp dot edu>
Sverre H. Huseby <sverrehu at online dot no>
Tim Potter <tpot at samba dot org>
Andrew Bartlett <abartlet at samba dot org>
Waider <waider at waider dot ie>
%prep
%setup -n %{modname}-%{version}
%build
%{apxs} -c -D APACHE2 mod_auth_ntlm_winbind.c
%install
mkdir -p $RPM_BUILD_ROOT/%{apache_libexecdir}
cp -p .libs/%{modname}.so $RPM_BUILD_ROOT/%{apache_libexecdir}
%files
%defattr(-,root,root)
%doc AUTHORS
%doc README
# copyright notice contained here:
%dir %{apache_libexecdir}
%{apache_libexecdir}/%{modname}.so
%changelog -n apache2-mod_auth_ntlm_winbind
* Wed Nov 15 2006 - lars@samba.org
- Update to svn revision 682.
+ Fix content length in auth reply.
+ Rename to mod_auth_ntlm_winbind at all places.
+ Documentation cleanup.
* Mon Nov 06 2006 - lars@samba.org
- Initial RPM package.