From owner-cvs-all@FreeBSD.ORG Mon May 2 07:33:34 2011 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD274106566B; Mon, 2 May 2011 07:33:34 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A4B5A8FC0C; Mon, 2 May 2011 07:33:34 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p427XYIJ075115; Mon, 2 May 2011 07:33:34 GMT (envelope-from dougb@repoman.freebsd.org) Received: (from dougb@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p427XYlx075114; Mon, 2 May 2011 07:33:34 GMT (envelope-from dougb) Message-Id: <201105020733.p427XYlx075114@repoman.freebsd.org> From: Doug Barton Date: Mon, 2 May 2011 07:33:34 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/ports-mgmt/portmaster Makefile distinfo X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2011 07:33:34 -0000 dougb 2011-05-02 07:33:34 UTC FreeBSD ports repository Modified files: ports-mgmt/portmaster Makefile distinfo Log: New Features: ============= * The -F option now works with --packages and --packages-only o If -F --packages-only and there is no package to fetch, give the user a menu of options o If -F and --packages lack of a package is a soft fail * Revamp the code in check_fetch_only() and where we wait for b/g distfile fetching to complete to be a lot smarter: o In check_fetch_only() simplify the code to count fetch processes which both makes it faster by avoiding ps, and also makes it smarter because it will find fewer false positives. o In both, poll every 2 seconds, but only output to the console every 6. This way we'll be able to exit a lot sooner, but still avoid spamming the user with lots of messages. * In the event that an invalid combination of configuration options causes a port to be BROKEN, etc. allow the user to run --force-config and try again * Add the ability to specify the -t option to -L and --index-only to check every installed port instead of using the shortcut. This is slow, but useful on an old system where there is no ports tree and one or more of the ports is so old that it no longer exists in INDEX. Bug Fixes: ========== Fix an unfortunately long-standing bug in the --package code, we need to update the +REQUIRED_BY files for ports that the installed port depends on. When I tested pkg_add originally I confirmed that it did this, but I neglected to re-test when adding the --no-deps option, which suppresses this behavior. Mea culpa. So take this opportunity to fix the bug, and improve some other things in the process: * Add code to the section that updates dependencies for the newly installed package to walk the +CONTENTS file and runs the +REQUIRED_BY update for every port that the newly installed depends on. * Various non-user-visible optimizations to the dependency udpating code * When called from gen_dep_list, which also uses temp_list as a local variable, uniquify_list() needs its own set of local variables otherwise temp_list ends up being duplicated by uniquify_list Minor Optimizations: ==================== * Micro-optimize a few more cases where we can avoid going out to disk to test stuff by separating the test for a variable first. * Continue the campaign to unset things to keep the environment small * Various other micro-optimizations Revision Changes Path 2.44 +1 -1 ports/ports-mgmt/portmaster/Makefile 2.11 +4 -4 ports/ports-mgmt/portmaster/distinfo