Re: Drop 'unknown' suffix in runtime version
Ingo Klöcker <[email protected]>
| Newsgroups | gmane.comp.encryption.gpg.devel |
|---|---|
| Message-ID | <4959790.OV4Wx5bFTl@daneel> |
On Sonntag, 18. Mai 2025 10:57:33 Mitteleuropäische Sommerzeit Yi Zhao via Gnupg-devel wrote: > When I build gunpg in Yocto, a "-unknown" suffix appears in the gpg > runtime version: > > $ gpg --version > gpg (GnuPG) 2.5.5-unknown > > This is because the configure will be re-generated by autoreconf in > Yocto. The autogen.sh will add "-unknown" suffix to PACKAGE_VERSION. > Now I have a simple patch to remove this suffix in autogen.sh. > I wonder if there is a more appropriate way to resolve this? Thanks. Some Linux distributions have similar patches to remove this suffix because for some reason or other they also regenerate the configure script. Since the Linux distributions also apply other patches it's actually not nice that they remove the suffix because they clearly don't ship the version that their packages announce. If they don't like the "-unknown" suffix then they should append a suffix like "-DISTRONAME" so that everybody knows that they don't use the released version as-is. If you use the released version without any other patches then using a patch that just removes the "-suffix" is okay. Regards, Ingo _______________________________________________ Gnupg-devel mailing list [email protected] https://lists.gnupg.org/mailman/listinfo/gnupg-devel
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQTbjgIOMowwlCBgvyGxb1mVFkdKugUCaCtJCwAKCRCxb1mVFkdK uq35AQD+BSZPJ12a2LTKh5H2+v/ucAgwN/Lt40BIfqTOPDhIXAEAoeDgueDCFBu9 1ItXKhl+x0Vo7zz1Nj2sXEW74W1zsg8= =hJ80 -----END PGP SIGNATURE-----