autopkg / recipes

Recipes for AutoPkg
231 stars 206 forks source link

Adjust Evernote recipes to use latest download source and format #394

Closed homebysix closed 3 years ago

homebysix commented 3 years ago

The Evernote Sparkle feed, which the Evernote.download recipe is using, only contains versions up to 7.14. The latest version of Evernote downloadable from evernote.com is 10.15.6.

This PR adjusts the Evernote.download recipe to use the same static URL referenced by the Evernote download page, which provides a disk image.

Adjustments to the munki and pkg recipes have been made corresponding to the file format change from zip to dmg.

The ability to override the Sparkle feed and obtain prerelease versions of Evernote is removed by this PR, but that Sparkle feed appears to have been empty for a while. There is a beta program, but I'm not a member and don't know whether a static URL exists for the beta download.

The AppDmgVersioner processor has been included in the download recipe as a convenience for child recipes that may require version information downstream.

I'll post test output shortly for each of the 3 modified recipes.

homebysix commented 3 years ago

Evernote.download - 1st run

% autopkg run -vv Evernote/Evernote.download.recipe
Processing Evernote/Evernote.download.recipe...
WARNING: Evernote/Evernote.download.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLDownloader
{'Input': {'filename': 'Evernote.dmg',
           'url': 'https://evernote.com/download/get.php?file=EvernoteMac'}}
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: Wed, 02 Jun 2021 03:12:09 GMT
URLDownloader: Storing new ETag header: "edeca3477c437614518b4aa9f7440dd0-30"
URLDownloader: Downloaded ~/Library/AutoPkg/Cache/com.github.autopkg.download.Evernote/downloads/Evernote.dmg
{'Output': {'download_changed': True,
            'etag': '"edeca3477c437614518b4aa9f7440dd0-30"',
            'last_modified': 'Wed, 02 Jun 2021 03:12:09 GMT',
            'pathname': '~/Library/AutoPkg/Cache/com.github.autopkg.download.Evernote/downloads/Evernote.dmg',
            'url_downloader_summary_result': {'data': {'download_path': '~/Library/AutoPkg/Cache/com.github.autopkg.download.Evernote/downloads/Evernote.dmg'},
                                              'summary_text': 'The following '
                                                              'new items were '
                                                              'downloaded:'}}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
CodeSignatureVerifier
{'Input': {'input_path': '~/Library/AutoPkg/Cache/com.github.autopkg.download.Evernote/downloads/Evernote.dmg/Evernote.app',
           'requirement': '(anchor apple generic and certificate '
                          'leaf[field.1.2.840.113635.100.6.1.9] /* exists */ '
                          'or 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] = '
                          'Q79WDW8YH9) and identifier "com.evernote.Evernote"'}}
CodeSignatureVerifier: Mounted disk image ~/Library/AutoPkg/Cache/com.github.autopkg.download.Evernote/downloads/Evernote.dmg
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification not defined. Using codesign defaults...
CodeSignatureVerifier: /private/tmp/dmg.q2Cgno/Evernote.app: valid on disk
CodeSignatureVerifier: /private/tmp/dmg.q2Cgno/Evernote.app: satisfies its Designated Requirement
CodeSignatureVerifier: /private/tmp/dmg.q2Cgno/Evernote.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
{'Output': {}}
AppDmgVersioner
{'Input': {'dmg_path': '~/Library/AutoPkg/Cache/com.github.autopkg.download.Evernote/downloads/Evernote.dmg'}}
AppDmgVersioner: Mounted disk image ~/Library/AutoPkg/Cache/com.github.autopkg.download.Evernote/downloads/Evernote.dmg
AppDmgVersioner: BundleID: com.evernote.Evernote
AppDmgVersioner: Version: 10.15.6
{'Output': {'app_name': 'Evernote.app',
            'bundleid': 'com.evernote.Evernote',
            'version': '10.15.6'}}
Receipt written to ~/Library/AutoPkg/Cache/com.github.autopkg.download.Evernote/receipts/Evernote.download-receipt-20210616-140753.plist

The following new items were downloaded:
    Download Path                                                                                     
    -------------                                                                                     
    ~/Library/AutoPkg/Cache/com.github.autopkg.download.Evernote/downloads/Evernote.dmg

Evernote.download - 2nd run

% autopkg run -vv Evernote/Evernote.download.recipe                           
Processing Evernote/Evernote.download.recipe...
WARNING: Evernote/Evernote.download.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLDownloader
{'Input': {'filename': 'Evernote.dmg',
           'url': 'https://evernote.com/download/get.php?file=EvernoteMac'}}
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 ~/Library/AutoPkg/Cache/com.github.autopkg.download.Evernote/downloads/Evernote.dmg
{'Output': {'pathname': '~/Library/AutoPkg/Cache/com.github.autopkg.download.Evernote/downloads/Evernote.dmg'}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
CodeSignatureVerifier
{'Input': {'input_path': '~/Library/AutoPkg/Cache/com.github.autopkg.download.Evernote/downloads/Evernote.dmg/Evernote.app',
           'requirement': '(anchor apple generic and certificate '
                          'leaf[field.1.2.840.113635.100.6.1.9] /* exists */ '
                          'or 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] = '
                          'Q79WDW8YH9) and identifier "com.evernote.Evernote"'}}
CodeSignatureVerifier: Mounted disk image ~/Library/AutoPkg/Cache/com.github.autopkg.download.Evernote/downloads/Evernote.dmg
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification not defined. Using codesign defaults...
CodeSignatureVerifier: /private/tmp/dmg.wzBI2O/Evernote.app: valid on disk
CodeSignatureVerifier: /private/tmp/dmg.wzBI2O/Evernote.app: satisfies its Designated Requirement
CodeSignatureVerifier: /private/tmp/dmg.wzBI2O/Evernote.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
{'Output': {}}
AppDmgVersioner
{'Input': {'dmg_path': '~/Library/AutoPkg/Cache/com.github.autopkg.download.Evernote/downloads/Evernote.dmg'}}
AppDmgVersioner: Mounted disk image ~/Library/AutoPkg/Cache/com.github.autopkg.download.Evernote/downloads/Evernote.dmg
AppDmgVersioner: BundleID: com.evernote.Evernote
AppDmgVersioner: Version: 10.15.6
{'Output': {'app_name': 'Evernote.app',
            'bundleid': 'com.evernote.Evernote',
            'version': '10.15.6'}}
Receipt written to ~/Library/AutoPkg/Cache/com.github.autopkg.download.Evernote/receipts/Evernote.download-receipt-20210616-140930.plist

Nothing downloaded, packaged or imported.

Evernote.munki - 1st run

% autopkg run -vv Evernote/Evernote.munki.recipe MakeCatalogs.munki
Processing Evernote/Evernote.munki.recipe...
WARNING: Evernote/Evernote.munki.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLDownloader
{'Input': {'filename': 'Evernote.dmg',
           'url': 'https://evernote.com/download/get.php?file=EvernoteMac'}}
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: Wed, 02 Jun 2021 03:12:09 GMT
URLDownloader: Storing new ETag header: "edeca3477c437614518b4aa9f7440dd0-30"
URLDownloader: Downloaded ~/Library/AutoPkg/Cache/com.github.autopkg.munki.Evernote/downloads/Evernote.dmg
{'Output': {'download_changed': True,
            'etag': '"edeca3477c437614518b4aa9f7440dd0-30"',
            'last_modified': 'Wed, 02 Jun 2021 03:12:09 GMT',
            'pathname': '~/Library/AutoPkg/Cache/com.github.autopkg.munki.Evernote/downloads/Evernote.dmg',
            'url_downloader_summary_result': {'data': {'download_path': '~/Library/AutoPkg/Cache/com.github.autopkg.munki.Evernote/downloads/Evernote.dmg'},
                                              'summary_text': 'The following '
                                                              'new items were '
                                                              'downloaded:'}}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
CodeSignatureVerifier
{'Input': {'input_path': '~/Library/AutoPkg/Cache/com.github.autopkg.munki.Evernote/downloads/Evernote.dmg/Evernote.app',
           'requirement': '(anchor apple generic and certificate '
                          'leaf[field.1.2.840.113635.100.6.1.9] /* exists */ '
                          'or 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] = '
                          'Q79WDW8YH9) and identifier "com.evernote.Evernote"'}}
CodeSignatureVerifier: Mounted disk image ~/Library/AutoPkg/Cache/com.github.autopkg.munki.Evernote/downloads/Evernote.dmg
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification not defined. Using codesign defaults...
CodeSignatureVerifier: /private/tmp/dmg.ik9B6L/Evernote.app: valid on disk
CodeSignatureVerifier: /private/tmp/dmg.ik9B6L/Evernote.app: satisfies its Designated Requirement
CodeSignatureVerifier: /private/tmp/dmg.ik9B6L/Evernote.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
{'Output': {}}
AppDmgVersioner
{'Input': {'dmg_path': '~/Library/AutoPkg/Cache/com.github.autopkg.munki.Evernote/downloads/Evernote.dmg'}}
AppDmgVersioner: Mounted disk image ~/Library/AutoPkg/Cache/com.github.autopkg.munki.Evernote/downloads/Evernote.dmg
AppDmgVersioner: BundleID: com.evernote.Evernote
AppDmgVersioner: Version: 10.15.6
{'Output': {'app_name': 'Evernote.app',
            'bundleid': 'com.evernote.Evernote',
            'version': '10.15.6'}}
MunkiImporter
{'Input': {'MUNKI_REPO': '/Users/Shared/munki_repo',
           'pkg_path': '~/Library/AutoPkg/Cache/com.github.autopkg.munki.Evernote/downloads/Evernote.dmg',
           'pkginfo': {'catalogs': ['testing'],
                       'description': 'Evernote makes it easy to remember '
                                      'things big and small from your everyday '
                                      'life using your computer, phone, tablet '
                                      'and the web.',
                       'display_name': 'Evernote',
                       'name': 'Evernote',
                       'unattended_install': True},
           'repo_subdirectory': 'apps/Evernote'}}
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/apps/Evernote/Evernote-10.15.6.plist
MunkiImporter:            pkg to: /Users/Shared/munki_repo/pkgs/apps/Evernote/Evernote-10.15.6.dmg
{'Output': {'munki_importer_summary_result': {'data': {'catalogs': 'testing',
                                                       'icon_repo_path': '',
                                                       'name': 'Evernote',
                                                       'pkg_repo_path': 'apps/Evernote/Evernote-10.15.6.dmg',
                                                       'pkginfo_path': 'apps/Evernote/Evernote-10.15.6.plist',
                                                       'version': '10.15.6'},
                                              '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': 'testuser',
                                         'creation_date': datetime.datetime(2021, 6, 16, 21, 11, 55),
                                         'munki_version': '5.5.0.4360',
                                         'os_version': '11.4'},
                           'autoremove': False,
                           'catalogs': ['testing'],
                           'description': 'Evernote makes it easy to remember '
                                          'things big and small from your '
                                          'everyday life using your computer, '
                                          'phone, tablet and the web.',
                           'display_name': 'Evernote',
                           'installer_item_hash': '1ad38dbb81e40354427b647ccd9aff5f317faa948003c57afc78ec2af955c968',
                           'installer_item_location': 'apps/Evernote/Evernote-10.15.6.dmg',
                           'installer_item_size': 152538,
                           'installer_type': 'copy_from_dmg',
                           'installs': [{'CFBundleIdentifier': 'com.evernote.Evernote',
                                         'CFBundleName': 'Evernote',
                                         'CFBundleShortVersionString': '10.15.6',
                                         'CFBundleVersion': '10.15.6.2680',
                                         'minosversion': '10.10.0',
                                         'path': '/Applications/Evernote.app',
                                         'type': 'application',
                                         'version_comparison_key': 'CFBundleShortVersionString'}],
                           'items_to_copy': [{'destination_path': '/Applications',
                                              'source_item': 'Evernote.app'}],
                           'minimum_os_version': '10.10.0',
                           'name': 'Evernote',
                           'unattended_install': True,
                           'uninstall_method': 'remove_copied_items',
                           'uninstallable': True,
                           'version': '10.15.6'},
            'munki_repo_changed': True,
            'pkg_repo_path': '/Users/Shared/munki_repo/pkgs/apps/Evernote/Evernote-10.15.6.dmg',
            'pkginfo_repo_path': '/Users/Shared/munki_repo/pkgsinfo/apps/Evernote/Evernote-10.15.6.plist'}}
Receipt written to ~/Library/AutoPkg/Cache/com.github.autopkg.munki.Evernote/receipts/Evernote.munki-receipt-20210616-141155.plist
Processing MakeCatalogs.munki...
WARNING: MakeCatalogs.munki is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
MakeCatalogsProcessor
{'Input': {'MUNKI_REPO': '/Users/Shared/munki_repo'}}
MakeCatalogsProcessor: Munki catalogs rebuilt!
{'Output': {}}
Receipt written to ~/Library/AutoPkg/Cache/com.github.autopkg.munki.makecatalogs/receipts/MakeCatalogs-receipt-20210616-141156.plist

The following new items were downloaded:
    Download Path                                                                                  
    -------------                                                                                  
    ~/Library/AutoPkg/Cache/com.github.autopkg.munki.Evernote/downloads/Evernote.dmg  

The following new items were imported into Munki:
    Name      Version  Catalogs  Pkginfo Path                          Pkg Repo Path                       Icon Repo Path  
    ----      -------  --------  ------------                          -------------                       --------------  
    Evernote  10.15.6  testing   apps/Evernote/Evernote-10.15.6.plist  apps/Evernote/Evernote-10.15.6.dmg

Evernote.munki - 2nd run

% autopkg run -vv Evernote/Evernote.munki.recipe MakeCatalogs.munki
Processing Evernote/Evernote.munki.recipe...
WARNING: Evernote/Evernote.munki.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLDownloader
{'Input': {'filename': 'Evernote.dmg',
           'url': 'https://evernote.com/download/get.php?file=EvernoteMac'}}
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 ~/Library/AutoPkg/Cache/com.github.autopkg.munki.Evernote/downloads/Evernote.dmg
{'Output': {'pathname': '~/Library/AutoPkg/Cache/com.github.autopkg.munki.Evernote/downloads/Evernote.dmg'}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
CodeSignatureVerifier
{'Input': {'input_path': '~/Library/AutoPkg/Cache/com.github.autopkg.munki.Evernote/downloads/Evernote.dmg/Evernote.app',
           'requirement': '(anchor apple generic and certificate '
                          'leaf[field.1.2.840.113635.100.6.1.9] /* exists */ '
                          'or 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] = '
                          'Q79WDW8YH9) and identifier "com.evernote.Evernote"'}}
CodeSignatureVerifier: Mounted disk image ~/Library/AutoPkg/Cache/com.github.autopkg.munki.Evernote/downloads/Evernote.dmg
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification not defined. Using codesign defaults...
CodeSignatureVerifier: /private/tmp/dmg.zcYyeF/Evernote.app: valid on disk
CodeSignatureVerifier: /private/tmp/dmg.zcYyeF/Evernote.app: satisfies its Designated Requirement
CodeSignatureVerifier: /private/tmp/dmg.zcYyeF/Evernote.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
{'Output': {}}
AppDmgVersioner
{'Input': {'dmg_path': '~/Library/AutoPkg/Cache/com.github.autopkg.munki.Evernote/downloads/Evernote.dmg'}}
AppDmgVersioner: Mounted disk image ~/Library/AutoPkg/Cache/com.github.autopkg.munki.Evernote/downloads/Evernote.dmg
AppDmgVersioner: BundleID: com.evernote.Evernote
AppDmgVersioner: Version: 10.15.6
{'Output': {'app_name': 'Evernote.app',
            'bundleid': 'com.evernote.Evernote',
            'version': '10.15.6'}}
MunkiImporter
{'Input': {'MUNKI_REPO': '/Users/Shared/munki_repo',
           'pkg_path': '~/Library/AutoPkg/Cache/com.github.autopkg.munki.Evernote/downloads/Evernote.dmg',
           'pkginfo': {'catalogs': ['testing'],
                       'description': 'Evernote makes it easy to remember '
                                      'things big and small from your everyday '
                                      'life using your computer, phone, tablet '
                                      'and the web.',
                       'display_name': 'Evernote',
                       'name': 'Evernote',
                       'unattended_install': True},
           'repo_subdirectory': 'apps/Evernote'}}
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: Item Evernote.dmg already exists in the munki repo as pkgs/apps/Evernote/Evernote-10.15.6.dmg.
{'Output': {'pkg_repo_path': '/Users/Shared/munki_repo/pkgs/apps/Evernote/Evernote-10.15.6.dmg'}}
Receipt written to ~/Library/AutoPkg/Cache/com.github.autopkg.munki.Evernote/receipts/Evernote.munki-receipt-20210616-141245.plist
Processing MakeCatalogs.munki...
WARNING: MakeCatalogs.munki is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
MakeCatalogsProcessor
{'Input': {'MUNKI_REPO': '/Users/Shared/munki_repo'}}
MakeCatalogsProcessor: No need to rebuild catalogs.
{'Output': {}}
Receipt written to ~/Library/AutoPkg/Cache/com.github.autopkg.munki.makecatalogs/receipts/MakeCatalogs-receipt-20210616-141245.plist

Nothing downloaded, packaged or imported.

Evernote.pkg - 1st run

% autopkg run -vv Evernote/Evernote.pkg.recipe                     
Processing Evernote/Evernote.pkg.recipe...
WARNING: Evernote/Evernote.pkg.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLDownloader
{'Input': {'filename': 'Evernote.dmg',
           'url': 'https://evernote.com/download/get.php?file=EvernoteMac'}}
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: Wed, 02 Jun 2021 03:12:09 GMT
URLDownloader: Storing new ETag header: "edeca3477c437614518b4aa9f7440dd0-30"
URLDownloader: Downloaded ~/Library/AutoPkg/Cache/com.github.autopkg.pkg.Evernote/downloads/Evernote.dmg
{'Output': {'download_changed': True,
            'etag': '"edeca3477c437614518b4aa9f7440dd0-30"',
            'last_modified': 'Wed, 02 Jun 2021 03:12:09 GMT',
            'pathname': '~/Library/AutoPkg/Cache/com.github.autopkg.pkg.Evernote/downloads/Evernote.dmg',
            'url_downloader_summary_result': {'data': {'download_path': '~/Library/AutoPkg/Cache/com.github.autopkg.pkg.Evernote/downloads/Evernote.dmg'},
                                              'summary_text': 'The following '
                                                              'new items were '
                                                              'downloaded:'}}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
CodeSignatureVerifier
{'Input': {'input_path': '~/Library/AutoPkg/Cache/com.github.autopkg.pkg.Evernote/downloads/Evernote.dmg/Evernote.app',
           'requirement': '(anchor apple generic and certificate '
                          'leaf[field.1.2.840.113635.100.6.1.9] /* exists */ '
                          'or 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] = '
                          'Q79WDW8YH9) and identifier "com.evernote.Evernote"'}}
CodeSignatureVerifier: Mounted disk image ~/Library/AutoPkg/Cache/com.github.autopkg.pkg.Evernote/downloads/Evernote.dmg
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification not defined. Using codesign defaults...
CodeSignatureVerifier: /private/tmp/dmg.s729gz/Evernote.app: valid on disk
CodeSignatureVerifier: /private/tmp/dmg.s729gz/Evernote.app: satisfies its Designated Requirement
CodeSignatureVerifier: /private/tmp/dmg.s729gz/Evernote.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
{'Output': {}}
AppDmgVersioner
{'Input': {'dmg_path': '~/Library/AutoPkg/Cache/com.github.autopkg.pkg.Evernote/downloads/Evernote.dmg'}}
AppDmgVersioner: Mounted disk image ~/Library/AutoPkg/Cache/com.github.autopkg.pkg.Evernote/downloads/Evernote.dmg
AppDmgVersioner: BundleID: com.evernote.Evernote
AppDmgVersioner: Version: 10.15.6
{'Output': {'app_name': 'Evernote.app',
            'bundleid': 'com.evernote.Evernote',
            'version': '10.15.6'}}
AppPkgCreator
{'Input': {'bundleid': 'com.evernote.Evernote', 'version': '10.15.6'}}
AppPkgCreator: Mounted disk image ~/Library/AutoPkg/Cache/com.github.autopkg.pkg.Evernote/downloads/Evernote.dmg
AppPkgCreator: Using path '/private/tmp/dmg.g6CD3N/Evernote.app' matched from globbed '/private/tmp/dmg.g6CD3N/*.app'.
AppPkgCreator: Copied /private/tmp/dmg.g6CD3N/Evernote.app to ~/Library/AutoPkg/Cache/com.github.autopkg.pkg.Evernote/payload/Applications/Evernote.app
AppPkgCreator: Connecting
AppPkgCreator: Sending packaging request
AppPkgCreator: Disconnecting
AppPkgCreator: Failed to close socket: [Errno 9] Bad file descriptor
{'Output': {'app_pkg_creator_summary_result': {'data': {'identifier': 'com.evernote.Evernote',
                                                        'pkg_path': '~/Library/AutoPkg/Cache/com.github.autopkg.pkg.Evernote/Evernote-10.15.6.pkg',
                                                        'version': '10.15.6'},
                                               'report_fields': ['identifier',
                                                                 'version',
                                                                 'pkg_path'],
                                               'summary_text': 'The following '
                                                               'packages were '
                                                               'built:'},
            'new_package_request': True,
            'version': '10.15.6'}}
Receipt written to ~/Library/AutoPkg/Cache/com.github.autopkg.pkg.Evernote/receipts/Evernote.pkg-receipt-20210616-141421.plist

The following new items were downloaded:
    Download Path                                                                                
    -------------                                                                                
    ~/Library/AutoPkg/Cache/com.github.autopkg.pkg.Evernote/downloads/Evernote.dmg  

The following packages were built:
    Identifier             Version  Pkg Path                                                                                   
    ----------             -------  --------                                                                                   
    com.evernote.Evernote  10.15.6  ~/Library/AutoPkg/Cache/com.github.autopkg.pkg.Evernote/Evernote-10.15.6.pkg

Evernote.pkg - 2nd run

% autopkg run -vv Evernote/Evernote.pkg.recipe
Processing Evernote/Evernote.pkg.recipe...
WARNING: Evernote/Evernote.pkg.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLDownloader
{'Input': {'filename': 'Evernote.dmg',
           'url': 'https://evernote.com/download/get.php?file=EvernoteMac'}}
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 ~/Library/AutoPkg/Cache/com.github.autopkg.pkg.Evernote/downloads/Evernote.dmg
{'Output': {'pathname': '~/Library/AutoPkg/Cache/com.github.autopkg.pkg.Evernote/downloads/Evernote.dmg'}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
CodeSignatureVerifier
{'Input': {'input_path': '~/Library/AutoPkg/Cache/com.github.autopkg.pkg.Evernote/downloads/Evernote.dmg/Evernote.app',
           'requirement': '(anchor apple generic and certificate '
                          'leaf[field.1.2.840.113635.100.6.1.9] /* exists */ '
                          'or 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] = '
                          'Q79WDW8YH9) and identifier "com.evernote.Evernote"'}}
CodeSignatureVerifier: Mounted disk image ~/Library/AutoPkg/Cache/com.github.autopkg.pkg.Evernote/downloads/Evernote.dmg
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification not defined. Using codesign defaults...
CodeSignatureVerifier: /private/tmp/dmg.NdbBtC/Evernote.app: valid on disk
CodeSignatureVerifier: /private/tmp/dmg.NdbBtC/Evernote.app: satisfies its Designated Requirement
CodeSignatureVerifier: /private/tmp/dmg.NdbBtC/Evernote.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
{'Output': {}}
AppDmgVersioner
{'Input': {'dmg_path': '~/Library/AutoPkg/Cache/com.github.autopkg.pkg.Evernote/downloads/Evernote.dmg'}}
AppDmgVersioner: Mounted disk image ~/Library/AutoPkg/Cache/com.github.autopkg.pkg.Evernote/downloads/Evernote.dmg
AppDmgVersioner: BundleID: com.evernote.Evernote
AppDmgVersioner: Version: 10.15.6
{'Output': {'app_name': 'Evernote.app',
            'bundleid': 'com.evernote.Evernote',
            'version': '10.15.6'}}
AppPkgCreator
{'Input': {'bundleid': 'com.evernote.Evernote', 'version': '10.15.6'}}
AppPkgCreator: Mounted disk image ~/Library/AutoPkg/Cache/com.github.autopkg.pkg.Evernote/downloads/Evernote.dmg
AppPkgCreator: Using path '/private/tmp/dmg.r17O2W/Evernote.app' matched from globbed '/private/tmp/dmg.r17O2W/*.app'.
AppPkgCreator: Package already exists at path ~/Library/AutoPkg/Cache/com.github.autopkg.pkg.Evernote/Evernote-10.15.6.pkg.
AppPkgCreator: Existing package matches version and identifier, not building.
{'Output': {'version': '10.15.6'}}
Receipt written to ~/Library/AutoPkg/Cache/com.github.autopkg.pkg.Evernote/receipts/Evernote.pkg-receipt-20210616-141449.plist

Nothing downloaded, packaged or imported.