Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 3659ca91530e22ea63a50e1ae5da83e0 > files > 5

pam_ccreds-10-18.mga9.src.rpm

Summary:	A caching pam module for disconnected operation
Name:		pam_ccreds
Version:	10
Release:	%mkrel 18
Source: 	http://www.padl.com/download/%{name}-%{version}.tar.gz
Patch0:		pam_ccreds-10-dbnss.patch
Patch1:		pam_ccreds-strdup.patch
Patch2:		pam_ccreds-10-automake-1.13.patch
Group:		System/Libraries
License:	GPLv2
BuildRequires:	pam-devel
BuildRequires:	pkgconfig(openssl)
BuildRequires:	db5-devel
Url:		http://www.padl.com/

%description
The pam_ccreds module provides a mechanism for caching
credentials when authenticating against a network
authentication service, so that authentication can still
proceed when the service is down. Note at present no
mechanism is provided for caching _authorization_ 
information, i.e. whether you are allowed to login once
authenticated. Doing this is more difficult than it
first sounds.

%prep
%setup -q
rm -f acconfig.h
%patch0 -p1 -b .dbnss
%patch1 -p1 -b .strdup
%patch2 -p1

%build
autoreconf -fi
%configure --libdir=/%{_lib}
%__make

%install
mkdir -p %{buildroot}/%{_lib}/security
mkdir -p %{buildroot}/%{_sbindir}
install pam_ccreds.so %{buildroot}/%{_lib}/security
install cc_dump cc_test %{buildroot}/%{_sbindir}
install ccreds_chkpwd %{buildroot}/%{_sbindir}
mkdir -p %{buildroot}/var/cache
touch %{buildroot}/var/cache/.security.db

%files
%doc AUTHORS README ChangeLog pam.conf
%attr(4755,root,root) %{_sbindir}/ccreds_chkpwd
%{_sbindir}/cc_dump
%{_sbindir}/cc_test
/%{_lib}/security/pam_ccreds.so
%ghost /var/cache/.security.db

%post
if [ ! -f /var/cache/.security.db ]; then
%{_sbindir}/cc_test -update any root - > /dev/null 2>/dev/null || :
fi


%changelog
* Sun Mar 27 2022 umeabot <umeabot> 10-18.mga9
+ Revision: 1829281
- Mageia 9 Mass Rebuild

* Sat Oct 02 2021 wally <wally> 10-17.mga9
+ Revision: 1747796
- rebuild for openssl 3.0.0

* Fri Feb 14 2020 umeabot <umeabot> 10-16.mga8
+ Revision: 1515821
- Mageia 8 Mass Rebuild
+ wally <wally>
- replace deprecated %%configure2_5x

* Sun Sep 23 2018 umeabot <umeabot> 10-15.mga7
+ Revision: 1300091
- Mageia 7 Mass Rebuild
+ kekepower <kekepower>
- Use __make

* Tue Sep 05 2017 tv <tv> 10-14.mga7
+ Revision: 1151461
- BR db5-devel
- rebuild without db5_nss-devel

* Mon Feb 08 2016 umeabot <umeabot> 10-13.mga6
+ Revision: 947448
- Mageia 6 Mass Rebuild

* Wed Oct 15 2014 umeabot <umeabot> 10-12.mga5
+ Revision: 750220
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 10-11.mga5
+ Revision: 683317
- Mageia 5 Mass Rebuild

* Sat Oct 19 2013 umeabot <umeabot> 10-10.mga4
+ Revision: 530919
- Mageia 4 Mass Rebuild

* Tue Jul 30 2013 fwang <fwang> 10-9.mga4
+ Revision: 460982
- use autoreconf

* Sun Jan 13 2013 umeabot <umeabot> 10-8.mga3
+ Revision: 362370
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Mon Jan 07 2013 luigiwalser <luigiwalser> 10-7.mga3
+ Revision: 340727
- fix for automake 1.13

* Tue Jul 31 2012 fwang <fwang> 10-6.mga3
+ Revision: 276300
- rebuild for db-5.3

* Wed Jul 25 2012 fwang <fwang> 10-5.mga3
+ Revision: 274167
- rebuild for db 5.2

* Tue Mar 08 2011 ennael <ennael> 10-4.mga1
+ Revision: 66417
- imported package pam_ccreds


* Fri Dec 03 2010 Oden Eriksson <oeriksson@mandriva.com> 10-4mdv2011.0
+ Revision: 607056
- rebuild

* Wed Apr 07 2010 Funda Wang <fwang@mandriva.org> 10-3mdv2010.1
+ Revision: 532513
- rebuild for new openssl

* Fri Feb 26 2010 Oden Eriksson <oeriksson@mandriva.com> 10-2mdv2010.1
+ Revision: 511608
- rebuilt against openssl-0.9.8m

* Thu Jul 30 2009 Luca Berra <bluca@mandriva.org> 10-1mdv2010.0
+ Revision: 404498
- updated to version 10
- removed merged patches, rediffed dbnss patch

* Mon Jul 27 2009 Luca Berra <bluca@mandriva.org> 4-5mdv2010.0
+ Revision: 400565
- more strxxx fixes, resolves GDM segfault which passes empty username to pam (#45989)

* Fri Apr 10 2009 Luca Berra <bluca@mandriva.org> 4-4mdv2009.1
+ Revision: 365670
- fix a segfault in cc_test
  create empty db on first installation

* Mon Jun 16 2008 Thierry Vignaud <tv@mandriva.org> 4-3mdv2009.0
+ Revision: 220243
- rebuild
- kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot


* Thu Nov 16 2006 Buchan Milne <bgmilne@mandriva.org> 4-2mdv2007.0
+ Revision: 84964
- ship the ccreds_validate binary required for non-root use

* Sat Oct 07 2006 Buchan Milne <bgmilne@mandriva.org> 4-1mdv2007.1
+ Revision: 62924
- Import pam_ccreds

* Tue Oct 03 2006 Buchan Milne <bgmilne@mandriva.org> 4-1mdv2007.0
- new version 4
- apply patch adding setuid helper from Mike Petullo

* Tue Jan 03 2006 Buchan Milne <bgmilne@mandriva.org> 3-1mdk
- New release 3
- use %%mkrel

* Sun Sep 18 2005 Luca Berra <bluca@vodka.it> 0.1-3mdk
- rebuild

* Tue Aug 17 2004 Luca Berra <bluca@vodka.it> 0.1-2mdk 
- updated to use libdb_nss 4.2

* Tue Mar 02 2004 Luca Berra <bluca@vodka.it> 0.1-1mdk 
- initial mandrake contrib