From owner-freebsd-ports@FreeBSD.ORG Tue Sep 15 09:57:20 2009 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 A67F9106566C; Tue, 15 Sep 2009 09:57:20 +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 63EB98FC16; Tue, 15 Sep 2009 09:57:20 +0000 (UTC) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 15A1819E023; Tue, 15 Sep 2009 11:57:19 +0200 (CEST) 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 D252F19E019; Tue, 15 Sep 2009 11:57:16 +0200 (CEST) Message-ID: <4AAF64FC.4000200@quip.cz> Date: Tue, 15 Sep 2009 11:57:16 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Doug Barton References: <4AAF58A0.2000401@FreeBSD.org> In-Reply-To: <4AAF58A0.2000401@FreeBSD.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Portmaster updates, including multiple -x options 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, 15 Sep 2009 09:57:20 -0000 Doug Barton wrote: > Howdy! > > I just committed portmaster version 2.12 which includes an > often-requested feature, the ability to specify the -x option more > than once. I also added options to the Makefile for installing > programmable completion files for Bash and zsh. avg gave me a great > suggestion for solving the problems with building virtualbox which I > incorporated in this version as well. > > In addition to these changes I did extensive testing on the -x option > in regards to the previous thread about it not working in conjunction > with -r. I could not reproduce any failures using -x with -r, however > in tracing the various code paths where -x might come into play I did > find a couple places where it was not being used consistently which > are now fixed. > > Finally there is another new option based on a user request. The > --list-origins feature will produce a list of the origin directories > for all of the root and leaf ports installed on a system. This list > can then be used to duplicate the installed ports on another system or > to feed portmaster after deleting all ports for a major version upgrade. > > Enjoy these new features! Nice improvements! When you are talking about completion, I am using this for tcsh: alias _PKGS_VeRsIoN_ 'ls -1 /var/db/pkg' complete portmaster 'c/--/(force-config show-work clean-distfiles clean-distfiles-all \ check-depends help version)/' \ 'c/-/(a b B C d D e f F g G h H i l L m n o p r R s t u v w x)/' \ 'n@*@`_PKGS_VeRsIoN_`@' It is basic for older version of portmaster, so I am sure it doesn't contain all the options. I can polish it up if you want to include it in you port. It can be rewritten to not use alias _PKGS_VeRsIoN_. The alias is there because I am using it for other completion in my ~/.cshrc. And one thing is missing - support for completion of /usr/ports/* Miroslav Lachman