Sisyphus repository
Last update: 20 november 2019 | SRPMs: 17512 | Visits: 15815346
en ru br
ALT Linux repos

Group :: System/Base
RPM: checkpassword-pam

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_enable pam_userpass

Summary: checkpassword-style PAM authentication program
Name: checkpassword-pam
Version: 0.99
Release: alt2
License: GPL
Group: System/Base
Source: %{name}-%{version}.tar
Source1: checkpassword-pam.pam
Patch: %name-%version-%release-alt-changes.patch

BuildRequires: libpam0-devel
%{?_enable_pam_userpass:BuildRequires: pam_userpass-devel}

This program, when given a username and password through the
checkpassword interface (,
checks that username and password, and executes a program that has to
be authenticated.
%if_enabled pam_userpass
checkpassword-pam is built with see README.ALT.

%patch -p1

%configure %{subst_enable pam_userpass}

%if_enabled pam_userpass
install -m644 -D %SOURCE1 %buildroot%_defaultdocdir/%name-%version/%name.pam-config
install -m644 -D %SOURCE2 %buildroot%_defaultdocdir/%name-%version/README.ALT
install -m644 -D README %buildroot%_defaultdocdir/%name-%version/README
install -m644 -D interface.html %buildroot%_defaultdocdir/%name-%version/interface.html

%attr(2711,root,auth) %_bindir/checkpassword-pam


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin