[krbdev.mit.edu #7351] SVN Commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Tue Sep 4 01:32:01 EDT 2012


Avoid libdl dependencies in bundled libverto

The upstream libverto depends on dynamic loading and in particular on
dladdr(), which is not universal.  To avoid this dependency, stub out
support for module loading (by replacing module.c) and instead
integrate the k5ev module directly into the bundled verto library.

This change removes the need to link, include, and invoke libverto
differently depending on whether we're using the bundled library; we
can always just link with -lverto and call verto_default().

https://github.com/krb5/krb5/commit/c91cda209a1e2467bbb5fbb5a3116757d38ef374
Author: Greg Hudson <ghudson at mit.edu>
Commit: c91cda209a1e2467bbb5fbb5a3116757d38ef374
Branch: master
 src/config/pre.in                      |    5 +-
 src/configure.in                       |    7 +-
 src/lib/apputils/deps                  |    2 +-
 src/lib/apputils/net-server.c          |    9 --
 src/util/Makefile.in                   |    2 +-
 src/util/depfix.pl                     |    1 -
 src/util/k5ev/Makefile.in              |   52 ---------
 src/util/k5ev/README                   |   31 ------
 src/util/k5ev/deps                     |    7 --
 src/util/k5ev/libverto-k5ev.exports    |    3 -
 src/util/k5ev/verto-k5ev.h             |   33 ------
 src/util/verto/Makefile.in             |   22 +++--
 src/util/verto/README                  |   40 +++++++-
 src/util/{k5ev => verto}/Symbols.ev    |    0
 src/util/verto/deps                    |    4 +
 src/util/{k5ev => verto}/ev.c          |    0
 src/util/{k5ev => verto}/ev.h          |    0
 src/util/{k5ev => verto}/ev_poll.c     |    0
 src/util/{k5ev => verto}/ev_select.c   |    0
 src/util/{k5ev => verto}/ev_vars.h     |    0
 src/util/{k5ev => verto}/ev_win32.c    |    0
 src/util/{k5ev => verto}/ev_wrap.h     |    0
 src/util/verto/module.c                |  179 +-------------------------------
 src/util/{k5ev => verto}/verto-k5ev.c  |   11 +--
 src/util/{k5ev => verto}/verto-libev.c |    0
 25 files changed, 68 insertions(+), 340 deletions(-)



More information about the krb5-bugs mailing list