Tor and unusual version numbers

Salvatore Domenick Desiano sal at ri.cmu.edu
Fri Apr 27 08:05:52 PDT 2007


o So that looks perfectly normal. Installed is the same version that the port
o index has listed, so it doesn't show up as outdated.

Woah. Looks like I updated my tree, but not my PortIndex. Silly SVN 
(stupid user).

I now withdraw all of my information and corroboration of concerns.

-- Sal
smile.


--------------
  Salvatore Domenick Desiano
    Doctoral Candidate
      Robotics Institute
        Carnegie Mellon University

On Fri, 27 Apr 2007, James Berry wrote:

o 
o On Apr 27, 2007, at 7:42 AM, Salvatore Domenick Desiano wrote:
o 
o > o - yes, epoch is always considered first in outdated version comparisons.
o > It is
o > o undefined what would happen if an epoch was removed. Never do that. (I
o > believe
o > o that a port without an epoch is considered to have an epoch of zero). If
o > o you've added epoch once to a port you should never remove it, only
o > increase
o > o it. That should not really be a problem.
o > 
o > It seems interesting to me that adding an epoch, even once, condemns the
o > Portfile to have epochs for eternity. Maybe this doesn't matter, but I
o > thought it worth mentioning. It also may be worth including the epoch in
o > the "outdated" display.
o 
o Well, by the very definition of what epoch is, if you go back in time to a
o previous epoch, then your numbering system gets messed up.
o I'd be happy to include epoch in the outdated display. Perhaps only in -v
o mode, and only if there is an epoch for a port?
o 
o > o Now, can anybody give me any valid data on a case where there's a failure
o > to
o > o detect an outdated version? If so, what does port info show for version
o > and
o > o epoch, and what's the installed version? In other words, what is the data
o > that
o > o the outdated routines are comparing?
o > 
o > I don't know if my version of port is too outdated to be useful, but I
o > end up seeing:
o > 
o > sal at cobblehill:sal>port info tor
o > tor 0.1.1.26, security/tor (Variants: universal)
o > http://tor.eff.org/
o 
o > sal at cobblehill:sal>port installed tor
o > The following ports are currently installed:
o >  tor @0.1.1.26_0 (active)
o > sal at cobblehill:sal>port -d outdated tor
o > DEBUG: Found port in
o > file:///Users/sal/Projects/MacPorts/macports-trunk/dports/security/tor
o > No installed ports are outdated.
o > 
o > -- Sal
o > smile.
o 
o 
o James
o 
o 



More information about the macports-dev mailing list