diff options
-rw-r--r-- | recipes-extended/libvirt/libvirt-python.inc | 4 | ||||
-rw-r--r-- | recipes-extended/libvirt/libvirt/tools-add-libvirt-net-rpc-to-virt-host-validate-when.patch | 43 | ||||
-rw-r--r-- | recipes-extended/libvirt/libvirt_5.5.0.bb (renamed from recipes-extended/libvirt/libvirt_5.3.0.bb) | 4 |
3 files changed, 24 insertions, 27 deletions
diff --git a/recipes-extended/libvirt/libvirt-python.inc b/recipes-extended/libvirt/libvirt-python.inc index 95543282..796d6dd8 100644 --- a/recipes-extended/libvirt/libvirt-python.inc +++ b/recipes-extended/libvirt/libvirt-python.inc | |||
@@ -18,8 +18,8 @@ FILES_${PN}-python = "${bindir}/* ${libdir}/* ${libdir}/${PYTHON_DIR}/*" | |||
18 | SRC_URI += "http://libvirt.org/sources/python/libvirt-python-${PV}.tar.gz;name=libvirt_python" | 18 | SRC_URI += "http://libvirt.org/sources/python/libvirt-python-${PV}.tar.gz;name=libvirt_python" |
19 | SRC_URI += "file://libvirt_api_xml_path.patch;patchdir=../libvirt-python-${PV}" | 19 | SRC_URI += "file://libvirt_api_xml_path.patch;patchdir=../libvirt-python-${PV}" |
20 | 20 | ||
21 | SRC_URI[libvirt_python.md5sum] = "b7e086e080e5681bece9e87db5a88afa" | 21 | SRC_URI[libvirt_python.md5sum] = "4c8c38c409f967b8b47e0d7c6df050a4" |
22 | SRC_URI[libvirt_python.sha256sum] = "5213f995cb55a2f770aa36704b60313958c7ff1fde8cca39028ea889cc9f30ff" | 22 | SRC_URI[libvirt_python.sha256sum] = "561cafedb83e41880405905f6309f4a86981cfe05edbbc83c839f7c47d8ba603" |
23 | 23 | ||
24 | export LIBVIRT_API_PATH = "${S}/docs/libvirt-api.xml" | 24 | export LIBVIRT_API_PATH = "${S}/docs/libvirt-api.xml" |
25 | export LIBVIRT_CFLAGS = "-I${S}/include" | 25 | export LIBVIRT_CFLAGS = "-I${S}/include" |
diff --git a/recipes-extended/libvirt/libvirt/tools-add-libvirt-net-rpc-to-virt-host-validate-when.patch b/recipes-extended/libvirt/libvirt/tools-add-libvirt-net-rpc-to-virt-host-validate-when.patch index d49776c1..53e93258 100644 --- a/recipes-extended/libvirt/libvirt/tools-add-libvirt-net-rpc-to-virt-host-validate-when.patch +++ b/recipes-extended/libvirt/libvirt/tools-add-libvirt-net-rpc-to-virt-host-validate-when.patch | |||
@@ -20,24 +20,24 @@ Signed-off-by: Dengke Du <dengke.du@windriver.com> | |||
20 | tools/Makefile.am | 12 ++++++++++++ | 20 | tools/Makefile.am | 12 ++++++++++++ |
21 | 2 files changed, 31 insertions(+) | 21 | 2 files changed, 31 insertions(+) |
22 | 22 | ||
23 | diff --git a/examples/Makefile.am b/examples/Makefile.am | 23 | Index: libvirt-5.5.0/examples/Makefile.am |
24 | index ee7d3e6..7a5fd73 100644 | 24 | =================================================================== |
25 | --- a/examples/Makefile.am | 25 | --- libvirt-5.5.0.orig/examples/Makefile.am |
26 | +++ b/examples/Makefile.am | 26 | +++ libvirt-5.5.0/examples/Makefile.am |
27 | @@ -34,6 +34,10 @@ LDADD = $(STATIC_BINARIES) $(WARN_CFLAGS) \ | 27 | @@ -77,6 +77,10 @@ |
28 | $(top_builddir)/src/libvirt.la \ | 28 | $(top_builddir)/src/libvirt-admin.la \ |
29 | $(top_builddir)/src/libvirt-admin.la | 29 | $(NULL) |
30 | 30 | ||
31 | +if WITH_GNUTLS | 31 | +if WITH_GNUTLS |
32 | +LDADD += $(top_builddir)/src/libvirt-net-rpc.la | 32 | +LDADD += $(top_builddir)/src/libvirt-net-rpc.la |
33 | +endif | 33 | +endif |
34 | + | 34 | + |
35 | noinst_PROGRAMS=dominfo/info1 dommigrate/dommigrate domsuspend/suspend \ | 35 | noinst_PROGRAMS = \ |
36 | domtop/domtop hellolibvirt/hellolibvirt object-events/event-test \ | 36 | c/admin/client_close \ |
37 | openauth/openauth rename/rename admin/list_servers admin/list_clients \ | 37 | c/admin/client_info \ |
38 | @@ -65,6 +69,21 @@ admin_logging_SOURCES = admin/logging.c | 38 | @@ -111,6 +115,21 @@ |
39 | INSTALL_DATA_LOCAL = | 39 | c_misc_hellolibvirt_SOURCES = c/misc/hellolibvirt.c |
40 | UNINSTALL_LOCAL = | 40 | c_misc_openauth_SOURCES = c/misc/openauth.c |
41 | 41 | ||
42 | +if WITH_GNUTLS | 42 | +if WITH_GNUTLS |
43 | +dominfo_info1_LDADD = $(top_builddir)/src/libvirt-net-rpc.la \ | 43 | +dominfo_info1_LDADD = $(top_builddir)/src/libvirt-net-rpc.la \ |
@@ -55,13 +55,13 @@ index ee7d3e6..7a5fd73 100644 | |||
55 | +endif | 55 | +endif |
56 | + | 56 | + |
57 | if WITH_NWFILTER | 57 | if WITH_NWFILTER |
58 | NWFILTER_DIR = "$(DESTDIR)$(sysconfdir)/libvirt/nwfilter" | ||
59 | 58 | ||
60 | diff --git a/tools/Makefile.am b/tools/Makefile.am | 59 | nwfilterdir = $(sysconfdir)/libvirt/nwfilter |
61 | index c6064de..1ac8445 100644 | 60 | Index: libvirt-5.5.0/tools/Makefile.am |
62 | --- a/tools/Makefile.am | 61 | =================================================================== |
63 | +++ b/tools/Makefile.am | 62 | --- libvirt-5.5.0.orig/tools/Makefile.am |
64 | @@ -188,6 +188,12 @@ virt_host_validate_LDADD = \ | 63 | +++ libvirt-5.5.0/tools/Makefile.am |
64 | @@ -188,6 +188,12 @@ | ||
65 | ../gnulib/lib/libgnu.la \ | 65 | ../gnulib/lib/libgnu.la \ |
66 | $(NULL) | 66 | $(NULL) |
67 | 67 | ||
@@ -74,7 +74,7 @@ index c6064de..1ac8445 100644 | |||
74 | virt_host_validate_CFLAGS = \ | 74 | virt_host_validate_CFLAGS = \ |
75 | $(AM_CFLAGS) \ | 75 | $(AM_CFLAGS) \ |
76 | $(NULL) | 76 | $(NULL) |
77 | @@ -265,6 +271,12 @@ virt_admin_CFLAGS = \ | 77 | @@ -265,6 +271,12 @@ |
78 | $(READLINE_CFLAGS) | 78 | $(READLINE_CFLAGS) |
79 | BUILT_SOURCES = | 79 | BUILT_SOURCES = |
80 | 80 | ||
@@ -87,6 +87,3 @@ index c6064de..1ac8445 100644 | |||
87 | if WITH_WIN_ICON | 87 | if WITH_WIN_ICON |
88 | virsh_LDADD += virsh_win_icon.$(OBJEXT) | 88 | virsh_LDADD += virsh_win_icon.$(OBJEXT) |
89 | 89 | ||
90 | -- | ||
91 | 2.7.4 | ||
92 | |||
diff --git a/recipes-extended/libvirt/libvirt_5.3.0.bb b/recipes-extended/libvirt/libvirt_5.5.0.bb index c54a99e2..222654a3 100644 --- a/recipes-extended/libvirt/libvirt_5.3.0.bb +++ b/recipes-extended/libvirt/libvirt_5.5.0.bb | |||
@@ -38,8 +38,8 @@ SRC_URI = "http://libvirt.org/sources/libvirt-${PV}.tar.xz;name=libvirt \ | |||
38 | file://hook_support.py \ | 38 | file://hook_support.py \ |
39 | " | 39 | " |
40 | 40 | ||
41 | SRC_URI[libvirt.md5sum] = "1cfaaf3717783ba19850b5ac04f7e76a" | 41 | SRC_URI[libvirt.md5sum] = "27c5fb6c8d2d46eb9e8165aeb3b499b0" |
42 | SRC_URI[libvirt.sha256sum] = "8564bdd506817b3957fa67e4f06b217922d30f19e416c4dc620995fd155dc101" | 42 | SRC_URI[libvirt.sha256sum] = "2306ef0947a594f91ec9da4b8b0307bdb54b897f17de19f48e8ecdca08ff35e8" |
43 | 43 | ||
44 | inherit autotools gettext update-rc.d pkgconfig ptest systemd useradd | 44 | inherit autotools gettext update-rc.d pkgconfig ptest systemd useradd |
45 | USERADD_PACKAGES = "${PN}" | 45 | USERADD_PACKAGES = "${PN}" |