Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37867170
en ru br
ALT Linux repositórios
S:0.2-alt1

Group :: Sistema/Configurações/Rede
RPM: installer-feature-auth-pkcs11-workbench-defaults-stage3

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

pax_global_header00006660000000000000000000000064112601441760014514gustar00rootroot0000000000000052 comment=1c1d032879c594765aa3ffe7b41a11951e7bc738
installer-feature-auth-pkcs11-workbench-defaults-stage3-0.2/000075500000000000000000000000001126014417600240115ustar00rootroot00000000000000installer-feature-auth-pkcs11-workbench-defaults-stage3-0.2/.gear/000075500000000000000000000000001126014417600250055ustar00rootroot00000000000000installer-feature-auth-pkcs11-workbench-defaults-stage3-0.2/.gear/rules000064400000000000000000000000071126014417600260570ustar00rootroot00000000000000tar: .
installer-feature-auth-pkcs11-workbench-defaults-stage3-0.2/95-auth-pkcs11-workbench-defaults.sh000064400000000000000000000006051126014417600324270ustar00rootroot00000000000000#!/bin/sh -efu

a= . install2-init-functions

pam_pkcs11_conffile="$destdir/etc/security/pam_pkcs11/pam_pkcs11.conf"

sed -i 's@\(card_only[[:space:]]*=[[:space:]]*\).*;@\1true;@g
s@\(wait_for_card[[:space:]]*=[[:space:]]*\).*;@\1true;@g
s@\(cert_policy[[:space:]]*=[[:space:]]*\).*;@\1ca,signature;@g
s@\(use_mappers[[:space:]]*=[[:space:]]*\).*;@\1pwent;@g' \
"$pam_pkcs11_conffile"
installer-feature-auth-pkcs11-workbench-defaults-stage3.spec000064400000000000000000000015361126014417600372510ustar00rootroot00000000000000installer-feature-auth-pkcs11-workbench-defaults-stage3-0.2# vim: set ft=spec: -*- rpm-spec -*-

Name: installer-feature-auth-pkcs11-workbench-defaults-stage3
Version: 0.2
Release: alt1

Summary: PKCS#11 authentication defaults
Group: System/Configuration/Other
License: GPL
Url: http://www.altlinux.org/Installer/beans

BuildArch: noarch

Requires: pam_pkcs11

Source: %name-%version.tar

%description
This package contains installer stage3 hook to setup PKCS#11
authentication defaults:

- card_only true;
- wait_for_card true;
- cert_policy signature;
- use_mappers pwent;

%prep
%setup

%install
%define hookdir %_datadir/install2/postinstall.d
mkdir -p %buildroot%hookdir
install -pm755 *.sh %buildroot%hookdir/

%files
%hookdir/*

%changelog
* Mon Sep 28 2009 Alexey I. Froloff <raorn@altlinux.org> 0.2-alt1
- Enabled CA check

* Wed Aug 05 2009 Alexey I. Froloff <raorn@altlinux.org> 0.1-alt1
- Initial build

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009