Sophie

Sophie

distrib > Mandriva > mes5 > x86_64 > by-pkgid > 7a1e9f1a8713c3f3422e7fb560575976 > files > 2

mmc-check-password-3.0.4-0.2mdvmes5.2.src.rpm

Summary:	OpenLDAP password checker module for MMC
Name:		mmc-check-password
Version:	3.0.4
%define subrel 2
Release:	%mkrel 0
License:	GPL
Group:		System/Servers
URL:		http://projects.mandriva.org/projects/mmc-check-password
Source0:	%{name}-%{version}.tar.gz
BuildRequires:	openldap-devel
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description -n mmc-check-password 
OpenLDAP module to validate users passwords against LDAP's password policies. 

%prep
%setup -q -n %{name}-%{version}

%build
autoreconf -fi
%configure --with-ldap-confdir=%{_sysconfdir}/openldap --with-ldap-libdir=%{_libdir}/openldap
make

%install
make DESTDIR="$RPM_BUILD_ROOT" install

%files -n mmc-check-password
%defattr(-,root,root,0755)
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/openldap/mmc-check-password.conf
%attr(0755,root,root) %{_libdir}/openldap/mmc-check-password.*
%attr(0755,root,root) %{_bindir}/mmc-password-helper
%attr(0755,root,root) %config(noreplace) %{_sysconfdir}/mmc-password-helper.ini