keeleysam-recipes
keeleysam-recipes copied to clipboard
Caffeine Recipe Rewrite
Hi, @keeleysam
The developers of Caffeine are no longer releasing via the GitHub repo.
This PR rewrites the recipes to account for the new download location, and the different download version available. Given it's a substantial change we're happy to host the rewrite in our repo?
For the OS_VERSION_DOWNLOAD variable please use:
- "sonoma"
- "ventura"
- "monterey"
Output from a successful Sonoma run
autopkg run -v Caffeine.munki.recipe
Looking for com.github.keeleysam.recipes.Caffeine.download...
Did not find com.github.keeleysam.recipes.Caffeine.download in recipe map
Rebuilding recipe map with current working directories...
Looking for com.github.keeleysam.recipes.Caffeine.download...
Found com.github.keeleysam.recipes.Caffeine.download in recipe map
**load_recipe time: 0.004651666997233406
Processing Caffeine.munki.recipe...
WARNING: Caffeine.munki.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLDownloader
URLDownloader: Storing new Last-Modified header: Tue, 17 Oct 2023 12:38:40 GMT
URLDownloader: Storing new ETag header: "d174a5ac5b8b62c2f45025c24d164de6"
URLDownloader: Downloaded /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/downloads/Caffeine-sonoma.zip
EndOfCheckPhase
Unarchiver
Unarchiver: Guessed archive format 'zip' from filename Caffeine-sonoma.zip
Unarchiver: Unarchived /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/downloads/Caffeine-sonoma.zip to /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/Caffeine-sonoma
CodeSignatureVerifier
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification not defined. Using codesign defaults...
CodeSignatureVerifier: /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/Caffeine-sonoma/Caffeine.app: valid on disk
CodeSignatureVerifier: /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/Caffeine-sonoma/Caffeine.app: satisfies its Designated Requirement
CodeSignatureVerifier: /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/Caffeine-sonoma/Caffeine.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
DmgCreator
DmgCreator: Created dmg from /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/Caffeine-sonoma at /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/Caffeine-sonoma.dmg
MunkiImporter
MunkiImporter: Using repo lib: AutoPkgLib
MunkiImporter: plugin: FileRepo
MunkiImporter: repo: /Users/Shared/munki_repo
MunkiImporter: Copied pkginfo to: /Users/Shared/munki_repo/pkgsinfo/apps/Caffeine-sonoma/Caffeine-sonoma-1.4.1.plist
MunkiImporter: pkg to: /Users/Shared/munki_repo/pkgs/apps/Caffeine-sonoma/Caffeine-sonoma-1.4.1.dmg
Receipt written to /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/receipts/Caffeine.munki-receipt-20231129-165920.plist
The following new items were downloaded:
Download Path
-------------
/Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/downloads/Caffeine-sonoma.zip
The following new items were imported into Munki:
Name Version Catalogs Pkginfo Path Pkg Repo Path Icon Repo Path
---- ------- -------- ------------ ------------- --------------
Caffeine-sonoma 1.4.1 testing apps/Caffeine-sonoma/Caffeine-sonoma-1.4.1.plist apps/Caffeine-sonoma/Caffeine-sonoma-1.4.1.dmg
Output from a successful Ventura run
autopkg run -v Caffeine.munki.recipe
Looking for com.github.keeleysam.recipes.Caffeine.download...
Did not find com.github.keeleysam.recipes.Caffeine.download in recipe map
Rebuilding recipe map with current working directories...
Looking for com.github.keeleysam.recipes.Caffeine.download...
Found com.github.keeleysam.recipes.Caffeine.download in recipe map
**load_recipe time: 0.004147833002207335
Processing Caffeine.munki.recipe...
WARNING: Caffeine.munki.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLDownloader
URLDownloader: Storing new Last-Modified header: Tue, 17 Oct 2023 08:28:46 GMT
URLDownloader: Storing new ETag header: "18e138dd820f91ceeeb3cea6f9457bef"
URLDownloader: Downloaded /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/downloads/Caffeine-ventura.zip
EndOfCheckPhase
Unarchiver
Unarchiver: Guessed archive format 'zip' from filename Caffeine-ventura.zip
Unarchiver: Unarchived /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/downloads/Caffeine-ventura.zip to /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/Caffeine-ventura
CodeSignatureVerifier
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification not defined. Using codesign defaults...
CodeSignatureVerifier: /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/Caffeine-ventura/Caffeine.app: valid on disk
CodeSignatureVerifier: /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/Caffeine-ventura/Caffeine.app: satisfies its Designated Requirement
CodeSignatureVerifier: /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/Caffeine-ventura/Caffeine.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
DmgCreator
DmgCreator: Created dmg from /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/Caffeine-ventura at /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/Caffeine-ventura.dmg
MunkiImporter
MunkiImporter: Using repo lib: AutoPkgLib
MunkiImporter: plugin: FileRepo
MunkiImporter: repo: /Users/Shared/munki_repo
MunkiImporter: Copied pkginfo to: /Users/Shared/munki_repo/pkgsinfo/apps/Caffeine-ventura/Caffeine-ventura-1.3.0.plist
MunkiImporter: pkg to: /Users/Shared/munki_repo/pkgs/apps/Caffeine-ventura/Caffeine-ventura-1.3.0.dmg
Receipt written to /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/receipts/Caffeine.munki-receipt-20231129-165947.plist
The following new items were downloaded:
Download Path
-------------
/Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/downloads/Caffeine-ventura.zip
The following new items were imported into Munki:
Name Version Catalogs Pkginfo Path Pkg Repo Path Icon Repo Path
---- ------- -------- ------------ ------------- --------------
Caffeine-ventura 1.3.0 testing apps/Caffeine-ventura/Caffeine-ventura-1.3.0.plist apps/Caffeine-ventura/Caffeine-ventura-1.3.0.dmg
Output from a successful Monterey run
autopkg run -v Caffeine.munki.recipe
Looking for com.github.keeleysam.recipes.Caffeine.download...
Did not find com.github.keeleysam.recipes.Caffeine.download in recipe map
Rebuilding recipe map with current working directories...
Looking for com.github.keeleysam.recipes.Caffeine.download...
Found com.github.keeleysam.recipes.Caffeine.download in recipe map
**load_recipe time: 0.004349959002865944
Processing Caffeine.munki.recipe...
WARNING: Caffeine.munki.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLDownloader
URLDownloader: Storing new Last-Modified header: Sat, 27 Aug 2022 03:50:02 GMT
URLDownloader: Storing new ETag header: "fc538731a33666f73d17e4778b00eb0f"
URLDownloader: Downloaded /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/downloads/Caffeine-monterey.zip
EndOfCheckPhase
Unarchiver
Unarchiver: Guessed archive format 'zip' from filename Caffeine-monterey.zip
Unarchiver: Unarchived /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/downloads/Caffeine-monterey.zip to /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/Caffeine-monterey
CodeSignatureVerifier
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification not defined. Using codesign defaults...
CodeSignatureVerifier: /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/Caffeine-monterey/Caffeine.app: valid on disk
CodeSignatureVerifier: /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/Caffeine-monterey/Caffeine.app: satisfies its Designated Requirement
CodeSignatureVerifier: /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/Caffeine-monterey/Caffeine.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
DmgCreator
DmgCreator: Created dmg from /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/Caffeine-monterey at /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/Caffeine-monterey.dmg
MunkiImporter
MunkiImporter: Using repo lib: AutoPkgLib
MunkiImporter: plugin: FileRepo
MunkiImporter: repo: /Users/Shared/munki_repo
MunkiImporter: Copied pkginfo to: /Users/Shared/munki_repo/pkgsinfo/apps/Caffeine-monterey/Caffeine-monterey-1.2.2.plist
MunkiImporter: pkg to: /Users/Shared/munki_repo/pkgs/apps/Caffeine-monterey/Caffeine-monterey-1.2.2.dmg
Receipt written to /Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/receipts/Caffeine.munki-receipt-20231129-170012.plist
The following new items were downloaded:
Download Path
-------------
/Users/paul.cossey/Library/AutoPkg/Cache/com.github.keeleysam.recipes.Caffeine.munki/downloads/Caffeine-monterey.zip
The following new items were imported into Munki:
Name Version Catalogs Pkginfo Path Pkg Repo Path Icon Repo Path
---- ------- -------- ------------ ------------- --------------
Caffeine-monterey 1.2.2 testing apps/Caffeine-monterey/Caffeine-monterey-1.2.2.plist apps/Caffeine-monterey/Caffeine-monterey-1.2.2.dmg