From owner-freebsd-ports@FreeBSD.ORG Sat Feb 26 15:41:33 2005 Return-Path: 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 EE08416A4CE for ; Sat, 26 Feb 2005 15:41:32 +0000 (GMT) Received: from mail.freebsd.org.cn (dns3.freebsd.org.cn [61.129.66.75]) by mx1.FreeBSD.org (Postfix) with SMTP id 43D7F43D2D for ; Sat, 26 Feb 2005 15:41:18 +0000 (GMT) (envelope-from delphij@delphij.net) Received: (qmail 41006 invoked by uid 0); 26 Feb 2005 15:32:10 -0000 Received: from unknown (HELO beastie.frontfree.net) (219.239.99.7) by mail.freebsd.org.cn with SMTP; 26 Feb 2005 15:32:10 -0000 Received: from localhost (localhost.frontfree.net [127.0.0.1]) by beastie.frontfree.net (Postfix) with ESMTP id 789ED135979; Sat, 26 Feb 2005 23:41:06 +0800 (CST) Received: from beastie.frontfree.net ([127.0.0.1]) by localhost (beastie.frontfree.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 82497-07; Sat, 26 Feb 2005 23:40:53 +0800 (CST) Received: from localhost.localdomain (unknown [61.49.109.224]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by beastie.frontfree.net (Postfix) with ESMTP id 94438135962; Sat, 26 Feb 2005 23:40:52 +0800 (CST) From: Xin LI To: Mathieu Arnold In-Reply-To: <12586C663C1596B0F90D4599@cc-171.int.t-online.fr> References: <1109421808.10472.17.camel@spirit> <12586C663C1596B0F90D4599@cc-171.int.t-online.fr> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-EVbwfkM8EW0wSpuNcssk" Organization: The FreeBSD Simplified Chinese Project Date: Sat, 26 Feb 2005 23:39:32 +0800 Message-Id: <1109432372.643.7.camel@spirit> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 FreeBSD GNOME Team Port X-Virus-Scanned: by amavisd-new at frontfree.net cc: freebsd-ports@FreeBSD.org Subject: Re: [IDEA] How to represent package version dependencies? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2005 15:41:33 -0000 --=-EVbwfkM8EW0wSpuNcssk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ah... I just know that from the porters' handbook and bsd.port.mk :-) I'd personally prefer file:package[< | =3D | > )version][:target] scheme, since it looks more straightforward. =E5=9C=A8 2005-02-26=E5=85=AD=E7=9A=84 16:07 +0100=EF=BC=8CMathieu Arnold= =E5=86=99=E9=81=93=EF=BC=9A > +-le 26/02/2005 20:43 +0800, Xin LI =C3=A9crivait : > | My thought is that we add an optional component to the current DEPENDS > | specifier. The scheme might be: > | file:package[:least_version] >=20 > We already support file:package[:target] :-) so, to be able to do somethi= ng > better, something like file:package[:target][< | =3D | > )version] >=20 > | When building package, and least_version is omitted, then the > | registration will use the version that is installed on the system. > |=20 > | Any suggestions? Or is this totally not useful? >=20 > That would be most useful :-) Cheers, --=20 Xin LI http://www.delphij.net/ --=-EVbwfkM8EW0wSpuNcssk Content-Type: application/pgp-signature; name=signature.asc Content-Description: =?UTF-8?Q?=E8=BF=99=E6=98=AF=E4=BF=A1=E4=BB=B6=E7=9A=84=E6=95=B0?= =?UTF-8?Q?=E5=AD=97=E7=AD=BE=E5=90=8D=E9=83=A8?= =?UTF-8?Q?=E5=88=86?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCIJgz/cVsHxFZiIoRAlodAJ44s6+ghfw4XCsFjU11jCnuMkrs3QCfTEoO xgQdOgYFna6aMSBZi92BanU= =YG70 -----END PGP SIGNATURE----- --=-EVbwfkM8EW0wSpuNcssk--