From owner-cvs-all@FreeBSD.ORG Tue Sep 15 08:18:58 2009 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 3727610656A4; Tue, 15 Sep 2009 08:18:58 +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 276918FC27; Tue, 15 Sep 2009 08:18:58 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n8F8Iw6e060695; Tue, 15 Sep 2009 08:18:58 GMT (envelope-from dougb@repoman.freebsd.org) Received: (from dougb@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n8F8IwDF060694; Tue, 15 Sep 2009 08:18:58 GMT (envelope-from dougb) Message-Id: <200909150818.n8F8IwDF060694@repoman.freebsd.org> From: Doug Barton Date: Tue, 15 Sep 2009 08:18:58 +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/files portmaster.sh.in 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: Tue, 15 Sep 2009 08:18:58 -0000 dougb 2009-09-15 08:18:58 UTC FreeBSD ports repository Modified files: ports-mgmt/portmaster/files portmaster.sh.in Log: New Features ============ 1. The -x option can now be specified more than once. 2. The --list-origins option will list origins from root and leaf ports for use in rebuilding all ports (for example after a major version upgrade). This requires moving ports_by_category() up into the --features section Improvements ============ 1. Error checking for -f and -i now fails instead of silently unsetting -i 2. In dependency_check(): a. Switch to $origin instead of $d_port in several places to make the messages to the user more clear and consistent b. $origin is also better for check_interactive() c. Move check_exclude down to after CONFLICTS check, and use $iport if it exists. This is more consistent with how check_exclude() usually works 3. Prefix DEPTH, PARENT_PID and EXCL environment variables with PM_ 4. Tighten up multiport by saving confirmed directories into a temporary list, then running check_exclude() and check_interactive() against each item of the temporary list, then adding to the final list 5. Execute make in a subshell and unset some of the more unwieldy environment variables in that shell. (Suggestions and testing by avg) Details for -x: =============== 1. Since there may be multiple arguments for PM_EXCL, use export not $ARGS 2. Move the error checking into getopts 3. In check_exclude() go through each pattern in turn Revision Changes Path 2.12 +133 -97 ports/ports-mgmt/portmaster/files/portmaster.sh.in