summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMantas Mikulėnas2021-11-24 08:22:20 +0200
committerMantas Mikulėnas2021-11-24 08:22:20 +0200
commitf54c66cd12f975dcf05ecc92c6de111d5fa1da0c (patch)
tree22e9dbaa10e2ee58881d683515cf273371e7050c
parent9bf22c92018c9d1839ffb4a60679813c4463c886 (diff)
downloadaur-sac-core-legacy.tar.gz
remove the pkcs11/ symlink
The token module always looks for libcrypto.so in its own directory first, followed by /usr/lib next. I'm definitely not going to put the compat libcrypto.so.1.0.0 symlink in /usr/lib/pkcs11 (as that would likely affect the newer sac-core and possibly other modules), so the best option is to keep this old version isolated to its own directory.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
-rw-r--r--sac-core-legacy.install8
3 files changed, 6 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 245e145e3e5b..a1fa44a7061a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = sac-core-legacy
pkgdesc = SafeNet Authentication Client (version 10.0 for old Alladin eToken support)
pkgver = 10.0.37
- pkgrel = 5
+ pkgrel = 6
url = https://cpl.thalesgroup.com/access-management/security-applications/authentication-client-token-management
install = sac-core-legacy.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 32dac79f4dfb..1a38760b81b3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=sac-core-legacy
pkgver=10.0.37
-pkgrel=5
+pkgrel=6
pkgdesc="SafeNet Authentication Client (version 10.0 for old Alladin eToken support)"
url='https://cpl.thalesgroup.com/access-management/security-applications/authentication-client-token-management'
arch=(x86_64)
@@ -36,10 +36,6 @@ package() {
ln -s ../libcrypto.so.1.0.0 "$pkgdir"/usr/lib/sac-10.0/libcrypto.so.1
ln -s ../libcrypto.so.1.0.0 "$pkgdir"/usr/lib/sac-10.0/libcrypto.so.1.0.0
- # Legacy name for the eToken PKCS#11 module
- install -dm755 "$pkgdir"/usr/lib/pkcs11
- ln -s ../sac-10.0/libeToken.so.10.0.37 "$pkgdir"/usr/lib/pkcs11/libeTPkcs11.so
-
# "Card reader" driver for PCSC
install -dm755 "$pkgdir"/usr/lib/pcsc/drivers
cp -a usr/share/eToken/drivers/aks-ifdh.bundle "$pkgdir"/usr/lib/pcsc/drivers/
diff --git a/sac-core-legacy.install b/sac-core-legacy.install
index ab51bd5d4fda..ce9dd7e01d49 100644
--- a/sac-core-legacy.install
+++ b/sac-core-legacy.install
@@ -1,11 +1,11 @@
post_install() {
echo "Note: You may need to restart 'pcscd.service' for it to recognize tokens."
echo ""
- echo "Note: The PKCS#11 library is no longer directly in /usr/lib, due to file"
- echo " conflicts with the newer sac-core. Instead, it can be found at:"
+ echo "Note: The PKCS#11 library has been removed from /usr/lib (due to file"
+ echo " conflicts with the newer sac-core) as well as /usr/lib/pkcs11"
+ echo " (due to it loading the wrong OpenSSL version and crashing)."
echo ""
- echo " - /usr/lib/pkcs11/libeTPkcs11.so"
- echo " - /usr/lib/sac-10.0/libeToken.so"
+ echo " Instead, it MUST be loaded via \"/usr/lib/sac-10.0/libeToken.so\"."
echo ""
echo " Please update your program configuration."
}