Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37410768
en ru br
ALT Linux repos
S:4.8-alt1
5.0: 2.2.9-alt1
4.1: 2.2.9-alt1
4.0: 2.2.9-alt1
3.0: 2.0.10-alt1

Group :: System/Base
RPM: pam_krb5

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Summary: A Pluggable Authentication Module for Kerberos 5.
Name: pam_krb5
Version: 2.2.9
Release: alt1
Source0: pam_krb5-%{version}-%{release}.tar.gz
License: LGPL
Group: System/Base
BuildPrereq: byacc, flex, libkrb5-devel, libpam-devel
%description
This is pam_krb5, a pluggable authentication module that can be used with
Linux-PAM and Kerberos 5. This module supports password checking, ticket
creation, and optional TGT verification and conversion to Kerberos IV tickets.
The included pam_krb5afs module also gets AFS tokens if so configured.

%prep
%setup -q -n pam_krb5-%{version}-%{release}

%build
CFLAGS="$RPM_OPT_FLAGS -fPIC"; export CFLAGS
%configure --libdir=/%{_lib} LDFLAGS='-lpam'
make

%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
ln -s pam_krb5.so $RPM_BUILD_ROOT/%{_lib}/security/pam_krb5afs.so
rm -f $RPM_BUILD_ROOT/%{_lib}/security/*.la

# Make the paths jive to avoid conflicts on multilib systems.

sed -ri -e 's|/lib(64)?/|/\$LIB/|g' $RPM_BUILD_ROOT/%{_mandir}/man*/pam_krb5*.8*

%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_bindir}/*
/%{_lib}/security/pam_krb5.so
/%{_lib}/security/pam_krb5afs.so
/%{_lib}/security/pam_krb5
%{_mandir}/man1/*
%{_mandir}/man5/*
%{_mandir}/man8/*
%doc README* COPYING* ChangeLog NEWS

# $Id: pam_krb5.spec,v 1.156 2006/07/26 17:40:26 nalin Exp $

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin