libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Rpm-maint] How to get libb to export liba's symbols?


From: Panu Matilainen
Subject: Re: [Rpm-maint] How to get libb to export liba's symbols?
Date: Tue, 10 May 2022 13:14:54 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0

On 5/10/22 12:13, Neal H. Walfield wrote:
Hi libtool devs,

Historically, rpm has included its own OpenPGP implementation.  This
implementation is incomplete and buggy, and the maintainers of rpm
have decided that they would like to use a different OpenPGP
implementation.

There are two major constraints.  Because rpm's OpenPGP API is public,
it must be preserved until the next soname bump.  And, the OpenPGP
backend should be pluggable.

[...]

My conclusion is that I somehow need to get librpmio to reexport
librpm_sequoia's symbols.  Despite spending hours searching, I haven't
figured out how to do that.  I'd appreciate any hints that might lead
me to a solution.

The simple and straightforward solution is to leave the rpm API into librpmio, and use a separate one for the PGP backend. Ie the backend implements an API which librpmio calls, and therefore we have the right dependencies automatically.

That's how the crypto backend between openssl and gnutls works, and ditto with rpmdb backend. Runtime swappable can be handy for testing, but maybe not worth here.

        - Panu -


Thanks,

:) Neal
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint





reply via email to

[Prev in Thread] Current Thread [Next in Thread]