From owner-freebsd-ports@FreeBSD.ORG Sun Jun 1 02:43:55 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 492191065672 for ; Sun, 1 Jun 2008 02:43:55 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from bulwark.hamla.org (bulwark.hamla.org [69.55.228.210]) by mx1.freebsd.org (Postfix) with ESMTP id 2C7108FC31 for ; Sun, 1 Jun 2008 02:43:54 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from localhost (bulwark [69.55.228.210]) by bulwark.hamla.org (Postfix) with ESMTP id 9C4631CD2E; Sat, 31 May 2008 19:43:54 -0700 (PDT) X-Virus-Scanned: by ClamAV at bulwark.hamla.org Received: from bulwark.hamla.org ([69.55.228.210]) by localhost (bulwark.hamla.org [69.55.228.210]) (amavisd-new, port 10024) with LMTP id FQ7-H-7tJ2zD; Sat, 31 May 2008 19:43:28 -0700 (PDT) Date: Sat, 31 May 2008 22:43:22 -0400 From: Sahil Tandon To: "Philip M. Gollucci" Message-ID: <20080601024322.GA51402@shepherd> References: <4841BDA9.5090007@p6m7g8.com> <4841EF0D.8050201@FreeBSD.org> <4841EF83.3000407@p6m7g8.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4841EF83.3000407@p6m7g8.com> Cc: ports@FreeBSD.org Subject: Re: CFT: adding configuration file support to pkg_install X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "sahil@tandon.net" List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2008 02:43:55 -0000 Philip M. Gollucci wrote: > Kris Kennaway wrote: >> packages are usually built from the ports tree, but not always, and users >> may use packages without a ports tree present on the local system. > short of doing pkg_delete -af then pkg_add /some/dir > are there any ports-mgmt/* tools for upgrades that don't need the ports > tree present. I know portupgrade does. I do not think there are any such tools. You can use the -PP flags with portupgrade to force it not to use the tree, and instead fetch packages from a remote site if they are not found locally. However, an up-to-date tree is still required; the program has no other way to check what the latest version of any port is. -- Sahil Tandon