From owner-freebsd-ports@freebsd.org Tue May 4 15:58:04 2021 Return-Path: <owner-freebsd-ports@freebsd.org> Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8B3106373E7 for <freebsd-ports@mailman.nyi.freebsd.org>; Tue, 4 May 2021 15:58:04 +0000 (UTC) (envelope-from rodrigo@osorio.me) Received: from smtp.osorio.me (mvd.osorio.me [5.196.94.126]) by mx1.freebsd.org (Postfix) with ESMTP id 4FZPd73dz5z3hp4 for <freebsd-ports@freebsd.org>; Tue, 4 May 2021 15:58:03 +0000 (UTC) (envelope-from rodrigo@osorio.me) Received: from [192.168.69.184] (unknown [78.194.61.125]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.osorio.me (Postfix) with ESMTPSA id CF4651251B1 for <freebsd-ports@freebsd.org>; Tue, 4 May 2021 15:57:54 +0000 (UTC) Subject: Re: looking for port origin for executable To: freebsd-ports@freebsd.org References: <24721.26936.103525.451533@jerusalem.litteratus.org> <CAOjFWZ7FKJ5THbS0BJ6LfkWBqnJNHN=aCG0pDhUnt4UyvrkAaw@mail.gmail.com> From: Rodrigo Osorio <rodrigo@osorio.me> Message-ID: <e4c69998-9962-860f-fe17-372b86c56720@osorio.me> Date: Tue, 4 May 2021 17:57:55 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <CAOjFWZ7FKJ5THbS0BJ6LfkWBqnJNHN=aCG0pDhUnt4UyvrkAaw@mail.gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4FZPd73dz5z3hp4 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of rodrigo@osorio.me has no SPF policy when checking 5.196.94.126) smtp.mailfrom=rodrigo@osorio.me X-Spamd-Result: default: False [-2.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_NONE(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[5.196.94.126:from]; ASN(0.00)[asn:16276, ipnet:5.196.0.0/16, country:FR]; R_DKIM_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[78.194.61.125:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEFALL_USER(0.00)[rodrigo]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[5.196.94.126:from:127.0.2.255]; DMARC_NA(0.00)[osorio.me]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-ports] X-Mailman-Approved-At: Tue, 04 May 2021 19:27:52 +0000 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-ports>, <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports/> List-Post: <mailto:freebsd-ports@freebsd.org> List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-ports>, <mailto:freebsd-ports-request@freebsd.org?subject=subscribe> X-List-Received-Date: Tue, 04 May 2021 15:58:04 -0000 On 5/4/21 3:53 PM, Freddie Cash wrote: > On Tue, May 4, 2021 at 8:33 AM Robert Huff <roberthuff@rcn.com> wrote: > >> Would some kind soul please tell me which port installs the >> executable "g-ir-scanner"? I was purging unused ports and seem to >> have done this one by mistake. >> > http://freshports.org allows you to do searches of pkg-plist files. It's a > little finicky, though. > > Doing a search for "g-ir-scanner" returns 0 hits, regardless of what type > of search is done. > > Doing a search for "bin/g-ir-scanner" returns gobject-introspection. > > So if you know the path for the file (relative to /usr/local), then the > search works. > pkg-provides also does the job :) % pkg provides g-ir-scanner Name   : gobject-introspection-1.66.1,1 Desc   : Generate interface introspection data for GObject libraries Repo   : FreeBSD Filename: usr/local/man/man1/g-ir-scanner.1.gz          usr/local/bin/g-ir-scanner