File pam_ccreds.spec of Package pam_ccreds

#
# spec file for package pam_ccreds (Version 8)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           pam_ccreds
BuildRequires:  db-devel openssl-devel pam-devel
License:        GPL v2 or later
Group:          Productivity/Security
AutoReqProv:    on
Version:        8
Release:        4
Summary:        Pam module to cache login credentials
Url:            http://www.padl.com/OSS/pam_ccreds.html
Source:         pam_ccreds-%{version}.tar.bz2
Patch1:         pam_ccreds-readme-fix.dif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       pam, db

%description
The pam_ccreds module provides the means for Linux workstations to
locally authenticate using an enterprise identity when the network is
unavailable. Used in conjunction with the nss_updatedb utility, it
provides a mechanism for disconnected use of network directories.



Authors:
--------
    Luke Howard lukeh@padl.com

%prep
%setup -q -n pam_ccreds-%{version}
%patch1

%build
%{suse_update_config -f}
autoreconf --verbose --force --install
CFLAGS="$RPM_OPT_FLAGS" \
./configure --libdir=/%{_lib} --with-pamdir=/%{_lib}/security \
            --prefix=/usr 
make

%install
rm -rf $RPM_BUILD_ROOT
install -d 755 $RPM_BUILD_ROOT/%{_lib}/security
install -m 755 pam_ccreds.so $RPM_BUILD_ROOT/%{_lib}/security

%clean
#rm -rf $RPM_BUILD_ROOT

%files
%defattr(444,root,root,755)
%doc README COPYING pam.conf
%attr(555,root,root) /%{_lib}/security/pam_ccreds.so

%changelog
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
  for multilib support
* Wed Apr 02 2008 mc@suse.de
- version 8
- remove ccreds_file parameter
- makes it possible to select gnuTLS (gcrypt) instead of
  OpenSSL during compile time (--enable-gcrypt)
- fix dbopen() usage for Berkeley DB 3
- add usage option to cc_dump
- BUG#227: verify password via ccreds_chkpwd for
  non-root users
* Mon Jul 09 2007 mc@suse.de
- remove empty NEWS file
* Sun Oct 29 2006 meissner@suse.de
- use RPM_OPT_FLAGS
* Wed Aug 02 2006 mc@suse.de
- Update to version 4
  * build fix (include syslog.h)
- remove patch, is upstream now.
- add patch for the README file
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Dec 22 2005 varkoly@suse.de
- Update to version 3
* Wed Oct 26 2005 schubi@suse.de
- Update to version 2
* Mon Oct 10 2005 schubi@suse.de
- included syslog
* Fri Feb 25 2005 schubi@suse.de
- Doku added
* Wed Feb 23 2005 schubi@suse.de
- initial
openSUSE Build Service is sponsored by