Closed tnaumann closed 3 years ago
For the minimal suggestion above, the following modification should work:
cask "safenet-authentication-client" do
version "10.2.111.0"
sha256 "af622151e7188d25f326420d3d210dc676002c765a670bd756fd40bd050fd0a5"
url "https://www.globalsign.com/en/safenet-drivers/USB/#{version.major_minor}/Safenet_#{version.major_minor}_Post_GA_(R4).zip"
name "SafeNet Authentication Client"
desc "Client for smart card readers and security tokens"
homepage "https://support.globalsign.com/ssl/ssl-certificates-installation/safenet-drivers"
livecheck do
skip "No version information available"
end
depends_on macos: :big_sur
container nested: "Safenet #{version.major_minor} Post GA (R4) 2/SafeNet Authentication Client #{version.major_minor}.pkg"
pkg "SafeNet Authentication Client #{version.major_minor}.pkg"
uninstall launchctl: [
"com.SafeNet.SACMonitor",
"com.SafeNet.SACSrv",
],
quit: [
"com.gemalto.Gemalto-Smart-Card-Token.PKCS11-Token",
"SACMonitor",
],
pkgutil: [
"com.safenet.safenetAuthenticationClient.eTokenConf.pkg",
"com.safenet.safenetAuthenticationClient.eTokenFramework.pkg",
"com.safenet.safenetAuthenticationClient.scripts.pkg",
],
delete: "/Applications/SafeNet"
zap trash: "~/Library/Application Scripts/com.gemalto.Gemalto-Smart-Card-Token.PKCS11-Token"
end
Hi @tnaumann, your solution looks like it will work for installing Big Sur. You are welcome to submit a PR to update the cask. You could add a conditional statement to the cask to support the different MacOS versions.
--force
.brew update-reset && brew update
and retried my command.brew doctor
, fixed as many issues as possible and retried my command.Description of issue
The current formula only supports Catalina, but Safenet Authentication Client has several versions for MacOS:
(Source: https://support.globalsign.com/ssl/ssl-certificates-installation/safenet-drivers)
Specifically, the following versions are supposed to be used:
Ideally, the formula could check MacOS version and install the appropriate version of SafeNet. Minimally, the formula should be updated to install on Big Sur.
Command that failed
brew install safenet-authentication-client
Output of command with
--verbose --debug
Click to expand
Output of
brew doctor --verbose
Click to expand
Output of
brew tap
Click to expand