[ovs-git] [openvswitch/ovs] f24753: libX: add new release / version info tags
GitHub
noreply at github.com
Wed Jan 18 22:20:10 UTC 2017
Branch: refs/heads/branch-2.7
Home: https://github.com/openvswitch/ovs
Commit: f247538caea38a79b4454e9d7dc5d7d356920287
https://github.com/openvswitch/ovs/commit/f247538caea38a79b4454e9d7dc5d7d356920287
Author: Aaron Conole <aconole at redhat.com>
Date: 2017-01-18 (Wed, 18 Jan 2017)
Changed paths:
M Documentation/automake.mk
M Documentation/internals/contributing/coding-style.rst
M Documentation/internals/contributing/index.rst
A Documentation/internals/contributing/libopenvswitch-abi.rst
M configure.ac
M lib/automake.mk
M m4/openvswitch.m4
M ofproto/automake.mk
M ovn/lib/automake.mk
M ovsdb/automake.mk
M vtep/automake.mk
Log Message:
-----------
libX: add new release / version info tags
This commit uses the $PACKAGE_VERSION automake variable to construct a
release and version info combination which sets the library name to be:
libfoo-$(OVS_MAJOR_VERSION).so.$(OVS_MINOR_VERSION).0.$(OVS_MICRO_VERSION)
where formerly, it was always:
libfoo.so.1.0.0
This allows releases of Open vSwitch libraries to reflect which specific
versions they came with, and sets up a psuedo ABI-versioning scheme. In
this fashion, future releases of Open vSwitch could be installed
alongside older releases, allowing 3rd party utilities linked against
previous versions to continue to function.
ex:
$ ldd /path/to/utility
linux-vdso.so.1 (0x00007ffe92cf6000)
libopenvswitch-2.so.6 => /lib64/libopenvswitch-2.so.6 (0x00007f733b7a3000)
libssl.so.10 => /lib64/libssl.so.10 (0x00007f733b530000)
...
Note the library name and version information.
Signed-off-by: Aaron Conole <aconole at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git
mailing list