autopkg / moofit-recipes

10 stars 27 forks source link

URL and CodeSignatureVerifier Update for Media Human Audio Converter #68

Closed paul-cossey closed 2 years ago

paul-cossey commented 2 years ago

Hi,

I've updated the URL to reflect Media Human's change from .com to .net

I've also added in CodeSignatureVerifier to the recipe.

Autopkg output:

autopkg run -vv /Users/paul/Documents/GitHub/moofit-recipes/MediaHuman/AudioConverter.download.recipe Processing /Users/paul/Documents/GitHub/moofit-recipes/MediaHuman/AudioConverter.download.recipe... WARNING: /Users/paul/Documents/GitHub/moofit-recipes/MediaHuman/AudioConverter.download.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding... URLDownloader {'Input': {'filename': 'MediaHuman Audio Converter.dmg', 'url': 'https://www.mediahuman.net/download/MHAudioConverter.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 URLDownloader: Storing new Last-Modified header: Mon, 16 Mar 2020 12:42:13 GMT URLDownloader: Downloaded /Users/paul/Library/AutoPkg/Cache/com.github.moofit-recipes.download.AudioConverter/downloads/MediaHuman Audio Converter.dmg {'Output': {'download_changed': True, 'last_modified': 'Mon, 16 Mar 2020 12:42:13 GMT', 'pathname': '/Users/paul/Library/AutoPkg/Cache/com.github.moofit-recipes.download.AudioConverter/downloads/MediaHuman ' 'Audio Converter.dmg', 'url_downloader_summary_result': {'data': {'download_path': '/Users/paul/Library/AutoPkg/Cache/com.github.moofit-recipes.download.AudioConverter/downloads/MediaHuman ' 'Audio ' 'Converter.dmg'}, 'summary_text': 'The following ' 'new items were ' 'downloaded:'}}} EndOfCheckPhase {'Input': {}} {'Output': {}} CodeSignatureVerifier {'Input': {'input_path': '/Users/paul/Library/AutoPkg/Cache/com.github.moofit-recipes.download.AudioConverter/downloads/MediaHuman ' 'Audio Converter.dmg/MediaHuman Audio Converter.app', 'requirement': 'identifier "com.mediahuman.Audio Converter" 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] = ' '"3EULEE7KQ5"'}} CodeSignatureVerifier: Mounted disk image /Users/paul/Library/AutoPkg/Cache/com.github.moofit-recipes.download.AudioConverter/downloads/MediaHuman Audio Converter.dmg CodeSignatureVerifier: Verifying code signature... CodeSignatureVerifier: Deep verification enabled... CodeSignatureVerifier: Strict verification not defined. Using codesign defaults... CodeSignatureVerifier: /private/tmp/dmg.R2R9AX/MediaHuman Audio Converter.app: valid on disk CodeSignatureVerifier: /private/tmp/dmg.R2R9AX/MediaHuman Audio Converter.app: satisfies its Designated Requirement CodeSignatureVerifier: /private/tmp/dmg.R2R9AX/MediaHuman Audio Converter.app: explicit requirement satisfied CodeSignatureVerifier: Signature is valid {'Output': {}} Receipt written to /Users/paul/Library/AutoPkg/Cache/com.github.moofit-recipes.download.AudioConverter/receipts/AudioConverter.download-receipt-20220203-145141.plist

The following new items were downloaded: Download Path


/Users/paul/Library/AutoPkg/Cache/com.github.moofit-recipes.download.AudioConverter/downloads/MediaHuman Audio Converter.dmg  

Thanks :-)