Update ApacheDirectoryStudio.download.recipe
Amended download, as before was pulling 2.0.0.v20200411-M15, with 2.0.0.v20210213-M16 being released 2021-02-20
MODIFY
Apache/ApacheDirectoryStudio.download.recipe
Apache/ApacheDirectoryStudio.download.recipe
<key>Process</key>
<array>
<dict>
+ <key>Processor</key>
+ <string>URLTextSearcher</string>
<key>Arguments</key>
<dict>
<key>re_pattern</key>
- <string>&lt;a href="([\d]+\..+)/"&gt;</string>
+ <string>&lt;a href=.*\"&gt;(.*)/&lt;/a</string>
<key>result_output_var_name</key>
<string>version</string>
<key>url</key>
- <string>https://dist.apache.org/repos/dist/release/directory/studio/</string>
+ <string>https://archive.apache.org/dist/directory/studio/?C=M;O=D</string>
</dict>
- <key>Processor</key>
- <string>URLTextSearcher</string>
</dict>
<dict>
+ <key>Processor</key>
+ <string>URLDownloader</string>
<key>Arguments</key>
<dict>
<key>url</key>
- <string>https://dist.apache.org/repos/dist/release/directory/studio/%version%/ApacheDirectoryStudio-%version%-macosx.cocoa.x86_64.dmg</string>
+ <string>https://archive.apache.org/dist/directory/studio/%version%/ApacheDirectoryStudio-%version%-macosx.cocoa.x86_64.dmg</string>
</dict>
- <key>Processor</key>
- <string>URLDownloader</string>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
+ <dict>
+ <key>Processor</key>
+ <string>CodeSignatureVerifier</string>
+ <key>Arguments</key>
+ <dict>
+ <key>input_path</key>
+ <string>%pathname%/ApacheDirectoryStudio.app</string>
+ <key>requirement</key>
+ <string>identifier "org.apache.directory.studio.product" 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] = "2GLGAFWEQD"</string>
+ </dict>
+ </dict>
</array>
</dict>
</plist>
\ No newline at end of file

Update ApacheDirectoryStudio.download.recipe

Amended download, as before was pulling 2.0.0.v20200411-M15, with 2.0.0.v20210213-M16 being released 2021-02-20