Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TorBrowserBundle.download.recipe #612

Merged
merged 1 commit into from
Oct 13, 2023

Conversation

randomName0815
Copy link
Contributor

dmg naming has changed

@homebysix
Copy link
Member

Looks good. Leaving verbose output for reference:

% autopkg run -vv Tor/TorBrowserBundle.download.recipe
**load_recipe time: 0.0004354999982751906
Processing Tor/TorBrowserBundle.download.recipe...
WARNING: Tor/TorBrowserBundle.download.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLTextSearcher
{'Input': {'re_pattern': 'href="\\/dist\\/torbrowser\\/[\\d\\.]+\\/tor-browser-macos-([\\d\\.]+)\\.dmg"',
           'result_output_var_name': 'version',
           'url': 'https://www.torproject.org/download/'}}
URLTextSearcher: Found matching text (version): 13.0
{'Output': {'version': '13.0'}}
URLDownloader
{'Input': {'filename': 'TorBrowserBundle-13.0.dmg',
           'url': 'https://www.torproject.org/dist/torbrowser/13.0/tor-browser-macos-13.0.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: Thu, 12 Oct 2023 17:51:09 GMT
URLDownloader: Storing new ETag header: "d1b49b4-6078895bcb0b8"
URLDownloader: Downloaded ~/Library/AutoPkg/Cache/com.github.homebysix.download.TorBrowserBundle/downloads/TorBrowserBundle-13.0.dmg
{'Output': {'download_changed': True,
            'etag': '"d1b49b4-6078895bcb0b8"',
            'last_modified': 'Thu, 12 Oct 2023 17:51:09 GMT',
            'pathname': '~/Library/AutoPkg/Cache/com.github.homebysix.download.TorBrowserBundle/downloads/TorBrowserBundle-13.0.dmg',
            'url_downloader_summary_result': {'data': {'download_path': '~/Library/AutoPkg/Cache/com.github.homebysix.download.TorBrowserBundle/downloads/TorBrowserBundle-13.0.dmg'},
                                              'summary_text': 'The following '
                                                              'new items were '
                                                              'downloaded:'}}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
CodeSignatureVerifier
{'Input': {'input_path': '~/Library/AutoPkg/Cache/com.github.homebysix.download.TorBrowserBundle/downloads/TorBrowserBundle-13.0.dmg/Tor '
                         'Browser.app',
           'requirement': 'identifier "org.torproject.torbrowser" 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] = '
                          'MADPSAYN6T'}}
CodeSignatureVerifier: Mounted disk image ~/Library/AutoPkg/Cache/com.github.homebysix.download.TorBrowserBundle/downloads/TorBrowserBundle-13.0.dmg
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification not defined. Using codesign defaults...
CodeSignatureVerifier: /private/tmp/dmg.6X3Ycv/Tor Browser.app: valid on disk
CodeSignatureVerifier: /private/tmp/dmg.6X3Ycv/Tor Browser.app: satisfies its Designated Requirement
CodeSignatureVerifier: /private/tmp/dmg.6X3Ycv/Tor Browser.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
{'Output': {}}
Versioner
{'Input': {'input_plist_path': '~/Library/AutoPkg/Cache/com.github.homebysix.download.TorBrowserBundle/downloads/TorBrowserBundle-13.0.dmg/Tor '
                               'Browser.app/Contents/Info.plist',
           'plist_version_key': 'CFBundleShortVersionString'}}
Versioner: No value supplied for skip_single_root_dir, setting default value of: False
Versioner: Mounted disk image ~/Library/AutoPkg/Cache/com.github.homebysix.download.TorBrowserBundle/downloads/TorBrowserBundle-13.0.dmg
Versioner: Found version 13.0 in file ~/Library/AutoPkg/Cache/com.github.homebysix.download.TorBrowserBundle/downloads/TorBrowserBundle-13.0.dmg/Tor Browser.app/Contents/Info.plist
{'Output': {'version': '13.0'}}
Receipt written to ~/Library/AutoPkg/Cache/com.github.homebysix.download.TorBrowserBundle/receipts/TorBrowserBundle.download-receipt-20231013-151329.plist

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

@homebysix homebysix merged commit 4cda23e into autopkg:master Oct 13, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants