From owner-freebsd-ports@FreeBSD.ORG Tue Nov 10 22:46:25 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A510D106566B for ; Tue, 10 Nov 2009 22:46:25 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id 4B92F8FC19 for ; Tue, 10 Nov 2009 22:46:24 +0000 (UTC) Received: from mobileKamikaze.norad (unknown [88.130.215.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id 33A008A0E94; Tue, 10 Nov 2009 23:46:22 +0100 (CET) Message-ID: <4AF9ED39.8000200@bsdforen.de> Date: Tue, 10 Nov 2009 23:46:17 +0100 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.23 (X11/20091024) MIME-Version: 1.0 To: Miroslav Lachman <000.fbsd@quip.cz> References: <20091108223634.GA89295@lpthe.jussieu.fr> <4AF7C569.4090005@FreeBSD.org> <4AF7F789.3090809@quip.cz> In-Reply-To: <4AF7F789.3090809@quip.cz> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Doug Barton , Michel Talon , freebsd-ports@freebsd.org Subject: Re: Portmaster with package support ready for beta testing 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: Tue, 10 Nov 2009 22:46:25 -0000 Miroslav Lachman wrote: > Doug Barton wrote: >> Michel Talon wrote: >>> Miroslav Lachman wrote: >>>> I take a quick look at the code and I have one question. Can you >>>> explain >>>> way --no-deps and --force are used for pkg_add? >>> >>> >>> I can only venture an explanation. Once you have computed a good order >>> for upgrading via packages, you cannot accept that pkg_add ruins your >>> computation by doing things on its own. In principle you have a >>> global view of the problem, which is better than the local view embedded >>> in each package. Hence forcing pkg_add is the only sane way. >> >> Very elegantly stated. :) >> >> This is all subject to change of course based on refinement from >> experience, but this usage matches the way that ports are installed in >> the well-traveled port building code. > > Does it mean that one needs ports tree or provide custom INDEX in case > of custom packages with non default options (different dependencies) to > compute order od dependencies? > (AFAIK plain pkg_add works without ports tree and INDEX, that's why I am > asking) If you want to work without a ports tree use pkg_upgrade (sysutils/bsdadminscripts), it only requires an INDEX file. The next version will also require the MOVED file (as is now provided by Pointyhead). Regards -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?