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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Gnupg-devel mailing list [email protected] https://lists.gnupg.org/mailman/listinfo/gnupg-devel
