Closed rtrouton closed 4 years ago
Output from running com.github.dataJAR-recipes.pkg.VMware Fusion 11
:
Processing com.github.dataJAR-recipes.pkg.VMware Fusion 11...
WARNING: com.github.dataJAR-recipes.pkg.VMware Fusion 11 is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
{'AUTOPKG_VERSION': u'1.3.1',
u'NAME': u'VMwareFusion11',
'PARENT_RECIPES': [u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes/VMware Fusion 11/VMware Fusion 11.download.recipe'],
'RECIPE_CACHE_DIR': u'/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11',
'RECIPE_DIR': u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes/VMware Fusion 11',
'RECIPE_OVERRIDE_DIRS': ['~/Library/AutoPkg/RecipeOverrides'],
'RECIPE_PATH': u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes/VMware Fusion 11/VMware Fusion 11.pkg.recipe',
u'RECIPE_REPOS': {u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.apettinen-recipes': {u'URL': u'https://github.com/autopkg/apettinen-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.bkerns-recipes': {u'URL': u'https://github.com/autopkg/bkerns-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.bnpl-recipes': {u'URL': u'https://github.com/autopkg/bnpl-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.cgerke-recipes': {u'URL': u'https://github.com/autopkg/cgerke-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes': {u'URL': u'https://github.com/autopkg/dataJAR-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.foigus-recipes': {u'URL': u'https://github.com/autopkg/foigus-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.golbiga-recipes': {u'URL': u'https://github.com/autopkg/golbiga-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.grahamgilbert-recipes': {u'URL': u'https://github.com/autopkg/grahamgilbert-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.hansen-m-recipes': {u'URL': u'https://github.com/autopkg/hansen-m-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.hjuutilainen-recipes': {u'URL': u'https://github.com/autopkg/hjuutilainen-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.homebysix-recipes': {u'URL': u'https://github.com/autopkg/homebysix-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.jleggat-recipes': {u'URL': u'https://github.com/autopkg/jleggat-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.joshua-d-miller-recipes': {u'URL': u'https://github.com/autopkg/joshua-d-miller-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.justinrummel-recipes': {u'URL': u'https://github.com/autopkg/justinrummel-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.killahquam-recipes': {u'URL': u'https://github.com/autopkg/killahquam-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.mosen-recipes': {u'URL': u'https://github.com/autopkg/mosen-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.novaksam-recipes': {u'URL': u'https://github.com/autopkg/novaksam-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes': {u'URL': u'https://github.com/autopkg/recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes': {u'URL': u'https://github.com/autopkg/rtrouton-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.rustymyers-recipes': {u'URL': u'https://github.com/autopkg/rustymyers-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.scriptingosx-recipes': {u'URL': u'https://github.com/autopkg/scriptingosx-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.smithjw-recipes': {u'URL': u'https://github.com/autopkg/smithjw-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.tbridge-recipes': {u'URL': u'https://github.com/autopkg/tbridge-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.timsutton-recipes': {u'URL': u'https://github.com/autopkg/timsutton-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes': {u'URL': u'https://github.com/rtrouton/autopkg_recipes'}},
u'RECIPE_SEARCH_DIRS': [u'.',
u'~/Library/AutoPkg/Recipes',
u'/Library/AutoPkg/Recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.apettinen-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.bkerns-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.bnpl-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.cgerke-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.foigus-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.golbiga-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.grahamgilbert-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.hansen-m-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.hjuutilainen-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.homebysix-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.jleggat-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.joshua-d-miller-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.justinrummel-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.killahquam-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.mosen-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.novaksam-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.rustymyers-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.scriptingosx-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.smithjw-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.tbridge-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.timsutton-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes/VMware Fusion 11'],
'verbose': 4}
VMwareFusion11URLProvider
{'Input': {'product_name': u'fusion.xml'}}
VMwareFusion11URLProvider: Found URL https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/11.5.0/14634996/core/com.vmware.fusion.zip.tar
VMwareFusion11URLProvider: Found Version 11.5.0
{'Output': {'url': 'https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/11.5.0/14634996/core/com.vmware.fusion.zip.tar',
'version': '11.5.0'}}
URLDownloader
{'Input': {'filename': u'VMwareFusion11.zip.tar',
'url': 'https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/11.5.0/14634996/core/com.vmware.fusion.zip.tar'}}
URLDownloader: No value supplied for CHECK_FILESIZE_ONLY, setting default value of: False
URLDownloader: No value supplied for CURL_PATH, setting default value of: /usr/bin/curl
URLDownloader: Storing new Last-Modified header: Thu, 12 Sep 2019 17:02:47 GMT
URLDownloader: Storing new ETag header: "9dd6730df27570b6829948e33ba044fd:1568945627"
URLDownloader: Downloaded /Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/downloads/VMwareFusion11.zip.tar
{'Output': {'download_changed': True,
'etag': '"9dd6730df27570b6829948e33ba044fd:1568945627"',
'last_modified': 'Thu, 12 Sep 2019 17:02:47 GMT',
'pathname': u'/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/downloads/VMwareFusion11.zip.tar',
'url_downloader_summary_result': {'data': {'download_path': u'/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/downloads/VMwareFusion11.zip.tar'},
'summary_text': 'The following new items were downloaded:'}}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
Unarchiver
{'Input': {'archive_format': u'tar',
'archive_path': u'/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/downloads/VMwareFusion11.zip.tar',
'destination_path': u'/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/tar',
'purge_destination': True}}
Unarchiver: Unarchived /Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/downloads/VMwareFusion11.zip.tar to /Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/tar
{'Output': {}}
Unarchiver
{'Input': {'archive_format': u'zip',
'archive_path': u'/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/tar/com.vmware.fusion.zip',
'destination_path': u'/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/source',
'purge_destination': True}}
Unarchiver: Unarchived /Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/tar/com.vmware.fusion.zip to /Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/source
{'Output': {}}
PkgRootCreator
{'Input': {'pkgdirs': {
Applications = 0775;
},
'pkgroot': u'/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/VMwareFusion11'}}
PkgRootCreator: Created /Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/VMwareFusion11
PkgRootCreator: Creating Applications
PkgRootCreator: Created /Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/VMwareFusion11/Applications
{'Output': {}}
Copier
{'Input': {'destination_path': u'/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/VMwareFusion11/Applications/VMware Fusion.app',
'source_path': u'/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/source/payload/VMware Fusion.app'}}
Copier: Copied /Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/source/payload/VMware Fusion.app to /Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/VMwareFusion11/Applications/VMware Fusion.app
{'Output': {}}
CodeSignatureVerifier
{'Input': {'input_path': u'/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/VMwareFusion11/Applications/VMware Fusion.app',
'requirement': u'identifier "com.vmware.fusion" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = EG7KH642X6'}}
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification not defined. Using codesign defaults...
CodeSignatureVerifier: /Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/VMwareFusion11/Applications/VMware Fusion.app: valid on disk
CodeSignatureVerifier: /Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/VMwareFusion11/Applications/VMware Fusion.app: satisfies its Designated Requirement
CodeSignatureVerifier: /Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/VMwareFusion11/Applications/VMware Fusion.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
{'Output': {}}
PathDeleter
{'Input': {'path_list': (
"/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/tar/",
"/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/source/"
)}}
PathDeleter: Deleted /Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/tar/
PathDeleter: Deleted /Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/source/
{'Output': {}}
PlistReader
{'Input': {'info_path': u'/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/VMwareFusion11/Applications/VMWare Fusion.app',
'plist_keys': {
CFBundleIdentifier = bundleid;
CFBundleShortVersionString = version;
}}}
PlistReader: Reading: /Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/VMwareFusion11/Applications/VMWare Fusion.app/Contents/Info.plist
PlistReader: Assigning value of '11.5.0' to output variable 'version'
PlistReader: Assigning value of 'com.vmware.fusion' to output variable 'bundleid'
{'Output': {'plist_reader_output_variables': {u'bundleid': u'com.vmware.fusion',
u'version': u'11.5.0'}}}
PkgRootCreator
{'Input': {'pkgdirs': {
},
'pkgroot': u'/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/Scripts'}}
PkgRootCreator: Created /Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/Scripts
{'Output': {}}
FileCreator
{'Input': {'file_content': u'#!/bin/bash\n#\n# Pinched with <3 from: https://github.com/autopkg/justinrummel-recipes/blob/42bc13881fe373f771cefec20a53d7844172019f/VMware%20Fusion/VMwareFusion.pkg.munki.recipe\n#\n\nif [ -e /Applications/VMware\\ Fusion.app/Contents/Library/Initialize\\ VMware\\ Fusion.tool ]\nthen\n /Applications/VMware\\ Fusion.app/Contents/Library/Initialize\\ VMware\\ Fusion.tool set\nfi',
'file_mode': u'0755',
'file_path': u'/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/Scripts/postinstall'}}
FileCreator: Created file at /Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/Scripts/postinstall
{'Output': {}}
PkgCreator
{'Input': {'pkg_request': {
chown = (
{
group = admin;
path = Applications;
user = root;
}
);
id = "com.vmware.fusion";
options = "purge_ds_store";
pkgdir = "/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11";
pkgroot = "/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/VMwareFusion11";
scripts = Scripts;
}}}
PkgCreator: Connecting
PkgCreator: Sending packaging request
PkgCreator: Disconnecting
{'Output': {'new_package_request': True,
'pkg_creator_summary_result': {'data': {'identifier': u'com.vmware.fusion',
'pkg_path': '/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/VMwareFusion11-11.5.0.pkg',
'version': u'11.5.0'},
'report_fields': ['identifier',
'version',
'pkg_path'],
'summary_text': 'The following packages were built:'},
'pkg_path': '/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/VMwareFusion11-11.5.0.pkg'}}
PathDeleter
{'Input': {'path_list': (
"/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/VMwareFusion11/",
"/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/Scripts/"
)}}
PathDeleter: Deleted /Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/VMwareFusion11/
PathDeleter: Deleted /Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/Scripts/
{'Output': {}}
{'AUTOPKG_VERSION': u'1.3.1',
'CHECK_FILESIZE_ONLY': False,
'CURL_PATH': '/usr/bin/curl',
u'NAME': u'VMwareFusion11',
'PARENT_RECIPES': [u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes/VMware Fusion 11/VMware Fusion 11.download.recipe'],
'RECIPE_CACHE_DIR': u'/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11',
'RECIPE_DIR': u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes/VMware Fusion 11',
'RECIPE_OVERRIDE_DIRS': ['~/Library/AutoPkg/RecipeOverrides'],
'RECIPE_PATH': u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes/VMware Fusion 11/VMware Fusion 11.pkg.recipe',
u'RECIPE_REPOS': {u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.apettinen-recipes': {u'URL': u'https://github.com/autopkg/apettinen-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.bkerns-recipes': {u'URL': u'https://github.com/autopkg/bkerns-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.bnpl-recipes': {u'URL': u'https://github.com/autopkg/bnpl-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.cgerke-recipes': {u'URL': u'https://github.com/autopkg/cgerke-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes': {u'URL': u'https://github.com/autopkg/dataJAR-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.foigus-recipes': {u'URL': u'https://github.com/autopkg/foigus-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.golbiga-recipes': {u'URL': u'https://github.com/autopkg/golbiga-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.grahamgilbert-recipes': {u'URL': u'https://github.com/autopkg/grahamgilbert-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.hansen-m-recipes': {u'URL': u'https://github.com/autopkg/hansen-m-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.hjuutilainen-recipes': {u'URL': u'https://github.com/autopkg/hjuutilainen-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.homebysix-recipes': {u'URL': u'https://github.com/autopkg/homebysix-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.jleggat-recipes': {u'URL': u'https://github.com/autopkg/jleggat-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.joshua-d-miller-recipes': {u'URL': u'https://github.com/autopkg/joshua-d-miller-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.justinrummel-recipes': {u'URL': u'https://github.com/autopkg/justinrummel-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.killahquam-recipes': {u'URL': u'https://github.com/autopkg/killahquam-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.mosen-recipes': {u'URL': u'https://github.com/autopkg/mosen-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.novaksam-recipes': {u'URL': u'https://github.com/autopkg/novaksam-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes': {u'URL': u'https://github.com/autopkg/recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes': {u'URL': u'https://github.com/autopkg/rtrouton-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.rustymyers-recipes': {u'URL': u'https://github.com/autopkg/rustymyers-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.scriptingosx-recipes': {u'URL': u'https://github.com/autopkg/scriptingosx-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.smithjw-recipes': {u'URL': u'https://github.com/autopkg/smithjw-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.tbridge-recipes': {u'URL': u'https://github.com/autopkg/tbridge-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.timsutton-recipes': {u'URL': u'https://github.com/autopkg/timsutton-recipes'},
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes': {u'URL': u'https://github.com/rtrouton/autopkg_recipes'}},
u'RECIPE_SEARCH_DIRS': [u'.',
u'~/Library/AutoPkg/Recipes',
u'/Library/AutoPkg/Recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.apettinen-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.bkerns-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.bnpl-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.cgerke-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.foigus-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.golbiga-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.grahamgilbert-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.hansen-m-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.hjuutilainen-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.homebysix-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.jleggat-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.joshua-d-miller-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.justinrummel-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.killahquam-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.mosen-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.novaksam-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.rustymyers-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.scriptingosx-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.smithjw-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.tbridge-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.timsutton-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes',
u'/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes/VMware Fusion 11'],
u'archive_format': u'zip',
u'archive_path': u'/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/tar/com.vmware.fusion.zip',
u'bundleid': u'com.vmware.fusion',
u'destination_path': u'/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/VMwareFusion11/Applications/VMware Fusion.app',
'download_changed': True,
'etag': '"9dd6730df27570b6829948e33ba044fd:1568945627"',
u'file_content': u'#!/bin/bash\n#\n# Pinched with <3 from: https://github.com/autopkg/justinrummel-recipes/blob/42bc13881fe373f771cefec20a53d7844172019f/VMware%20Fusion/VMwareFusion.pkg.munki.recipe\n#\n\nif [ -e /Applications/VMware\\ Fusion.app/Contents/Library/Initialize\\ VMware\\ Fusion.tool ]\nthen\n /Applications/VMware\\ Fusion.app/Contents/Library/Initialize\\ VMware\\ Fusion.tool set\nfi',
u'file_mode': u'0755',
u'file_path': u'/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/Scripts/postinstall',
u'filename': u'VMwareFusion11.zip.tar',
u'info_path': u'/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/VMwareFusion11/Applications/VMWare Fusion.app',
u'input_path': u'/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/VMwareFusion11/Applications/VMware Fusion.app',
'last_modified': 'Thu, 12 Sep 2019 17:02:47 GMT',
'new_package_request': True,
u'path_list': (
"/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/VMwareFusion11/",
"/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/Scripts/"
),
'pathname': u'/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/downloads/VMwareFusion11.zip.tar',
'pkg_creator_summary_result': {'data': {'identifier': u'com.vmware.fusion',
'pkg_path': '/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/VMwareFusion11-11.5.0.pkg',
'version': u'11.5.0'},
'report_fields': ['identifier',
'version',
'pkg_path'],
'summary_text': 'The following packages were built:'},
'pkg_path': '/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/VMwareFusion11-11.5.0.pkg',
u'pkg_request': {
chown = (
{
group = admin;
path = Applications;
user = root;
}
);
id = "com.vmware.fusion";
infofile = "";
options = "purge_ds_store";
pkgdir = "/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11";
pkgname = "VMwareFusion11-11.5.0";
pkgroot = "/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/VMwareFusion11";
pkgtype = flat;
resources = "";
scripts = "/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/Scripts";
version = "11.5.0";
},
u'pkgdirs': {
},
u'pkgname': u'VMwareFusion11-11.5.0',
u'pkgroot': u'/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/Scripts',
u'plist_keys': {
CFBundleIdentifier = bundleid;
CFBundleShortVersionString = version;
},
'plist_reader_output_variables': {u'bundleid': u'com.vmware.fusion',
u'version': u'11.5.0'},
u'product_name': u'fusion.xml',
u'purge_destination': True,
u'requirement': u'identifier "com.vmware.fusion" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = EG7KH642X6',
u'source_path': u'/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/source/payload/VMware Fusion.app',
'url': 'https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/11.5.0/14634996/core/com.vmware.fusion.zip.tar',
'url_downloader_summary_result': {'data': {'download_path': u'/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/downloads/VMwareFusion11.zip.tar'},
'summary_text': 'The following new items were downloaded:'},
'verbose': 4,
'version': u'11.5.0'}
Receipt written to /Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/receipts/com.github.dataJAR-recipes.pkg-receipt-20191118-151932.plist
The following packages were built:
Identifier Version Pkg Path
---------- ------- --------
com.vmware.fusion 11.5.0 /Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/VMwareFusion11-11.5.0.pkg
The following new items were downloaded:
Download Path
-------------
/Users/username/Library/AutoPkg/Cache/com.github.dataJAR-recipes.pkg.VMware Fusion 11/downloads/VMwareFusion11.zip.tar
username@computername ~ % ```
Ah, the joys of adopting someones custom processor.. I'll dig in
Got a fix, yet to implement:
#!/usr/bin/python
import urllib2
from distutils.version import LooseVersion
from xml.etree import ElementTree
major_version = "11"
request = urllib2.Request('https://softwareupdate.vmware.com/cds/vmw-desktop/fusion.xml')
vsus = urllib2.urlopen(request)
data = vsus.read()
metaList = ElementTree.fromstring(data)
urls = []
for metadata in metaList:
url = metadata.find("url")
urls.append(url.text)
print urls
foundUrls = {}
for someUrl in urls:
if someUrl.split('/')[1].startswith(major_version):
foundUrls[someUrl.split('/')[1]] = someUrl
print foundUrls
print "^^^"
xmlVers = []
for foundVer in foundUrls.keys():
xmlVers.append(foundVer)
if len(xmlVers) == 0:
print "nowt"
xmlVers.sort(key=LooseVersion)
print xmlVers[-1]
latest = xmlVers[-1]
print foundUrls[xmlVers[-1]]
Outputs (amongst other things):
11.5.1
fusion/11.5.1/15018442/core/metadata.xml.gz
@rtrouton can you update the repo & try again? should be sorted.
VMwareFusion11URLProvider
{'Input': {'product_name': u'fusion.xml'}}
VMwareFusion11URLProvider: 11.5.1
VMwareFusion11URLProvider: Found URL https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/11.5.1/15018442/core/com.vmware.fusion.zip.tar
VMwareFusion11URLProvider: Found Version 11.5.1
{'Output': {'url': 'https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/11.5.1/15018442/core/com.vmware.fusion.zip.tar',
'version': '11.5.1'}}
URLDownloader
{'Input': {'filename': u'VMwareFusion11.zip.tar',
'url': 'https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/11.5.1/15018442/core/com.vmware.fusion.zip.tar'}}
Tested again & imported 11.5.1, happy me so closing this off.
Thanks for the issue!
For whatever reason, it looks like the VMware Fusion recipes are still picking up 11.5.0, instead of 11.5.1.