autopkg / smithjw-recipes

Smithjw's AutoPkg recipes
Apache License 2.0
14 stars 16 forks source link

Update Little Snitch 5.download.recipe #48

Closed paul-cossey closed 3 months ago

paul-cossey commented 4 months ago

Hi, @smithjw

The Little Snitch 5 download recipe is failing with the following error message

Processor: URLTextSearcher: Error: No match found on URL: https://www.obdev.at/products/littlesnitch/download.html

This PR updates the search URL and the download URL to account for it moving to the legacy downloads page.

Output from a successful -v run

autopkg run -v Little\ Snitch\ 5.download.recipe
**load_recipe time: 0.0003211250004824251
Processing Little Snitch 5.download.recipe...
WARNING: Little Snitch 5.download.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLTextSearcher
URLTextSearcher: Found matching text (match): LittleSnitch-5.7.6.dmg
URLDownloader
URLDownloader: Storing new Last-Modified header: Thu, 16 May 2024 11:19:40 GMT
URLDownloader: Storing new ETag header: "1e8b259-6189069398b00"
URLDownloader: Downloaded /Users/paul.cossey/Library/AutoPkg/Cache/com.github.smithjw.download.LittleSnitch5/downloads/LittleSnitch-5.7.6.dmg
EndOfCheckPhase
CodeSignatureVerifier
CodeSignatureVerifier: Mounted disk image /Users/paul.cossey/Library/AutoPkg/Cache/com.github.smithjw.download.LittleSnitch5/downloads/LittleSnitch-5.7.6.dmg
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification not defined. Using codesign defaults...
CodeSignatureVerifier: /private/tmp/dmg.4vmkKN/Little Snitch.app: valid on disk
CodeSignatureVerifier: /private/tmp/dmg.4vmkKN/Little Snitch.app: satisfies its Designated Requirement
CodeSignatureVerifier: /private/tmp/dmg.4vmkKN/Little Snitch.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
Receipt written to /Users/paul.cossey/Library/AutoPkg/Cache/com.github.smithjw.download.LittleSnitch5/receipts/Little Snitch 5.download-receipt-20240523-171001.plist

The following new items were downloaded:
    Download Path                                                                                                        
    -------------                                                                                                        
    /Users/paul.cossey/Library/AutoPkg/Cache/com.github.smithjw.download.LittleSnitch5/downloads/LittleSnitch-5.7.6.dmg 
smithjw commented 3 months ago

Thanks @paul-cossey for the PR! I've integrated those changes into the recipes and converted them into yaml 😄

paul-cossey commented 3 months ago

Thanks, @smithjw! Appreciate the swift merge (and upstream changes!) 🚀