From nobody Mon Nov 1 15:01:19 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 87B8F1818C7A for ; Mon, 1 Nov 2021 15:01:30 +0000 (UTC) (envelope-from yuri@aetern.org) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HjbpK3M31z4hfW for ; Mon, 1 Nov 2021 15:01:29 +0000 (UTC) (envelope-from yuri@aetern.org) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 445A95C01D9 for ; Mon, 1 Nov 2021 11:01:23 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 01 Nov 2021 11:01:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aetern.org; h= message-id:date:mime-version:subject:to:references:from :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=g hnc7C63tJDLA32ATqsKYLxNZ3ZotXW2fyay5mpYEws=; b=vJj9BBMfeUKKVF/du +4AJrufV9Hfn0ubdjsBDgvVWZzFhzuVxLIPGdZalOczRarNdT2NRxkKilV10EVBr KyA6JEl2aVjqoOpfWRpnW914VSv+sH0QfGVp8VO6m7/4U2MZoqnXaTFCHEOK5AGM ggut6cmBDrHVJEJ0axpnWiswzu5MTjoM4/Ih5kjluZzzfeWp+zwvvufbhyhPYtOj gJZtMB6/HPKPJ1f4+nsxiOIMYsUjQhlKGlHU5tERHqiGmXRkpZVLic2d8Mm/C1bb 7i2tCzQAjOVWsq+49QVLUEg3eX1JZcqno99tCEoByLUJHRX8msHionYsslZ/koF7 Nu7ig== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=ghnc7C63tJDLA32ATqsKYLxNZ3ZotXW2fyay5mpYE ws=; b=RM+pKjrCpIbiWR5Gn92MrxmF0rxHPI22KlMYebxrlkilkWSseW/yDZ23B SmI1Su4nQYk6hN/AXJdfDAQu5HbvwEnruG/G57vYkZjFdgS6fCn0tXDNlglRWkS2 9Sd8Y7N7xfyJwTEdjp0nFZBrt0X00anA+oj7vBZ25Oa0dngFc5f/KzIMMrKLYZX0 sU1h0KkCPbySTQT0mWQejs0dlmlgWRDPab+L5vMPqhbvrDoXJso7+T0q9GQGj4+o ladSWbYxnkPK28cMWwIihO615nzlUha0GTRTp54g7sjxuFoWsPMAUeRtN5hJG+vr lqDQbSrXMNWFlhGOjhHKGvBze7tFA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdehvddgjedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtje ertddtfeejnecuhfhrohhmpegjuhhrihcuoeihuhhrihesrggvthgvrhhnrdhorhhgqeen ucggtffrrghtthgvrhhnpeevvdegledtveekudfhjeeggeffteehueejlefhkeegffethe evveejfefhgffftdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpeihuhhrihesrggvthgvrhhnrdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 1 Nov 2021 11:01:22 -0400 (EDT) Message-ID: <1278be8e-8c63-118b-54ea-8e96c89ff040@aetern.org> Date: Mon, 1 Nov 2021 18:01:19 +0300 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Subject: Re: ports make search key query Content-Language: en-US To: freebsd-questions@freebsd.org References: From: Yuri In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4HjbpK3M31z4hfW X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=aetern.org header.s=fm1 header.b=vJj9BBMf; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=RM+pKjrC; dmarc=none; spf=pass (mx1.freebsd.org: domain of yuri@aetern.org designates 66.111.4.27 as permitted sender) smtp.mailfrom=yuri@aetern.org X-Spamd-Result: default: False [-0.65 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[aetern.org:s=fm1,messagingengine.com:s=fm1]; FREEFALL_USER(0.00)[yuri]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.27]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[aetern.org]; NEURAL_SPAM_SHORT(0.95)[0.953]; DKIM_TRACE(0.00)[aetern.org:+,messagingengine.com:+]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.27:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.111.4.27:from] X-ThisMailContainsUnwantedMimeParts: N tech-lists wrote: > Hi, > > I'm trying to make a list of ports exclusively *not* for armv6. > > I've been trying to use ports(7) but can't seem to get the incantation > right. > > this: NOT_FOR_ARCHS > > % sudo make -C /usr/ports search key=armv6 display=name,path,arch keylim=1 > > Port: armv6-freebsd-sysroot-a2021.09.14 > Path: /usr/ports/devel/freebsd-sysroot > > Port: armv6-rust-bootstrap-1.56.0 > Path: /usr/ports/lang/rust-bootstrap > > % sudo make -C /usr/ports search key=NOT_FOR_ARCHS display=arch > % > > % sudo make -C /usr/ports search key=NOT_FOR_ARCHS display=armv6 > % > > I'm clearly clueless. What's the proper way to accomplish this? search target does not seem to support 'arch' as valid keyword, nor does it support arbitrary variables (like NOT_FOR_ARCHS). The naive and easy alternative: find /usr/ports -name Makefile\* | xargs grep 'NOT_FOR_ARCHS.*armv6'