From owner-freebsd-ports@FreeBSD.ORG Sat Oct 27 08:04:48 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DD3C095C for ; Sat, 27 Oct 2012 08:04:48 +0000 (UTC) (envelope-from mueller23@insightbb.com) Received: from mail.insightbb.com (smtp1.insight.synacor.com [208.47.185.23]) by mx1.freebsd.org (Postfix) with ESMTP id 85A938FC0C for ; Sat, 27 Oct 2012 08:04:47 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=2.0 cv=f43K9ZOM c=1 sm=0 a=Dm9TOXL4taQ+Gy1KovpL+A==:17 a=Rn-mZTJl_IcA:10 a=jLN7EqiLvroA:10 a=9YQ-1ebCAAAA:8 a=zml9JDGrGYYA:10 a=pedpZTtsAAAA:8 a=eJFtvRbUAAAA:8 a=GLTLrIZ1G4yr8q7d7xUA:9 a=eJojReuL3h0A:10 a=XmwcNjoec9wA:10 a=Dm9TOXL4taQ+Gy1KovpL+A==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp01.insight.synacor.com smtp.mail=mueller23@insightbb.com; spf=softfail; sender-id=softfail Authentication-Results: smtp01.insight.synacor.com header.from=mueller23@insightbb.com; sender-id=softfail Received-SPF: softfail (smtp01.insight.synacor.com: transitional domain insightbb.com does not designate 74.130.198.7 as permitted sender) Received: from [74.130.198.7] ([74.130.198.7:54523] helo=localhost) by mail.insightbb.com (envelope-from ) (ecelerity 2.2.3.49 r(42060/42061)) with ESMTP id 30/A2-17144-8959B805; Sat, 27 Oct 2012 04:04:40 -0400 Date: Sat, 27 Oct 2012 04:04:40 -0400 Message-ID: <30.A2.17144.8959B805@smtp01.insight.synacor.com> From: "Thomas Mueller" To: freebsd-ports@freebsd.org Subject: Re: How to run massive portmaster update without repeated interruptions? Cc: Robert Backhaus X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 08:04:48 -0000 On 27 October 2012 12:21, Thomas Mueller wrote: > When updating many ports with portmaster, I get frequent interruptions with a prompt such as > ===>>> Delete gstreamer-0.10.35.tar.bz2? y/n [n] >How do I avoid this inefficiency? I don't see any way to say "yes, and please don't ask again!" > My /usr/local/etc/portmaster.rc is > MAKE_PACKAGE=gopt > SAVE_SHARED=wopt > PM_LOG=/var/log/portm.log > NO_BACKUP=Bopt >I don't remember this ever happening when I used portupgrade. > Tom Robert Backhaus responded: > What it is asking you is permission to delete old distfiles. You have > two options to add to your portmaster.rc: > ALWAYS_SCRUB_DISTFILES=dopt > To always remove them without asking, or > DONT_SCRUB_DISTFILES=Dopt > To never delete them. Your distfiles directory will quickly get > massive if you don't do something about stale distfiles. I saw that in 'man portmaster' and /usr/local/etc/portmaster.rc.sample , but I thought the files I was prompted for on deletion were the built packages rather than the distfiles. Examining /usr/packages/All and /BETA1/usr/ports/distfiles showed me that those files in question were outdated distfiles. So I added DONT_SCRUB_DISTFILES=Dopt to /usr/local/etc/portmaster.rc in another virtual terminal when I was prompted on deletion. This had no effect on the current paused portmaster run but will hopefully work on subsequent portmaster runs. Keeping stale distfiles is bad cyber housekeeping and leaves a lot of useless freight. Tom