From owner-freebsd-ports@FreeBSD.ORG Thu Jan 5 22:50:31 2006 Return-Path: X-Original-To: freebsd-ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7AB616A41F; Thu, 5 Jan 2006 22:50:31 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from hood.oook.cz (hood.oook.cz [195.250.137.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id A401743D5E; Thu, 5 Jan 2006 22:50:30 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from ikaros.oook.cz (localhost [127.0.0.1]) by hood.oook.cz (8.13.4/8.13.4) with ESMTP id k05MoO5p049887 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 5 Jan 2006 23:50:24 +0100 (CET) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by ikaros.oook.cz (8.13.4/8.13.4/Submit) id k05MoOnQ049886; Thu, 5 Jan 2006 23:50:24 +0100 (CET) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: ikaros.oook.cz: pav set sender to pav@FreeBSD.org using -f From: Pav Lucistnik To: Doug Barton In-Reply-To: <43BCD937.1090108@FreeBSD.org> References: <43BCD937.1090108@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-2cM6XDarMFRnWeaF9W8Y" Date: Thu, 05 Jan 2006 23:50:23 +0100 Message-Id: <1136501423.40648.14.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Cc: freebsd ports Subject: Re: Duplicate port names in MOVED X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2006 22:50:31 -0000 --=-2cM6XDarMFRnWeaF9W8Y Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Doug Barton p=ED=B9e v =E8t 05. 01. 2006 v 00:30 -0800: > I'm working on something that needs to parse the MOVED file, and out of=20 > curiosity I decided to check to see if port names on the far left side we= re=20 > ever duplicated. It turns out that there are 5 duplicates: >=20 > devel/gnustep-devel > devel/sdcc > lang/php4 > sysutils/xwatch > x11-toolkits/gtk-industrial-theme >=20 > I've attached the patch that handles the 3 obvious cases (2 pure duplicat= es=20 > and one entry that's more recent, broken -> removed). The two I'm confuse= d=20 > about are lang/php4 and x11-toolkits/gtk-industrial-theme. I think I=20 > understand what the two entries are trying to say, but I'm not sure if it= 's=20 > a good idea to remove one of the duplicates since I'm not sure how other=20 > applications are handling the info in this file. >=20 > This also leads to a question, are duplicate port names considered an err= or,=20 > or is this something I should figure out how to parse, perhaps by always=20 > taking the last entry? The php4: both lines should go away, basically the second is reverse of first, so the whole thing is no-op. The industrial theme: the port was removed, to be recreated because it turned out it's still useful. The older line should have been removed when the port was reintroduced. They are considered error but you should write your code so it can cope with them when they happen. --=20 Pav Lucistnik May your code work forever and never have a bug. --=-2cM6XDarMFRnWeaF9W8Y Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?= =?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDvaKvntdYP8FOsoIRAol4AJ9REMLk8/NCptPskD7tqLGWXgFX8gCfdr8V xhcTJts+xPBwf9dAohLZXPo= =chM+ -----END PGP SIGNATURE----- --=-2cM6XDarMFRnWeaF9W8Y--