From owner-freebsd-ports@FreeBSD.ORG Wed Apr 18 03:43:25 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 46E8D16A402 for ; Wed, 18 Apr 2007 03:43:25 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by mx1.freebsd.org (Postfix) with ESMTP id 25C5313C458 for ; Wed, 18 Apr 2007 03:43:25 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l3I3hOFa021805 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 17 Apr 2007 20:43:24 -0700 X-Auth-Received: from [192.168.10.45] (c-24-7-142-221.hsd1.ca.comcast.net [24.7.142.221]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l3I3hNu0004222 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 17 Apr 2007 20:43:24 -0700 Message-ID: <462593F7.9070201@u.washington.edu> Date: Tue, 17 Apr 2007 20:43:51 -0700 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <4625128B.6020403@baesystems.com> <20070418000206.5061bb14@gumby.homeunix.com> In-Reply-To: <20070418000206.5061bb14@gumby.homeunix.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.4.17.202834 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: Utility for safe updating of ports in base system 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: Wed, 18 Apr 2007 03:43:25 -0000 RW wrote: > On Tue, 17 Apr 2007 14:31:39 -0400 > Adam Stroud wrote: > > >> I was just on the FreeBSD "list of projects and ideas fot volunteers" >> page and I was wondering if anyone was working on the "portupgrade in >> C" utility. I would be willing to help (code/document/test) if it's >> needed. > > What would be the point of putting any port-upgrading tool in the > base-system? The ports tree isn't branched, so why branch such tools in > the base-system. IMO they logically belong in ports where they are > better able to follow any developments in the ports-system. I'm working on combining the pkg_* tools along with the existing makefile system with a bourne shell file for my SoC project(*) As for writing a utility in C, why? Almost everything's there right now and just needs to be strung together with some clever scripting to make it all work. C in this case is just overkill IMO. I'm sorry RW, because while I do agree to some extent, there should be something out of the box that works with the Makefiles and does everything necessary to install ports, apart from someone manually going to each directory and typing in "make install", or using some "advanced" functionality in the Makefiles. (*) This is the 2nd goal on my list out of 3 items, so it's going to be a while before I get to it (I estimate 2 months). -Garrett