From nobody Tue Nov 29 21:12:22 2022 X-Original-To: freebsd-pkg@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 4NMFR01yCmz4jmJG for ; Tue, 29 Nov 2022 21:12:28 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NMFR01SrHz3Pg8; Tue, 29 Nov 2022 21:12:28 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669756348; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ihsKrjPh6shdZxkqUH338nve6/NbqlHuwZRiM3g+ets=; b=kv5oniVx5Zt/FsCwBW6rIB4ossrKdOj2LzN96dX9r0VisNkdKUXGlo0XKqikQdHfN/4vT7 DWBe5efICmc8uun2zdJlThqMX2jlxd16983cHovqZex01iGqLqe6birEqbiee+yDmy3Q6/ bDVa01mL8iJc9ZdwSreUsVmufyVdjjOfEg6kgs4qOVXdDxuXi7KrMQYAFEqx2513R9YRtq iJbiJDYYFOug+I1Xin/ETtN+Fqe+2g2drDTYbDLMD1q42R1vNqQ1nxXuShFcDQQLt2Dlty jStPcY5/waNLDOHBM5ntIS5wQvgH1gWeVTausZIim3dopTs2p4VKd9IeXETRaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669756348; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ihsKrjPh6shdZxkqUH338nve6/NbqlHuwZRiM3g+ets=; b=c/QDYVl4Mkk497ezIBXmsX6HOHEL3c5eH6Tzc2gwZ40sYRFtY8sDiyS0aQLvh/gK5+5TKw oAxee8dWgtZY7DuyQAelbEyDq58jHzJ3uDXUsoGAz1aGqlz0kAYeM98gsWOjpufMwpTluP NQhi8HrW78e1LJERnWup4LDQwdmmIIX9EtrRs/pm3hJtEUoCQFpIrgrnclhqWCMBlTKhhB gDU7F/gxx9EaGRMXBXSCTP3Kh/XFsIZbTRMTSXQ0uHz8fjIzJYowNkv8mJyUWgPCeORfia 5J7pabLQKij2bK/avGVRbkNapw7J12Y6w5buK6KHZC0g8muu+hCEuv5Q1Zd+Vw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669756348; a=rsa-sha256; cv=none; b=iAGrO3SMVmBLPIgHh6nIF73b4HWwY8Jbl1lRx35tRyspnqCg9cItclen1Uebdw2kSLH4KC cQuXTa7VWf/rfEVd1k3BQ6EyoWUr9E2TBJcvuB8EiHbPy/ub/zvRptiXJfmQUZLbBqGApK 3xc4zMay90goJfdMSMTPxor7H/zs1A0sqINZ4Z0pd+DS2hUIrxc0umUuKVK39JDqp21CIz xb0/H86jNFho1QLTbCNYM99awnFFSd9viwgFt+c1zZYhTA2PD2uzblT4GjlfNlTo/MCauh MjEJN4T6PtlsmNDATB89iYYM3BH1GIlqsnKUBfqHdBS4Z9IOKRdYTU2ItHl5gA== Received: from [IPV6:2001:470:1f1c:a0::2] (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net [IPv6:2001:470:1f1c:a0::2]) (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) (Client did not present a certificate) (Authenticated sender: grahamperrin) by smtp.freebsd.org (Postfix) with ESMTPSA id 4NMFQz4MgNzhKs; Tue, 29 Nov 2022 21:12:27 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) Message-ID: Date: Tue, 29 Nov 2022 21:12:22 +0000 List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: devel/glib20 packages To: Pat Maddox Cc: freebsd-pkg@freebsd.org References: <096a4130-1a48-f7f3-80b4-de8d3969498a@freebsd.org> <66F0142C-1E2B-4601-9F70-C943EF485C84@patmaddox.com> Content-Language: en-GB From: Graham Perrin Organization: FreeBSD In-Reply-To: <66F0142C-1E2B-4601-9F70-C943EF485C84@patmaddox.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------pmWUOOyn1eoMbC1dBm1bpoNv" X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------pmWUOOyn1eoMbC1dBm1bpoNv Content-Type: multipart/mixed; boundary="------------ewCTB43Z96j6HxUUdUJO54k3"; protected-headers="v1" From: Graham Perrin To: Pat Maddox Cc: freebsd-pkg@freebsd.org Message-ID: Subject: Re: devel/glib20 packages References: <096a4130-1a48-f7f3-80b4-de8d3969498a@freebsd.org> <66F0142C-1E2B-4601-9F70-C943EF485C84@patmaddox.com> In-Reply-To: <66F0142C-1E2B-4601-9F70-C943EF485C84@patmaddox.com> --------------ewCTB43Z96j6HxUUdUJO54k3 Content-Type: multipart/alternative; boundary="------------fVDSkjw0WRmporLnjkhrWdP5" --------------fVDSkjw0WRmporLnjkhrWdP5 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 DQpPbiAyOS8xMS8yMDIyIDAxOjU3LCBQYX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bmNlIHRocmV3IG1lLCB3aGlsc3QgDQpzZWFyY2hpbmcsIG1vcmUg dGhhbiBvbmNlIGluIHRoZSBwYXN0Lg0KDQpJIHVzdWFsbHkgcmVhZCB0aGUgdHdvICdwa2cg aW5zdGFsbCcgbGluZXMgaW4gRnJlc2hQb3J0cyB0byB0ZWxsIGEgDQpkaWZmZXJlbmNlLCB3 aGVyZSBvbmUgZXhpc3RzLiANCjxodHRwczovL3d3dy5mcmVzaHBvcnRzLm9yZy9kZXZlbC9n bGliMjAvI2FkZD4gZm9yIGV4YW1wbGUuDQoNClRoZSBlbXB0aW5lc3Mgd2FzIGEgdHJhbnNp ZW50IGlzc3VlLCB0aGVyZSdzIG5vdyB0aGUgY3VzdG9tYXJ5IHRhYmxlIG9mIA0KcGFja2Fn ZXMuDQoNCg== --------------fVDSkjw0WRmporLnjkhrWdP5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On 29/11/2022 01:57, Pat Maddox wrote:=

On 28 Nov 2022, at 15:59, Graham Perrin wrote:<= /p>

I'm confused.

If pkg search -r FreeBSD devel/glib20 does find the package, then why does pkg search -r FreeBSD glib20 not find the package?

Also, why the emptiness at <https://www.freshports.org/d= evel/glib20/#packages>?

----

% pkg= search glib20
% pkg search -r FreeBSD glib20
% pkg search -r FreeBSD devel/glib20
devel/glib20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Some usefu= l routines of C programming (current stable version)
% pkg info -x devel/glib20
glib-2.74.1,2
%

Not sure about the emptiness.

The answer to your first question is found in <= a href=3D"https://www.freebsd.org/cgi/man.cgi?pkg-search" style=3D"color:#3983C4" moz-do-not-send=3D"true">pkg-search= (8):

-S    s=
earch,    --search search
    Specify the field to search the repository catalogue on.  If
    unspecified, searches on pkg-name unless the search term con-
    tains a / character, when it searches on port origin.    Output
    will be sorted    in order of the    search field.  See the "Search
    and Label Options" sections for more details.

Looking at the glib20 Makefile, you can see that the port name is glib.=

So, pkg search glib20 searches for a= package named glib20, which doesn=E2=80=99t exist. pkg search devel/glib20 searches= for an origin named devel/glib20= , which does exist.

Pat

Ah, thanks for the reminder. The pkg-name difference threw me, whilst searching, more than once in the past.

I usually read the two 'pkg install' lines in FreshPorts to tell a difference, where one exists. <https://www.freshports.org/devel/glib20/#add>= ; for example.

The emptiness was a transient issue, there's now the customary table of packages.

--------------fVDSkjw0WRmporLnjkhrWdP5-- --------------ewCTB43Z96j6HxUUdUJO54k3-- --------------pmWUOOyn1eoMbC1dBm1bpoNv Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEWT/lssMHB+28ly8Kt2dIb0oY1AsFAmOGdbYFAwAAAAAACgkQt2dIb0oY1AuI Xw//UqtGP3202lF9AjM0sj8ly4qsiCfBmcjjM3W3MgkNB2hShq24wr18jkxa2AiBfwphhq49N1kk 2QWcpxAr1YUrgZSQ/WVoTbPe0wTFNW2dyiPs5wvQpAME/s91TToIcl2mDJIhxuH2XO0avodd2+UN KWshBsuSUHRrVU2DlAKXyC8xzp3hD2L/XikX1tKqgUEoa2p8tHhLeJaaQUeCb38+LtdudRpHyVxX dJvz+iQTNkf4iNMUjM6PVmGojpSXpmzkJOV7q33q9tTSyPZ4R3Yd0PgTb6BpWazTO68xl/JSaQwg NvmYFaJYrAhtlmT8luJlsHRKP/Ar75biatXrsFIkIgCXKxpGxNXIrvTs3Yva+DV6BRV/MI65ZJkn YSpXlZPSeTrtnAoR95Voi1xG9za44HZAkXpozti/f04BjnPl0F2kQhROOAPjNLzQSSRtoU7x7JWe BzuxlY1e7MQC16829pasANOkTFk6oh/5V9ryXuzvwlykgL10yhyc3Xiv9qW+2+syVH2Rc2JEHYeF KR7dxUi4g45eRoWr2DWyMtBVgSWRHY51wUAsiuLRTitRfWChhDKiJPg8i2wVCcEGtAiTRyPJuamh PrsxkeZvf+S2rt9b5HND7xi8qtJhkkaDCLTni0N3z8HlLNy8uw6AiOl6bZ8EwsILM5dIe6uTRytH esc= =MhUP -----END PGP SIGNATURE----- --------------pmWUOOyn1eoMbC1dBm1bpoNv--