<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=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 13 Aug 2019, at 9:25 am, Gerben Wierda <<a href="mailto:gerben.wierda@rna.nl" class="">gerben.wierda@rna.nl</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">Thanks Mojca,</div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class=""><blockquote type="cite" class=""><div class="">On 13 Aug 2019, at 03:22, Mojca Miklavec <<a href="mailto:mojca@macports.org" class="">mojca@macports.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On Tue, 13 Aug 2019 at 01:24, Gerben Wierda <<a href="mailto:gerben.wierda@rna.nl" class="">gerben.wierda@rna.nl</a>> wrote:<br class=""><blockquote type="cite" class=""><br class="">I have my own cloud git directory tree<br class="">I cd to $thattree/net/unbound<br class="">I edit the Portfile (startupitem), set revision to 1 (there was no revision)<br class="">I run sudo port install unbound<br class="">It is not built and installed as nothing has changed (but there has)<br class=""><br class="">What am I forgetting?<br class=""></blockquote><br class="">Did you add your local git checkout to configuration as your local<br class="">repository with higher preference?<br class="">   <a href="https://guide.macports.org/chunked/development.local-repositories.html" class="">https://guide.macports.org/chunked/development.local-repositories.html</a><br class="">Check this with<br class="">   port dir unbound<br class=""></div></div></blockquote><div class=""><br class=""></div><div class="">I did edit sources.conf. It contains:</div><div class=""><br class=""></div><div class=""><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><a href="file:///Users/sysbh/MacPortsDev" class="">file:///Users/sysbh/MacPortsDev</a></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><a href="rsync://rsync.macports.org/macports/release/tarballs/ports.tar" class="">rsync://rsync.macports.org/macports/release/tarballs/ports.tar</a><span class="Apple-converted-space"> </span>[default]</span></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div></div><div class="">But whatever is in there, port dir unbound gets met the standard repository.</div><div class=""><br class=""></div><div class=""><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">Albus:nsd sysbh$ port dir unbound</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">/opt/local/var/macports/sources/<a href="http://rsync.macports.org/macports/release/tarballs/ports/net/unbound" class="">rsync.macports.org/macports/release/tarballs/ports/net/unbound</a></span></div></div><div class=""><br class=""></div><div class="">So, als with</div><div class=""><br class=""></div><div class=""><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><a href="file:///Users/sysbh/MacPortsDev/macports-port" class="">file://</a></span><a href="file:///Users/sysbh/MacPortsDev/macports-port" class="">/Users/sysbh/MacPortsDev/macports-port</a></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><a href="rsync://rsync.macports.org/macports/release/tarballs/ports.tar" class="">rsync://rsync.macports.org/macports/release/tarballs/ports.tar</a><span class="Apple-converted-space"> </span>[default]</span></div></div></div></div></blockquote><div><br class=""></div><div><br class=""></div>just comment out the old tarball default, and make you area the default…</div><div><br class=""></div><div>Chris</div><div><br class=""><blockquote type="cite" class=""><div class=""><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div class=""><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div></div><br class=""><blockquote type="cite" class=""><div class=""><div class="">If not, "sudo port install" or "sudo port upgrade" (without port name)<br class="">or "sudo port install subport=unbound" should take the port from the<br class="">current dir,<span class="Apple-converted-space"> </span></div></div></blockquote><div class=""><br class=""></div><div class="">I edited the Portfile <span class="" style="font-family: Menlo; font-size: 11px;">/Users/sysbh/MacPortsDev/macports-port/net/nsd/Portfile</span> again, set the revision to 6 and ran ’sudo port install’ while in directory <span class="" style="font-family: Menlo; font-size: 11px;">/Users/sysbh/MacPortsDev/macports-port/net/nsd</span> and this worked.</div><div class=""><br class=""></div><blockquote type="cite" class=""><div class=""><div class="">but "sudo port install unbound" will probably take the<br class="">one that's configured globally and returned by "port dir unbound”.<br class=""></div></div></blockquote><div class=""><br class=""></div><div class="">That seems to be the case.</div><div class=""><br class=""></div><div class=""><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">Albus:nsd sysbh$ pwd</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">/Users/sysbh/MacPortsDev/macports-ports/net/nsd</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">Albus:nsd sysbh$ port dir</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">/Users/sysbh/MacPortsDev/macports-ports/net/nsd</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">Albus:nsd sysbh$ port dir nsd</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">/opt/local/var/macports/sources/<a href="http://rsync.macports.org/macports/release/tarballs/ports/net/nsd" class="">rsync.macports.org/macports/release/tarballs/ports/net/nsd</a></span></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div></div><div class="">So, if you give the name of the port, it will use the main repository. You need to explicitly not give the name to get the local Portfile. This is somewhat surprising behaviour (for me at last) that I have to leave out the name of the thing to get the thing.</div><div class=""><br class=""></div><div class="">Now, the only thing I have to do is to find a way to get my local revision back to 1, before I submit the patch. I have installed</div><div class=""><br class=""></div><div class=""><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">Albus:nsd sysbh$ port installed</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">The following ports are currently installed:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">  expat @2.2.7_0 (active)</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">  flex @2.6.4_0 (active)</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">  gettext @0.19.8.1_2 (active)</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">  libevent @2.1.10_0 (active)</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">  libiconv @1.16_0 (active)</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">  m4 @1.4.18_2 (active)</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">  ncurses @6.1_0 (active)</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">  nsd @4.1.22_0</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">  nsd @4.1.22_1</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">  nsd @4.2.1_0</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">  nsd @4.2.1_1</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">  nsd @4.2.1_2</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">  nsd @4.2.1_3</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">  nsd @4.2.1_5</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">  nsd @4.2.1_6 (active)</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">  openssl @1.0.2s_0 (active)</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">  unbound @1.9.2_0</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">  unbound @1.9.2_1 (active)</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">  zlib @1.2.11_0 (active)</span></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div></div><div class="">If my update gets accepted, that would mean it would be revision 6. Is that bad? The revisions all come from my local tinkering because I know not how to force a build without changing revision.</div><div class=""><br class=""></div><div class="">I also want to clean up my installed versions. So nsd becomes</div><div class=""><br class=""></div><div class=""><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">  nsd @4.2.1_0</div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">  nsd @4.2.1_1 (active)</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><br class=""></div></div><div class="">with that last one actually the current revision 6. How do I do that?</div><div class=""><br class=""></div><div class="">G</div><div class=""><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><br class="">Mojca</div></div></blockquote></div></div></blockquote></div><br class=""></body></html>