Code Monkey home page Code Monkey logo

novaksam-recipes's Introduction

Recipes

This is the repo for Sam Novak's modifed JSS recipes that are setup to be used with the latest version of JSSImporter

Keys:

Please note, case sensitivity.

  • CATEGORY - The category the pkg will be uploaded into.
  • GROUP_NAME - The name of the group in JSS that will keep track of the software version.
  • GROUP_TEMPLATE - The template file to use when creating the group.
  • SELF_SERVICE_ICON - The path to the icon file to upload for self service.
  • NAME - The name you want to give to the software (ex. {NAME}-{VERSION}.pkg)
  • POLICY_CATEGORY - The category the installation policy will be located in.
  • POLICY_TEMPLATE - The template file to be used when creating the installation policy.
  • POLICY_TRIGGER - The event that can be called to run the policy outside of self service (ex. jamf policy -event {POLICY_TRIGGER})

Notes:

My recipes overall are pretty flexible, so you should be able to create overrides and modify them to fit your needs pretty easily.

I've made the template files pretty flexible too, so you can modify them how you'd like to use them in your shop.

Example:

You want a policy to run at checkin. Duplicate PolicyTemplate.xml to MyPolicyTemplate.xml (or some other name) and open it Modify the line

<trigger_checkin>false</trigger_checkin>

to

<trigger_checkin>true</trigger_checkin>

Now open the recipe/override you want to run at checkin and modify

<string>%RECIPE_DIR%/Templates/PolicyTemplate.xml</string>

to

<string>%RECIPE_DIR%/Templates/MyPolicyTemplate.xml</string>

There are some pieces of software that require Extension Attributes to keep track of software versions, and those recipes are constructed a slightly different way.

Example:

No example currently available.

There are some pieces of software that have minimum operating system requirements (iMovie, iPhoto, etc) so in the case of these recipes the GROUP_TEMPLATE string must be changed to the appropriate template.

Example:

iMovie get updated and requires 10.10 In the iMovie recipe, change

%RECIPE_DIR%/Templates/SmartGroupTemplate-Application.xml

to

%RECIPE_DIR%/Templates/SmartGroupTemplate-Application-Yose.xml

There are also some extension attributes that are a pain to get because of the variable they use in the Info.plist file, so there is another EA template for this scenario.

Github uses a funky CFBundleShortVersion string in their Info.plist file for version tracking to work around this, there is a specific template used to track the software that reads the CFBundleVersion string instead. Now you'll be able to track github version with an Extension attribute that returns a version number.

Requires the following repos:

autopkg: AdobeAIR, Blackboard Collaborate Launcher,FlashPlayerExtractPackage, Dropbox, Evernote, Firefox_EN, GoogleChrome, Handbrake, OracleJava7, OracleJava8, sassafras-k2client, Silverlight, Skype, TextWrangler, VLC

hansen-m: AdobeDigitalEditions, Endnote X7, OracleJava8JDK

hansen-m is currently the only repo offering pkg for AdobeDigitalEditions and Oracle JDK 8

scriptingosx: garageband, iMovie, iPhoto_, keynote_, Numbers_, Pages_, xcode_, XQuartz

Scriptingosx offers a number of AppStore pieces of software, along with some additional pkg recipes that are only offered there (currently)

nmcspadden: appstore (Final Cut, Compressor, etc)

Nmcspadden offers the appstore recipe, which is super useful when packaging appstore software. I use it multiple times.

cgerke-recipes: GoogleDrive, Wireshark

Cgerke-recipes offers a PKG for GoogleDrive and Wireshark, which I would otherwise have to pull from at least 2 other repos.

arubdesu: LyncInstaller

Arubdesu offers the only Lync downloader currently offered and offers a pkg recipe for it. I sort or re-package it to display the version number in the installer.

jazzace: processing

Jazzace is the only repo currently offering processing.

justinrummel: VMwareFusion

Justinrummel is the only repo currently offering a PKG of VMWareFusion

kelleysam: Github

Kelleysam offer both the download and pkg recipe for github.

novaksam-recipes's People

Contributors

amandaw33 avatar apizz avatar aysiu avatar bochoven avatar brdshb avatar brokenwindupdoll avatar charliwest avatar foigus avatar fuzzylogiq avatar homebysix avatar jazzace avatar joeschlimmer-ic avatar jps3 avatar kevinmcox avatar macmule avatar mlbz521 avatar neilmartin83 avatar nielshojen avatar novaksam avatar roratonet avatar seanhansell avatar tk5-tim avatar tsparr avatar wegotoeleven avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

novaksam-recipes's Issues

Adobe Acrobat Reader DC Updates.jss fails to download

Getting the following error when running the Reader DC Updates.jss

Processor: URLDownloader: Error: Command '['/usr/bin/curl', '--silent', '--show-error', '--no-buffer', '--dump-header', '-', '--speed-time', '30', '--location', '--url', 'https://ardownload2.adobe.com/pub/adobe/reader/mac/AcrobatDC/2100720091\n/AcroRdrDCUpd2100720091\n_MUI.dmg', '--fail', '--output', '/Users/mds/Library/AutoPkg/Cache/local.brds.jss.Adobe Acrobat Reader DC Updates/downloads/tmphz3nqxb0', '--header', 'If-None-Match: "ac630cd-5c6e7e85f0ba0"', '--header', 'If-Modified-Since: Mon, 12 Jul 2021 07:17:01 GMT']' returned non-zero exit status 3.

OracleJava8JDK.pkg.recipe: package is downloaded on every 'run'

In the recipe 'OracleJava8JDK.pkg.recipe' deleting the original downloaded file seems to cause AutoPkg to download the package every time, even if it's unchanged.

I believe this commit caused this behavior: d29e6f9

Testing with this line removed, AutoPkg properly recognizes that the source URL item is unchanged.

Two different runs:

URLDownloader: Storing new Last-Modified header: Wed, 15 Mar 2017 19:26:28 GMT
URLDownloader: Storing new ETag header: "9953fc6bee9effd7bfa5f5199ac99e33:1489611585"

URLDownloader: Storing new Last-Modified header: Wed, 15 Mar 2017 19:26:28 GMT
URLDownloader: Storing new ETag header: "9953fc6bee9effd7bfa5f5199ac99e33:1489611585"

And the desired result with the line removed:

URLDownloader: Item at URL is unchanged.
URLDownloader: Using existing /path/to/AutoPkg/Cache/com.github.novaksam.pkg.OracleJava8JDK/downloads/Oracle Java 8 JDK.dmg

Removed Audacity.download due to TOS violation

Audacity's download from fosshub is now clearly in violation of their TOS, so I've removed my Audacity.download recipe and made the Audacity.munki recipe I maintain require the --pkg argument so that a user may supply their own download. This just involved changing %pathname% to %PKG% and adding a PackageRequired argument so that it's clearer to users how the recipe must be used.

Since you've also got Audacity recipes that ultimately derive from Audacity.download (or are a copy of it), I'm opening this issue on this and a couple other repos.

More details:

https://www.fosshub.com/tos.html

https://github.com/chocolatey/package-validator/wiki/ScriptsDoNotDownloadFromFossHub
http://forum.audacityteam.org/viewtopic.php?f=50&t=94040
https://www.reddit.com/r/sysadmin/comments/5g5npg/fosshub_message_for_chocolatey_please_stop_with/

Keeping the fosshub scraping working for this recipe has been a chore and Audacity is rarely ever updated, so I can't say I don't prefer this approach anyway.

Since there also seems to be duplication across a few of @homebysix, @scriptingosx and @novaksam's recipes it might also be a good time to evaluate whether any recipes could be removed in favour of one or another.

Cant build WacomIntuos.pkg

Hi.
Im getting this error then running the WacomIntuos.pkg recipe.
I cleaned out all old stuff and added the recipe again but still get the same error:
.........
Processing WacomIntuos.pkg...
WARNING: WacomIntuos.pkg is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
File '/Volumes/Backup_Cache/AutoPKG/Cache/com.github.novaksam.pkg.WacomIntuos/downloads/PAYLOAD/Library/Application Support/Tablet/WacomTabletDriver.app/Contents/Info.plist' does not exist or could not be read.
Failed.

The following recipes failed:
WacomIntuos.pkg
Error in com.github.novaksam.pkg.WacomIntuos: Processor: Versioner: Error: File '/Volumes/Backup_Cache/AutoPKG/Cache/com.github.novaksam.pkg.WacomIntuos/downloads/PAYLOAD/Library/Application Support/Tablet/WacomTabletDriver.app/Contents/Info.plist' does not exist or could not be read.

Nothing downloaded, packaged or imported.

Adoptium JDK issues

It looks like something went wrong with this commit:
606bea1

Two of the recipes are using the same Android Studio identifier and download information. While the third is pointing to the Adoptium Github releases but still checking for Google code signature on the package.

WacomIntuos.download Processor URLTextSearcher Error

The following recipes failed:
com.github.novaksam.download.WacomIntuos
Error in com.github.novaksam.download.WacomIntuos: Processor: URLTextSearcher: Error: No match found on URL: https://www.wacom.com/en-us/support/product-support/drivers

{'Input': {'re_pattern': '(http://cdn.wacom.com/u/productsupport/drivers/mac/professional/WacomTablet_+[0-9].+[0-9].+[0-9]*-*[0-9].dmg)',
           'url': 'https://www.wacom.com/en-us/support/product-support/drivers'}}
URLTextSearcher: No value supplied for result_output_var_name, setting default value of: match
Traceback (most recent call last):
  File "/Library/AutoPkg/autopkglib/__init__.py", line 658, in process
    self.env = processor.process()
  File "/Library/AutoPkg/autopkglib/__init__.py", line 465, in process
    self.main()
  File "/Library/AutoPkg/autopkglib/URLTextSearcher.py", line 122, in main
    groupmatch, groupdict = self.re_search(content)
  File "/Library/AutoPkg/autopkglib/URLTextSearcher.py", line 109, in re_search
    raise ProcessorError(f"{NO_MATCH_MESSAGE}: {self.env['url']}")
autopkglib.ProcessorError: No match found on URL: https://www.wacom.com/en-us/support/product-support/drivers
  File "/Library/AutoPkg/autopkglib/__init__.py", line 658, in process
    self.env = processor.process()

AdobeReader Fails

smatch in authority names. Note that all verification can be disabled by setting the variable DISABLE_CODE_SIGNATURE_VERIFICATION to a non-empty value.
Failed.
Receipt written to /Users/jobeng/Library/AutoPkg/Cache/com.github.novaksam.jss.AdobeAcrobatReaderDC/receipts/Adobe Acrobat Reader DC.jss-receipt-20220129-004835.plist

The following recipes failed:
Adobe Acrobat Reader DC.jss.recipe
Error in com.github.novaksam.jss.AdobeAcrobatReaderDC: Processor: CodeSignatureVerifier: Error: Mismatch in authority names. Note that all verification can be disabled by setting the variable DISABLE_CODE_SIGNATURE_VERIFICATION to a non-empty value.

The following new items were downloaded:
Download Path
-------------
/Users/jobeng/Library/AutoPkg/Cache/com.github.novaksam.jss.AdobeAcrobatReaderDC/downloads/Adobe Acrobat Reader DC-21.011.20039.dmg
Processing Adobe Acrobat Reader DC.jss.recipe...
WARNING: Adobe Acrobat Reader DC.jss.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
AdobeReaderURLProvider
AdobeReaderURLProvider: Found URL http://ardownload.adobe.com/pub/adobe/reader/mac/AcrobatDC/2101120039/AcroRdrDC_2101120039_MUI.dmg
AdobeReaderURLProvider: Found version 21.011.20039
URLDownloader
URLDownloader: Item at URL is unchanged.
URLDownloader: Using existing /Users/jobeng/Library/AutoPkg/Cache/com.github.novaksam.jss.AdobeAcrobatReaderDC/downloads/Adobe Acrobat Reader DC-21.011.20039.dmg
EndOfCheckPhase
CodeSignatureVerifier
CodeSignatureVerifier: Mounted disk image /Users/jobeng/Library/AutoPkg/Cache/com.github.novaksam.jss.AdobeAcrobatReaderDC/downloads/Adobe Acrobat Reader DC-21.011.20039.dmg
CodeSignatureVerifier: Using path '/private/tmp/dmg.DFkuHq/AcroRdrDC_2101120039_MUI.pkg' matched from globbed '/private/tmp/dmg.DFkuHq/.pkg'.
CodeSignatureVerifier: Verifying installer package signature...
CodeSignatureVerifier: Package "AcroRdrDC_2101120039_MUI.pkg":
CodeSignatureVerifier: Status: signed by a developer certificate issued by Apple for distribution
CodeSignatureVerifier: Notarization: trusted by the Apple notary service
CodeSignatureVerifier: Signed with a trusted timestamp on: 2021-12-24 12:03:34 +0000
CodeSignatureVerifier: Certificate Chain:
CodeSignatureVerifier: 1. Developer ID Installer: Adobe Inc. (JQ525L2MZD)
CodeSignatureVerifier: Expires: 2025-03-20 15:53:03 +0000
CodeSignatureVerifier: SHA256 Fingerprint:
CodeSignatureVerifier: EB A4 77 C5 66 4C 70 60 7B CD 99 73 19 24 5D FF 1A 94 85 A9 32 37
CodeSignatureVerifier: CE 14 9C FD 5C B9 1A 39 CA C5
CodeSignatureVerifier: ------------------------------------------------------------------------
CodeSignatureVerifier: 2. Developer ID Certification Authority
CodeSignatureVerifier: Expires: 2027-02-01 22:12:15 +0000
CodeSignatureVerifier: SHA256 Fingerprint:
CodeSignatureVerifier: 7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03
CodeSignatureVerifier: F2 9C 88 CF B0 B1 BA 63 58 7F
CodeSignatureVerifier: ------------------------------------------------------------------------
CodeSignatureVerifier: 3. Apple Root CA
CodeSignatureVerifier: Expires: 2035-02-09 21:40:36 +0000
CodeSignatureVerifier: SHA256 Fingerprint:
CodeSignatureVerifier: B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C
CodeSignatureVerifier: 68 C5 BE 91 B5 A1 10 01 F0 24
CodeSignatureVerifier:
CodeSignatureVerifier: Signature is valid
CodeSignatureVerifier: Authority name chain is valid
CodeSignatureVerifier
CodeSignatureVerifier: Mounted disk image /Users/jobeng/Library/AutoPkg/Cache/com.github.novaksam.jss.AdobeAcrobatReaderDC/downloads/Adobe Acrobat Reader DC-21.011.20039.dmg
CodeSignatureVerifier: Using path '/private/tmp/dmg.hKrrgY/AcroRdrDC_2101120039_MUI.pkg' matched from globbed '/private/tmp/dmg.hKrrgY/
.pkg'.
CodeSignatureVerifier: Verifying installer package signature...
CodeSignatureVerifier: Package "AcroRdrDC_2101120039_MUI.pkg":
CodeSignatureVerifier: Status: signed by a developer certificate issued by Apple for distribution
CodeSignatureVerifier: Notarization: trusted by the Apple notary service
CodeSignatureVerifier: Signed with a trusted timestamp on: 2021-12-24 12:03:34 +0000
CodeSignatureVerifier: Certificate Chain:
CodeSignatureVerifier: 1. Developer ID Installer: Adobe Inc. (JQ525L2MZD)
CodeSignatureVerifier: Expires: 2025-03-20 15:53:03 +0000
CodeSignatureVerifier: SHA256 Fingerprint:
CodeSignatureVerifier: EB A4 77 C5 66 4C 70 60 7B CD 99 73 19 24 5D FF 1A 94 85 A9 32 37
CodeSignatureVerifier: CE 14 9C FD 5C B9 1A 39 CA C5
CodeSignatureVerifier: ------------------------------------------------------------------------
CodeSignatureVerifier: 2. Developer ID Certification Authority
CodeSignatureVerifier: Expires: 2027-02-01 22:12:15 +0000
CodeSignatureVerifier: SHA256 Fingerprint:
CodeSignatureVerifier: 7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03
CodeSignatureVerifier: F2 9C 88 CF B0 B1 BA 63 58 7F
CodeSignatureVerifier: ------------------------------------------------------------------------
CodeSignatureVerifier: 3. Apple Root CA
CodeSignatureVerifier: Expires: 2035-02-09 21:40:36 +0000
CodeSignatureVerifier: SHA256 Fingerprint:
CodeSignatureVerifier: B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C
CodeSignatureVerifier: 68 C5 BE 91 B5 A1 10 01 F0 24
CodeSignatureVerifier:
CodeSignatureVerifier: Signature is valid
CodeSignatureVerifier: Mismatch in authority names
CodeSignatureVerifier: Expected: Developer ID Installer: Adobe Systems, Inc. (JQ525L2MZD) -> Developer ID Certification Authority -> Apple Root CA
CodeSignatureVerifier: Found: Developer ID Installer: Adobe Inc. (JQ525L2MZD) -> Developer ID Certification Authority -> Apple Root CA
Mismatch in authority names. Note that all verification can be disabled by setting the variable DISABLE_CODE_SIGNATURE_VERIFICATION to a non-empty value.
Failed.
Receipt written to /Users/jobeng/Library/AutoPkg/Cache/com.github.novaksam.jss.AdobeAcrobatReaderDC/receipts/Adobe Acrobat Reader DC.jss-receipt-20220129-004857.plist

The following recipes failed:
Adobe Acrobat Reader DC.jss.recipe
Error in com.github.novaksam.jss.AdobeAcrobatReaderDC: Processor: CodeSignatureVerifier: Error: Mismatch in authority names. Note that all verification can be disabled by setting the variable DISABLE_CODE_SIGNATURE_VERIFICATION to a non-empty value.

above are the errors. Please kindly look into it and resolve

Certificate authority for Wacom Bamboo hasn't changed (yet?)

Wacom changed the authority name for the Wacom Intuos Driver download. And understandable the recipe for the Bamboo driver was updated as well. However, the certificate authority for the Bamboo driver has not changed (yet?). I'm guessing it will when/if they release a new version of the driver. So, not sure that it is worth changing it back at this point. But wanted to make a note of it for anyone that might be wondering.

AdobeAcrobatReaderDCUpdates Downloader Error

Error in local.pkg.AdobeAcrobatReaderDCUpdates: Processor: URLDownloader: Error: Command '['/usr/bin/curl', '--silent', '--show-error', '--no-buffer', '--dump-header', '-', '--speed-time', '30', '--location', '--url', 'https://download.adobe.com/pub/adobe/reader/mac/AcrobatDC/2001320074/AcroRdrDCUpd2001320074_MUI.dmg', '--fail', '--output', '/Users/[usernameredacted]/Library/AutoPkg/Cache/local.pkg.AdobeAcrobatReaderDCUpdates/downloads/tmpkhapmlio', '--header', 'If-None-Match: "ac7b0d2-5b2ba1a0e7387"', '--header', 'If-Modified-Since: Wed, 28 Oct 2020 12:14:14 GMT']' returned non-zero exit status 22

The URL seems to have changed.
Also applies to AdobeAcrobatDCUpdate

Jamf Pro JSS Issue

In the JamfPro JSS recipe, I am now getting the following

Error in local.jss.Jamf Pro: Processor: com.scriptingosx.processors/PathListCopier: Error: module 'FoundationPlist' has no attribute 'FoundationPlistException'

Acrobat DC recipe not working for new installs

I've noticed that the Acrobat DC package only works for upgrades to existing installs. Is there any way to get this or another recipe working for new installs? I get errors every time unless there's an existing Acrobat install on the system.

Thanks for all your work!

Recent issue with `AdobeAcrobatReaderDcUpdateInfoProvider'

I have been working with a recipe for a while from that recently reported an issue. This worked until today, and the repo is updated. AdobeAcrobatDCUpdates.download.recipe works, AdobeAcrobatReaderDCUpdates.pkg.recipe fails with:

The following recipes failed: /path/to/Library/AutoPkg/RecipeRepos/com.github.autopkg.novaksam-recipes/Recipes - pkg/AdobeAcrobatReaderDCUpdates.pkg.recipe Unknown processor 'AdobeAcrobatReaderDcUpdateInfoProvider'.

update-trust-info and run now fail as well on the jss override of Adobe Acrobat Reader DC Updates.jss.recipe. Is there a change I missed?

Skype For Business JSS Recipe OS Requirements

In the Skype For Business JSS Recipe the OS Requirements key is limited to High Sierra.

I don't know if you would want to remove the key, and let overrides set this, or adjust to include 10.14, as I see you also generate some dynamically with the MinimumOSExtractor Processor. So I figured I'd report it as an issue instead of creating a PR.

Skype fails

Installing Skype
Processing Skype.jss.recipe...
WARNING: Skype.jss.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLDownloader
URLDownloader: Storing new Last-Modified header: Thu, 20 Jan 2022 09:21:16 GMT
URLDownloader: Storing new ETag header: 0x8D9DBF63642FFC2
URLDownloader: Downloaded /Users/kbeng/Library/AutoPkg/Cache/com.github.novaksam.jss.Skype/downloads/Skype.dmg
EndOfCheckPhase
CodeSignatureVerifier
CodeSignatureVerifier: Mounted disk image /Users/kbeng/Library/AutoPkg/Cache/com.github.novaksam.jss.Skype/downloads/Skype.dmg
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification not defined. Using codesign defaults...
CodeSignatureVerifier: /private/tmp/dmg.E8tNfD/Skype.app: valid on disk
CodeSignatureVerifier: /private/tmp/dmg.E8tNfD/Skype.app: satisfies its Designated Requirement
CodeSignatureVerifier: /private/tmp/dmg.E8tNfD/Skype.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
PlistReader
PlistReader: Mounted disk image /Users/kbeng/Library/AutoPkg/Cache/com.github.novaksam.jss.Skype/downloads/Skype.dmg
PlistReader: Reading: /private/tmp/dmg.u9wsSx/Skype.app/Contents/Info.plist
PlistReader: Assigning value of '8.80.0.141' to output variable 'version'
AppPkgCreator
AppPkgCreator: Mounted disk image /Users/kbeng/Library/AutoPkg/Cache/com.github.novaksam.jss.Skype/downloads/Skype.dmg
AppPkgCreator: Using path '/private/tmp/dmg.9U7tQo/Skype.app' matched from globbed '/private/tmp/dmg.9U7tQo/*.app'.
AppPkgCreator: BundleID: com.skype.skype
AppPkgCreator: Copied /private/tmp/dmg.9U7tQo/Skype.app to /Users/kbeng/Library/AutoPkg/Cache/com.github.novaksam.jss.Skype/payload/Applications/Skype.app
AppPkgCreator: Connecting
AppPkgCreator: Sending packaging request
AppPkgCreator: Disconnecting
com.github.autopkg.novaksam-recipes.Processors/MinimumOSExtractor
File '/Users/kbeng/Library/AutoPkg/Cache/com.github.novaksam.jss.Skype/Skype/Applications/Skype.app/Contents/Info.plist' does not exist or could not be read.
Failed.
Receipt written to /Users/kbeng/Library/AutoPkg/Cache/com.github.novaksam.jss.Skype/receipts/Skype.jss-receipt-20220209-173649.plist

The following recipes failed:
Skype.jss.recipe
Error in com.github.novaksam.jss.Skype: Processor: com.github.autopkg.novaksam-recipes.Processors/MinimumOSExtractor: Error: File '/Users/kbeng/Library/AutoPkg/Cache/com.github.novaksam.jss.Skype/Skype/Applications/Skype.app/Contents/Info.plist' does not exist or could not be read.

The following new items were downloaded:
Download Path
-------------
/Users/kbeng/Library/AutoPkg/Cache/com.github.novaksam.jss.Skype/downloads/Skype.dmg

The following packages were built:
Identifier Version Pkg Path
---------- ------- --------
com.skype.skype 8.80.0.141 /Users/kbeng/Library/AutoPkg/Cache/com.github.novaksam.jss.Skype/Skype-8.80.0.141.pkg
Processing Skype.jss.recipe...
WARNING: Skype.jss.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLDownloader
URLDownloader: Item at URL is unchanged.
URLDownloader: Using existing /Users/kbeng/Library/AutoPkg/Cache/com.github.novaksam.jss.Skype/downloads/Skype.dmg
EndOfCheckPhase
CodeSignatureVerifier
CodeSignatureVerifier: Mounted disk image /Users/kbeng/Library/AutoPkg/Cache/com.github.novaksam.jss.Skype/downloads/Skype.dmg
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification not defined. Using codesign defaults...
CodeSignatureVerifier: /private/tmp/dmg.T5PFpS/Skype.app: valid on disk
CodeSignatureVerifier: /private/tmp/dmg.T5PFpS/Skype.app: satisfies its Designated Requirement
CodeSignatureVerifier: /private/tmp/dmg.T5PFpS/Skype.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
PlistReader
PlistReader: Mounted disk image /Users/kbeng/Library/AutoPkg/Cache/com.github.novaksam.jss.Skype/downloads/Skype.dmg
PlistReader: Reading: /private/tmp/dmg.WdL9Vw/Skype.app/Contents/Info.plist
PlistReader: Assigning value of '8.80.0.141' to output variable 'version'
AppPkgCreator
AppPkgCreator: Mounted disk image /Users/kbeng/Library/AutoPkg/Cache/com.github.novaksam.jss.Skype/downloads/Skype.dmg
AppPkgCreator: Using path '/private/tmp/dmg.Q4cAnj/Skype.app' matched from globbed '/private/tmp/dmg.Q4cAnj/*.app'.
AppPkgCreator: BundleID: com.skype.skype
AppPkgCreator: Package already exists at path /Users/kbeng/Library/AutoPkg/Cache/com.github.novaksam.jss.Skype/Skype-8.80.0.141.pkg.
AppPkgCreator: Existing package matches version and identifier, not building.
com.github.autopkg.novaksam-recipes.Processors/MinimumOSExtractor
File '/Users/kbeng/Library/AutoPkg/Cache/com.github.novaksam.jss.Skype/Skype/Applications/Skype.app/Contents/Info.plist' does not exist or could not be read.
Failed.
Receipt written to /Users/kbeng/Library/AutoPkg/Cache/com.github.novaksam.jss.Skype/receipts/Skype.jss-receipt-20220209-173714.plist

The following recipes failed:
Skype.jss.recipe
Error in com.github.novaksam.jss.Skype: Processor: com.github.autopkg.novaksam-recipes.Processors/MinimumOSExtractor: Error: File '/Users/kbeng/Library/AutoPkg/Cache/com.github.novaksam.jss.Skype/Skype/Applications/Skype.app/Contents/Info.plist' does not exist or could not be read.

Nothing downloaded, packaged or imported.
We're all done

Please go through the above script for error

Wacom Intuos Driver getting mismatch in authority names

Looks like they changed the authority name for the Wacom Intuos Driver download. Line 49 in Wacomintuos.download.recipe looks like it now should be:

Developer ID Installer: Wacom Technology Corp. (EG27766DY7)

in place of the current:
Developer ID Installer: Wacom Technology Corp.

AdobeAcrobatReaderDCUpdates.pkg fails to build - Mismatch in authority names during CodeSignatureVerifier check

Hi,
I have a routine that automatically runs autopkg once a week an builds a package list. During todays run the AdobeAcrobatReaderDCUpdates.pkg.recipe failed to build with the following error:

autopkg run AdobeAcrobatReaderDCUpdates.pkg -p /Users/autopkg/Downloads/Adobe\ Acrobat\ Reader\ DC\ Updates.dmg
Processing AdobeAcrobatReaderDCUpdates.pkg...
Mismatch in authority names. Note that all verification can be disabled by setting the variable DISABLE_CODE_SIGNATURE_VERIFICATION to a non-empty value.
Failed.
The following recipes failed:
AdobeAcrobatReaderDCUpdates.pkg
Error in local.pkg.AdobeAcrobatReaderDCUpdates: Processor: CodeSignatureVerifier: Error: Mismatch in authority names. Note that all verification can be disabled by setting the variable DISABLE_CODE_SIGNATURE_VERIFICATION to a non-empty value.
Nothing downloaded, packaged or imported.

With pkgutil --check-signature I checked the signatur for the AcroRdrDCUpd2100720091_MUI.pkg. The result is:

Package "AcroRdrDCUpd2100720091_MUI.pkg":
Status: signed by a developer certificate issued by Apple for distribution
Signed with a trusted timestamp on: 2021-09-09 06:35:01 +0000
Certificate Chain:
1. Developer ID Installer: Adobe Inc. (JQ525L2MZD)
Expires: 2025-03-20 15:53:03 +0000
SHA256 Fingerprint:
EB A4 77 C5 66 4C 70 60 7B CD 99 73 19 24 5D FF 1A 94 85 A9 32 37
CE 14 9C FD 5C B9 1A 39 CA C5
------------------------------------------------------------------------
2. Developer ID Certification Authority
Expires: 2027-02-01 22:12:15 +0000
SHA256 Fingerprint:
7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03
F2 9C 88 CF B0 B1 BA 63 58 7F
------------------------------------------------------------------------
3. Apple Root CA
Expires: 2035-02-09 21:40:36 +0000
SHA256 Fingerprint:
B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C
68 C5 BE 91 B5 A1 10 01 F0 24

For me this looks exactly the same as in your AdobeAcrobatDCUpdates.download.recipe CodeSignatureVerifier section:

expected_authority_names

Developer ID Installer: Adobe Inc. (JQ525L2MZD)
Developer ID Certification Authority
Apple Root CA

Could you please take a look at this. Thanks in advance.

Eric

Can't override OS_Requirement in Microsoft AutoUpdated.jss

What ever I do in an override I can't get OS_REQUIREMENTS to override. Right now we get this set to 10.10.x every time. Would be great if we could get this to override or if the value would be set to 10.13.x, 10.12.x, 10.11.x, 10.10.x (not sure if 10.x will work but might be good if it does).

parent update

Hi there,

I use your Jss recipe and noticed today I was getting EOF error.

I tracked it down to change in parent.

I hope I'm reporting this in the right place... I'm new to autopkgr and github in general.

Thanks!

ParentRecipe
com.github.jleggat.AdobeShockwavePlayer.download (not working)

<key>ParentRecipe</key>
<string>com.github.jleggat.download.AdobeShockwavePlayer</string> (working)

Wireshark.jss

Wireshark.jss is having issues in the PkgPayloadUnpacker step:

FlatPkgUnpacker
FlatPkgUnpacker: Mounted disk image /Users/autopkg/Library/AutoPkg/Cache/com.github.novaksam.jss.Wireshark/downloads/Wireshark 3.0.2 Intel 64.dmg
FlatPkgUnpacker: Unpacked /private/tmp/dmg.Sh8KUn/Wireshark 3.0.2 Intel 64.pkg to /Users/autopkg/Library/AutoPkg/Cache/com.github.novaksam.jss.Wireshark/unpack
PkgPayloadUnpacker
extraction of /Users/autopkg/Library/AutoPkg/Cache/com.github.novaksam.jss.Wireshark/unpack/wireshark.pkg/Payload with ditto failed: ditto: /Users/autopkg/Library/AutoPkg/Cache/com.github.novaksam.jss.Wireshark/payload//Wireshark.app/Contents/Frameworks/QtPrintSupport.framework/Resources: Is a directory
ditto: /Users/autopkg/Library/AutoPkg/Cache/com.github.novaksam.jss.Wireshark/payload//Wireshark.app/Contents/Frameworks/QtGui.framework/Resources: Is a directory
ditto: /Users/autopkg/Library/AutoPkg/Cache/com.github.novaksam.jss.Wireshark/payload//Wireshark.app/Contents/Frameworks/QtCore.framework/Resources: Is a directory
ditto: /Users/autopkg/Library/AutoPkg/Cache/com.github.novaksam.jss.Wireshark/payload//Wireshark.app/Contents/Frameworks/QtMultimedia.framework/Resources: Is a directory
ditto: /Users/autopkg/Library/AutoPkg/Cache/com.github.novaksam.jss.Wireshark/payload//Wireshark.app/Contents/Frameworks/QtOpenGL.framework/Resources: Is a directory
ditto: /Users/autopkg/Library/AutoPkg/Cache/com.github.novaksam.jss.Wireshark/payload//Wireshark.app/Contents/Frameworks/QtMacExtras.framework/Resources: Is a directory
ditto: /Users/autopkg/Library/AutoPkg/Cache/com.github.novaksam.jss.Wireshark/payload//Wireshark.app/Contents/Frameworks/QtWidgets.framework/Resources: Is a directory
ditto: /Users/autopkg/Library/AutoPkg/Cache/com.github.novaksam.jss.Wireshark/payload//Wireshark.app/Contents/Frameworks/QtNetwork.framework/Resources: Is a directory
ditto: /Users/autopkg/Library/AutoPkg/Cache/com.github.novaksam.jss.Wireshark/payload//Wireshark.app/Contents/Frameworks/QtSvg.framework/Resources: Is a directory
ditto: /Users/autopkg/Library/AutoPkg/Cache/com.github.novaksam.jss.Wireshark/payload//Wireshark.app/Contents/Frameworks/QtMultimediaWidgets.framework/Resources: Is a directory

Failed.
Receipt written to /Users/autopkg/Library/AutoPkg/Cache/com.github.novaksam.jss.Wireshark/receipts/Wireshark.jss-receipt-20190710-122148.plist

The recipe appears to download a dmg file successfully, but then can't process it once downloaded.

Can provide run logs that are more verbose if needed.

Adobe Acrobat Reader DC pkg recipe uses %NAME% tag incorrectly

Hi,

Thanks for all your recipes!

I've had problems with your Adobe Acrobat Reader DC pkg recipe - it doesn't allow you to set NAME in an upstream recipe (e.g. .jss) - if you do, it breaks because of the settings in the following part:

		<dict>
			<key>Arguments</key>
			<dict>
				<key>input_plist_path</key>
				<string>%RECIPE_CACHE_DIR%/downloads/PAYLOAD/%NAME%.app/Contents/Info.plist</string>
			</dict>
			<key>Processor</key>
			<string>Versioner</string>
		</dict>
		<dict>
			<key>Arguments</key>
			<dict>
				<key>input_plist_path</key>
				<string>%RECIPE_CACHE_DIR%/downloads/PAYLOAD/%NAME%.app/Contents/Info.plist</string>
			</dict>
			<key>Processor</key>
			<string>com.github.autopkg.novaksam-recipes.Processors/MinimumOSExtractor</string>
		</dict>
		<dict>
			<key>Arguments</key>
			<dict>
				<key>pkg_path</key>
				<string>%RECIPE_CACHE_DIR%/%NAME%-%version%.pkg</string>
				<key>source_pkg</key>
				<string>%pathname%/*.pkg</string>
			</dict>
			<key>Processor</key>
			<string>PkgCopier</string>
		</dict>

This is tricky, because I would like the "Updates" recipe to show in the JSS as "Adobe Acrobat Reader DC", not this one, but I can't create policies of the same name via JSS API, since NAME is a UID as far as the API is concerned.

NAME should in any case always be configurable/overridable. A different key should be set to determine the application name (if it needs setting at all).

Cheers
Graham

WacomBamboo.download.recipe Processor: URLTextSearcher: Error: No match found on URL:

URLTextSearcher
{'Input': {'re_pattern': '(http://cdn.wacom.com/u/productsupport/drivers/mac/consumer/pentablet_+[0-9].+[0-9].+[0-9]*-*[0-9].dmg)',
           'url': 'https://www.wacom.com/en-us/support/product-support/drivers'}}
URLTextSearcher: No value supplied for result_output_var_name, setting default value of: match
Traceback (most recent call last):
  File "/Library/AutoPkg/autopkglib/__init__.py", line 676, in process
    self.env = processor.process()
  File "/Library/AutoPkg/autopkglib/__init__.py", line 483, in process
    self.main()
  File "/Library/AutoPkg/autopkglib/URLTextSearcher.py", line 122, in main
    groupmatch, groupdict = self.re_search(content)
  File "/Library/AutoPkg/autopkglib/URLTextSearcher.py", line 109, in re_search
    raise ProcessorError(f"{NO_MATCH_MESSAGE}: {self.env['url']}")
autopkglib.ProcessorError: No match found on URL: https://www.wacom.com/en-us/support/product-support/drivers
  File "/Library/AutoPkg/autopkglib/__init__.py", line 676, in process
    self.env = processor.process()
No match found on URL: https://www.wacom.com/en-us/support/product-support/drivers
Failed.
Receipt written to /Users/sadmin/Library/AutoPkg/Cache/local.munki.WacomBambooDrivers-dataJAR/receipts/local.munki-receipt-20200827-141756.plist

The following recipes failed:
    local.munki.WacomBambooDrivers-dataJAR
        Error in local.munki.WacomBambooDrivers-dataJAR: Processor: URLTextSearcher: Error: No match found on URL: https://www.wacom.com/en-us/support/product-support/drivers

Nothing downloaded, packaged or imported.

Looking to see if I can create a PR

No Such file or Directory

com.github.novaskam.WacomIntous return error.

[Errno 2] No such file or directory: u'/Users/userName/Library/AutoPkg/Cache/com.github.novaskam.WacomIntous/downloads/PAYLOAD/Library/LaunchDaemons/

OracleJava8JDK.pkg.recipe - Mismatch in authority names

OracleJava8JDK.pkg.recipe is producing "Mismatch in authority names". The CodeSignatureVerifier processor has been updated in the parent recipe for this child recipe, but since it's checked again, it still failing.

As mentioned #14, regarding the ETag, it is downloading fine and being recognized as a 'new' version with the previous 131 Update present.

AdobeAcrobatDcUpdateInfoProvider.py failure with AutoPkg 2.0RC1/Catalina

A -vv run of AdobeAcrobatDCUpdates.download using AutoPkg 2.0RC1, Python 3.7 and running under macOS Catalina 10.15.1 generates the following output:

WARNING: /Users/tech/Library/AutoPkg/RecipeRepos/com.github.autopkg.novaksam-recipes/Processors/AdobeAcrobatDcUpdateInfoProvider.py: No module named 'urllib2'
Traceback (most recent call last):
  File "/Users/tech/Library/AutoPkg/RecipeRepos/com.github.autopkg.novaksam-recipes/Processors/AdobeAcrobatDcUpdateInfoProvider.py", line 28, in <module>
    from urllib.parse import urlopen  # For Python 3
ImportError: cannot import name 'urlopen' from 'urllib.parse' (/Library/AutoPkg/Python3/Python.framework/Versions/Current/lib/python3.7/urllib/parse.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Library/AutoPkg/autopkglib/__init__.py", line 820, in get_processor
    _tmp = imp.load_source(processor_name, processor_filename)
  File "/Library/AutoPkg/Python3/Python.framework/Versions/Current/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/Users/tech/Library/AutoPkg/RecipeRepos/com.github.autopkg.novaksam-recipes/Processors/AdobeAcrobatDcUpdateInfoProvider.py", line 30, in <module>
    from urllib2 import urlopen  # For Python 2
ModuleNotFoundError: No module named 'urllib2'
  File "/Library/AutoPkg/autopkglib/__init__.py", line 820, in get_processor
    _tmp = imp.load_source(processor_name, processor_filename)
Failed.
Receipt written to /tmp/receipts/AdobeAcrobatDCUpdates-receipt-20191209-091050.plist

The following recipes failed:
    AdobeAcrobatDCUpdates.download
        Unable to import 'com.github.autopkg.novaksam-recipes.Processors/AdobeAcrobatDcUpdateInfoProvider', likely due to syntax or Python error.

Xcode JSS recipe gives an error related to Info.plist

screen shot 2017-03-01 at 12 43 22 pm

When I run this recipe I get the above error. Is there additional setup I need to do to make this one work? I think this is the only recipe that I have that is using the appstore processor.

FWIW I am signed in to the App Store

[Errno 2] No such file or directory

Hello,

We receiving below error from the Microsoft AutoUpdate.jss.recipe, but the upload is working correctly. Tried creating new override and flushing recipe cache. Also updated our local override to ignore the downloads folder and we still receive this error on every scheduled run.

Any info would help.

local.jss.Microsoft   AutoUpdate QS | Error   in local.jss.Microsoft AutoUpdate QS: Processor:   io.github.hjuutilainen.VirusTotalAnalyzer/VirusTotalAnalyzer: Error: [Errno   2] No such file or directory:
/Users/username/Library/AutoPkg/Cache/local.jss.Microsoft AutoUpdate   QS/downloads/Microsoft AutoUpdate-3.15.18011602.pkg

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.