From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 24 17:37:40 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCF4B37B401 for ; Tue, 24 Jun 2003 17:37:40 -0700 (PDT) Received: from rwcrmhc12.attbi.com (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57C6943FE5 for ; Tue, 24 Jun 2003 17:37:40 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([12.233.125.100]) by attbi.com (rwcrmhc12) with ESMTP id <2003062500373901400lm6jte>; Wed, 25 Jun 2003 00:37:39 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id RAA95970; Tue, 24 Jun 2003 17:37:39 -0700 (PDT) Date: Tue, 24 Jun 2003 17:37:37 -0700 (PDT) From: Julian Elischer To: Kris Kennaway In-Reply-To: <20030625002540.GA32625@rot13.obsecurity.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: hackers@freebsd.org Subject: Re: pkg_create broken by design? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2003 00:37:41 -0000 On Tue, 24 Jun 2003, Kris Kennaway wrote: > On Tue, Jun 24, 2003 at 05:21:14PM -0700, Julian Elischer wrote: > > > > I'm trying to make a package.. > > according to the man page for pkg_create: > > Look into the ports collections for thousands of examples of how to > create packages. >From what I see the ports install the software before making a package of it.. (at least that is what I see happen when I do "make package") I want to install to a directory that can not exist on the machine on which the packing is being done because it has the name of an existing file. My problem is that the program pkg_create doesn't do what its docs SAY it does.. and I[m confused because everyone here has hit this problem, but no-one else seems to notice it, so we must be misreading the docs, OR no-one else wants to fix the problem and has a workaround.. what I don't understand is why 'tar' wants to chdir to the unpack direcory when it has been told that the srcdir is different. > > Kris >