Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Sep 2009 11:57:16 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Portmaster updates, including multiple -x options
Message-ID:  <4AAF64FC.4000200@quip.cz>
In-Reply-To: <4AAF58A0.2000401@FreeBSD.org>
References:  <4AAF58A0.2000401@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AAF64FC.4000200>