Date: Sat, 9 Jun 2007 17:27:46 -0400 From: Kris Kennaway <kris@obsecurity.org> To: "Conrad J. Sabatier" <conrads@cox.net> Cc: freebsd-ports@freebsd.org Subject: Re: Bug in port_version's package version comparisons? Message-ID: <20070609212746.GB63570@rot13.obsecurity.org> In-Reply-To: <200706092058.l59Kwbk7015414@serene.no-ip.org> References: <200706092058.l59Kwbk7015414@serene.no-ip.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 09, 2007 at 03:58:31PM -0500, Conrad J. Sabatier wrote: > I've manually upgraded a few Xorg packages recently to the latest > versions available on the ftp sites. As a result, portversion is now > giving erroneous results for some packages: >=20 > # portversion -v -O -L =3D' > inputproto-1.4.2 > succeeds port (port has 1.3.2) > libX11-1.1.2 < needs updating (port has 1.1.1_2,1) > libXi-1.1.0 < needs updating (port has 1.0.2,1) > tcl-8.5.a.6_2 > succeeds port (port has 8.5.a.6_1) > tcl-threads-8.5.a.6_2 > succeeds port (port has 8.5.a.6_1) > tk-8.5.a.6_3 > succeeds port (port has 8.5.a.6_2) > tk-threads-8.5.a.6_3 > succeeds port (port has 8.5.a.6_2) > totem-2.18.1_2 < needs updating (port has 2.18.2) > xchat-2.8.2_2 > succeeds port (port has 2.8.2_1) > xf86-input-keyboard-1.2.0 > succeeds port (port has 1.1.1) > xf86-input-mouse-1.2.1 > succeeds port (port has 1.1.2) > xf86-video-nv-2.0.96 > succeeds port (port has 1.2.2.1) >=20 > How is it that, e.g, libX11-1.1.2 is considered less than than > 1.1.1_2,1? Or libXi-1.1.0 is less than 1.0.2,1? This makes no sense That's what PORTEPOCH (",1") means. See the handbook. Kris --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGaxtSWry0BWjoQKURAgs3AJ9QLdqXHBks5FBkkQ6Gd+z14gDlLgCg/Ggs MqtHKzNaQK8/WnFSRuYMsh0= =dQX1 -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070609212746.GB63570>