From owner-freebsd-ports@FreeBSD.ORG Tue Aug 17 08:07:41 2010 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 E7660106566C for ; Tue, 17 Aug 2010 08:07:40 +0000 (UTC) (envelope-from matthias.andree@gmx.de) Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.23]) by mx1.freebsd.org (Postfix) with SMTP id 4FE328FC0A for ; Tue, 17 Aug 2010 08:07:39 +0000 (UTC) Received: (qmail invoked by alias); 17 Aug 2010 08:07:38 -0000 Received: from g226244064.adsl.alicedsl.de (EHLO mandree.no-ip.org) [92.226.244.64] by mail.gmx.net (mp007) with SMTP; 17 Aug 2010 10:07:38 +0200 X-Authenticated: #428038 X-Provags-ID: V01U2FsdGVkX1+yArNvMROyknM0/ZG6pOgFP7AyzI0r7uclPhceo1 oKN/ghhLokKspZ Received: from merlin.emma.line.org (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id 1A38A19417E for ; Tue, 17 Aug 2010 10:07:37 +0200 (CEST) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-ports@freebsd.org References: <4C5BC280.1070805@FreeBSD.org> <4C5BF352.5050004@dataix.net> <4C5C7DFF.8020400@FreeBSD.org> <4C5CFBCD.8090702@dataix.net> <4C6417BC.9060605@intertainservices.com> <4C656919.9070703@intertainservices.com> Date: Tue, 17 Aug 2010 10:07:36 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Matthias Andree" Organization: Message-ID: In-Reply-To: <4C656919.9070703@intertainservices.com> User-Agent: Opera Mail/10.61 (Linux) X-Y-GMX-Trusted: 0 Subject: Re: i keep *trying* to move from portupgrade to portmaster 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, 17 Aug 2010 08:07:41 -0000 Am 13.08.2010, 17:47 Uhr, schrieb Mike Jakubik: > On 8/12/2010 5:32 PM, Doug Barton wrote: >> On Thu, 12 Aug 2010, Mike Jakubik wrote: >> >>> I tried portmaster for myself and im wondering how to get the >>> functionality of "portupgrade lib\*", meaning update all libraries >>> that need updating. With "portmaster lib\*" it tries to update and >>> rebuild all libraries, how can i tell portmaster to only update what >>> needs updating? I can't find such an option in the man page, there is >>> an option to always rebuild but no option to never rebuild. There is >>> also -i, but it's a pain in the ass to manually select y/n for all >>> libraries. Am i not seeing something in the man page? >> >> No, you're not missing anything. The default behavior for portmaster is >> to upgrade everything you specify on the command line. >> >> Something like this would probably work: >> portmaster `pkg_version -Ivl\< | grep ^lib | cut -f1 -d\<` >> >> >> hth, >> >> Doug >> > > Thanks for the info. Do you think this may be a usefull feature for > other users coming from portupgrade though? If there is an option to > always rebuild, one would think there would be an opposite option too. To be a bit impolite and blunt, if people acted a bit less helplessly -- meaning that the solution is so relatively simple as a one-liner in a reasonable shell -- there probably isn't a need to change portmaster code. This can instead go into the portmaster manual as a usage example. And telling what this is up to doing without committing to it is as simple as prefixing "echo" to the whole line. -- Matthias Andree