From owner-freebsd-ports@FreeBSD.ORG Mon Jun 12 23:29:08 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 524BA16A418 for ; Mon, 12 Jun 2006 23:29:08 +0000 (UTC) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id E681343D45 for ; Mon, 12 Jun 2006 23:29:07 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from frontend3.internal (frontend3.internal [10.202.2.152]) by frontend1.messagingengine.com (Postfix) with ESMTP id BAED7D6B51B for ; Mon, 12 Jun 2006 19:29:06 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by frontend3.internal (MEProxy); Mon, 12 Jun 2006 19:29:09 -0400 X-Sasl-enc: JSdduqn6Anot87VyOHzjIfVLgCI9vialLxnNHi2OSahY 1150154949 Received: from bb-87-81-140-128.ukonline.co.uk (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mail.messagingengine.com (Postfix) with ESMTP id 48ED2D9F for ; Mon, 12 Jun 2006 19:29:09 -0400 (EDT) From: RW To: freebsd-ports@freebsd.org Date: Tue, 13 Jun 2006 00:28:52 +0100 User-Agent: KMail/1.9.3 References: <4485DBF5.3070705@FreeBSD.org> <200606071748.39135.list-freebsd-2004@morbius.sent.com> <200606072107.37528.hannes.hauswedell@gmail.com> In-Reply-To: <200606072107.37528.hannes.hauswedell@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606130028.58009.list-freebsd-2004@morbius.sent.com> Subject: Re: portupgrade ideas page 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: Mon, 12 Jun 2006 23:29:08 -0000 On Wednesday 07 June 2006 22:07, Hannes Hauswedell wrote: > >> 1) i would wish for portupgrade to automatically meet new requirements > >> upon upgrading. both pkg_add and make install do this, portupgrade > >> should too. > > > > AFAIK portupgrade runs "make install" > > when installing from sources, yes. (as i also stated in point 2). > but when installing from packages it does not. > that why it says in the man page: > > Do a massive network binary upgrade: > portupgrade -aPPR > > else the -R wouldnt make any sense. I think the manpage is probably wrong. IIRC the -R option is ignored in combination with -a, unless -F is specified. Portupgrade uses "pkg_add -f" to install packages. pkg_add is supposed to install the missing dependencies itself, but sometimes they are missing in the repository. Because it uses the "-f" option pkg_add is able to proceed without the missing dependency. Personally, I think it might be cleaner to drop the "-f" option and allow the pkg_add to fail.