Code Monkey home page Code Monkey logo

rtrouton-recipes's Introduction

rtrouton-recipes

AutoPkg recipes which anyone can use.

rtrouton-recipes's People

Contributors

a-vogel avatar andrewvalentine avatar blinvisible avatar camguise avatar d33t5 avatar grahampugh avatar homebysix avatar jaharmi avatar jbaker10 avatar jc0b avatar johnelamb avatar kurehawaru avatar lifeunexpected avatar macmule avatar mpanighetti avatar neilmartin83 avatar nmcspadden avatar oliverweinm avatar paul-cossey avatar rainhardtgabriel avatar rtrouton avatar smithersjr avatar snoelement avatar soberhofer avatar sphen13 avatar tboyko avatar tonypaco avatar vdesouza avatar vmiller avatar williamtheaker avatar

Stargazers

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

Watchers

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

rtrouton-recipes's Issues

EndNote 20 - MunkiImporter requires missing argument pkg_path

Thanks for update to EndNote 20 but there is an error:

The following recipes failed:
endnote20.munki
MunkiImporter requires missing argument pkg_path

The following recipes failed:
endnote20.pkg
MunkiImporter requires missing argument pkg_path

If you look at previous recipes (older versions) the EndNote20.install.recipe is missing (or is this not required any more?)

CitrixWorkspace.download.recipe Issue

The URLTextSearcher processor no longer seems to work. The re_pattern is looking for:

(?P<DYNAMIC_URL>//downloads.citrix.com/[\d]+/CitrixWorkspaceApp.dmg?gda=[\w]+)

However, the latest download URL is:

https://downloads.citrix.com/19721/CitrixWorkspaceApp.dmg?__gda__=exp=1627404022~acl=/*~hmac=56173a1b452e01aed4d6a2509a4b2e653d006792e10613fffe06292798484511

So when URLTextSearcher runs, it only captures part of the URL and then stops:

https://downloads.citrix.com/19721/CitrixWorkspaceApp.dmg?__gda__=exp

I'm not sure what the format of the URL will be in the next release, but for right now I believe either of these would work:

(?P<DYNAMIC_URL>//downloads.citrix.com/[\d]+/CitrixWorkspaceApp.dmg?gda=exp=(\w|~|=)+/(\w|*|~|=)+)

or

(?P<DYNAMIC_URL>//downloads.citrix.com/[\d]+/CitrixWorkspaceApp.dmg?gda=exp=[\d]+~acl=/*~hmac=[\d|\w]+)

ImageJ.zip not downloading correctly

Hi,

The ImageJ download recipe does not appear to be working. The recipe does not successfully resolve a path to a .zip file of ImageJ, instead downloading the html of the web page inspected by URLTextSearcher.

As the .download recipe simply pulls a file down, see below for the output of the .pkg recipe, which demonstrates the issue better:

> autopkg run -vvv ImageJ.pkg
Processing ImageJ.pkg...
{'AUTOPKG_VERSION': u'1.0.1',
 u'DOWNLOAD_URL': u'https://jenkins.imagej.net/job/ImageJ/lastStableBuild/artifact/target/imagej-latest.zip',
 u'MUNKI_REPO': u'/PATH/TO/munki_repo',
 u'NAME': u'ImageJ',
 'PARENT_RECIPES': [u'/PATH/TO/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes/ImageJ/ImageJ.download.recipe'],
 'RECIPE_CACHE_DIR': u'/PATH/TO/Library/AutoPkg/Cache/com.github.rtrouton.pkg.ImageJ',
 'RECIPE_DIR': u'/PATH/TO/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes/ImageJ',
 'RECIPE_OVERRIDE_DIRS': ['~/Library/AutoPkg/RecipeOverrides'],
 'RECIPE_PATH': u'/PATH/TO/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes/ImageJ/ImageJ.pkg.recipe',
 u'RECIPE_REPOS': {u'/PATH/TO/Library/AutoPkg/RecipeRepos/com.github.autopkg.hjuutilainen-recipes': {
    URL = "https://github.com/autopkg/hjuutilainen-recipes";
},
                   u'/PATH/TO/Library/AutoPkg/RecipeRepos/com.github.autopkg.jleggat-recipes': {
    URL = "https://github.com/autopkg/jleggat-recipes";
},
                   u'/PATH/TO/Library/AutoPkg/RecipeRepos/com.github.autopkg.killahquam-recipes': {
    URL = "https://github.com/autopkg/killahquam-recipes";
},
                   u'/PATH/TO/Library/AutoPkg/RecipeRepos/com.github.autopkg.orchard-recipes': {
    URL = "https://github.com/autopkg/orchard-recipes";
},
                   u'/PATH/TO/Library/AutoPkg/RecipeRepos/com.github.autopkg.peshay-recipes': {
    URL = "https://github.com/autopkg/peshay-recipes";
},
                   u'/PATH/TO/Library/AutoPkg/RecipeRepos/com.github.autopkg.robperc-recipes': {
    URL = "https://github.com/autopkg/robperc-recipes";
},
                   u'/PATH/TO/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes': {
    URL = "https://github.com/autopkg/rtrouton-recipes";
},
                   u'/PATH/TO/Library/AutoPkg/RecipeRepos/com.github.autopkg.sheagcraig-recipes': {
    URL = "https://github.com/autopkg/sheagcraig-recipes";
}},
 u'RECIPE_SEARCH_DIRS': [u'.',
                         u'~/Library/AutoPkg/Recipes',
                         u'/Library/AutoPkg/Recipes',
                         u'/PATH/TO/Library/AutoPkg/RecipeRepos/com.github.autopkg.killahquam-recipes',
                         u'/PATH/TO/Library/AutoPkg/RecipeRepos/com.github.autopkg.sheagcraig-recipes',
                         u'/PATH/TO/Library/AutoPkg/RecipeRepos/com.github.autopkg.peshay-recipes',
                         u'/PATH/TO/Library/AutoPkg/RecipeRepos/com.github.autopkg.hjuutilainen-recipes',
                         u'/PATH/TO/Library/AutoPkg/RecipeRepos/com.github.autopkg.jleggat-recipes',
                         u'/PATH/TO/Library/AutoPkg/RecipeRepos/com.github.autopkg.robperc-recipes',
                         u'/PATH/TO/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes',
                         u'/PATH/TO/Library/AutoPkg/RecipeRepos/com.github.autopkg.orchard-recipes',
                         u'/PATH/TO/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes/ImageJ'],
 'verbose': 3}
URLTextSearcher
{'Input': {'re_pattern': u'Version (?P<version>[0-9a-z\\.]*)',
           'url': u'https://imagej.nih.gov/ij/notes.html'}}
URLTextSearcher: No value supplied for CURL_PATH, setting default value of: /usr/bin/curl
URLTextSearcher: No value supplied for result_output_var_name, setting default value of: match
URLTextSearcher: Found matching text (version): 1.51k
URLTextSearcher: Found matching text (match): 1.51k
{'Output': {'match': '1.51k', u'version': '1.51k'}}
URLDownloader
{'Input': {'CURL_PATH': '/usr/bin/curl',
           'filename': u'ImageJ.zip',
           'url': u'https://jenkins.imagej.net/job/ImageJ/lastStableBuild/artifact/target/imagej-latest.zip'}}
URLDownloader: No value supplied for CHECK_FILESIZE_ONLY, setting default value of: False
URLDownloader: Storing new Last-Modified header: Tue, 07 Mar 2017 10:54:53 GMT
URLDownloader: Storing new ETag header: 4d07113f553c21cfa09517bd94191eaf
URLDownloader: Downloaded /PATH/TO/Library/AutoPkg/Cache/com.github.rtrouton.pkg.ImageJ/downloads/ImageJ.zip
{'Output': {'download_changed': True,
            'etag': '4d07113f553c21cfa09517bd94191eaf',
            'last_modified': 'Tue, 07 Mar 2017 10:54:53 GMT',
            'pathname': u'/PATH/TO/Library/AutoPkg/Cache/com.github.rtrouton.pkg.ImageJ/downloads/ImageJ.zip',
            'url_downloader_summary_result': {'data': {'download_path': u'/PATH/TO/Library/AutoPkg/Cache/com.github.rtrouton.pkg.ImageJ/downloads/ImageJ.zip'},
                                              'summary_text': 'The following new items were downloaded:'}}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
PkgRootCreator
{'Input': {'pkgdirs': {
    Applications = 0775;
},
           'pkgroot': u'/PATH/TO/Library/AutoPkg/Cache/com.github.rtrouton.pkg.ImageJ/ImageJ'}}
PkgRootCreator: Created /PATH/TO/Library/AutoPkg/Cache/com.github.rtrouton.pkg.ImageJ/ImageJ
PkgRootCreator: Creating Applications
PkgRootCreator: Created /PATH/TO/Library/AutoPkg/Cache/com.github.rtrouton.pkg.ImageJ/ImageJ/Applications
{'Output': {}}
Unarchiver
{'Input': {'archive_path': u'/PATH/TO/Library/AutoPkg/Cache/com.github.rtrouton.pkg.ImageJ/downloads/ImageJ.zip',
           'destination_path': u'/PATH/TO/Library/AutoPkg/Cache/com.github.rtrouton.pkg.ImageJ/ImageJ/Applications',
           'purge_destination': True}}
Unarchiver: Guessed archive format 'zip' from filename ImageJ.zip
Receipt written to /PATH/TO/Library/AutoPkg/Cache/com.github.rtrouton.pkg.ImageJ/receipts/ImageJ-receipt-20170307-153154.plist

The following recipes failed:
    ImageJ.pkg
        Error in com.github.rtrouton.pkg.ImageJ: Processor: Unarchiver: Error: Unarchiving /PATH/TO/Library/AutoPkg/Cache/com.github.rtrouton.pkg.ImageJ/downloads/ImageJ.zip with ditto failed: ditto: Couldn't read PKZip signature

The following new items were downloaded:
    Download Path                                                                             
    -------------                                                                             
    /PATH/TO/Library/AutoPkg/Cache/com.github.rtrouton.pkg.ImageJ/downloads/ImageJ.zip

> file /PATH/TO/Library/AutoPkg/Cache/com.github.rtrouton.pkg.ImageJ/downloads/ImageJ.zip
/PATH/TO/Library/AutoPkg/Cache/com.github.rtrouton.pkg.ImageJ/downloads/ImageJ.zip: HTML document text, ASCII text, with very long lines

I haven't been able to determine the new location of the ImageJ download. Hope that helps...?

Andrew

MountainDuck.download.recipe fails

The download recipe fails. Probable cause: double url encoded path due to the way the SparkleUpdateInfoProvider works.

In the rss you find:

rss: url="https://dist.mountainduck.io/Mountain%20Duck-2.7.2.9873.zip"

SparkleUpdateInfoProvider returns:

SparkleUpdateInfoProvider: Found URL https://dist.mountainduck.io/Mountain%2520Duck-2.7.2.9873.zip

notice the encoded %

Not sure how to resolve this.

Prism.download.recipe fails

Since updating to AutoPkg 2.0.2, I get a traceback when trying to run the download recipe for Prism 8.

plistlib raises an error after mounting the dmg because the plist at input_plist_path isn't valid.

Traceback (most recent call last): File "/Library/AutoPkg/autopkglib/Versioner.py", line 70, in main plist = plistlib.load(f) File "/Library/AutoPkg/Python3/Python.framework/Versions/Current/lib/python3.7/plistlib.py", line 944, in load raise InvalidFileException() plistlib.InvalidFileException: Invalid file

My input_plist_path is as follows:
Users/jacobburley/Library/AutoPkg/Cache/com.github.rtrouton.download.Prism/downloads/Prism.dmg/Prism 8.app/Contents/version.plist

Add postinstall script for VMWare Horizons PKG recipe

Can a postinstall script be added for the .pkg recipe found at https://github.com/autopkg/rtrouton-recipes/tree/master/VMwareHorizonClient? Armin does this for his .munki recipe at https://github.com/autopkg/scriptingosx-recipes/blob/master/VMwareHorizonClient/VMwareHorizonClient.munki.recipe, and the script would just need to be:

#!/bin/sh
/Applications/VMware\ Horizon\ Client.app/Contents/Library/InitUsbServices.tool

If this command isn't run after install, when a user launches the app they'll get two error messages (one that admin rights will be required to enable USB Services, and one that the /Applications/VMware\ Horizon\ Client.app/Contents/Library/InitUsbServices.tool file isn't valid and that a legitimate version of the app needs to be downloaded). Running the command avoids both error messages. Alternately the script could be added to your .jss recipe, but since you already add one script to the .pkg recipe I thought it might be easiest to add it there.

AdobeCreativeCloud download dmg URL changed, gets older version

In AdobeCreativeCloud/AdobeCreativeCloudInstaller.download.recipe

Not sure if this is just a temporary mistake by Adobe, but the URL for the current download is http (instead of https) on their download page (https://helpx.adobe.com/download-install/kb/creative-cloud-desktop-app-download.html).

There are two dmg download links on this page, so URLTextSearcher is matching the second download link (which is still https, but for the older version 4):

macOS v10.12 or later href="http://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_3_0/osx10/ACCCx5_3_0_468.dmg"

macOS v10.11 or earlier href="https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/4_9/osx10/ACCCx4_9_0_504.dmg"

Fix I've applied is to match either http or https

        <key>SEARCH_PATTERN</key>
<string>(?P&lt;url&gt;http.*://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/.*?/osx10/ACCC.*?.dmg)</string>

Google Chrome Enterprise doesn't trigger JSSImport

Hi Rich,

Any ideas why your GoogleChromeEnterprise.jss.recipe wouldn't be triggering JSSImport? Autopkgr downloads and notifies it grabbed a version. I can see it in the cache. It just... doesn't upload to the DP, or create a stub in the JSS.

local.munki.AmazonCorrettoJava8-dataJAR: Processor: URLTextSearcher: Error: No match found

Hi,

It looks like Amazon might be doing something weird with the URL that is being searched (https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/downloads-list.html). In Safari the page looks fine, but with Curl it doesn't pull the full content.

Looking into this now to see if we can pull request it.

Full Error:

C02WV1GDHV2R:~ darren$ autopkg run -vv com.github.rtrouton.download.amazoncorettojdk8
Processing com.github.rtrouton.download.amazoncorettojdk8...
WARNING: com.github.rtrouton.download.amazoncorettojdk8 is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLTextSearcher
{'Input': {'re_pattern': u'(?P<url>https.*?corretto.*?\\.pkg)',
           'url': u'https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/downloads-list.html'}}
URLTextSearcher: No value supplied for CURL_PATH, setting default value of: /usr/bin/curl
URLTextSearcher: No value supplied for result_output_var_name, setting default value of: match
No match found on URL: https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/downloads-list.html
Failed.
Receipt written to /Users/darren/Library/AutoPkg/Cache/com.github.rtrouton.download.amazoncorettojdk8/receipts/com.github.rtrouton.download-receipt-20191220-125709.plist

The following recipes failed:
    com.github.rtrouton.download.amazoncorettojdk8
        Error in com.github.rtrouton.download.amazoncorettojdk8: Processor: URLTextSearcher: Error: No match found on URL: https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/downloads-list.html

Nothing downloaded, packaged or imported.
C02WV1GDHV2R:~ darren$ 


ImageJ Recipes

Logging this as an fyi..

It looks like the Imagej recipe downloads the .app, which contains (at the time of writing) 1.53a.. you can then upgrade in-app to 1.53k.. this is by downloading the il.jar as per: https://imagej.nih.gov/ij/upgrade/index.html

I'll see if we can sort this so we download the .jar and .app, then combine

CitrixWorkspace.download not working

I'm looking into it now, but just to let you know, I guess something changed:

% autopkg run --ignore-parent-trust-verification-errors -v CitrixWorkspace.download
Processing CitrixWorkspace.download...
URLTextSearcher
URLTextSearcher: Found matching text (DYNAMIC_URL): //downloads.citrix.com/19928/CitrixWorkspaceApp.dmg?__gda__=exp
URLTextSearcher: Found matching text (match): //downloads.citrix.com/19928/CitrixWorkspaceApp.dmg?__gda__=exp
URLDownloader
Command '['/usr/bin/curl', '--silent', '--show-error', '--no-buffer', '--dump-header', '-', '--speed-time', '30', '--location', '--url', 'https://downloads.citrix.com/19928/CitrixWorkspaceApp.dmg?__gda__=exp', '--fail', '--output', '/Users/gpugh/Library/AutoPkg/Cache/com.github.grahampugh.recipes.download.CitrixWorkspace/downloads/tmp0_37yq0i']' returned non-zero exit status 22.
Failed.
Receipt written to /Users/gpugh/Library/AutoPkg/Cache/com.github.grahampugh.recipes.download.CitrixWorkspace/receipts/CitrixWorkspace-receipt-20211006-115049.plist

The following recipes failed:
    CitrixWorkspace.download
        Error in com.github.grahampugh.recipes.download.CitrixWorkspace: Processor: URLDownloader: Error: Command '['/usr/bin/curl', '--silent', '--show-error', '--no-buffer', '--dump-header', '-', '--speed-time', '30', '--location', '--url', 'https://downloads.citrix.com/19928/CitrixWorkspaceApp.dmg?__gda__=exp', '--fail', '--output', '/Users/gpugh/Library/AutoPkg/Cache/com.github.grahampugh.recipes.download.CitrixWorkspace/downloads/tmp0_37yq0i']' returned non-zero exit status 22.

Adobe Creative Cloud download recipe fails in curl

autopkg run -v AdobeCreativeCloudInstaller.download.recipe            
Processing AdobeCreativeCloudInstaller.download.recipe...
URLTextSearcher
URLTextSearcher: Found matching text (url): https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_4_1/osx10/ACCCx5_4_1_534.dmg" disablelinktracking="false">Download&nbsp;</a><a href="https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_4_1/osx10/ACCCx5_4_1_534.dmg
URLTextSearcher: Found matching text (match): https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_4_1/osx10/ACCCx5_4_1_534.dmg" disablelinktracking="false">Download&nbsp;</a><a href="https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_4_1/osx10/ACCCx5_4_1_534.dmg
URLDownloader
Command '['/usr/bin/curl', '--silent', '--show-error', '--no-buffer', '--dump-header', '-', '--speed-time', '30', '--location', '--url', 'https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_4_1/osx10/ACCCx5_4_1_534.dmg" disablelinktracking="false">Download&nbsp;</a><a href="https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_4_1/osx10/ACCCx5_4_1_534.dmg', '--fail', '--output', '/Users/username/Library/AutoPkg/Cache/local.download.AdobeCreativeCloudInstaller/downloads/tmpctpb926_']' returned non-zero exit status 22.
Failed.
Receipt written to /Users/username/Library/AutoPkg/Cache/local.download.AdobeCreativeCloudInstaller/receipts/AdobeCreativeCloudInstaller.download-receipt-20210312-161559.plist

The following recipes failed:
    AdobeCreativeCloudInstaller.download.recipe
        Error in local.download.AdobeCreativeCloudInstaller: Processor: URLDownloader: Error: Command '['/usr/bin/curl', '--silent', '--show-error', '--no-buffer', '--dump-header', '-', '--speed-time', '30', '--location', '--url', 'https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_4_1/osx10/ACCCx5_4_1_534.dmg" disablelinktracking="false">Download&nbsp;</a><a href="https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_4_1/osx10/ACCCx5_4_1_534.dmg', '--fail', '--output', '/Users/username/Library/AutoPkg/Cache/local.download.AdobeCreativeCloudInstaller/downloads/tmpctpb926_']' returned non-zero exit status 22.

Nothing downloaded, packaged or imported.

The URL is correct, though. If you go to https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_4_1/osx10/ACCCx5_4_1_534.dmg in a web browser, the web browser downloads it just fine.

Maybe it needs to spoof a user agent string?

Changing a package name

Don't know how much of a standard it is but I can't see how to change this line
<string>%RECIPE_CACHE_DIR%/%VENDOR%_%SOFTWARETITLE%_%version%.pkg</string>
locally to have -%version% instead of the underscore for MicrosoftSkypeForBusiness365.

PkgCreator: Failed to close socket: [Errno 9] Bad file descriptor error on ImageJ.pkg.recipe

Hi,

We seem to be seeing an issue with the PkgCreator processor for ImageJ.pkg.recipe

PkgCreator
{'Input': {'pkg_request': {'chown': [{'group': 'admin',
                                      'path': 'Applications',
                                      'user': 'root'}],
                           'id': 'gov.nih.rsbweb.ImageJ',
                           'options': 'purge_ds_store',
                           'pkgname': 'ImageJ-',
                           'scripts': 'Scripts',
                           'version': ''}}}
PkgCreator: Connecting
PkgCreator: Sending packaging request
PkgCreator: Disconnecting
PkgCreator: Failed to close socket: [Errno 9] Bad file descriptor
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/PkgCreator.py", line 269, in main
    self.package()
  File "/Library/AutoPkg/autopkglib/PkgCreator.py", line 223, in package
    pkg_path = self.send_request(request)
  File "/Library/AutoPkg/autopkglib/PkgCreator.py", line 258, in send_request
    raise ProcessorError(", ".join([s.replace("ERROR:", "") for s in errors]))
autopkglib.ProcessorError: Invalid version component ""
  File "/Library/AutoPkg/autopkglib/__init__.py", line 676, in process
    self.env = processor.process()
Invalid version component ""

It looks like the version isn't being discovered correctly somewhere between ImageJ.pkg.recipe and ImageJ.download.recipe but I'm struggling to figure out where, so I can fix and log a PR.

I'll keep plugging away but thought I'd log this in the meantime.

Thanks!

Fiji recipes

Someone posted that they are getting the below for the Fiji recipes:

Processor: URLTextSearcher: Error: 'utf-8' codec can't decode byte 0x92 in position 108898: invalid start byte

Linked to: autopkg/autopkg#619

PR done to resolve

Overriding %NAME% on com.github.rtrouton.jss.AdobeCreativeCloudInstaller fails

Getting the following error if I override %NAME%:

Processing local.jss.AdobeCreativeCloudInstaller...
WARNING: local.jss.AdobeCreativeCloudInstaller is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
Error processing path '/private/tmp/dmg.OuGvCh/Adobe Creative Cloud.app' with glob.
Failed.

The following recipes failed:
    local.jss.AdobeCreativeCloudInstaller
        Error in local.jss.AdobeCreativeCloudInstaller: Processor: CodeSignatureVerifier: Error: Error processing path '/private/tmp/dmg.OuGvCh/Adobe Creative Cloud.app' with glob.

Override example:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>ParentRecipe</key>
	<string>com.github.rtrouton.jss.AdobeCreativeCloudInstaller</string>
	<key>Identifier</key>
	<string>local.jss.AdobeCreativeCloudInstaller</string>
	<key>Input</key>
	<dict>
                <key>NAME</key>
                <string>Adobe Creative Cloud</string>
		<key>CATEGORY</key>
		<string>Adobe</string>
		<key>CATEGORY</key>
		<string>Productivity</string>
		<key>GROUP_NAME</key>
		<string></string>
		<key>GROUP_TEMPLATE</key>
		<string></string>
		<key>POLICY_CATEGORY</key>
		<string>Productivity</string>
		<key>POLICY_TEMPLATE</key>
		<string>%RECIPE_DIR%/PolicyTemplates/selfservice.xml</string>
	</dict>

</dict>
</plist>

Adobe Creative Cloud downloader for arm

Hey can you ad a Recipe for Adobe Creative Cloud downloader for arm

You need to change:

        <key>SEARCH_PATTERN</key>
        <string>(?P&lt;url&gt;http.*?://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/.*?/osx10/ACCC.*?.dmg)</string>
	

to

key>SEARCH_PATTERN</key>
<string>(?P&lt;url&gt;http.*?://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/.*?/macarm64/ACCC.*?.dmg)</string>

Best Regards

Constantin

Privileges 1.5.1 helper moved

HELPER_PATH=//Applications/Privileges.app/Contents/Library/LaunchServices/corp.sap.privileges.helper
Mar 19 10:45:46 its-ees1903 installd[4267]: ./postinstall: + [[ -f //Applications/Privileges.app/Contents/Library/LaunchServices/corp.sap.privileges.helper ]]
Mar 19 10:45:46 its-ees1903 installd[4267]: ./postinstall: + ERROR=1
Mar 19 10:45:46 its-ees1903 installd[4267]: ./postinstall: + exit 1
$ find /Applications/Privileges.app -name corp.sap.privileges.helper
/Applications/Privileges.app/Contents/XPCServices/PrivilegesXPC.xpc/Contents/Library/LaunchServices/corp.sap.privileges.helper

Eclipse-Mars script missing..

I'm getting an error on your preinstall script whenever it runs the JSS recipe. It's looking for the script in /Volumes/CasperShare/Scripts for some reason.

Microsoft Remote Desktop download link

I notice that the fwlink for the MRD recipe is currently pointing to an older version than the current. From a Slack search, it seems the link has to be manually updated and so can get out of date.

This seems to have prompted a change to the macadmins.software, which now has the download link as a direct Akamai link with a separate key for fwlink.

Perhaps (and only perhaps) it's worth updating the recipe to point to the direct link rather than using the fwlink?

RStudio.pkg - invalid package name

It seems that RStudio added the "+" symbol to their versioning, which the PkgCreator processor doesn't like. Any ideas on how to work around this at the recipe level? See error output attached.


{'Output': {}}
AppDmgVersioner
{'Input': {'dmg_path': '/Users/raymondlyon/Library/AutoPkg/Cache/local.jss.RStudio-riskified/downloads/RStudio.dmg'}}
AppDmgVersioner: Mounted disk image /Users/raymondlyon/Library/AutoPkg/Cache/local.jss.RStudio-riskified/downloads/RStudio.dmg
AppDmgVersioner: BundleID: org.rstudio.RStudio
AppDmgVersioner: Version: 2021.09.0+351
{'Output': {'app_name': 'RStudio.app',
            'bundleid': 'org.rstudio.RStudio',
            'version': '2021.09.0+351'}}
PkgRootCreator
{'Input': {'pkgdirs': {'Applications': '0775'},
           'pkgroot': '/Users/raymondlyon/Library/AutoPkg/Cache/local.jss.RStudio-riskified/RStudio'}}
PkgRootCreator: Created /Users/raymondlyon/Library/AutoPkg/Cache/local.jss.RStudio-riskified/RStudio
PkgRootCreator: Creating Applications
PkgRootCreator: Created /Users/raymondlyon/Library/AutoPkg/Cache/local.jss.RStudio-riskified/RStudio/Applications
{'Output': {}}
Copier
{'Input': {'destination_path': '/Users/raymondlyon/Library/AutoPkg/Cache/local.jss.RStudio-riskified/RStudio/Applications/RStudio.app',
           'source_path': '/Users/raymondlyon/Library/AutoPkg/Cache/local.jss.RStudio-riskified/downloads/RStudio.dmg/RStudio.app'}}
Copier: Parsed dmg results: dmg_path: /Users/raymondlyon/Library/AutoPkg/Cache/local.jss.RStudio-riskified/downloads/RStudio.dmg, dmg: .dmg/, dmg_source_path: RStudio.app
Copier: Mounted disk image /Users/raymondlyon/Library/AutoPkg/Cache/local.jss.RStudio-riskified/downloads/RStudio.dmg
Copier: Copied /private/tmp/dmg.jQzQGa/RStudio.app to /Users/raymondlyon/Library/AutoPkg/Cache/local.jss.RStudio-riskified/RStudio/Applications/RStudio.app
{'Output': {}}
PkgCreator
{'Input': {'pkg_request': {'chown': [{'group': 'admin',
                                      'path': 'Applications',
                                      'user': 'root'}],
                           'id': 'org.rstudio.RStudio.pkg',
                           'options': 'purge_ds_store',
                           'pkgdir': '/Users/raymondlyon/Library/AutoPkg/Cache/local.jss.RStudio-riskified',
                           'pkgname': 'RStudio-2021.09.0+351',
                           'scripts': 'Scripts'}}}
PkgCreator: Connecting
PkgCreator: Sending packaging request
PkgCreator: Disconnecting
PkgCreator: Failed to close socket: [Errno 9] Bad file descriptor
Invalid package name
Failed.
Receipt written to /Users/raymondlyon/Library/AutoPkg/Cache/local.jss.RStudio-riskified/receipts/RStudio-riskified.jss-receipt-20211004-062135.plist

The following recipes failed:
    RStudio-riskified.jss.recipe
        Error in local.jss.RStudio-riskified: Processor: PkgCreator: Error: Invalid package name

The following new items were downloaded:
    Download Path
    -------------
    /Users/raymondlyon/Library/AutoPkg/Cache/local.jss.RStudio-riskified/downloads/RStudio.dmg

Trust errors

Running Endnote recipes gives errors missing trust info en FAIL_RECIPES etc.

There is a new version X9.3.1 Released september 24 Catalina support

Microsoft Defender for Endpoint brand name update is coming on macOS - Jan 2022

The email was originally posted to the Microsoft 365 message centre without a KB number.

Here is a copy of the message that a colleague found.

https://m365admin.handsontek.net/microsoft-defender-for-endpoint-brand-name-update/

When will this happen:

Beginning in late January 2022, Microsoft Defender for Endpoint (formerly known as MDATP) will be referenced as “Microsoft Defender” across end user facing MDE experiences on macOS

How this will affect your organization:

In late January, Microsoft Defender for Endpoint monthly update will bring end user facing changes when “Microsoft Defender ATP” references are replaced with “Microsoft Defender”. End users will observe the following changes:

Installation path:
The new installation path will be /Application/Microsoft Defender.app
The previous installation path was /Applications/Microsoft Defender ATP.app (For customers who are relying on the previous path, it will be necessary to change it to new path to ensure that the configuration matches the exact location)
UX changes:
The new brand name will appear on the UX (user experience) as “Microsoft Defender” on every string, such as.
The installer name will change to “Microsoft Defender”
The name will appear on the Activity Monitor as “Microsoft Defender”
The previous path is in: /Applications/Microsoft Defender ATP.app/Contents/MacOS/Microsoft Defender.app
The New path will be in: /Applications/Microsoft Defender.app/Contents/MacOS/Microsoft Helper.app
The tray app will change from “Microsoft Defender” to “Microsoft Defender Helper”

So nothing doing now, and I'd suggest creating new recipes when the rename occurs.

Can't Run or Create Override

I'm having an issue with the Office2016Suite.jss recipe.

When I either try to run it or create an override I get the error:

Could not find parent recipe for com.github.rtrouton.pkg.Office2016Suite
A Python exception occurred during the execution of autopkg, see the system log for more details.
[ERROR] argument of type 'NoneType' is not iterable

What confuses me is I have in the past successfully created this override with 3 other AutoPKG machines. And those overrides continue to work. But now I can't add it to 2 other AutoPKG machines. Also, on those same 3 machines I am also able to create new overrides of the Office2016Suite.jss recipe over and over again.

I just can't create an override on these other two AutoPKG machines.

On the two that are not cooperating with the Office2016Suite.jss recipe, I am able to create overrides of other recipes.

All 5 machines are VMs running Yosemite.

Any ideas?

screen shot 2017-07-21 at 7 58 40 am

VMware tools package scripts does not work with AutoDMG

Package scripts from current release of VMware tools do not take into account any other target than /.

This is a problem when I want to crate neverbooted macOS image with AutoPKG and use vfuse to convert it to .vmdk.

Should we fix this?

part of postinstall script:

mkdir -p /Library/Filesystems/vmhgfs.fs/Contents/Resources
ln -s '/Library/Application Support/VMware Tools/mount_vmhgfs' \
   /Library/Filesystems/vmhgfs.fs/Contents/Resources/
if [ "$macosMajor" -lt 15 ]; then
   rm -f /sbin/mount_vmhgfs
   ln -s '/Library/Application Support/VMware Tools/mount_vmhgfs' /sbin/
fi

sudo defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true

Privileges.pkg recipe change on 2020-01-11 introduced Scripts directory dependency

The change to the Privileges.pkg recipe made on 2020-01-11 defines a INSTALLERSCRIPTS key with the path %RECIPE_DIR%/Scripts, but when the recipe is overriden that directory now refers to the RecipeOverrides directory rather than the parent recipe directory which causes the following error when it's run:

Error in local.pkg.Override-Privileges: Processor: PkgCreator: Error: Can't find scripts directory: /Some/Path/To/AutoPkg/RecipeOverrides/Scripts

Is that an intended behavior with this change?

AdobeCreativeCloudInstaller - URLDownloader error

Hello,
This morning I had an error in my Adobe Creative Cloud recipe:

Error in local.jss.AdobeCreativeCloudInstaller-riskified: Processor: URLDownloader: Error: Command '['/usr/bin/curl', '--silent', '--show-error', '--no-buffer', '--dump-header', '-', '--speed-time', '30', '--location', '--url', 'https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_3_1/osx10/ACCCx5_3_1_470.dmg" disablelinktracking="false">Download&nbsp;</a><a href="https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_3_1/osx10/ACCCx5_3_1_470.dmg', '--fail', '--output', '/Users/riskiadmin/Library/AutoPkg/Cache/local.jss.AdobeCreativeCloudInstaller-riskified/downloads/tmpcr8jzlgk', '--header', 'If-None-Match: "b35e929fd2858b12e955c8b44c8f3289:1602510778.89782"', '--header', 'If-Modified-Since: Mon, 12 Oct 2020 12:06:50 GMT']' returned non-zero exit status 22

I tried running URLDownloader.py directly with the arguments above and got this error (probably explains the exit status 22):

Traceback (most recent call last): File "./URLDownloader.py", line 22, in <module> from autopkglib import BUNDLE_ID, ProcessorError, is_mac ModuleNotFoundError: No module named 'autopkglib'

The Adobe URL works fine if I call it directly, so not sure what's going on here. No errors in my other recipes.

Error in local.munki.MalwareBytesAntiMalware: Processor: Unarchiver: Error: Unarchiving

Hi,

Apologies if this is the wrong place/way to ask this question. I have a Mac server running 10.10.5 with XCode Command Line Tools version 7.2. I am attempting to run the MalwareBytesAntiMalware recipe, and this is what happens:

beavis:AutoPkg admin$ autopkg repo-add autopkg/rtrouton-recipes
Attempting git pull...
Updating 4b3b595..f2c424d
Fast-forward
JSS/Dropbox.png | Bin 85830 -> 42556 bytes
JSS/GoogleChrome.jss.recipe | 2 ++
.../MalwarebytesAntiMalware.install.recipe | 4 +---
3 files changed, 3 insertions(+), 3 deletions(-)

Adding /Users/admin/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes to RECIPE_SEARCH_DIRS...
Updated search path:
'.'
'~/Library/AutoPkg/Recipes'
'/Library/AutoPkg/Recipes'
'/Users/admin/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes'
'/Users/admin/Library/AutoPkg/RecipeRepos/com.github.autopkg.hansen-m-recipes'
'/Users/admin/Library/AutoPkg/RecipeRepos/com.github.autopkg.hjuutilainen-recipes'
'/Users/admin/Library/AutoPkg/RecipeRepos/com.github.autopkg.jleggat-recipes'
'/Users/admin/Library/AutoPkg/RecipeRepos/com.github.autopkg.joshua-d-miller-recipes'
'/Users/admin/Library/AutoPkg/RecipeRepos/com.github.autopkg.wardsparadox-recipes'
'/Users/admin/Library/AutoPkg/RecipeRepos/com.github.autopkg.jps3-recipes'
'/Users/admin/Library/AutoPkg/RecipeRepos/com.github.autopkg.aanklewicz-recipes'
'/Users/admin/Library/AutoPkg/RecipeRepos/com.github.autopkg.homebysix-recipes'
'/Users/admin/Library/AutoPkg/RecipeRepos/com.github.autopkg.aysiu-recipes'
'/Users/admin/Library/AutoPkg/RecipeRepos/com.github.autopkg.keeleysam-recipes'
'/Users/admin/Library/AutoPkg/RecipeRepos/com.github.autopkg.jessepeterson-recipes'
'/Users/admin/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes'
beavis:AutoPkg admin$ autopkg make-override MalwareBytesAntiMalware.munki
Override file saved to /Users/admin/Library/AutoPkg/RecipeOverrides/MalwareBytesAntiMalware.munki.recipe
beavis:AutoPkg admin$ vim RecipeOverrides/MalwareBytesAntiMalware.munki.recipe
(my only change was to add catalog "main")
beavis:AutoPkg admin$ autopkg run MalwareBytesAntiMalware.munki
Processing MalwareBytesAntiMalware.munki...
Unarchiving /Users/admin/Library/AutoPkg/Cache/local.munki.MalwareBytesAntiMalware/downloads/mbam-mac-1.1.3.72.zip with ditto failed: ditto: /Users/admin/Library/AutoPkg/Cache/local.munki.MalwareBytesAntiMalware/Malwarebytes/Malwarebytes Anti-Malware.app/Contents/Frameworks/Sparkle.framework/Headers: Is a directory
ditto: Unknown compression type

Failed.

The following recipes failed:
MalwareBytesAntiMalware.munki
Error in local.munki.MalwareBytesAntiMalware: Processor: Unarchiver: Error: Unarchiving /Users/admin/Library/AutoPkg/Cache/local.munki.MalwareBytesAntiMalware/downloads/mbam-mac-1.1.3.72.zip with ditto failed: ditto: /Users/admin/Library/AutoPkg/Cache/local.munki.MalwareBytesAntiMalware/Malwarebytes/Malwarebytes Anti-Malware.app/Contents/Frameworks/Sparkle.framework/Headers: Is a directory
ditto: Unknown compression type

The following new items were downloaded:
Download Path
-------------
/Users/admin/Library/AutoPkg/Cache/local.munki.MalwareBytesAntiMalware/downloads/mbam-mac-1.1.3.72.zip

What should I do?

Thank you very much!

-- MB

AdobeCreativeCloudInstaller.pkg Incorrectly scrubbing the URL

The recipe appears to be incorrectly scrubbing the download URL.


aaron.polley@xxxxx ~ % autopkg run -vvvv AdobeCreativeCloudInstaller.pkg    
Processing AdobeCreativeCloudInstaller.pkg...
WARNING: AdobeCreativeCloudInstaller.pkg is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
{'API_PASSWORD': 'xxxxxx',
 'API_USERNAME': 'xxxxxx',
 'AUTOPKG_VERSION': '2.3.1',
 'FAIL_RECIPES_WITHOUT_TRUST_INFO': False,
 'GIT_PATH': '/Applications/Xcode.app/Contents/Developer/usr/bin/git',
 'JSS_REPOS': [xxxxxxxx],
 'JSS_SUPPRESS_WARNINGS': False,
 'JSS_URL': 'xxxxxxx',
 'JSS_VERIFY_SSL': True,
 'MUNKI_REPO': 'xxxxxxx',
 'NAME': 'Creative Cloud Installer',
 'NAMEWITHOUTSPACES': 'CreativeCloudInstaller',
 'PARENT_RECIPES': ['/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes/AdobeCreativeCloud/AdobeCreativeCloudInstaller.download.recipe'],
 'RECIPE_CACHE_DIR': '/Users/aaron.polley/Library/AutoPkg/Cache/com.github.rtrouton.pkg.AdobeCreativeCloudInstaller',
 'RECIPE_DIR': '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes/AdobeCreativeCloud',
 'RECIPE_OVERRIDE_DIRS': ['~/Library/AutoPkg/RecipeOverrides'],
 'RECIPE_PATH': '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes/AdobeCreativeCloud/AdobeCreativeCloudInstaller.pkg.recipe',
 'RECIPE_REPOS': {'/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.aarondavidpolley.Autopkg-Recipes': {'URL': 'https://github.com/aarondavidpolley/Autopkg-Recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.MLBZ521-recipes': {'URL': 'https://github.com/autopkg/MLBZ521-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.apettinen-recipes': {'URL': 'https://github.com/autopkg/apettinen-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.arubdesu-recipes': {'URL': 'https://github.com/autopkg/arubdesu-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.bradclare-recipes': {'URL': 'https://github.com/autopkg/bradclare-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.cgerke-recipes': {'URL': 'https://github.com/autopkg/cgerke-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.chilcote-recipes': {'URL': 'https://github.com/autopkg/chilcote-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes': {'URL': 'https://github.com/autopkg/dataJAR-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.eholtam-recipes': {'URL': 'https://github.com/autopkg/eholtam-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.foigus-recipes': {'URL': 'https://github.com/autopkg/foigus-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.grahampugh-recipes': {'URL': 'https://github.com/autopkg/grahampugh-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.hansen-m-recipes': {'URL': 'https://github.com/autopkg/hansen-m-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.hjuutilainen-recipes': {'URL': 'https://github.com/autopkg/hjuutilainen-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.homebysix-recipes': {'URL': 'https://github.com/autopkg/homebysix-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.jaharmi-recipes': {'URL': 'https://github.com/autopkg/jaharmi-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.jessepeterson-recipes': {'URL': 'https://github.com/autopkg/jessepeterson-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.jleggat-recipes': {'URL': 'https://github.com/autopkg/jleggat-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.jlehikoinen-recipes': {'URL': 'https://github.com/autopkg/jlehikoinen-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.jss-recipes': {'URL': 'https://github.com/autopkg/jss-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.justinrummel-recipes': {'URL': 'https://github.com/autopkg/justinrummel-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.keeleysam-recipes': {'URL': 'https://github.com/autopkg/keeleysam-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.killahquam-recipes': {'URL': 'https://github.com/autopkg/killahquam-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.luisgiraldo-recipes': {'URL': 'https://github.com/autopkg/luisgiraldo-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.nmcspadden-recipes': {'URL': 'https://github.com/autopkg/nmcspadden-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.novaksam-recipes': {'URL': 'https://github.com/autopkg/novaksam-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.peshay-recipes': {'URL': 'https://github.com/autopkg/peshay-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.rderewianko-recipes': {'URL': 'https://github.com/autopkg/rderewianko-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes': {'URL': 'https://github.com/autopkg/recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes': {'URL': 'https://github.com/autopkg/rtrouton-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.rustymyers-recipes': {'URL': 'https://github.com/autopkg/rustymyers-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.scriptingosx-recipes': {'URL': 'https://github.com/autopkg/scriptingosx-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.tbridge-recipes': {'URL': 'https://github.com/autopkg/tbridge-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.vmiller-recipes': {'URL': 'https://github.com/autopkg/vmiller-recipes.git'},
                  '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.wardsparadox-recipes': {'URL': 'https://github.com/autopkg/wardsparadox-recipes.git'}},
 'RECIPE_SEARCH_DIRS': ['.',
                        '~/Library/AutoPkg/Recipes',
                        '/Library/AutoPkg/Recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.homebysix-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.nmcspadden-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.hjuutilainen-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.chilcote-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.hansen-m-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.arubdesu-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.tbridge-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.justinrummel-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.luisgiraldo-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.novaksam-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.apettinen-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.jss-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.keeleysam-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.bradclare-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.jaharmi-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.vmiller-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.rustymyers-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.jessepeterson-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.grahampugh-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.killahquam-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.cgerke-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.rderewianko-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.peshay-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.wardsparadox-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.jleggat-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.eholtam-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.scriptingosx-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.jlehikoinen-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.foigus-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.aarondavidpolley.Autopkg-Recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.MLBZ521-recipes',
                        '/Users/aaron.polley/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes/AdobeCreativeCloud'],
 'SEARCH_PATTERN': '(?P<url>http.*://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/.*?/osx10/ACCC.*?.dmg)',
 'SEARCH_URL': 'https://helpx.adobe.com/download-install/kb/creative-cloud-desktop-app-download.html',
 'SOFTWARETITLE': 'Creative Cloud Installer',
 'VENDOR': 'Adobe',
 'verbose': 4}
URLTextSearcher
{'Input': {'re_pattern': '(?P<url>http.*://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/.*?/osx10/ACCC.*?.dmg)',
           'url': 'https://helpx.adobe.com/download-install/kb/creative-cloud-desktop-app-download.html'}}
URLTextSearcher: No value supplied for result_output_var_name, setting default value of: match
URLTextSearcher: Curl command: ['/usr/bin/curl', '--compressed', '--location', 'https://helpx.adobe.com/download-install/kb/creative-cloud-desktop-app-download.html']
URLTextSearcher: Found matching text (url): https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_5_0/osx10/ACCCx5_5_0_617.dmg">Download</a> <a disablelinktracking="false" href="https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_5_0/osx10/ACCCx5_5_0_617.dmg
URLTextSearcher: Found matching text (match): https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_5_0/osx10/ACCCx5_5_0_617.dmg">Download</a> <a disablelinktracking="false" href="https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_5_0/osx10/ACCCx5_5_0_617.dmg
{'Output': {'match': 'https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_5_0/osx10/ACCCx5_5_0_617.dmg">Download</a>\xa0'
                     '<a disablelinktracking="false" '
                     'href="https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_5_0/osx10/ACCCx5_5_0_617.dmg',
            'url': 'https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_5_0/osx10/ACCCx5_5_0_617.dmg">Download</a>\xa0'
                   '<a disablelinktracking="false" '
                   'href="https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_5_0/osx10/ACCCx5_5_0_617.dmg'}}
URLDownloader
{'Input': {'url': 'https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_5_0/osx10/ACCCx5_5_0_617.dmg">Download</a>\xa0'
                  '<a disablelinktracking="false" '
                  'href="https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_5_0/osx10/ACCCx5_5_0_617.dmg'}}
URLDownloader: No value supplied for prefetch_filename, setting default value of: False
URLDownloader: No value supplied for CHECK_FILESIZE_ONLY, setting default value of: False
Traceback (most recent call last):
  File "/Library/AutoPkg/autopkglib/URLGetter.py", line 177, in execute_curl
    errors=errors,
  File "/Library/AutoPkg/Python3/Python.framework/Versions/Current/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/usr/bin/curl', '--silent', '--show-error', '--no-buffer', '--dump-header', '-', '--speed-time', '30', '--location', '--url', 'https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_5_0/osx10/ACCCx5_5_0_617.dmg">Download</a>\xa0<a disablelinktracking="false" href="https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_5_0/osx10/ACCCx5_5_0_617.dmg', '--fail', '--output', '/Users/aaron.polley/Library/AutoPkg/Cache/com.github.rtrouton.pkg.AdobeCreativeCloudInstaller/downloads/tmpj8ie1jre']' returned non-zero exit status 22.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Library/AutoPkg/autopkglib/__init__.py", line 840, in process
    self.env = processor.process()
  File "/Library/AutoPkg/autopkglib/__init__.py", line 626, in process
    self.main()
  File "/Library/AutoPkg/autopkglib/URLDownloader.py", line 326, in main
    raw_headers = self.download_with_curl(curl_cmd)
  File "/Library/AutoPkg/autopkglib/URLGetter.py", line 185, in download_with_curl
    proc_stdout, proc_stderr, retcode = self.execute_curl(curl_cmd, text)
  File "/Library/AutoPkg/autopkglib/URLGetter.py", line 180, in execute_curl
    raise ProcessorError(e)
autopkglib.ProcessorError: Command '['/usr/bin/curl', '--silent', '--show-error', '--no-buffer', '--dump-header', '-', '--speed-time', '30', '--location', '--url',  'https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_5_0/osx10/ACCCx5_5_0_617.dmg">Download</a>\xa0<a disablelinktracking="false" href="https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_5_0/osx10/ACCCx5_5_0_617.dmg', '--fail', '--output', '/Users/aaron.polley/Library/AutoPkg/Cache/com.github.rtrouton.pkg.AdobeCreativeCloudInstaller/downloads/tmpj8ie1jre']' returned non-zero exit status 22.
  File "/Library/AutoPkg/autopkglib/__init__.py", line 840, in process
    self.env = processor.process()
Command '['/usr/bin/curl', '--silent', '--show-error', '--no-buffer', '--dump-header', '-', '--speed-time', '30', '--location', '--url', 'https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_5_0/osx10/ACCCx5_5_0_617.dmg">Download</a>\xa0<a disablelinktracking="false" href="https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_5_0/osx10/ACCCx5_5_0_617.dmg', '--fail', '--output', '/Users/aaron.polley/Library/AutoPkg/Cache/com.github.rtrouton.pkg.AdobeCreativeCloudInstaller/downloads/tmpj8ie1jre']' returned non-zero exit status 22.
Failed.
Receipt written to /Users/aaron.polley/Library/AutoPkg/Cache/com.github.rtrouton.pkg.AdobeCreativeCloudInstaller/receipts/AdobeCreativeCloudInstaller-receipt-20210713-113907.plist

The following recipes failed:
    AdobeCreativeCloudInstaller.pkg
        Error in com.github.rtrouton.pkg.AdobeCreativeCloudInstaller: Processor: URLDownloader: Error: Command '['/usr/bin/curl', '--silent', '--show-error', '--no-buffer', '--dump-header', '-', '--speed-time', '30', '--location', '--url', 'https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_5_0/osx10/ACCCx5_5_0_617.dmg">Download</a>\xa0<a disablelinktracking="false" href="https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_5_0/osx10/ACCCx5_5_0_617.dmg', '--fail', '--output', '/Users/aaron.polley/Library/AutoPkg/Cache/com.github.rtrouton.pkg.AdobeCreativeCloudInstaller/downloads/tmpj8ie1jre']' returned non-zero exit status 22.

issue appears to be incorrectly scrubbed download URL:

'--url', 'https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_5_0/osx10/ACCCx5_5_0_617.dmg">Download</a>\xa0<a disablelinktracking="false" href="https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_5_0/osx10/ACCCx5_5_0_617.dmg', '--fail', '--output',

AdobeReader.jss pointing to GoogleCode

OK, I'm just learning GitHub. I'm creating this issue with the intent to edit the recipe to change the parent recipe to GitHub instead of GoogleCode.

VMware Horizon PKG recipe strips xattr from files

Looks like the InitUsbServices.tool file and a few others inside the Horizon client have some xattr's set (codesigning looks like) that Autopkgr is stripping, and so horizon says the file is invalid.

Not sure if this is an Autopkgr inherent issue, or if it can be addressed in the recipe. For now, having to package the DMG, then mount and copy over the application via postinstall.

Sophos Home URL No Longer Valid

The URL to download Sophos home is no longer valid.

It appears that Sophos has everything gated behind a login now, and the Sophos Home installer that's available for download ties back to the account that was used to download it. Once installed, Sophos Home returns back to the Sophos website _under the account that downloaded the Sophosfor preferences and management.

AdobeCreativeCloud recipes - CCDA 5.1.0.407 fails to install at the login window on Catalina

Logging this here so folks are aware - it's not a problem with the recipes themselves. We have a case open with Adobe now and they are investigating. The previous version (5.0.0.354) is fine.

The current version of CCDA (5.1.0.407) (downloaded from https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_1/osx10/ACCCx5_1_0_407.dmg via https://helpx.adobe.com/uk/download-install/kb/creative-cloud-desktop-app-download.html ) is failing to install at the login window on Catalina (tested on 10.15.3 and 10.15.4 supplemental).

We are seeing this with Munki installing at the login window, which uses the pkg generated by this Autopkg recipe ( https://github.com/autopkg/rtrouton-recipes/blob/master/AdobeCreativeCloud/AdobeCreativeCloudInstaller.pkg.recipe ).

I have reproduced the issue, running the installer directly from Adobe's DMG in the same way via an SSH session.

At the login window, the installer crashed:

sh-3.2# ./Install.app/Contents/MacOS/Install --mode=silent
Segmentation fault: 11

When I logged into the GUI and re-ran the installer in the SSH session, it succeeded:

sh-3.2# ./Install.app/Contents/MacOS/Install --mode=silent
Starting installer...
objc[2463]: Class HTTPHeader is implemented in both /Volumes/Creative Cloud/./Install.app/Contents/MacOS/Install (0x10471ad30) and /Volumes/Creative Cloud/resources/AdobePIM.dylib (0x10737e1c8). One of the two will be used. Which one is undefined.
objc[2463]: Class ProxyManager is implemented in both /Volumes/Creative Cloud/./Install.app/Contents/MacOS/Install (0x10471ad80) and /Volumes/Creative Cloud/resources/AdobePIM.dylib (0x10737e218). One of the two will be used. Which one is undefined.
Installation successful.
sh-3.2# 

New VMware Horizon Client icon

Hullo! Version 5 of VMware Horizon Client introduced a new icon:

install

I don't seem to have permissions to fork/update the icon myself.

ImageJ Versioning

Recent https://github.com/autopkg/rtrouton-recipes/commit/77cf713ce0f86f2c977e94672e2f94b224da68b3 to the ImageJ affects how version is determined. This results in the version for the latest ImageJ being set to 1.53 when the ImageJ page lists 1.53e

It's unfortunate that the full version is not set in CFBundleShortVersionString in the app bundle. Version can probably still be scraped from https://imagej.nih.gov/ij/notes.html even if it is no longer being used to build the download URL.

Thoughts @macmule @Daz-wallace ?

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.