From: Phil Pennock Date: Fri, 21 Jan 2011 08:25:51 +0000 (-0500) Subject: Version reporting & module ABI change. X-Git-Tag: exim-4_74_RC1~6 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/6545de78cb822ab5db97a2f16fe7a42cc9488bd8?hp=6545de78cb822ab5db97a2f16fe7a42cc9488bd8 Version reporting & module ABI change. Debug version display reports library info. Bumps lookup API magic constant, adds new field to module API. When invoking { exim -d -bV } we can display more version information. Show versions for many external libraries, including both compile-time and run-time information if we can. Optional for modules, may be NULL. Implemented for MySQL, SQLite & Whoson lookups. For all lookups, if dynamically loaded, report the Exim version number from the build. (Packagers will bundle stuff, but dynamic modules are no longer just available for packagers, so we need to deal with less managed environments and people forgetting to install new modules). Suggest in EDITME that users of modules not using package management consider embedding a version number in the path to the modules. Should consider removing the TLS (OpenSSL/GnuTLS) reporting from the default -bV display and moving it into the debug display. Not done. Created version.h, now support a version extension string for distributors who patch heavily. Henceforth release engineer should change the version in version.h not version.c. ---