Re: [HEADSUP] OpenSSL updated to 1.0.2d

From: Eric van Gyzen <eric_at_vangyzen.net>
Date: Sat, 31 Oct 2015 09:23:06 -0500
On 10/31/15 5:25 AM, O. Hartmann wrote:
> Am Fri, 30 Oct 2015 16:57:45 -0400
> Jung-uk Kim <jkim_at_FreeBSD.org> schrieb:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>>
>> OpenSSL on head has been updated to 1.0.2d.  Please make sure to
>> recompile all binaries depending on libcrypto.so.7 or libssl.so.7.
>
> That is good news.
>
> Could you provide, please, some hints how one could check all installed ports for the
> usage of those specific libraries? Or could you provide a hint towards an existing port
> already providing those tools? It would be great for those "from the set of ordinary
> people" using FreeBSD.
>
> I ask for that because I recall that there were a couple of ports which explicitely asks
> for a selection of what SSL lib should be used and in my case, I use the base system's
> one.

I expect there's a port, but I'm not aware of one.

This should work:

find /usr/local/*bin /usr/local/lib* -type f | \
while read F; do \
	objdump -x $F 2>&1 | grep -Eq 'NEEDED  *lib(crypto|ssl).so.7' && \
		echo $F; \
done

This is in /bin/sh (or bash).  You could change "echo" to "pkg which"
to show the package names.

Cheers,

Eric
Received on Sat Oct 31 2015 - 13:23:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:00 UTC