v5 of:
https://www.redhat.com/archives/libvir-list/2016-February/msg00693.html
diff to v4:
- Dropped the virjson const correctness patch
- Worked in Martin's review (small nits here and there)
- Dropped libxml2 dependency
Patches 1, 4, and 5 have been ACKed already, but I'm sending them for completeness.
Michal Privoznik (9):
Export virLease* functions for leases file handling
virLeaseReadCustomLeaseFile: Allow server_duid to be NULL
virsocketaddr: Introduce virSocketAddrSetIPv6Addr
Initial support for NSS plugin skeleton
libvirt.spec.in: Introduce libvirt-nss package
nss: Implement _nss_libvirt_gethostbyname3_r
Implement _nss_libvirt_gethostbyname4_r
nss: Introduce a test
tests: Introduce nsslinktest
cfg.mk | 2 +-
config-post.h | 24 +++
configure.ac | 2 +
libvirt.spec.in | 21 ++
m4/virt-nss.m4 | 51 +++++
po/POTFILES.in | 1 +
src/Makefile.am | 58 ++++++
src/libvirt_private.syms | 7 +
src/network/leaseshelper.c | 270 +-------------------------
src/util/virfile.c | 3 +-
src/util/virfile.h | 10 +-
src/util/virlease.c | 305 +++++++++++++++++++++++++++++
src/util/virlease.h | 44 +++++
src/util/virsocketaddr.c | 15 ++
src/util/virsocketaddr.h | 1 +
tests/Makefile.am | 31 ++-
tests/nssdata/virbr0.status | 20 ++
tests/nssdata/virbr1.status | 20 ++
tests/nsslinktest.c | 39 ++++
tests/nssmock.c | 140 ++++++++++++++
tests/nsstest.c | 208 ++++++++++++++++++++
tools/Makefile.am | 43 +++++
tools/nss/libvirt_nss.c | 458 ++++++++++++++++++++++++++++++++++++++++++++
tools/nss/libvirt_nss.h | 52 +++++
tools/nss/libvirt_nss.syms | 12 ++
25 files changed, 1562 insertions(+), 275 deletions(-)
create mode 100644 m4/virt-nss.m4
create mode 100644 src/util/virlease.c
create mode 100644 src/util/virlease.h
create mode 100644 tests/nssdata/virbr0.status
create mode 100644 tests/nssdata/virbr1.status
create mode 100644 tests/nsslinktest.c
create mode 100644 tests/nssmock.c
create mode 100644 tests/nsstest.c
create mode 100644 tools/nss/libvirt_nss.c
create mode 100644 tools/nss/libvirt_nss.h
create mode 100644 tools/nss/libvirt_nss.syms
--
2.4.10