From owner-freebsd-questions@freebsd.org Sun Dec 3 17:58:54 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6039DE5D573 for ; Sun, 3 Dec 2017 17:58:54 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from homiemail-a125.g.dreamhost.com (sub5.mail.dreamhost.com [208.113.200.129]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 490F180F5A for ; Sun, 3 Dec 2017 17:58:53 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from homiemail-a125.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a125.g.dreamhost.com (Postfix) with ESMTP id 2BB5D60000E01; Sun, 3 Dec 2017 09:58:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=ozzmosis.com; h=date:from :to:cc:subject:message-id:references:mime-version:content-type :in-reply-to; s=ozzmosis.com; bh=rFccTOvhZjTyR1PTgNHhu2um1eU=; b= F1Ipz+DRBqw/ut+GHeB03h5Y6F55bPYAsiXyKGRGM54G7Q+wSwErJMPQDNukp+ch oFMewyAL4ELZEqW9yZ+KqJWNzE8y5IoFO/sOmwTxkTxPcH8COBkLFcxFqBOvlqZk 1tE/xnvTqoCmU80F9GBuqdf158M5kCWJocnwx8ktMNc= Received: from blizzard.ozzmosis.com (210-84-29-66.dyn.iinet.net.au [210.84.29.66]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: relay@ozzmosis.com) by homiemail-a125.g.dreamhost.com (Postfix) with ESMTPSA id D7D8A60000E00; Sun, 3 Dec 2017 09:58:46 -0800 (PST) Received: by blizzard.ozzmosis.com (Postfix, from userid 1001) id BC267778; Mon, 4 Dec 2017 04:58:43 +1100 (AEDT) Date: Mon, 4 Dec 2017 04:58:43 +1100 From: andrew clarke To: FreeBSD Cc: Carmel NY Subject: Re: Create list of ports to update Message-ID: <20171203175843.hdzbvm7fiebo2dhc@ozzmosis.com> References: <8d5d17b8-a206-810a-b92e-a29d053dd8e3@hayers.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171027 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Dec 2017 17:58:54 -0000 On Sun 2017-12-03 17:03:49 UTC+0000, Carmel NY (carmel_ny@outlook.com) wrote: > On Sunday, December 3, 2017 11:44 AM, Gary J. Hayers stated: > > > > > > On 03/12/2017 16:40, Carmel NY wrote: > > > Reading up on "poudriere", it appears that I have to feed it a list of > > > ports that need to be updated. Unlike "synth" which can figure that > > > out by itself, it does seem counterproductive. > > > > > > My question, now that "portmaster" is apparently dead in the water, > > > what is the easiest way to construct a list of ports that need updating in > > > the: "port-category/port-name" format? > > > pkg query '%o' > ports.txt > > Doesn't that just list all of the installed ports, not just the ones that need updating? pkg query %o > /tmp/pkglist.txt poudriere -v bulk -j 11amd64 -f /tmp/pkglist.txt This is what I use. Poudriere will only build ports from the list that need updating. This includes rebuilding ports that have had updated dependencies, (which iirc is a change from Portmaster's behaviour, though seemingly you can turn this off with 'poudriere bulk -S').