From owner-freebsd-questions@freebsd.org Sun Dec 3 18:13:16 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 A95FDE5E076 for ; Sun, 3 Dec 2017 18:13:16 +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 920EC1BE8 for ; Sun, 3 Dec 2017 18:13:16 +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 6678760000E01; Sun, 3 Dec 2017 10:13:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=ozzmosis.com; h=date:from :to:subject:message-id:references:mime-version:content-type :in-reply-to; s=ozzmosis.com; bh=KaumbM5rfaH3h7voggBz6Jbrazs=; b= 2VKD7D31XYdJOefF2wei1POfEThxz48FerpKIZtgsS9/EmIIgr24hyKM8jhl7L4R NWygnbPa+PZYOHMbgiVHvw4B7pphhXH1kjyqIHFfSYTTEvRpyYb/C+lOIjWauhqd vHy5To70VBVXK0ZZ5TspS6nihGYbdmV8GI/bkYOfwjo= 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 1A89360000E00; Sun, 3 Dec 2017 10:13:15 -0800 (PST) Received: by blizzard.ozzmosis.com (Postfix, from userid 1001) id 5B136784; Mon, 4 Dec 2017 05:13:12 +1100 (AEDT) Date: Mon, 4 Dec 2017 05:13:12 +1100 From: andrew clarke To: FreeBSD , Carmel NY Subject: Re: Create list of ports to update Message-ID: <20171203181312.dpji6au2sv7t2zer@ozzmosis.com> References: <8d5d17b8-a206-810a-b92e-a29d053dd8e3@hayers.org> <20171203175843.hdzbvm7fiebo2dhc@ozzmosis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171203175843.hdzbvm7fiebo2dhc@ozzmosis.com> 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 18:13:16 -0000 On Mon 2017-12-04 04:58:43 UTC+1100, andrew clarke (mail@ozzmosis.com) wrote: > > > > 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. It would be nice if this worked: # pkg query %o | poudriere -v bulk -j 11amd64 -f - But - is not recognised as shorthand for stdin: # poudriere -v bulk -j 11amd64 -f - [00:00:00] Error: No such list of packages: /usr/home/ozzmosis/- /dev/stdin isn't accepted either: # poudriere -v bulk -j 11amd64 -f /dev/stdin [00:00:00] Error: No such list of packages: /dev/stdin Not a big deal, but something to know.