<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 5, 2016 at 4:16 PM, Gary E. Miller <span dir="ltr"><<a href="mailto:gem@rellim.com" target="_blank">gem@rellim.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Yo John!<br>
<br><span class="">....<br>
<br>
</span>Sort of conflicting.  Only distros are allowed to install into /usr.<br>
User installed stuff is supposed to go in /usr/local/<br>
<br>
So it the package come from NTPSec, it has to go in /usr/local.  But<br>
when a distro repackages it they have to put it in /usr/</blockquote><div><br></div><div>OK.  Will package for /usr/local, and (try to) document how that could</div><div>be changed for the various distro's packaging teams.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class="">
> and using the /etc/alternatives symlink trick to<br>
> pick out the 'right' version.  And of course having an uninstall<br>
> script which backs it all out, and undoes the symlink indirection.<br>
<br>
</span>/etc/alternatives is totally non-standard.  Better to replace the old<br>
versions in /usr with links to /usr/local/.  Or, maybe instead a script<br>
to hunt out older ntpd's.  A lot of programs do this, you find out when<br>
your install is taking forever and the installer is searching all your<br>
NFS shares. :-(</blockquote><div><br></div><div>I must have confabulated this with what I've observed on a Debian-</div><div>based distro (e.g., Ubuntu, which is what I run on my main laptop).</div><div>Sorry about that.  I think I'll have the installer check for existing version(s)</div><div>in /usr/sbin and /usr/local, somehow preserve it</div><div>(tarball in /usr/local/ntp/old_version ?) and put symlinks in</div><div>/usr/*bin to point to the stuff in /usr/local.<br><br>Let me think about this some more.  Before I publish a final RPM, I'll<br>solicit more feedback from you all.</div><div> </div></div></div><div class="gmail_extra"><br class=""><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">  - <strong><em><font color="#000066" size="4" face="verdana,sans-serif">John D. Bell</font></em></strong></div></div></div></div>