From owner-freebsd-ports@FreeBSD.ORG Mon Jan 25 17:30:46 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 997FC106568B; Mon, 25 Jan 2010 17:30:46 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 24DD78FC21; Mon, 25 Jan 2010 17:30:45 +0000 (UTC) Received: from elsa.codelab.cz (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id B483319E049; Mon, 25 Jan 2010 18:30:44 +0100 (CET) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 682BB19E047; Mon, 25 Jan 2010 18:30:42 +0100 (CET) Message-ID: <4B5DD541.70906@quip.cz> Date: Mon, 25 Jan 2010 18:30:41 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.7) Gecko/20100104 SeaMonkey/2.0.2 MIME-Version: 1.0 To: Doug Barton References: <4B585FC6.4020602@quip.cz> <4B58789B.4050303@FreeBSD.org> In-Reply-To: <4B58789B.4050303@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-ports@FreeBSD.org" Subject: Re: portmaster and meaning of --show-work 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, 25 Jan 2010 17:30:46 -0000 Doug Barton wrote: > On 1/21/2010 6:08 AM, Miroslav Lachman wrote: [...] I am sorry to not reply earlier... >> The next step (non default) can be interactive run of portmaster for >> beginers with questions like: >> >> # portmaster php5-extensions >> The following ports will be updated or installed >> as part of update of php5-extensions: >> [there will be similar list as above] >> Do you really want to continue the update? Y/N: > > Funny you should mention that. :) The current svn version of portmaster > (users/dougb/portmaster) has this exact feature, and it's almost ready > to be committed to the port. It's currently on by default, and I just > need to add a knob to disable it, and some code to override it if the > only thing to do is the one port the user specified on the command line. > I may get to that today, but $REALLIFE has been kicking my *hrmph* > lately, so it may not be done till the weekend. I would appreciate it if > you would give that a look and tell me if it suits your needs. It's > likely that once I'm 100% convinced that this new feature is the right > way to go that I will drop the --show-work option altogether. I upgraded to portmaster-2.17 with this new feature and it is really nice! (little example for other readers) # portmaster php5-extensions-1.3 ===>>> The following actions will be taken if you choose to proceed: Re-install php5-extensions-1.3 Upgrade php5-bz2-5.2.11_1 to php5-bz2-5.2.12 Upgrade php5-5.2.11_1 to php5-5.2.12 Upgrade libxml2-2.7.6 to libxml2-2.7.6_1 Upgrade apache-2.2.13 to apache-2.2.14_5 Upgrade apr-db42-1.3.8.1.3.9 to apr-db42-1.3.9.1.3.9_1 Upgrade python26-2.6.2_3 to python26-2.6.4 Upgrade expat-2.0.1 to expat-2.0.1_1 Upgrade php5-zlib-5.2.11_1 to php5-zlib-5.2.12 Upgrade php5-iconv-5.2.11_1 to php5-iconv-5.2.12 Upgrade php5-mbstring-5.2.11_1 to php5-mbstring-5.2.12 Upgrade php5-mysql-5.2.11_1 to php5-mysql-5.2.12 Upgrade mysql-client-5.1.40 to mysql-client-5.1.42 Upgrade php5-mysqli-5.2.11_1 to php5-mysqli-5.2.12 Upgrade php5-spl-5.2.11_1 to php5-spl-5.2.12 Upgrade php5-pcre-5.2.11_1 to php5-pcre-5.2.12 Upgrade php5-simplexml-5.2.11_1 to php5-simplexml-5.2.12 Upgrade php5-json-5.2.11_1 to php5-json-5.2.12 Upgrade php5-tokenizer-5.2.11_1 to php5-tokenizer-5.2.12 Upgrade php5-curl-5.2.11_1 to php5-curl-5.2.12 Upgrade curl-7.19.7 to curl-7.19.7_1 Upgrade ca_root_nss-3.11.9_2 to ca_root_nss-3.12.4 Upgrade php5-gd-5.2.11_2 to php5-gd-5.2.12 Upgrade png-1.2.40 to png-1.2.42 Upgrade freetype2-2.3.9_1 to freetype2-2.3.11 Install mail/php5-imap Install mail/cclient Upgrade php5-hash-5.2.11_1 to php5-hash-5.2.12 Upgrade php5-openssl-5.2.11_1 to php5-openssl-5.2.12 Upgrade php5-ctype-5.2.11_1 to php5-ctype-5.2.12 Upgrade php5-dom-5.2.11_1 to php5-dom-5.2.12 Upgrade php5-xml-5.2.11_1 to php5-xml-5.2.12 Upgrade php5-xmlreader-5.2.11_1 to php5-xmlreader-5.2.12 Upgrade php5-session-5.2.11_1 to php5-session-5.2.12 Upgrade php5-tidy-5.2.11_1 to php5-tidy-5.2.12 ===>>> Proceed? y/n [y] Thank you very much for this feature and your ongoing work on the portmaster! One little idea to next improvement (and next work for you ;]) There can be some configuration variable / env. variable to control the situation when "proceed" question will be asked: 1] always 2] only if something new will be installed 3] never And one more question - how hard (for you / portmaster) is to monitor changes of dependencies before/after upgrade of some port? It can be useful if portmaster can report dependencies which will not be needed after upgrade (as part of the final report = after "The following actions were performed" list) Miroslav Lachman