<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Mar 5, 2016 at 8:47 PM, Mark Brethen <span dir="ltr">&lt;<a href="mailto:mark.brethen@gmail.com" target="_blank">mark.brethen@gmail.com</a>&gt;</span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5">
&gt; On Mar 5, 2016, at 7:38 PM, Brandon Allbery &lt;<a href="mailto:allbery.b@gmail.com">allbery.b@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; On Sat, Mar 5, 2016 at 8:35 PM, Mark Brethen &lt;<a href="mailto:mark.brethen@gmail.com">mark.brethen@gmail.com</a>&gt; wrote:<br>
&gt; I had my hard drive wiped with a clean install of El Capitan. I noticed in the Time Machine checklist a MacPorts item with a message that MacPorts Home would moved to my user (size was zero kb). What is this and do I need to re-install macports? port command seems to work fine and I did not change operating systems.<br>
&gt;<br>
&gt; MacPorts sets up a non-GUI user that it does builds under (instead of doing them as root). Apparently Time Machine doesn&#39;t like this and wants to make it match your user,<br>
&gt;<br>
&gt; I would skip that part of it and reinstall MacPorts to make sure the user is set up properly. I don&#39;t know offhand if TM will restore things like launchd plists properly, or if you should follow Migration to make sure installed ports haven&#39;t lost anything.<br><br>
</div></div>Does that include all of the ports I have installed?<br></blockquote></div><div class="gmail_extra"><br></div>Just reinstalling MacPorts would not affect installed ports. The Migration stuff (<a href="https://trac.macports.org/wiki/Migration">https://trac.macports.org/wiki/Migration</a>) would involve removing and reinstalling ports.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I suppose you could just reinstall the MacPorts base and then verify that all active ports have all their files. Reinstall any ports that report missing files.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><span style="font-family:monospace,monospace">    oIFS=&quot;$IFS&quot;</span><br></div><div class="gmail_extra"><font face="monospace, monospace">    # note that this is a single newline in single quotes</font></div><div class="gmail_extra"><font face="monospace, monospace">    IFS=&#39;</font></div><div class="gmail_extra"><font face="monospace, monospace">&#39;</font></div><div class="gmail_extra"><span style="font-family:monospace,monospace">   </span><span style="font-family:monospace,monospace"> </span><span style="font-family:monospace,monospace">for port in $(port -q echo active); do</span><br></div><div class="gmail_extra"><span style="font-family:monospace,monospace">      for file in $(port -q contents &quot;$port&quot; | sed -n &#39;s/^  //p&#39;); do</span><br></div><div class="gmail_extra"><font face="monospace, monospace">        test -e &quot;$file&quot; || echo &quot;MISSING from $port: $file&quot;</font></div><div class="gmail_extra"><font face="monospace, monospace">      done</font></div><div class="gmail_extra"><font face="monospace, monospace">    done</font></div><div class="gmail_extra"><div><font face="monospace, monospace">    IFS=&quot;$oIFS&quot;</font></div><div class="gmail_extra"><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>