From owner-freebsd-ports@FreeBSD.ORG Tue Sep 5 17:10:03 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 05F9716A4E0 for ; Tue, 5 Sep 2006 17:10:02 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx23.fluidhosting.com [204.14.89.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 5E1AF43D49 for ; Tue, 5 Sep 2006 17:10:02 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 11627 invoked by uid 399); 5 Sep 2006 17:10:00 -0000 Received: from localhost (HELO ?192.168.0.3?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 5 Sep 2006 17:10:00 -0000 Message-ID: <44FDAF66.7090701@FreeBSD.org> Date: Tue, 05 Sep 2006 10:09:58 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5.0.5 (X11/20060729) MIME-Version: 1.0 To: Hans Lambermont References: <44FC4303.4050600@gmail.com> <200609042118.09134.list-freebsd-2004@morbius.sent.com> <44FC9527.6000802@gmail.com> <200609050048.57718.list-freebsd-2004@morbius.sent.com> <20060905104831.GF89080@leia.lambermont.dyndns.org> In-Reply-To: <20060905104831.GF89080@leia.lambermont.dyndns.org> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: portmaster deletes failed ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 17:10:03 -0000 Hans Lambermont wrote: > RW wrote: > > ... >> I don't use portmaster myself, but I just took a look at the script and, >> unless I'm missing something, it does appear that this feature is missing >> from portmaster. There an option to create backup packages, but nothing to >> automatically restore the previous version if the install fails. > > I can confirm this. The auto-restore-backup would be a nice feature. > Doug ? ;-) I'm extremely reluctant to start trying to think for the user. Down that path lies madness. It's easy enough to 'echo BACKUP=yes >> ~/.portmasterrc' (or /etc/portmaster.rc) and then do the restore yourself if it's a port that you consider mission critical. If you're going to add that to the rc file, I suggest you also do 'mkdir -p /usr/ports/packages/All' and that way you'll always know where your backups are. hth, Doug -- This .signature sanitized for your protection