File: pam_ccreds.spec

package info (click to toggle)
libpam-ccreds 10-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 644 kB
  • sloc: sh: 2,981; ansic: 2,066; makefile: 60
file content (43 lines) | stat: -rw-r--r-- 964 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Summary: PAM cached credentials module
Name: pam_ccreds
Version: 10
Release: 1
Source0: ftp://ftp.padl.com/pub/%{name}-%{version}.tar.gz
URL: http://www.padl.com/
Copyright: GPL
Group: System Environment/Base
BuildRoot: %{_tmppath}/%{name}-root
Requires: openssl
Obsoletes: pam_ccreds

%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. 

%prep
%setup -q -a 0

%build
./configure
make

%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/{etc,lib/security}

install -m 755 pam_ccreds.so $RPM_BUILD_ROOT/lib/security/

chmod 755 $RPM_BUILD_ROOT/lib/security/pam_ccreds.so

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

%files
%defattr(-,root,root)
%attr(0755,root,root) /lib/security/pam_ccreds.so
%doc AUTHORS NEWS COPYING README ChangeLog

%changelog