<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thanks for all that.<div class=""><br class=""></div><div class="">I gave it a shot here <<a href="https://github.com/macports/macports-ports/pull/8917" class="">https://github.com/macports/macports-ports/pull/8917</a>></div><div class=""><br class=""></div><div class="">Ken</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Oct 23, 2020, at 5:20 PM, Joshua Root <<a href="mailto:jmr@macports.org" class="">jmr@macports.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">You'll want to use this trick:<br class=""><<a href="https://trac.macports.org/wiki/PortfileRecipes#fetchwithgetparams" class="">https://trac.macports.org/wiki/PortfileRecipes#fetchwithgetparams</a>><br class=""><br class="">That will also allow you to set a filename that contains a version,<br class="">simplifying things when the file is updated.<br class=""><br class="">So the master_sites entry will be<br class="">'<a href="https://gitlab.gnome.org/GNOME/libhttpseverywhere/-/raw/9c43785fe5ce13c70b8a1abfece834d12fc9d0fb/data/default.rulesets?inline=false&dummy=" class="">https://gitlab.gnome.org/GNOME/libhttpseverywhere/-/raw/9c43785fe5ce13c70b8a1abfece834d12fc9d0fb/data/default.rulesets?inline=false&dummy=</a>'<br class="">and the distfiles entry will be something like<br class="">'default.rulesets-2019.1.7'. (Use a tag so fetch attempts for this<br class="">distfile only use its own master_sites URL.)<br class=""><br class="">- Josh<br class=""><br class="">On 2020-10-24 09:59 , Chris Jones wrote:<br class=""><blockquote type="cite" class=""><br class="">I would avoid directly linking to a file in the master branch, as thats<br class="">a moving target, so could change at any point. Instead link to a<br class="">specific commit version, e.g.<br class=""><br class=""><a href="https://gitlab.gnome.org/GNOME/libhttpseverywhere/-/blob/9c43785fe5ce13c70b8a1abfece834d12fc9d0fb/data/default.rulesets" class="">https://gitlab.gnome.org/GNOME/libhttpseverywhere/-/blob/9c43785fe5ce13c70b8a1abfece834d12fc9d0fb/data/default.rulesets</a><br class=""><https://gitlab.gnome.org/GNOME/libhttpseverywhere/-/blob/9c43785fe5ce13c70b8a1abfece834d12fc9d0fb/data/default.rulesets><br class=""><br class=""><blockquote type="cite" class="">On 23 Oct 2020, at 7:22 pm, Ken Cunningham<br class=""><ken.cunningham.webuse@gmail.com> wrote:<br class=""><br class="">The file is here, it seems:<br class=""><br class="">https://gitlab.gnome.org/GNOME/libhttpseverywhere/-/blob/master/data/default.rulesets<br class=""><br class=""><br class=""><br class=""></blockquote></blockquote><br class=""></div></div></blockquote></div><br class=""></div></body></html>