From owner-freebsd-ports@FreeBSD.ORG Sat Jun 9 21:27:47 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B787116A421 for ; Sat, 9 Jun 2007 21:27:47 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id A2E4D13C44C for ; Sat, 9 Jun 2007 21:27:47 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id D4F201A4D8D; Sat, 9 Jun 2007 14:27:39 -0700 (PDT) Received: from rot13.obsecurity.org (rot13.obsecurity.org [192.168.1.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id EE4A6513E1; Sat, 9 Jun 2007 17:27:46 -0400 (EDT) Received: by rot13.obsecurity.org (Postfix, from userid 1001) id E999AC214; Sat, 9 Jun 2007 17:27:46 -0400 (EDT) Date: Sat, 9 Jun 2007 17:27:46 -0400 From: Kris Kennaway To: "Conrad J. Sabatier" Message-ID: <20070609212746.GB63570@rot13.obsecurity.org> References: <200706092058.l59Kwbk7015414@serene.no-ip.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: <200706092058.l59Kwbk7015414@serene.no-ip.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-ports@freebsd.org Subject: Re: Bug in port_version's package version comparisons? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jun 2007 21:27:47 -0000 --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--