Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1492318
 поиск   регистрация   авторизация 
 
Группа :: Система/Основа
Пакет: pam_ldap

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

%add_findprov_lib_path /lib/security

Name: pam_ldap
Version: 169
Release: alt1.M24.1

Summary: PAM module for LDAP
Summary(ru_RU.KOI8-R): Модуль PAM для LDAP

License: LGPL
Group: System/Base
Url: http://www.padl.com/

Source0: ftp://ftp.padl.com/pub/%name-%version.tar.bz2
Source1:%name-system_auth-alt

Patch0: %name-46-pam_console.patch
Patch1: %name-125-null.patch
Patch2: %name-fix-referral-tls.patch

# Automatically added by buildreq on Fri May 21 2004

BuildRequires: libldap-devel libpam-devel

%description
Pam_ldap is a module for Linux-PAM that supports password changes, V2
clients, Netscapes SSL, ypldapd, Netscape Directory Server password
policies, access authorization, crypted hashes, etc.

Install %name if you need to run LDAP access clients.

%description -l ru_RU.KOI8-R
Pam_ldap это модуль для Linux-PAM. Поддерживается изменение паролей, протокол LDAP версии 2, Netscapes SSL, ypldapd, Netscape Directory Server политики паролей, авторизация доступа, шифрованные хеши и т.д.

%prep
%setup -q
%patch0 -p1
##%patch1 -p1
%patch2 -p1

### We create example dir for place here examples for ALT Linux

mkdir alt-examples
install -p -m644 %SOURCE1 alt-examples/system_auth

%build
aclocal
autoheader
autoconf

%configure \
--with-ldap-lib=openldap

%make_build
%make check

%install
mkdir -p $RPM_BUILD_ROOT{%_sysconfdir,/lib,%_libdir}


# Install the nsswitch module.

install -pD -m755 pam_ldap.so $RPM_BUILD_ROOT/lib/security/pam_ldap.so
# The line under this IS TODO for next release!!! While its need for remaber!!!
#install ldap.conf $RPM_BUILD_ROOT/%_sysconfdir/ldap.conf

%files
/lib/security/*
### This file is different from nss_ldap package! It's in TODO for next release
###%config(noreplace) %_sysconfdir/ldap.conf
%doc AUTHORS ChangeLog README pam.d ldap.conf
%doc alt-examples

%changelog

Полный changelog можно просмотреть здесь

 
design & coding: Vladimir Lettiev aka crux © 2004-2005