From owner-freebsd-ports@FreeBSD.ORG Thu Feb 8 23:39:19 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B1EEF16A400 for ; Thu, 8 Feb 2007 23:39:19 +0000 (UTC) (envelope-from lists-freebsd@biaix.org) Received: from grummit.biaix.org (86.Red-213-97-212.staticIP.rima-tde.net [213.97.212.86]) by mx1.freebsd.org (Postfix) with SMTP id 7E7AC13C4BE for ; Thu, 8 Feb 2007 23:39:18 +0000 (UTC) (envelope-from lists-freebsd@biaix.org) Received: (qmail 90706 invoked by uid 1012); 8 Feb 2007 23:39:32 -0000 Date: Fri, 9 Feb 2007 00:39:32 +0100 From: Joan Picanyol i Puig To: freebsd-ports@freebsd.org Message-ID: <20070208233932.GC90289@grummit.biaix.org> References: <8b4c81f0702061514r5a753e48yea0ce9b937236fc3@mail.gmail.com> <17865.6041.605201.772296@bhuda.mired.org> <20070207020205.GC62321@grummit.biaix.org> <20070206180540.Q90547@demos.bsdclusters.com> <20070207220243.GA3644@roadrunner.q.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070207220243.GA3644@roadrunner.q.local> User-Agent: Mutt/1.5.11 Cc: Kip Macy Subject: Re: pkg_upgrade (was Re: pkg_add does not backtrack, does it?) 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: Thu, 08 Feb 2007 23:39:19 -0000 [moved to ports@ with notice on hackers@] * Ulrich Spoerlein [20070208 22:37]: > Kip Macy wrote: > > On Wed, 7 Feb 2007, Joan Picanyol i Puig wrote: > > > > >I know what I'd like: a utility in the base system for binary upgrading > > >of packages. More flexible logic in how the '-r' option is handled would > > >be nice (being able to fetch all packages from All/ even if you are > > >on RELENG). Doesn't > > > > > >freebsd-update fetch install && pkg_upgrade -a > > > > > >look nice for keeping up to date? The obvious hairy details must be > > >harder than it seems, I'm sure others have considered it (and would have > > >done it) before. > > > > portupgrade -aPP > > Requires a fully populated /usr/ports together with an up-to-date INDEX. > > Not exactly what we are looking for here. I hacked together an ugly > shell script, that will use pkg_version (it can grab the INDEX from the > pkg-site via ftp) and gives you the feature to pkg_delete/pkg_add > selected packages. Sounds nice, no matter how ugly it looks. Care to share it? > It is missing a lot of other stuff, though. Put it up on the wiki and see what happens... qvb -- pica