SassafrasK2Client.ds.recipe

Basics

Last refresh 2025-04-04 01:50:45
Desciption Fetches the latest Sassafras KeyClient Mac installer for versions 7.0-7.6 and copies it to a location of your choosing. Additionally, fetches the k2clientconfig tool from the Sassafras website for the purposes of customizing the installer. If you do not wish/need to customize the installer (e.g., in order to copy the Client to a Self-Updates server), use the SassafrasK2.ds recipe. This is an adaptation of the Munki recipe (written by Tim Sutton, in the main AutoPkg recipes repo). The main AutoPkg recipes must be installed in order to use the SassafrasK2ClientCustomizer processor. This recipe supports KeyClient 7.0-7.6 only. See SassafrasK2Client.download for details on the REVISION Input variable, which you may wish to override. Local Input keys: - K2CLIENTCONFIG_OPTIONS is a string that should be overridden with command-line options to the 'k2clientconfig' tool. No sanity checking is performed beyond what's done by k2clientconfig. The recipe includes one suggested default, more documentation here: https://www.sassafras.com/hrl/7.5/k2clientconfigM.html - DS_PKGS_PATH is the destination path for the copy. A trailing slash is not required/desired. The path does not need to be on the same volume as the cache, as the pkg is being duplicated. - DS_NAME is what the final package will be called, regardless of what was generated by the parent recipe. It defaults to %NAME% (just the app name from the Parent Recipe). There are k2clientconfig options to kill KeyAccess before installation, and to start it after installation, implying we might not necessarily need a logout. Some testing shows that when these options are used, the installation is still not in a consistent state. Requiring a restart seems the only sane choice for now, but it should be further investigated. Sassafras uses two decimals in their pkg versions (skipping the third) but uses three decimals everywhere else (webpage, actual bundle files, preference pane, etc.), so we use the three-decimal version.
Identifier com.github.jazzace.ds.sassafras-k2client
Parent Recipes com.github.autopkg.download.sassafras-k2client
Child Recipes
First commit 2018-10-03 16:28:41 -0600
Latest commit 2018-10-03 16:28:41 -0600
Score 0.20

Warnings

The following recipes have duplicate URLDownloader URLs (https://www.sassafras.com/k2/revisions%REVISION%/current/Installers/Macintosh%20Installers/Misc/k2clientconfig):