From owner-freebsd-ports@FreeBSD.ORG Wed Jun 2 19:42:49 2010 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AA9B1065672; Wed, 2 Jun 2010 19:42:49 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from mx.critical.ch (cl-8.zrh-02.ch.sixxs.net [IPv6:2001:1620:f00:7::2]) by mx1.freebsd.org (Postfix) with ESMTP id AFE1D8FC19; Wed, 2 Jun 2010 19:42:48 +0000 (UTC) Received: from beaver (80-218-148-45.dclient.hispeed.ch [80.218.148.45]) (authenticated bits=0) by mx.critical.ch (8.14.3/8.14.3/critical-1.0) with ESMTP id o52JgkKg003163; Wed, 2 Jun 2010 21:42:47 +0200 (CEST) (envelope-from ehaupt@FreeBSD.org) Date: Wed, 2 Jun 2010 21:42:43 +0200 From: Emanuel Haupt To: Tao Wang Message-Id: <20100602214243.49f9dc9b.ehaupt@FreeBSD.org> In-Reply-To: References: <20100602110927.8de72833.ehaupt@FreeBSD.org> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-ports@FreeBSD.org, Emanuel Haupt Subject: Re: How to know which version of an apps available in various FreeBSD release? 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: Wed, 02 Jun 2010 19:42:49 -0000 On Thu, 3 Jun 2010 04:20:51 +1000 Tao Wang wrote: > On Wed, Jun 2, 2010 at 7:09 PM, Emanuel Haupt wrote: > > > Tao Wang wrote: > > > Hi, > > > > > > I'm doing a survey about the availablilty of some packages in > > > different platform, including FreeBSD release. I want to know whether > > > the package is existed in the specific FreeBSD release, and which > > > version it is? I found: http://www.freebsd.org/ports/ , however, it > > > is only against -STABLE or -CURRENT. I also need to know the > > > information on previous release. How to do it? Thanks. > > > > All the information you need is available in INDEX: > > > > http://www.FreeBSD.org/ports/INDEX-8.bz2 > > > > Emanuel > > > > > > > I'm not quite sure, does that file only contain the package version info for > FreeBSD release 8? or it also contains the version info for other releases? > > I also need the package availability information on previous release, such > as, what the version of package 'A' on FreeBSD 6.2 and FreeBSD 7.0. So, the > linked file seems only contains information for FreeBSD 8.0, am I wrong? There is one for each major version: http://www.FreeBSD.org/ports/INDEX-5.bz2 http://www.FreeBSD.org/ports/INDEX-6.bz2 http://www.FreeBSD.org/ports/INDEX-7.bz2 http://www.FreeBSD.org/ports/INDEX-8.bz2 http://www.FreeBSD.org/ports/INDEX-9.bz2 Although it's always just the HEAD version. As others already pointed out, if you want the package list for a specific release you could checkout the ports tree from a release tag and build INDEX yourself. Emanuel