From owner-freebsd-ports@FreeBSD.ORG Wed Sep 6 15:29:45 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 2118716A4DE for ; Wed, 6 Sep 2006 15:29:45 +0000 (UTC) (envelope-from bob@immure.com) Received: from flpvm23.prodigy.net (flpvm23.prodigy.net [207.115.20.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id F39CE43D5D for ; Wed, 6 Sep 2006 15:29:41 +0000 (GMT) (envelope-from bob@immure.com) X-ORBL: [66.136.206.1] Received: from maul.immure.com (adsl-66-136-206-1.dsl.austtx.swbell.net [66.136.206.1]) by flpvm23.prodigy.net (8.13.7 out spool5000 dk/8.13.7) with ESMTP id k86FTbJw022776 for ; Wed, 6 Sep 2006 08:29:37 -0700 Received: from rancor.immure.com (rancor.immure.com [10.1.132.9]) by maul.immure.com (8.13.6/8.13.6) with ESMTP id k86FTWFW051904 for ; Wed, 6 Sep 2006 10:29:32 -0500 (CDT) (envelope-from bob@immure.com) Received: from rancor.immure.com (localhost [127.0.0.1]) by rancor.immure.com (8.13.6/8.13.6) with ESMTP id k86FTWUb098515 for ; Wed, 6 Sep 2006 10:29:32 -0500 (CDT) (envelope-from bob@rancor.immure.com) Received: (from bob@localhost) by rancor.immure.com (8.13.6/8.13.6/Submit) id k86FTWSo098514 for freebsd-ports@freebsd.org; Wed, 6 Sep 2006 10:29:32 -0500 (CDT) (envelope-from bob) Date: Wed, 6 Sep 2006 10:29:32 -0500 From: Bob Willcox To: freebsd-ports@freebsd.org Message-ID: <20060906152932.GC98205@rancor.immure.com> 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> <44FDAF66.7090701@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44FDAF66.7090701@FreeBSD.org> User-Agent: Mutt/1.5.12-2006-07-14 X-immure-MailScanner-Information: Please contact the ISP for more information X-immure-MailScanner: Found to be clean X-immure-MailScanner-From: bob@immure.com X-Spam-Status: No Subject: Re: portmaster deletes failed ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bob Willcox List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 15:29:45 -0000 On Tue, Sep 05, 2006 at 10:09:58AM -0700, Doug Barton wrote: > 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. I admit that this missing feature is why I went back to portupgrade. I liked the simplicity of portmaster over portupgrade, but having it fail on an install and leave the port missing (and dying) was sufficiently annoying to cause me to revert to portupgrade. I'm not suggesting that you should implement it though. Maybe pointing out in the man page that if the install of a port fails you will need to reinstall the old version manually would be helpful. Bob -- Bob Willcox Possessions increase to fill the space bob@immure.com available for their storage. Austin, TX -- Ryan