File pam_ssh.spec of Package pam_ssh
#
# spec file for package pam_ssh (Version 1.96)
#
# 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_ssh
BuildRequires: openssh openssl-devel pam-devel
License: BSD 3-Clause
Group: Productivity/Networking/SSH
AutoReqProv: on
Version: 1.96
Release: 26
Summary: PAM Module for SSH Authentication
Url: http://developer.novell.com/wiki/index.php/Pam_ssh
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This module provides single sign-on behavior. The user types a
passphrase when logging in and is allowed in if it decrypts the user s
SSH private key. An ssh-agent is started and keys are added. For the
entire session, the user types no more passwords.
Authors:
--------
Andrew J. Korty <ajk@iu.edu>
Roderick Schertler
%prep
%setup -q
%build
%{suse_update_config -f}
autoreconf --verbose --force --install
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
./configure --libdir=/%{_lib} \
--with-pamdir=/%{_lib}/security \
--prefix=%{_prefix} \
--mandir=%{_mandir}
make
%install
rm -rf $RPM_BUILD_ROOT
install -d 755 $RPM_BUILD_ROOT/%{_lib}/security
install -m 755 .libs/pam_ssh.so $RPM_BUILD_ROOT/%{_lib}/security
install -d 755 $RPM_BUILD_ROOT%{_mandir}/man8
install -m 644 pam_ssh.8 $RPM_BUILD_ROOT%{_mandir}/man8/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(444,root,root,755)
%doc README TODO NEWS
%attr(555,root,root) /%{_lib}/security/pam_ssh.so
%attr(444,root,root) %_mandir/man*/*.*
%changelog
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
* Mon Jan 14 2008 anicka@suse.cz
- update to 1.96
* pam_ssh.c (key_load_private_maybe): New wrapper for
key_load_private() that checks whether the private key's
passphrase is blank.
* pam_ssh.c: if PAM returns tty_raw = NULL we shouldn't fiddle
with a per-session file. That seems to happen if the session
module is used for background system services (like cron).
* pam_ssh.c: fixed double-free issue with file closing
- remove last two patches (fixed in upstream)
* Mon Mar 05 2007 anicka@suse.de
- fix crash in pam_sm_open_session [#251053]
* Fri Nov 24 2006 max@suse.de
- Fix crashes in in the session module (#223488).
* Tue Nov 07 2006 ro@suse.de
- fix manpage permissions
* Thu Aug 03 2006 stark@suse.de
- update to version 1.94 (r23)
* improved logging
* more recover fixes
* root credentials weren't restored in some cases which caused
following pam session modules to fail
* Sat Jun 24 2006 stark@suse.de
- update to version 1.93 (r18)
* debug option works for auth and session module (#177885)
* debug option is really available now for auth and session
module (#177885)
* recover better if close_session wasn't executed (#187560)
* Wed Jun 07 2006 stark@suse.de
- logging fix is integrated now
- auth handler now accepts nullok option
* Thu Jun 01 2006 stark@suse.de
- update to version 1.92
* allow working as session module without authentication
(workaround for #173803)
* incorporated include fixes
- fixed syslog logging (part of #177885)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Oct 14 2005 ro@suse.de
- added include openssl/md5.h to cipher.c
* Mon Oct 10 2005 schubi@suse.de
- added "include <syslog.h>"
* Tue Nov 09 2004 schubi@suse.de
- Bugfixes for other architectures
* Mon Nov 08 2004 schubi@suse.de
- first version