]> git.ipfire.org Git - thirdparty/kea.git/commit
[5211] libkea-process is no longer dependent on cryptolink
authorThomas Markwalder <tmark@isc.org>
Fri, 7 Apr 2017 13:48:36 +0000 (09:48 -0400)
committerThomas Markwalder <tmark@isc.org>
Fri, 7 Apr 2017 13:48:36 +0000 (09:48 -0400)
commit650110ab1866419e363157eb87a4062032b924b1
treebf3c59dc502c725dd5a6f60dec8d62e74f96bc10
parent939fdcedddecb652f9e5afe7e0d8ffcc1d8765ac
[5211] libkea-process is no longer dependent on cryptolink

DControllerBase was modified to support a means for derivations to
contribute additional information to extended version info returned
by DControllerBase::getVersion(true).  This removes the need to link
process lib with libraries it does not need.

src/bin/d2/d2_controller.h
src/bin/d2/d2_controller.cc
    D2Controller::getVersionAddendum() - new method which reports
    D2 dependencies (currently only cryptolink)

src/lib/process/Makefile.am
    Removed temporary link to cryptolink

src/lib/process/d_controller.h
src/lib/process/d_controller.cc
    DControllerBase::getVersionAddendum() - new virtual method so
    derivations can contribute to extended version information

    DControllerBase::getVersion(bool extended) - modified to call
    getVersionAddendum(), removed explict calls for crypto and
    RDBMs versions

Added unit test support
src/bin/d2/d2_controller.cc
src/bin/d2/d2_controller.h
src/lib/process/Makefile.am
src/lib/process/d_controller.cc
src/lib/process/d_controller.h
src/lib/process/tests/d_controller_unittests.cc
src/lib/process/testutils/d_test_stubs.h