Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Aug 2010 19:24:54 -0400
From:      Jim Trigg <jktrigg@gmail.com>
To:        Doug Barton <dougb@freebsd.org>
Cc:        Anonymous <swell.k@gmail.com>, freebsd-ports@freebsd.org
Subject:   Re: keep-alive option for sudo in portmaster
Message-ID:  <AANLkTinBOrYBNFgVDYiN%2BC=NFtf1s%2BtuCEFAhX1xZOXp@mail.gmail.com>
In-Reply-To: <4C5C9399.2020300@FreeBSD.org>
References:  <86y6cjke9i.fsf@gmail.com> <4C5C8425.5060702@FreeBSD.org> <86iq3nfj3r.fsf@gmail.com> <4C5C9399.2020300@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 6, 2010 at 6:58 PM, Doug Barton <dougb@freebsd.org> wrote:
> On 08/06/2010 15:54, Anonymous wrote:
>> Doug Barton <dougb@FreeBSD.org> writes:
>>> While I can sympathize with your situation, I think you'd be better off
>>> in this case running your portmaster commands in an actual root shell.
>>
>> Wouldn't periodic hook be useful to smth else besides PM_SU_CMD? Like
>> sending time passed since current port build started to xterm title.
>> It may help to guess how long till it completes the build.
>
> I look forward to reviewing your patches to implement this feature. :)

I use aliases:

alias portadd="sudo portmaster"
alias portrm="sudo portmaster -e"
alias portls="portmaster -L"
alias portupg="sudo portmaster -aDG"

Speaking of such things (particularly the usage of -l/-L, which
shouldn't need root privileges), did you get my PR and patch to allow
for five-digit UIDs?

HTH,
Jim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinBOrYBNFgVDYiN%2BC=NFtf1s%2BtuCEFAhX1xZOXp>