autopkg / homebysix-recipes

AutoPkg recipes all the way from Seattle, WA.
Apache License 2.0
148 stars 114 forks source link

Apache Directory Studio recipe returns a 404 #90

Closed flammable closed 7 years ago

flammable commented 7 years ago

Thanks for this recipe! I can't seem to get it to work, though - looks like they might have changed their website.

autopkg run local.munki.ApacheDirectoryStudio -vv
Processing local.munki.ApacheDirectoryStudio...
URLTextSearcher
{'Input': {'re_pattern': u'<a href="([\\d]+\\..+)/">',
           'result_output_var_name': u'version',
           'url': u'https://dist.apache.org/repos/dist/release/directory/studio/'}}
URLTextSearcher: No value supplied for CURL_PATH, setting default value of: /usr/bin/curl
URLTextSearcher: Found matching text (version): 2.0.0.v20161101-M12
{'Output': {u'version': '2.0.0.v20161101-M12'}}
URLDownloader
{'Input': {'CURL_PATH': '/usr/bin/curl',
           'url': u'https://dist.apache.org/repos/dist/release/directory/studio/2.0.0.v20161101-M12/ApacheDirectoryStudio-2.0.0.v20161101-M12-macosx.cocoa.x86_64.tar.gz'}}
URLDownloader: No value supplied for CHECK_FILESIZE_ONLY, setting default value of: False
Curl failure: The requested URL returned error: 404 Not Found (exit code 22)
Failed.
Receipt written to /Users/macadmin/Library/AutoPkg/Cache/local.munki.ApacheDirectoryStudio/receipts/local.munki-receipt-20161206-134041.plist

The following recipes failed:
    local.munki.ApacheDirectoryStudio
        Error in local.munki.ApacheDirectoryStudio: Processor: URLDownloader: Error: Curl failure: The requested URL returned error: 404 Not Found (exit code 22)

Nothing downloaded, packaged or imported.

EDIT: Whoops, hit 'submit' too soon. I do see a working download on this page, but it looks like they're using mirrors for the downloads now. Maybe it was hosted directly by Apache before?

Mike

homebysix commented 7 years ago

Looks like they changed from tar.gz to dmg. Recipe updates coming soon!

flammable commented 7 years ago

That's a nice change! Thanks!