Date: Mon, 25 Jan 2010 18:30:41 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> To: Doug Barton <dougb@FreeBSD.org> Cc: "freebsd-ports@FreeBSD.org" <freebsd-ports@FreeBSD.org> Subject: Re: portmaster and meaning of --show-work Message-ID: <4B5DD541.70906@quip.cz> In-Reply-To: <4B58789B.4050303@FreeBSD.org> References: <4B585FC6.4020602@quip.cz> <4B58789B.4050303@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B5DD541.70906>