From owner-freebsd-ports@FreeBSD.ORG Mon Feb 9 14:22:54 2004 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 3A6F216A4CF for ; Mon, 9 Feb 2004 14:22:54 -0800 (PST) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 311CA43D1F for ; Mon, 9 Feb 2004 14:22:54 -0800 (PST) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id i19MMrwW008284; Mon, 9 Feb 2004 14:22:54 -0800 (PST) Received: from [10.1.1.193] (nfw2.codefab.com [66.234.138.66]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 3.0) with ESMTP id i19MMqED016791; Mon, 9 Feb 2004 14:22:53 -0800 (PST) In-Reply-To: <20040209220432.GB22303@xor.obsecurity.org> References: <20040209220432.GB22303@xor.obsecurity.org> Mime-Version: 1.0 (Apple Message framework v612) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <80481ED6-5B4E-11D8-9369-003065ABFD92@mac.com> Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Mon, 9 Feb 2004 17:22:52 -0500 To: Lee Harr X-Mailer: Apple Mail (2.612) cc: freebsd-ports@freebsd.org Subject: Re: Two package questions 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: Mon, 09 Feb 2004 22:22:54 -0000 On Mon, Feb 09, 2004 at 09:57:24PM +0000, Lee Harr wrote: > How can I have a package p installed that depends on package > x but when I create p.tgz and x.tgz packages (using > package_create -b) there are still dependencies missing > (like the wrong version of a shared lib) Is that a bug to > report? Or have I done something wrong with portupgrade? Kris addressed the rest of your questions, so I'll make a stab at just this part. I think what you want to do is create packages for all of the dependencies of this particular package you care about, p.tgz. You can do this by doing a "make package-recursive" when building the original port, or you can use "portupgrade -rp" (or -frp) to have that tool build all of the packages which depend on the particular package you care about. This will generate pkg tarballs under /usr/ports/packages/All (and various symlinks), which you can then copy or fileshare to another machine. Use portupgrade's -PP option to when installing, which should satisfy missing dependencies. If this doesn't help, please show us what you're trying to do and what the error messages are. :-) -- -Chuck