From owner-freebsd-ports@FreeBSD.ORG Fri Aug 6 23:24:56 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B5901065672; Fri, 6 Aug 2010 23:24:56 +0000 (UTC) (envelope-from jktrigg@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id CFB598FC08; Fri, 6 Aug 2010 23:24:55 +0000 (UTC) Received: by qyk11 with SMTP id 11so134212qyk.13 for ; Fri, 06 Aug 2010 16:24:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=W2omoZe16mJQr946gKO7H70iwEv4HnPe3XDKOQSG+Z0=; b=XTSvX85B5fRtnlsE254UoAZcoNkCWS/lxzpZIIM++jq7cpXcDzhh2jkxr7eJEwQsYx Yfas9mRvPRmZTYKZ+PDvQDLWvacH8na/JOfu+rwVyqjmw5glDnZIY20pNBi+2b92+Ic7 GsvDJnsonfk5U4jKlZi95dpLGWSVzL58f0lj0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=FYrs8ZNpwyocmhWvLNRxFlcMI5W164ktu0DyAooYFEA7ONocZKXm1KhROz7xe2brCx hXYEhOWdaa7KAqDI7scbBiLTBsRegz/131zd/L2/XW/UMs4NA1MBnM/KgPhgpFv48gIp HpQ3tYdfI7sHwRxgPgWxG+ufgS0QuycYHA/Qc= MIME-Version: 1.0 Received: by 10.229.1.143 with SMTP id 15mr5049823qcf.287.1281137094954; Fri, 06 Aug 2010 16:24:54 -0700 (PDT) Received: by 10.229.140.197 with HTTP; Fri, 6 Aug 2010 16:24:54 -0700 (PDT) In-Reply-To: <4C5C9399.2020300@FreeBSD.org> References: <86y6cjke9i.fsf@gmail.com> <4C5C8425.5060702@FreeBSD.org> <86iq3nfj3r.fsf@gmail.com> <4C5C9399.2020300@FreeBSD.org> Date: Fri, 6 Aug 2010 19:24:54 -0400 Message-ID: From: Jim Trigg To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Cc: Anonymous , freebsd-ports@freebsd.org Subject: Re: keep-alive option for sudo in portmaster X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Aug 2010 23:24:56 -0000 On Fri, Aug 6, 2010 at 6:58 PM, Doug Barton wrote: > On 08/06/2010 15:54, Anonymous wrote: >> Doug Barton 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