From owner-freebsd-www Sun Sep 7 09:16:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA26787 for www-outgoing; Sun, 7 Sep 1997 09:16:15 -0700 (PDT) Received: from fallout.campusview.indiana.edu (fallout.campusview.indiana.edu [149.159.1.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA26779 for ; Sun, 7 Sep 1997 09:16:12 -0700 (PDT) Received: from localhost (jfieber@localhost) by fallout.campusview.indiana.edu (8.8.5/8.8.5) with SMTP id LAA29947; Sun, 7 Sep 1997 11:16:09 -0500 (EST) Date: Sun, 7 Sep 1997 11:16:09 -0500 (EST) From: John Fieber To: lvirden@cas.org cc: www@FreeBSD.ORG Subject: Re: Help sought on using freebsd.org search facility In-Reply-To: <199709071202.IAA29981@cas.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-www@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 7 Sep 1997 lvirden@cas.org wrote: > The ultimate goal is for me to be able to determine what applications > and libraries currently distributed for FreeBSD use Tcl or Tk in some > fashion, as well as somehow monitoring updates and new entries. The ports INDEX files (ftp://ftp.freebsd.org/pub/FreeBSD/ports-current/INDEX) contains exactly what you need. Each port is represented by a line, fields are delimited by colons (:). I don't recall exactly which field it is, but there is a field that lists port dependencies and you just need to check if tcl and/or tk are listed in that field. A small perl script would do the job. Keep in mind that the INDEX file on the ftp site is not updated very often, but if you have a copy of the whole ports collection, you can generate an up-to-date version by typing `make index' in the root directory of the ports tree. (At least I think that is the correct target...) -john