From owner-freebsd-questions@freebsd.org Wed Dec 12 18:49:26 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5BEDD1321273 for ; Wed, 12 Dec 2018 18:49:26 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F001F72D9D for ; Wed, 12 Dec 2018 18:49:24 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id wBCInBbB002965; Wed, 12 Dec 2018 11:49:12 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Subject: Re: Forcing port reinstalls without rebuilding over and over again To: Paul Schmehl , FreeBSD Questions References: <47758EF2A172AE3BCA2F6E66@Pauls-MacBook-Pro.local> Reply-To: freebsd@dreamchaser.org From: Gary Aitken Message-ID: <150a91f0-f27b-9fab-157f-dccdebd33e21@dreamchaser.org> Date: Wed, 12 Dec 2018 11:49:00 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 In-Reply-To: <47758EF2A172AE3BCA2F6E66@Pauls-MacBook-Pro.local> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Wed, 12 Dec 2018 11:49:13 -0700 (MST) X-Rspamd-Queue-Id: F001F72D9D X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [0.46 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_SPAM_SHORT(0.09)[0.086,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; NEURAL_SPAM_MEDIUM(0.70)[0.699,0]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[nightmare.dreamchaser.org]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-0.02)[country: US(-0.09)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2018 18:49:26 -0000 On 12/12/18 1:07 AM, Paul Schmehl wrote: > Is there a way, using portmaster, to force the rebuild of all ports > without rebuilding the same ports over and over and over again? > > I've noticed that using portmaster -f forces the rebuild of every > dependency. I think I've now rebuild perl and python at least 20 or > 30 times. Once should be enough. I guess if you're going to rebuild > everything, it would be ok to ignore dependencies for ports, since > they're all going to be rebuilt anyway. > > What's the magic potion for that? If I understand the question, use the -R option. I typically rebuild ports using: portmaster --no-term-title -R categoryA/portA categoryB/portB I have not tried using -af, but I'm guessing the effect would be what you want. Gary