Closed macmule closed 3 years ago
Run output:
Processing /Users/ben/Git/other-recipes/orchard-recipes/Lightworks/Lightworks.munki.recipe...
WARNING: /Users/ben/Git/other-recipes/orchard-recipes/Lightworks/Lightworks.munki.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLTextSearcher
{'Input': {'re_flags': ['MULTILINE', 'DOTALL'],
're_pattern': 'Lightworks for Mac OS X</h.*<strong>Latest '
'release:</strong>.*<strong>(.*)</strong>.*<span>Release '
'date:</span>',
'result_output_var_name': 'version',
'url': 'https://www.lwks.com/index.php?option=com_lwks&view=download&Itemid=206'}}
URLTextSearcher: Found matching text (version): 2021.1.6
{'Output': {'version': '2021.1.6'}}
URLDownloader
{'Input': {'filename': 'lightworks-download-2021.1.6.dmg',
'url': 'https://www.lwks.com/index.php?option=com_docman&task=doc_download&gid=210'}}
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
URLDownloader: Item at URL is unchanged.
URLDownloader: Using existing /Users/ben/Library/AutoPkg/Cache/uk.ac.ox.orchard.munki.lightworks/downloads/lightworks-download-2021.1.6.dmg
{'Output': {'pathname': '/Users/ben/Library/AutoPkg/Cache/uk.ac.ox.orchard.munki.lightworks/downloads/lightworks-download-2021.1.6.dmg'}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
MunkiImporter
{'Input': {'MUNKI_REPO': '/Users/Shared/munki_repo',
'pkg_path': '/Users/ben/Library/AutoPkg/Cache/uk.ac.ox.orchard.munki.lightworks/downloads/lightworks-download-2021.1.6.dmg',
'pkginfo': {'catalogs': ['testing'],
'description': "Lightworks is EditShare's Academy and "
'Emmy award-winning, professional video '
'editing software',
'display_name': 'Lightworks',
'name': 'Lightworks',
'unattended_install': True},
'repo_subdirectory': 'Lightworks'}}
MunkiImporter: No value supplied for MUNKI_REPO_PLUGIN, setting default value of: FileRepo
MunkiImporter: No value supplied for MUNKILIB_DIR, setting default value of: /usr/local/munki
MunkiImporter: No value supplied for force_munki_repo_lib, setting default value of: False
MunkiImporter: Using repo lib: AutoPkgLib
MunkiImporter: plugin: FileRepo
MunkiImporter: repo: /Users/Shared/munki_repo
MunkiImporter: Copied pkginfo to: /Users/Shared/munki_repo/pkgsinfo/Lightworks/Lightworks-2021.1__1.plist
MunkiImporter: pkg to: /Users/Shared/munki_repo/pkgs/Lightworks/lightworks-download-2021.1.6-2021.1__1.dmg
{'Output': {'munki_importer_summary_result': {'data': {'catalogs': 'testing',
'icon_repo_path': '',
'name': 'Lightworks',
'pkg_repo_path': 'Lightworks/lightworks-download-2021.1.6-2021.1__1.dmg',
'pkginfo_path': 'Lightworks/Lightworks-2021.1__1.plist',
'version': '2021.1'},
'report_fields': ['name',
'version',
'catalogs',
'pkginfo_path',
'pkg_repo_path',
'icon_repo_path'],
'summary_text': 'The following '
'new items were '
'imported into '
'Munki:'},
'munki_info': {'_metadata': {'created_by': 'ben',
'creation_date': datetime.datetime(2021, 4, 22, 15, 53, 30),
'munki_version': '5.3.0.4335',
'os_version': '10.15.7'},
'autoremove': False,
'catalogs': ['testing'],
'description': "Lightworks is EditShare's Academy "
'and Emmy award-winning, '
'professional video editing software',
'display_name': 'Lightworks',
'installer_item_hash': 'cde6525e031e84a241f3721284fc64b1f6425b17360395127717f7640271e4b6',
'installer_item_location': 'Lightworks/lightworks-download-2021.1.6-2021.1__1.dmg',
'installer_item_size': 125008,
'installer_type': 'copy_from_dmg',
'installs': [{'CFBundleIdentifier': 'com.LWKS.lightworks',
'CFBundleName': 'Lightworks',
'CFBundleShortVersionString': '2021.1',
'CFBundleVersion': '2021.1',
'minosversion': '10.9',
'path': '/Applications/Lightworks.app',
'type': 'application',
'version_comparison_key': 'CFBundleShortVersionString'}],
'items_to_copy': [{'destination_path': '/Applications',
'source_item': 'Lightworks.app'}],
'minimum_os_version': '10.9',
'name': 'Lightworks',
'unattended_install': True,
'uninstall_method': 'remove_copied_items',
'uninstallable': True,
'version': '2021.1'},
'munki_repo_changed': True,
'pkg_repo_path': '/Users/Shared/munki_repo/pkgs/Lightworks/lightworks-download-2021.1.6-2021.1__1.dmg',
'pkginfo_repo_path': '/Users/Shared/munki_repo/pkgsinfo/Lightworks/Lightworks-2021.1__1.plist'}}
Receipt written to /Users/ben/Library/AutoPkg/Cache/uk.ac.ox.orchard.munki.lightworks/receipts/Lightworks.munki-receipt-20210422-165330.plist
The following new items were imported into Munki:
Name Version Catalogs Pkginfo Path Pkg Repo Path Icon Repo Path
---- ------- -------- ------------ ------------- --------------
Lightworks 2021.1 testing Lightworks/Lightworks-2021.1__1.plist Lightworks/lightworks-download-2021.1.6-2021.1__1.dmg
pkginfo:
<?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>_metadata</key>
<dict>
<key>created_by</key>
<string>ben</string>
<key>creation_date</key>
<date>2021-04-22T15:53:30Z</date>
<key>munki_version</key>
<string>5.3.0.4335</string>
<key>os_version</key>
<string>10.15.7</string>
</dict>
<key>autoremove</key>
<false/>
<key>catalogs</key>
<array>
<string>testing</string>
</array>
<key>description</key>
<string>Lightworks is EditShare's Academy and Emmy award-winning, professional video editing software</string>
<key>display_name</key>
<string>Lightworks</string>
<key>installer_item_hash</key>
<string>cde6525e031e84a241f3721284fc64b1f6425b17360395127717f7640271e4b6</string>
<key>installer_item_location</key>
<string>Lightworks/lightworks-download-2021.1.6-2021.1__1.dmg</string>
<key>installer_item_size</key>
<integer>125008</integer>
<key>installer_type</key>
<string>copy_from_dmg</string>
<key>installs</key>
<array>
<dict>
<key>CFBundleIdentifier</key>
<string>com.LWKS.lightworks</string>
<key>CFBundleName</key>
<string>Lightworks</string>
<key>CFBundleShortVersionString</key>
<string>2021.1</string>
<key>CFBundleVersion</key>
<string>2021.1</string>
<key>minosversion</key>
<string>10.9</string>
<key>path</key>
<string>/Applications/Lightworks.app</string>
<key>type</key>
<string>application</string>
<key>version_comparison_key</key>
<string>CFBundleShortVersionString</string>
</dict>
</array>
<key>items_to_copy</key>
<array>
<dict>
<key>destination_path</key>
<string>/Applications</string>
<key>source_item</key>
<string>Lightworks.app</string>
</dict>
</array>
<key>minimum_os_version</key>
<string>10.9</string>
<key>name</key>
<string>Lightworks</string>
<key>unattended_install</key>
<true/>
<key>uninstall_method</key>
<string>remove_copied_items</string>
<key>uninstallable</key>
<true/>
<key>version</key>
<string>2021.1</string>
</dict>
</plist>
bump?
Sorry i pulled this locally and tested it then forgot
Added CodeSignatureVerifier to the .download recipe, amended .munki recipe to look for the .app and use the .download as a parent.