Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Apr 2010 01:04:13 -0700
From:      Garrett Cooper <yanefbsd@gmail.com>
To:        Doug Barton <dougb@freebsd.org>
Cc:        freebsd-ports@freebsd.org, Aristedes Maniatis <ari@ish.com.au>
Subject:   Re: portmaster and IGNOREME
Message-ID:  <n2p7d6fde3d1004260104l3fed33d5lcf6b225adeb74eda@mail.gmail.com>
In-Reply-To: <4BD51929.2050807@FreeBSD.org>
References:  <4BD28512.2010506@ish.com.au> <4BD356AC.9080707@FreeBSD.org> <4BD37E1E.7010207@ish.com.au> <4BD39CD0.4040504@FreeBSD.org> <4BD39FDA.7070609@ish.com.au> <4BD4C85F.8010307@FreeBSD.org> <4BD4DB1A.3020706@ish.com.au> <4BD51929.2050807@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 25, 2010 at 9:40 PM, Doug Barton <dougb@freebsd.org> wrote:
> On 04/25/10 17:15, Aristedes Maniatis wrote:
>> On 26/04/10 8:55 AM, Doug Barton wrote:
>>> I've just committed a fix for this problem to the svn (development)
>>> version of portmaster. You can find information on how to download it a=
t
>>> http://dougbarton.us/portmaster-proposal.html. I would appreciate it if
>>> you would test that version in your environment to confirm that the fix
>>> is satisfactory.
>>
>> Firstly, it looks like it is unable to run with a relative path. Pretty
>> minor issue, but I thought I'd mention it.
>
> yes, there is no way that will work. portmaster calls itself
> recursively, so it has to have an explicit path when you start it.

_portmaster=3D$(realpath "$0")

?

...

"$_portmaster" foo

>> But when using an absolute path
>> =A0 =A0 # sh /root/portmaster -ai
>
> You could also chmod a+x /root/portmaster and then run it without the
> sh, but the way you did it works fine too.
>
>> * I get the list of ports to upgrade, then "Proceed y/n", and after that
>> it sees CGatePro and tries to upgrade it.
>
> Yes, I was too hasty to get the fix out the door. I just committed
> version 207220 which has a more thorough fix for this issue in -a.
>
>> * when using portmaster -ai I'm still given a choice to upgrade the
>> package with no ORIGIN.
>
> I changed the logic for -a to be warn+skip automatically if an +IGNOREME
> file is present. For the case of no ORIGIN and no +IGNOREME it's back to
> being a fatal error.
>
>> But why ask since we already know it will fail 100% of the time?
>
> Exactly right.

Thanks,
-Garrett



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