Skip to content

Commit

Permalink
Webex Audio Driver
Browse files Browse the repository at this point in the history
  • Loading branch information
David Pirie committed Nov 25, 2024
1 parent b0cf843 commit a6b196a
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Webex/WebexAudioDriver.download.recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Description: |
Downloads the Cisco Webex Audio Driver Package from the Cisco Webex
Help Center page:
https://help.webex.com/en-us/article/WBX9000031110/Cisco-Webex-Audio-Driver-Package-Download-for-Mac
as a pkg, then verifies the code signature.
Identifier: com.github.davidbpirie.download.WebexAudioDriver
MinimumVersion: 2.3.0

Input:
NAME: WebexAudioDriver
url: https://www.cisco.com/c/dam/en/us/td/docs/collaboration/webex_centers/Collaboration-Help/TS-Help-Portal-Support-Utilities/CiscoAudioDeviceInstall/CiscoAudioDeviceInstall.pkg

Process:
- Processor: URLDownloader

- Processor: EndOfCheckPhase

- Processor: CodeSignatureVerifier
Arguments:
input_path: '%pathname%'
expected_authority_names:
- 'Developer ID Installer: Cisco (DE8Y96K9QP)'
- Developer ID Certification Authority
- Apple Root CA
46 changes: 46 additions & 0 deletions Webex/WebexAudioDriver.jamf-upload.recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
Description: |
Downloads the Cisco Webex Audio Driver Package from the Cisco Webex
Help Center page:
https://help.webex.com/en-us/article/WBX9000031110/Cisco-Webex-Audio-Driver-Package-Download-for-Mac
as a pkg, verifies the code signature, then finds the version, then
uploads the package to Jamf Pro.
JSS_URL, API_USERNAME, and API_PASSWORD, and for non-cloud instances
SMB_URL, SMB_USERNAME and SMB_PASSWORD, are expected to be populated
in your AutoPkg preferences, override Input variables, or by
command-line keys.
Identifier: com.github.davidbpirie.jamf-upload.WebexAudioDriver
MinimumVersion: 2.3.0
ParentRecipe: com.github.davidbpirie.pkg.WebexAudioDriver

Input:
NAME: WebexAudioDriver
JAMF_CATEGORY: Business
JAMF_PKG_NAME: '%NAME%'
JAMF_PKG_INFO: This specialized audio driver package is designed to enable administrators to pre-install the necessary drivers on Mac devices for end-users, streamlining the audio setup process and ensuring a seamless audio experience.
JAMF_PKG_NOTES: 'Uploaded by AutoPkg'
JAMF_PKG_PRIORITY: '10'
JAMF_PKG_REBOOT_REQUIRED: 'False'
JAMF_PKG_OS_REQUIREMENTS: ''
JAMF_PKG_REQUIRED_PROCESSOR: None
JAMF_PKG_SEND_NOTIFICATION: 'False'
JAMF_PKG_REPLACE: 'False'
JAMF_PKG_REPLACE_METADATA: 'False'
JAMF_PKG_SUFFIX: pkg

Process:
- Processor: com.github.grahampugh.jamf-upload.processors/JamfPackageUploader
Arguments:
pkg_name: '%JAMF_PKG_NAME%-%version%.%JAMF_PKG_SUFFIX%'
pkg_path: '%pathname%'
pkg_category: '%JAMF_CATEGORY%'
pkg_info: '%JAMF_PKG_INFO%'
pkg_notes: '%JAMF_PKG_NOTES%'
pkg_priority: '%JAMF_PKG_PRIORITY%'
reboot_required: '%JAMF_PKG_REBOOT_REQUIRED%'
os_requirements: '%JAMF_PKG_OS_REQUIREMENTS%'
required_processor: '%JAMF_PKG_REQUIRED_PROCESSOR%'
send_notification: '%JAMF_PKG_SEND_NOTIFICATION%'
replace_pkg: '%JAMF_PKG_REPLACE%'
replace_pkg_metadata: '%JAMF_PKG_REPLACE_METADATA%'
36 changes: 36 additions & 0 deletions Webex/WebexAudioDriver.pkg.recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Description: |
Downloads the Cisco Webex Audio Driver Package from the Cisco Webex
Help Center page:
https://help.webex.com/en-us/article/WBX9000031110/Cisco-Webex-Audio-Driver-Package-Download-for-Mac
as a pkg, verifies the code signature, then finds the version.
Identifier: com.github.davidbpirie.pkg.WebexAudioDriver
ParentRecipe: com.github.davidbpirie.download.WebexAudioDriver
MinimumVersion: 2.3.0

Input:
NAME: WebexAudioDriver

Process:
- Processor: FlatPkgUnpacker
Arguments:
flat_pkg_path: '%pathname%'
destination_path: '%RECIPE_CACHE_DIR%/unpack'

- Processor: PkgPayloadUnpacker
Arguments:
pkg_payload_path: '%RECIPE_CACHE_DIR%/unpack/Payload'
destination_path: '%RECIPE_CACHE_DIR%/src_payload'
purge_destination: True

- Processor: PlistReader
Arguments:
info_path: '%RECIPE_CACHE_DIR%/src_payload/Library/Audio/Plug-Ins/HAL/CiscoAudioDevice.driver/Contents/Info.plist'
plist_keys:
CFBundleShortVersionString: version

- Processor: PathDeleter
Arguments:
path_list:
- '%RECIPE_CACHE_DIR%/unpack'
- '%RECIPE_CACHE_DIR%/src_payload'

0 comments on commit a6b196a

Please sign in to comment.