From: Doug Barton on
On 08/06/2010 15:54, Anonymous wrote:
> Doug Barton <dougb(a)FreeBSD.org> writes:
>
>> On 08/06/2010 07:27, Anonymous wrote:
>>> While updating ports some take a long time to compile and when it
>>> finally comes time to install I need to type password again.
>>> Is there an option to prevent that? Smth like running
>>>
>>> $ sudo true
>>>
>>> would be enough to update time stamp. They're per tty by default, anyway.
>>
>> 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. :)


Doug

--

Improve the effectiveness of your Internet presence with
a domain name makeover! http://SupersetSolutions.com/

Computers are useless. They can only give you answers.
-- Pablo Picasso

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Jim Trigg on
On Fri, Aug 6, 2010 at 6:58 PM, Doug Barton <dougb(a)freebsd.org> wrote:
> On 08/06/2010 15:54, Anonymous wrote:
>> Doug Barton <dougb(a)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
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"