Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37716515
en ru br
ALT Linux repos
S:4.0.0-alt10

Group :: Security/Networking
RPM: cryptopro-preinstall

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name:     cryptopro-preinstall
Version:  4.0.0
Release:  alt10

Summary:  Environment for official CryptoPro CSP packages (with Rutoken S and ECP support)
License:  GPL
Group:    Security/Networking

Url:      http://www.altlinux.org/CryptoPro
Source:   cryptopro-paths.sh
Packager: Andrey Cherepanov <cas at altlinux.org>

ExclusiveArch: %ix86 x86_64 %e2k mipsel

Requires: %name-base = %version-%release

# CryptoPro packages require lsb

Requires: lsb >= 3.0

%description
Provide environment for official CryptoPro CSP packages installation.
See instructions and usage information (in Russian) at
http://www.altlinux.org/CryptoPro

Tested with CryptoPro CSP 4.0.0 Build 9708.

%package base
Summary: Base environment for official CryptoPro CSP packages (with Rutoken S and ECP support)
License: GPL
Group: Security/Networking

# for cprocsp-rdr-gui-gtk

Requires: libgtk+2

# for own CryptoPro install program

Requires: newt52

# for curl

Requires: libidn
Requires: libssh2

# for Rutoken S and ECP support

Requires: opensc
Requires: pcsc-lite
Requires: pcsc-lite-rutokens
Requires: pcsc-lite-ccid
%ifarch %ix86 x86_64
Requires: librtpkcs11ecp
%endif

# Hacks to provide requirements of cprocsp-pki-cades and cprocsp-pki-plugin

%if "%_lib" == "lib64"
%define hacked_lib_suffix ()(64bit)
%else
%define hacked_lib_suffix %nil
%endif
Provides: libcapi10.so.4%hacked_lib_suffix
Provides: libcapi20.so.4%hacked_lib_suffix
Provides: libcpalloc.so.0%hacked_lib_suffix
Provides: librdrsup.so.4%hacked_lib_suffix
Provides: libcpui.so.4%hacked_lib_suffix

Provides: %name-full = %EVR
Obsoletes: %name-full < %EVR

%description base
This package provides base environment for official CryptoPro CSP
without pulling in whole LSB package with some extra dependencies;
install cprocsp-compat-altlinux-64 or cprocsp-compat-altlinux
before the rest of CryptoPro packages to compensate for that.

%install
install -pDm755 %SOURCE0 %buildroot%_sysconfdir/bashrc.d/cryptopro-paths.sh

%files

%files base
%_sysconfdir/bashrc.d/cryptopro-paths.sh

%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