Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Mar 2018 18:55:28 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: Perl version change and ports/UPDATING
Message-ID:  <20180401015528.GG1272@albert.catwhisker.org>
In-Reply-To: <CAN6yY1sL8p4GpnZ79tE420%2BdiDbtdrUt5YZd2AzNkJ%2B=ES3gAg@mail.gmail.com>
References:  <20180331142525.GE1272@albert.catwhisker.org> <CAN6yY1sL8p4GpnZ79tE420%2BdiDbtdrUt5YZd2AzNkJ%2B=ES3gAg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Vo/MzLq2Wkql5KIX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Mar 31, 2018 at 04:23:54PM -0700, Kevin Oberman wrote:
> On Sat, Mar 31, 2018 at 7:25 AM, David Wolfskill <david@catwhisker.org>
> wrote:
> ...=20
> > But "pkg updating -i" fails to display the 20180330 entry for me;
> > it does show entries for some(?) other ports I have installed:
> ...
> > Is the above a demostration of a problem with "pkg updating"?
> > Something else?
> ...
> I suspect thre issue is the handing of the wildcard (lang/perl5*). Either
> it's a bug or wildcards should not be allowed in UPDATING. There are LOTS
> of entries with asterisks, though, ome rather more complex such as:
> 20180308:
>   AFFECTS: */php* */pecl* */pear*
> BTW, that one should show up in "pkg updating -i" and does not, either.
> ....

I finally(!) got around to unpacking the distribution files for
pkg-1.10.5; looking at src/updating.c, "pkg updating" uses either
strcasestr() or strstr() (depending on whether or not -i is specified)
for matching the origins of installed ports against the "AFFECTS" lines
in ports/UPDATING.

I see no code that would support anything other than literal string
matches -- no attempts to specify/use meta-characters; no globs;
no regular expressions.

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
An investigator who doesn't make a perp nervous isn't doing his job.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--Vo/MzLq2Wkql5KIX
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEEzLfO+ReoAfQwZNd7FTnMQKBJ7hcFAlrAPBBfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEND
QjdDRUY5MTdBODAxRjQzMDY0RDc3QjE1MzlDQzQwQTA0OUVFMTcACgkQFTnMQKBJ
7hcEHwgAu4zbI/PAotI+rMuHbgKkq2kyRIcHzt71/D525QhdG9Wdot6PAaEw3LFW
t/GpWut48OYBx+qdWMPE8wbPAvjCP5Yy07Wb9HwcAZMWUZt3/tJcC5IfKvANYqrZ
p/SGsw/lbIwlj5rGoHhbgcPudst0j04dJWv/mfVXFUN+pFNZ8vszopiijhMyRSiw
RKl8iWkHAT+ZmueARDhqNez0ngi20J7+V2a69/cnoeFIxNEMIcXoUD17w/TxpBHV
xraISQabvlNBb8cShh3EA/Mg2wOQ6tx974YaTlMearNCGGstarEDnNbLExvL6nYF
VvP7YgAkt8hQTeo98tWh/k02hQSEBw==
=2Or3
-----END PGP SIGNATURE-----

--Vo/MzLq2Wkql5KIX--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180401015528.GG1272>