From owner-freebsd-questions@FreeBSD.ORG Fri Jan 5 21:24:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4A93B16A47B for ; Fri, 5 Jan 2007 21:24:18 +0000 (UTC) (envelope-from msoulier@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.freebsd.org (Postfix) with ESMTP id 7C72313C455 for ; Fri, 5 Jan 2007 21:24:16 +0000 (UTC) (envelope-from msoulier@gmail.com) Received: by nf-out-0910.google.com with SMTP id x37so7950768nfc for ; Fri, 05 Jan 2007 13:24:15 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=ojs81JifXf1JrSiGCq282qi1gvJoqG7KnN6AMudJEXc8MXzztOqdMNUAI30R4gUr4jZ+2vzdWzlcWeX93RgdHVGxx891v59yhGeJQ7YJeBeByNz7iK3xeQ0D39FQp9yTXiTtbvIXCRDE9jW399AoggZi2LrlM5/V4Y/4HrlrpeE= Received: by 10.82.153.5 with SMTP id a5mr4280978bue.1168032255152; Fri, 05 Jan 2007 13:24:15 -0800 (PST) Received: by 10.82.170.18 with HTTP; Fri, 5 Jan 2007 13:24:15 -0800 (PST) Message-ID: Date: Fri, 5 Jan 2007 16:24:15 -0500 From: "Michael P. Soulier" Sender: msoulier@gmail.com To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 589b7eaa498cde09 Subject: tracking port requires X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2007 21:24:18 -0000 Hello, I'm trying to figure out where ports keep their dependency information, and the best way to parse it? On a Linux rpm-based system, I can do the following: Linux RPM | FreeBSD Ports | Task ============================================================= rpm -qa pkg_info List all installed packages rpm -ql pkg_info -L List files in package rpm -qf pkg_which Which package does file belong to? rpm -q --requires ? List dependencies of package rpm -q --whatrequires ? Reverse-dependencies of package If anyone has compiled this, it would help me out. Thanks, Mike -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein