From owner-freebsd-questions@FreeBSD.ORG Sat Sep 17 07:37:27 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94DF416A41F for ; Sat, 17 Sep 2005 07:37:27 +0000 (GMT) (envelope-from freebsd-questions@auscert.org.au) Received: from titania.auscert.org.au (gw.auscert.org.au [203.5.112.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF1C143D45 for ; Sat, 17 Sep 2005 07:37:26 +0000 (GMT) (envelope-from freebsd-questions@auscert.org.au) Received: from app.auscert.org.au (app [10.0.1.192]) by titania.auscert.org.au (8.12.10/8.12.10) with ESMTP id j8H7aYBV042148; Sat, 17 Sep 2005 17:36:34 +1000 (EST) Received: from app.auscert.org.au (localhost.auscert.org.au [127.0.0.1]) by app.auscert.org.au (8.13.1/8.13.1) with ESMTP id j8H7bJ07043177; Sat, 17 Sep 2005 17:37:20 +1000 (EST) (envelope-from freebsd-questions@auscert.org.au) Message-Id: <200509170737.j8H7bJ07043177@app.auscert.org.au> To: Chris from: freebsd-questions@auscert.org.au In-Reply-To: Your message of "Tue, 30 Aug 2005 22:16:50 +0100." <4314CCC2.9060001@childeric.freeserve.co.uk> Date: Sat, 17 Sep 2005 17:37:19 +1000 Cc: freebsd-questions@freebsd.org Subject: Re: making packages 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: Sat, 17 Sep 2005 07:37:27 -0000 Hi Chris, > > The pkg_create man page advises to ``use a front-end tool for the job > rather than muddling through it yourself'' Did you receive any response to this particular question? I have only lately noticed this anomaly myself, and wished that it read "... a front-end tool, such as xxx ...". In your situation, however, I'd recommend a) using portupgrade -pf for already-installed packages or b) portinstall -p and then pkg_deinstall, for packages you don't wish to install locally. I've noticed also (accidentally, when I forgot to unset it after a jail installation) that portinstall appears to respect DESTDIR in the environment, so you could set this variable before performing a temporary installation too (but YMMV, of course). cheers, -- Joel Hatton -- Security Analyst | Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland | WWW: www.auscert.org.au Qld 4072 Australia | Email: auscert@auscert.org.au