Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37600926
en ru br
ALT Linux repos
5.0: 0.4.2-alt1
4.1: 0.3.3-alt2.1
4.0: 0.3.3-alt2.1

Group :: System/Libraries
RPM: pam_usb

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# Welcome to maintain this package!

Name: pam_usb
Version: 0.3.3
Release: alt2.1

Summary: PAM module through external storage

Url: http://www.pamusb.org/
License: GPL
Group: System/Libraries

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://dl.sf.net/pamusb/%name-%version.tar.bz2
Source1: %name-doc.tar.bz2

Patch1: %name.link.patch

Requires: pam

# Automatically added by buildreq on Mon Sep 12 2005

BuildRequires: libncurses-devel libpam-devel libreadline-devel libssl-devel libtinfo-devel

%description
pam_usb is a PAM module that enables authentication using a USB storage
device through DSA private/public keys. It can also work with floppy
disks, CD-ROMs, or any kind of mountable device. It supports multiple
users for the same device, multiple hostnames for the same user, a
serial number access list, and private key encryption. It includes the
usbhotplug tool which by default will run xlock when you remove the USB
device and kill it as soon as the same device is plugged back in.

%prep
%setup -q -a1
%patch1 -p0

%build
%make

%install
mkdir -p %buildroot{/%_lib/security,%_bindir,%_man1dir}
mkdir -p %buildroot%_sysconfdir/pam.d/usbhotplug

%make_install DESTDIR=%buildroot \
PAM_MODULES=%buildroot/%_lib/security \
install

%files
/%_lib/security/*
%_bindir/*
%_man1dir/*
%doc AUTHORS Changelog README html
%config(noreplace) %_sysconfdir/hotplug.d/default/pamusb.hotplug
%config(noreplace) %_sysconfdir/pam.d/usbhotplug/usbhotplug.pam
%config(noreplace) %_sysconfdir/pam_usb/handlers/xlock.sh
%config(noreplace) %_sysconfdir/pam_usb/hotplug.conf

%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