GnuPG version 1.4.x is basically unsupported upstream now. All of the other major distros are removing or already have removed GnuPG 1.4.x. The gnupg2 package should provide the /usr/bin/gpg binary and any remaining software that doesn't work with GnuPG 2 should be fixed or dropped for Mageia 7.
I've been running my system with gnupg2 installed as gnupg. No issues so far.
The only package that needed to be changed, that I compile locally, was Libreoffice. It uses gnupg2 to generate keys.
Is it still time to do this switch or should we wait for mga8?
Yeah this needs to be done ASAP.
Created attachment 10614 [details]
This is a list that I made with
urpmq --whatrequires-recursive gnupg2 | sort -u
It's quite extensive and this needs to be coordinated correctly and efficiently so we don't break too much in one go.
Packages that currently require gnupg2 wouldn't be an issue. It's packages that require gnupg that need to be looked at.
Well, yes and no.
If gnupg2 provides /usr/bin/gnupg and some spec file needs gnupg2, this will break the build.
The same goes for packages the requires /usr/bin/gnupg2 to run.
No, that shouldn't break anything. gnupg2 would provide /usr/bin/gpg and /usr/bin/gpg2.
Created attachment 10615 [details]
Yeah, this list is much shorter and manageable.
If gnupg2 Provides gnupg, there should be no probles building these packages. The issue might be when it comes to running them.
I don't use any of them personally and have no experience so this needs to be done by more knowledgeable folks.
Created attachment 10616 [details]
Proposed changes to gnupg2.spec
Here is my proposition for gnupg2.
This enables packages that requires gnupg to install gnupg2. It also obsoletes gnupg 1.4.23.
It also provides
and the respective man pages via symlinks.
Like I mentioned, I don't know if the syntax is different and that the packages requiring gnupg will work properly after this switch.
gnupg2 has been submitted with the proposed changes.
Now we need to look out for programs that could break.
gnupg is still listed in rpmsrate.
rpmsrate fixed. Thanks.