Hi Sergei, > The problem is discovered: installed server does not have "About" > knob or something which says which version is was derived from. > So I need to investigate which SNV rev number was that. > > If adding such "about" feature, do you think it should report > versions of all 6 packets used?
Determining the installed software version at runtime can be done with something similar to perl -e 'use OpenXPKI::VERSION; print $OpenXPKI::VERSION::VERSION' but this only works if OpenXPKI was built properly. I found that sometimes (depending on build process and packaging) this information may not be accurate. We could add an API function to get this version number, of course. Reporting the package version is a different thing, it's highly dependent on the target system distribution, and I don't think we can find a canonical way to determine package versions regardless of system type. It will not work on systems where OpenXPKI was not installed via a package manager, as well. cheers Martin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ OpenXPKI-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openxpki-devel
