From owner-freebsd-questions@FreeBSD.ORG Sat Jan 17 05:05:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C90721065670 for ; Sat, 17 Jan 2009 05:05:36 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.232]) by mx1.freebsd.org (Postfix) with ESMTP id 97DD58FC23 for ; Sat, 17 Jan 2009 05:05:33 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1966065rvf.43 for ; Fri, 16 Jan 2009 21:05:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=ax+uRepkttkibI8EE1i/Z85/uRQk9qQKemMkkOvLmq8=; b=xD7NVkm+3Zwgsc59htIRDxdm2LpefGwjavOz94QodNGh3Jd/soOZD8d3L9uZzUGSJI w1eRmMYaLsqBz458fPHxziABdVr5OrZ8KKz+hNGS9pRz+DBr4QkT2O/HXL7U99ymOcMd 8GhTY9Nm6uLDsF0Y/IEkACulfU7X/4d4GJMro= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=gscU8QGgbFOhaPGOyIFlUnniVqt6jLrmldvul0Qvc4nBM4SHrmVqgrMIZQpkMOyKtN SNvqEhAiWyqRCBJ+F5XzSF1CoPb7+KGhNiu9pc/pRyjTyZlvZGapqxChphAZz2j0c1On +XwXpvQGYC7BMeJKpYICWiA4xsU4XsRFM3U58= Received: by 10.141.195.5 with SMTP id x5mr1596663rvp.168.1232168732058; Fri, 16 Jan 2009 21:05:32 -0800 (PST) Received: from ?192.168.4.70? (c-68-35-57-46.hsd1.nm.comcast.net [68.35.57.46]) by mx.google.com with ESMTPS id k2sm4288403rvb.6.2009.01.16.21.05.29 (version=SSLv3 cipher=RC4-MD5); Fri, 16 Jan 2009 21:05:30 -0800 (PST) Message-ID: <49716730.10804@gmail.com> Date: Fri, 16 Jan 2009 22:05:52 -0700 From: Tim Judd User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Ewald Jenisch References: <20090115192516.GA3395@aurora.oekb.co.at> In-Reply-To: <20090115192516.GA3395@aurora.oekb.co.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: portupgrade <-> portmaster? 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 Jan 2009 05:05:37 -0000 Ewald Jenisch wrote: > Hi, > > Having used portupgrade for several years I'm thinking to make the > switch to portmaster since both of them seem to be fully supported as > far as upgrading ports is concerned. > > Anything to consider when going from portupgrade to portmaster? > > Caveats/pitfalls? > > Is there also a way back, i.e. from portmaster to portupgrade? > > What are your experiences with portmaster, esp. in terms of stability, > handling, features? > > Thanks much in advance, > -ewald > I'll be honest -- I've tried portupgrade, then portmaster, then dabbled with porteasy. Then a buddy mentioned pkg_replace. I never tried pkg_replace but the documented and recommended way to upgrade ports were not followed (in my eyes) by any of those... so I made my own based from the borne shell only. It relies 100% on the ports subsystem to do it's work and it doesn't try to shortcut the process. So what my system does (which isn't released, won't be released in the forseeable future)... Forces a warning of the upgrading process may "loose" some package if you cancel out of it Forces a display of the UPGRADING file... then the MOVED file. Asks the user if it's OK to proceed, given the UPDATING and MOVED files may have given special instructions for something. Scans for the outdated ports, optionally using the INDEX file Re-calls itself to upgrade each port in turn found above Gives options to do stages, such as building without installing Logs the process in memory, and logs the final result in a logfile and prints it to the screen Most importantly, I love the concept that it has no external prerequisites. In the end, I think it works really well but since I don't feel confident that it's bugfree and ready for dedicated and production servers -- I am not releasing it to the public (yet?). But if I were to recommend anything, go through the ports-mgmt category and find something that works for you, or roll your own. --Tim