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 CharlesProxy.munki.recipe #116

Closed
wants to merge 4 commits into from
Closed

Update CharlesProxy.munki.recipe #116

wants to merge 4 commits into from

Conversation

macmule
Copy link
Member

@macmule macmule commented Aug 6, 2021

hanged parent to .download so we create an installs array of the .app on disk

Processing /Users/ben/Git/other-recipes/arubdesu-recipes/CharlesProxy/CharlesProxy.munki.recipe...
WARNING: /Users/ben/Git/other-recipes/arubdesu-recipes/CharlesProxy/CharlesProxy.munki.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLTextSearcher
{'Input': {'re_pattern': '.*', 'url': 'https://www.charlesproxy.com/latest.do'}}
URLTextSearcher: No value supplied for result_output_var_name, setting default value of: match
URLTextSearcher: Found matching text (match): 4.6.2
{'Output': {'match': '4.6.2'}}
URLDownloader
{'Input': {'url': 'https://www.charlesproxy.com/assets/release/4.6.2/charles-proxy-4.6.2.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: Tue, 06 Jul 2021 02:01:52 GMT
URLDownloader: Storing new ETag header: "60e3b990-3650913"
URLDownloader: Downloaded /Users/ben/Library/AutoPkg/Cache/com.github.autopkg.arubdesu.munki.CharlesProxy/downloads/charles-proxy-4.6.2.dmg
{'Output': {'download_changed': True,
            'etag': '"60e3b990-3650913"',
            'last_modified': 'Tue, 06 Jul 2021 02:01:52 GMT',
            'pathname': '/Users/ben/Library/AutoPkg/Cache/com.github.autopkg.arubdesu.munki.CharlesProxy/downloads/charles-proxy-4.6.2.dmg',
            'url_downloader_summary_result': {'data': {'download_path': '/Users/ben/Library/AutoPkg/Cache/com.github.autopkg.arubdesu.munki.CharlesProxy/downloads/charles-proxy-4.6.2.dmg'},
                                              'summary_text': 'The following '
                                                              'new items were '
                                                              'downloaded:'}}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
CodeSignatureVerifier
{'Input': {'input_path': '/Users/ben/Library/AutoPkg/Cache/com.github.autopkg.arubdesu.munki.CharlesProxy/downloads/charles-proxy-4.6.2.dmg/Charles.app',
           'requirement': 'identifier "com.xk72.Charles" 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] = '
                          '"9A5PCU4FSD"'}}
CodeSignatureVerifier: Mounted disk image /Users/ben/Library/AutoPkg/Cache/com.github.autopkg.arubdesu.munki.CharlesProxy/downloads/charles-proxy-4.6.2.dmg
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification not defined. Using codesign defaults...
CodeSignatureVerifier: /private/tmp/dmg.HpzFjb/Charles.app: valid on disk
CodeSignatureVerifier: /private/tmp/dmg.HpzFjb/Charles.app: satisfies its Designated Requirement
CodeSignatureVerifier: /private/tmp/dmg.HpzFjb/Charles.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
{'Output': {}}
MunkiImporter
{'Input': {'MUNKI_REPO': '/Users/Shared/munki_repo',
           'pkg_path': '/Users/ben/Library/AutoPkg/Cache/com.github.autopkg.arubdesu.munki.CharlesProxy/downloads/charles-proxy-4.6.2.dmg',
           'pkginfo': {'blocking_applications': ['Charles.app'],
                       'catalogs': ['testing'],
                       'description': 'Charles is an HTTP proxy / HTTP monitor '
                                      '/ Reverse Proxy that enables a '
                                      'developer to view all of the HTTP and '
                                      'SSL / HTTPS traffic between their '
                                      'machine and the Internet. This includes '
                                      'requests, responses and the HTTP '
                                      'headers (which contain the cookies and '
                                      'caching information).',
                       'display_name': 'Charles',
                       'name': 'CharlesProxy',
                       'unattended_install': True},
           'repo_subdirectory': 'apps'}}
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/CharlesProxy-4.6.2.plist
MunkiImporter:            pkg to: /Users/Shared/munki_repo/pkgs/apps/charles-proxy-4.6.2.dmg
{'Output': {'munki_importer_summary_result': {'data': {'catalogs': 'testing',
                                                       'icon_repo_path': '',
                                                       'name': 'CharlesProxy',
                                                       'pkg_repo_path': 'apps/charles-proxy-4.6.2.dmg',
                                                       'pkginfo_path': 'apps/CharlesProxy-4.6.2.plist',
                                                       'version': '4.6.2'},
                                              '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, 8, 6, 8, 41, 1),
                                         'munki_version': '5.5.0.4360',
                                         'os_version': '10.15.7'},
                           'autoremove': False,
                           'blocking_applications': ['Charles.app'],
                           'catalogs': ['testing'],
                           'description': 'Charles is an HTTP proxy / HTTP '
                                          'monitor / Reverse Proxy that '
                                          'enables a developer to view all of '
                                          'the HTTP and SSL / HTTPS traffic '
                                          'between their machine and the '
                                          'Internet. This includes requests, '
                                          'responses and the HTTP headers '
                                          '(which contain the cookies and '
                                          'caching information).',
                           'display_name': 'Charles',
                           'installer_item_hash': '8e66c73ebd5d97bbe2b79e27bdfd3f06299edb7f941246ea52cc32883917df12',
                           'installer_item_location': 'apps/charles-proxy-4.6.2.dmg',
                           'installer_item_size': 55618,
                           'installer_type': 'copy_from_dmg',
                           'installs': [{'CFBundleIdentifier': 'com.xk72.Charles',
                                         'CFBundleName': 'Charles',
                                         'CFBundleShortVersionString': '4.6.2',
                                         'CFBundleVersion': '4.6.2',
                                         'minosversion': '10.7',
                                         'path': '/Applications/Charles.app',
                                         'type': 'application',
                                         'version_comparison_key': 'CFBundleShortVersionString'}],
                           'items_to_copy': [{'destination_path': '/Applications',
                                              'source_item': 'Charles.app'}],
                           'minimum_os_version': '10.7',
                           'name': 'CharlesProxy',
                           'unattended_install': True,
                           'uninstall_method': 'remove_copied_items',
                           'uninstallable': True,
                           'version': '4.6.2'},
            'munki_repo_changed': True,
            'pkg_repo_path': '/Users/Shared/munki_repo/pkgs/apps/charles-proxy-4.6.2.dmg',
            'pkginfo_repo_path': '/Users/Shared/munki_repo/pkgsinfo/apps/CharlesProxy-4.6.2.plist'}}
Receipt written to /Users/ben/Library/AutoPkg/Cache/com.github.autopkg.arubdesu.munki.CharlesProxy/receipts/CharlesProxy.munki-receipt-20210806-094101.plist

The following new items were downloaded:
    Download Path
    -------------
    /Users/ben/Library/AutoPkg/Cache/com.github.autopkg.arubdesu.munki.CharlesProxy/downloads/charles-proxy-4.6.2.dmg

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

macmule added 4 commits July 16, 2021 12:57
Changed parent to .download so we create an installs array of the .app on disk

```
Processing /Users/ben/Git/other-recipes/arubdesu-recipes/CharlesProxy/CharlesProxy.munki.recipe...
WARNING: /Users/ben/Git/other-recipes/arubdesu-recipes/CharlesProxy/CharlesProxy.munki.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLTextSearcher
{'Input': {'re_pattern': '.*', 'url': 'https://www.charlesproxy.com/latest.do'}}
URLTextSearcher: No value supplied for result_output_var_name, setting default value of: match
URLTextSearcher: Found matching text (match): 4.6.2
{'Output': {'match': '4.6.2'}}
URLDownloader
{'Input': {'url': 'https://www.charlesproxy.com/assets/release/4.6.2/charles-proxy-4.6.2.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: Tue, 06 Jul 2021 02:01:52 GMT
URLDownloader: Storing new ETag header: "60e3b990-3650913"
URLDownloader: Downloaded /Users/ben/Library/AutoPkg/Cache/com.github.autopkg.arubdesu.munki.CharlesProxy/downloads/charles-proxy-4.6.2.dmg
{'Output': {'download_changed': True,
            'etag': '"60e3b990-3650913"',
            'last_modified': 'Tue, 06 Jul 2021 02:01:52 GMT',
            'pathname': '/Users/ben/Library/AutoPkg/Cache/com.github.autopkg.arubdesu.munki.CharlesProxy/downloads/charles-proxy-4.6.2.dmg',
            'url_downloader_summary_result': {'data': {'download_path': '/Users/ben/Library/AutoPkg/Cache/com.github.autopkg.arubdesu.munki.CharlesProxy/downloads/charles-proxy-4.6.2.dmg'},
                                              'summary_text': 'The following '
                                                              'new items were '
                                                              'downloaded:'}}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
CodeSignatureVerifier
{'Input': {'input_path': '/Users/ben/Library/AutoPkg/Cache/com.github.autopkg.arubdesu.munki.CharlesProxy/downloads/charles-proxy-4.6.2.dmg/Charles.app',
           'requirement': 'identifier "com.xk72.Charles" 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] = '
                          '"9A5PCU4FSD"'}}
CodeSignatureVerifier: Mounted disk image /Users/ben/Library/AutoPkg/Cache/com.github.autopkg.arubdesu.munki.CharlesProxy/downloads/charles-proxy-4.6.2.dmg
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification not defined. Using codesign defaults...
CodeSignatureVerifier: /private/tmp/dmg.HpzFjb/Charles.app: valid on disk
CodeSignatureVerifier: /private/tmp/dmg.HpzFjb/Charles.app: satisfies its Designated Requirement
CodeSignatureVerifier: /private/tmp/dmg.HpzFjb/Charles.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
{'Output': {}}
MunkiImporter
{'Input': {'MUNKI_REPO': '/Users/Shared/munki_repo',
           'pkg_path': '/Users/ben/Library/AutoPkg/Cache/com.github.autopkg.arubdesu.munki.CharlesProxy/downloads/charles-proxy-4.6.2.dmg',
           'pkginfo': {'blocking_applications': ['Charles.app'],
                       'catalogs': ['testing'],
                       'description': 'Charles is an HTTP proxy / HTTP monitor '
                                      '/ Reverse Proxy that enables a '
                                      'developer to view all of the HTTP and '
                                      'SSL / HTTPS traffic between their '
                                      'machine and the Internet. This includes '
                                      'requests, responses and the HTTP '
                                      'headers (which contain the cookies and '
                                      'caching information).',
                       'display_name': 'Charles',
                       'name': 'CharlesProxy',
                       'unattended_install': True},
           'repo_subdirectory': 'apps'}}
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/CharlesProxy-4.6.2.plist
MunkiImporter:            pkg to: /Users/Shared/munki_repo/pkgs/apps/charles-proxy-4.6.2.dmg
{'Output': {'munki_importer_summary_result': {'data': {'catalogs': 'testing',
                                                       'icon_repo_path': '',
                                                       'name': 'CharlesProxy',
                                                       'pkg_repo_path': 'apps/charles-proxy-4.6.2.dmg',
                                                       'pkginfo_path': 'apps/CharlesProxy-4.6.2.plist',
                                                       'version': '4.6.2'},
                                              '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, 8, 6, 8, 41, 1),
                                         'munki_version': '5.5.0.4360',
                                         'os_version': '10.15.7'},
                           'autoremove': False,
                           'blocking_applications': ['Charles.app'],
                           'catalogs': ['testing'],
                           'description': 'Charles is an HTTP proxy / HTTP '
                                          'monitor / Reverse Proxy that '
                                          'enables a developer to view all of '
                                          'the HTTP and SSL / HTTPS traffic '
                                          'between their machine and the '
                                          'Internet. This includes requests, '
                                          'responses and the HTTP headers '
                                          '(which contain the cookies and '
                                          'caching information).',
                           'display_name': 'Charles',
                           'installer_item_hash': '8e66c73ebd5d97bbe2b79e27bdfd3f06299edb7f941246ea52cc32883917df12',
                           'installer_item_location': 'apps/charles-proxy-4.6.2.dmg',
                           'installer_item_size': 55618,
                           'installer_type': 'copy_from_dmg',
                           'installs': [{'CFBundleIdentifier': 'com.xk72.Charles',
                                         'CFBundleName': 'Charles',
                                         'CFBundleShortVersionString': '4.6.2',
                                         'CFBundleVersion': '4.6.2',
                                         'minosversion': '10.7',
                                         'path': '/Applications/Charles.app',
                                         'type': 'application',
                                         'version_comparison_key': 'CFBundleShortVersionString'}],
                           'items_to_copy': [{'destination_path': '/Applications',
                                              'source_item': 'Charles.app'}],
                           'minimum_os_version': '10.7',
                           'name': 'CharlesProxy',
                           'unattended_install': True,
                           'uninstall_method': 'remove_copied_items',
                           'uninstallable': True,
                           'version': '4.6.2'},
            'munki_repo_changed': True,
            'pkg_repo_path': '/Users/Shared/munki_repo/pkgs/apps/charles-proxy-4.6.2.dmg',
            'pkginfo_repo_path': '/Users/Shared/munki_repo/pkgsinfo/apps/CharlesProxy-4.6.2.plist'}}
Receipt written to /Users/ben/Library/AutoPkg/Cache/com.github.autopkg.arubdesu.munki.CharlesProxy/receipts/CharlesProxy.munki-receipt-20210806-094101.plist

The following new items were downloaded:
    Download Path
    -------------
    /Users/ben/Library/AutoPkg/Cache/com.github.autopkg.arubdesu.munki.CharlesProxy/downloads/charles-proxy-4.6.2.dmg

The following new items were imported into Munki:
    Name          Version  Catalogs  Pkginfo Path                   Pkg Repo Path                 Icon Repo Path
    ----          -------  --------  ------------                   -------------                 --------------
    CharlesProxy  4.6.2    testing   apps/CharlesProxy-4.6.2.plist  apps/charles-proxy-4.6.2.dmg
```
@macmule
Copy link
Member Author

macmule commented Aug 6, 2021

oh.. this looks to have some old artefacts from git.. will redo

@macmule macmule closed this Aug 6, 2021
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.

1 participant