From owner-freebsd-ports@FreeBSD.ORG Fri Aug 6 22:54:13 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 66C1E106567C; Fri, 6 Aug 2010 22:54:13 +0000 (UTC) (envelope-from swell.k@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 F26A58FC0C; Fri, 6 Aug 2010 22:54:12 +0000 (UTC) Received: by qyk11 with SMTP id 11so104898qyk.13 for ; Fri, 06 Aug 2010 15:54:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=Apw6Sa7k7xFP8nOFv9ngXMNDfsquER/ALJoRyf6LcQ8=; b=DuJqDWFVtrmnERP9hl9V9ONAhSOkYPB0X1ahZAQgBbGOObVPLME4M31Dck4qEo3HA8 RnDWX5RX+1ce8+MMt0eLy1pPQBmaC2b3pFjFL0EHi8PtW0096A8qXU6I8Kvg9YyjKfmN C9G8WPp/IVHA7j5zKywsRiGnCBb1eOnOTrLmM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=P8G80kJ8xd95KReLuWkdcbsfwPAEEEy+6EA2+ZBz9H8O/b3NtywXhdN89CZwFOXm22 Ur/OdobxfvKxko+Fv6gtyxtzKPZNSVIyfB71yh/3YWDyu6h7KzfGIHkrkR26EqT0sHJq c8zEqNv2e7CGpjvrWpG7xADQPb9r+bHww153c= Received: by 10.224.46.15 with SMTP id h15mr6572215qaf.20.1281135252115; Fri, 06 Aug 2010 15:54:12 -0700 (PDT) Received: from localhost (tor3.anonymizer.ccc.de [78.47.147.124]) by mx.google.com with ESMTPS id t1sm2439891qcs.21.2010.08.06.15.54.08 (version=SSLv3 cipher=RC4-MD5); Fri, 06 Aug 2010 15:54:11 -0700 (PDT) From: Anonymous To: Doug Barton References: <86y6cjke9i.fsf@gmail.com> <4C5C8425.5060702@FreeBSD.org> Date: Sat, 07 Aug 2010 02:54:00 +0400 In-Reply-To: <4C5C8425.5060702@FreeBSD.org> (Doug Barton's message of "Fri, 06 Aug 2010 14:52:37 -0700") Message-ID: <86iq3nfj3r.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: 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 22:54:13 -0000 Doug Barton 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.