diff options
author | Platon Pronko | 2021-01-23 18:16:42 +0300 |
---|---|---|
committer | Platon Pronko | 2021-01-23 18:16:42 +0300 |
commit | 4e836eb4c4aab2d45691d1d5fb75d166121167b4 (patch) | |
tree | 911c357f8025a75a2a5d8cbed5eb213223fe6192 | |
parent | f228c215d4feef7b089665a26367eb4fc4c2f1c3 (diff) | |
download | aur-4e836eb4c4aab2d45691d1d5fb75d166121167b4.tar.gz |
add lsb-cprocsp-pkcs11 rpm to installed files
-rw-r--r-- | PKGBUILD | 1 | ||||
-rw-r--r-- | cryptopro-csp-k1.install | 9 |
2 files changed, 10 insertions, 0 deletions
@@ -45,6 +45,7 @@ package() { bsdtar -xf "lsb-cprocsp-kc1-64-${_pkgver}.x86_64.rpm" -C "$pkgdir" bsdtar -xf "lsb-cprocsp-capilite-64-${_pkgver}.x86_64.rpm" -C "$pkgdir" bsdtar -xf "lsb-cprocsp-ca-certs-${_pkgver}.noarch.rpm" -C "$pkgdir" + bsdtar -xf "lsb-cprocsp-pkcs11-64-${_pkgver}.x86_64.rpm" -C "$pkgdir" bsdtar -xf "cprocsp-rdr-gui-gtk-64-${_pkgver}.x86_64.rpm" -C "$pkgdir" bsdtar -xf "cprocsp-rdr-pcsc-64-${_pkgver}.x86_64.rpm" -C "$pkgdir" bsdtar -xf "cprocsp-rdr-jacarta-64-5.0.0.1170-4.x86_64.rpm" -C "$pkgdir" diff --git a/cryptopro-csp-k1.install b/cryptopro-csp-k1.install index 5ad0f73e9f4f..81e85eb83f52 100644 --- a/cryptopro-csp-k1.install +++ b/cryptopro-csp-k1.install @@ -130,6 +130,15 @@ post_install() { printf "Setup CryptoPro CSP and reinstall.\n" fi + # lsb-cprocsp-pkcs11-64 + cpconfig -ini '\config\apppath' -add string libcppkcs11.so /opt/cprocsp/lib/amd64/libcppkcs11.so + cpconfig -ini '\config\PKCS11' -enum section 2>/dev/null | grep -q '^slot0$' + if [ "$?" -eq "1" ]; then + cpconfig -ini '\config\PKCS11\slot0' -add string "ProvGOST" "" + cpconfig -ini '\config\PKCS11\slot0' -add string "Firefox" "" + cpconfig -ini '\config\PKCS11\slot0' -add string "reader" "" + fi + # cprocsp-rdr-gui-gtk-64 cpconfig -ini '\config\apppath' -add string librdrrndmbio_gui_fgtk.so /opt/cprocsp/lib/amd64/librdrrndmbio_gui_fgtk.so cpconfig -ini '\config\apppath' -add string libxcpui.so /opt/cprocsp/lib/amd64/libfgcpui.so |