Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2008 09:50:35 +0100
From:      Willy Picard <picard@kti.ae.poznan.pl>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: portmaster and BROKEN ports
Message-ID:  <20080326085035.GA1756@copernic.kti.ae.poznan.pl>
In-Reply-To: <47E97F0F.10900@FreeBSD.org>
References:  <20080325212146.GA32955@copernic.kti.ae.poznan.pl> <47E97F0F.10900@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 25, 2008 at 03:39:11PM -0700, Doug Barton wrote:
> Willy Picard wrote:
>> I would like to know if there is a smart way to ask portmaster to ignore BROKEN
>> ports. Currently I added a +IGNOREME file to all BROKEN ports I have but I would
>> like portmaster to automatically ignore these ports without the +IGNOREME file.
> 
> Sorry, portmaster hasn't developed psychic abilities yet, so it can't know 
> for sure what you want to do with your broken ports vs. what all the other 
> portmaster users want to do with them. :)

Well, I am not thinking about paranormal abilities for portmaster, I was rather
thinking about a nice option (e.g. --ignore-broken) that would allow postmaster
to ignore BROKEN ports during a "postmaster -a".

Currently, I have the www/flock port installed. This port is marked as BROKEN
(not by me, so this is not "my broken port" but "a broken port"). When I run
"postmaster -a", postmaster exists before updating of ports because flock is
broken. I therefore add a +IGNOREME file in the /var/db/pkg/flock-* dir.
However, if the flock port is not marked BROKEN tomorrow, I will have to 1)
detect this fact, 2) remove the +IGNOREME file.

portupgrade simply ignores BROKEN ports during a "portupgrade -a". I am not even
asking about a similar behaviour for portmaster. I wanted just to ask if an
option allows to do the same. If no such an option exists, I think that its
addition to the functionality of portmaster may be worth considering.

Best regards,

Willy Picard
-- 
Willy Picard                        e-mail: picard@kti.ae.poznan.pl
Dept. of Information Technology     www:    http://www.kti.ae.poznan.pl/
The Poznan University of Economics  tel:    +48 61 848 05 49
Mansfelda 4, 60-854 Poznan, Poland  fax:    +48 61 848 38 40



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