OpenSSL
Kridsada Thanabulpong
sirn at ogsite.net
Mon Feb 18 12:01:14 UTC 2019
You can probably do something among this line to query packages that were
built against port OpenSSL.
pkg query "%do %o" | awk '/^security\/openssl/ { print $2 }'
Unfortunately, I don't know if there's a way to do this for packages that
were built against OpenSSL in base. Probably involving `ldd` a relevant
binary and see if it was linked against `/usr/bin/libssl.so` or not.
Odhiambo Washington <odhiambo at gmail.com> writes:
> Answering myself:
>
> On my FreeBSD-11.2, I have:
>
> root at waridi:/ # /usr/bin/openssl version
> OpenSSL 1.0.2p-freebsd 14 Aug 2018
> root at waridi:/ # /usr/local/bin/openssl version
> OpenSSL 1.0.2q 20 Nov 2018
>
> So the OpenSSL version is the same. I need to deinstall the port and remain
> with the base one, or if I want crazy things, I can install
> security/openssl1111.
> So I have a choice between adding either of the following to /etc/make.conf:
>
> DEFAULT_VERSIONS+=ssl=base
> DEFAULT_VERSIONS+=ssl=openssl
>
> ..then doing a `[portupgrade -a`.
>
> Is that correct???
>
> At the moment, I have been having DEFAULT_VERSIONS+=ssl=openssl but I seem
> to suffer from certain conflicts related to OpenSSL.
>
> So, assuming I want to standardize linking against the ports/openssl, how
> do I have to make a list of ALL installed ports, deinstall them, then
> reinstall them again?
> Is there an easier way to do that??
>
>
>
>
>
> On Mon, 18 Feb 2019 at 11:15, Odhiambo Washington <odhiambo at gmail.com>
> wrote:
>
>> Is there a way to ensure that all ports are linked against the same
>> version of openssl (either the base one or the port one)??
>> How do I do this on a live server?
>>
>>
>> --
>> Best regards,
>> Odhiambo WASHINGTON,
>> Nairobi,KE
>> +254 7 3200 0004/+254 7 2274 3223
>> "Oh, the cruft.", grep ^[^#] :-)
>>
>
>
> --
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254 7 3200 0004/+254 7 2274 3223
> "Oh, the cruft.", grep ^[^#] :-)
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list