diff options
author | Yunguo Wei <yunguo.wei@windriver.com> | 2016-03-31 15:55:44 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-03-31 09:15:25 -0400 |
commit | da65e83a39290a8c251a0eae18a2f57d818bd3ba (patch) | |
tree | b10f77b75de72a9e5eab41e35653941cc86337c5 /recipes-extended/libvirt | |
parent | 2bb28a781f7c78317c91ec3f9d1056ce665d1087 (diff) | |
download | meta-virtualization-da65e83a39290a8c251a0eae18a2f57d818bd3ba.tar.gz |
libvirt: uprev to 1.3.2
Release notes here http://libvirt.org/news.html.
Signed-off-by: Yunguo Wei <yunguo.wei@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-extended/libvirt')
-rw-r--r-- | recipes-extended/libvirt/libvirt-1.3.2/0001-to-fix-build-error.patch (renamed from recipes-extended/libvirt/libvirt-1.2.19/0001-to-fix-build-error.patch) | 24 | ||||
-rw-r--r-- | recipes-extended/libvirt/libvirt-python.inc | 4 | ||||
-rw-r--r-- | recipes-extended/libvirt/libvirt/Revert-build-add-prefix-to-SYSTEMD_UNIT_DIR.patch | 52 | ||||
-rw-r--r-- | recipes-extended/libvirt/libvirt/libvirt_api_xml_path.patch | 14 | ||||
-rw-r--r-- | recipes-extended/libvirt/libvirt/runptest.patch | 2 | ||||
-rw-r--r-- | recipes-extended/libvirt/libvirt/tools-add-libvirt-net-rpc-to-virt-host-validate-when.patch | 107 | ||||
-rw-r--r-- | recipes-extended/libvirt/libvirt_1.3.2.bb (renamed from recipes-extended/libvirt/libvirt_1.2.19.bb) | 6 |
7 files changed, 85 insertions, 124 deletions
diff --git a/recipes-extended/libvirt/libvirt-1.2.19/0001-to-fix-build-error.patch b/recipes-extended/libvirt/libvirt-1.3.2/0001-to-fix-build-error.patch index 61a54e18..089ee330 100644 --- a/recipes-extended/libvirt/libvirt-1.2.19/0001-to-fix-build-error.patch +++ b/recipes-extended/libvirt/libvirt-1.3.2/0001-to-fix-build-error.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 62514c8c2925e48a4f20ce3d7d48387851cb76a5 Mon Sep 17 00:00:00 2001 | 1 | From 8353dc1e642011199c3b3ba057d51d8768e4cd54 Mon Sep 17 00:00:00 2001 |
2 | From: Lei Maohui <leimaohui@cn.fujitsu.com> | 2 | From: Lei Maohui <leimaohui@cn.fujitsu.com> |
3 | Date: Fri, 31 Jul 2015 03:17:07 +0900 | 3 | Date: Fri, 31 Jul 2015 03:17:07 +0900 |
4 | Subject: [PATCH] to fix build error | 4 | Subject: [PATCH] to fix build error |
@@ -13,32 +13,34 @@ The error likes as following | |||
13 | | make[3]: *** Waiting for unfinished jobs.... | 13 | | make[3]: *** Waiting for unfinished jobs.... |
14 | 14 | ||
15 | Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> | 15 | Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> |
16 | [ywei: rebased to libvirt-1.3.2] | ||
17 | Signed-off-by: Yunguo Wei <yunguo.wei@windriver.com> | ||
16 | --- | 18 | --- |
17 | docs/Makefile.am | 4 ++-- | 19 | docs/Makefile.am | 4 ++-- |
18 | 1 file changed, 2 insertions(+), 2 deletions(-) | 20 | 1 file changed, 2 insertions(+), 2 deletions(-) |
19 | 21 | ||
20 | diff --git a/docs/Makefile.am b/docs/Makefile.am | 22 | diff --git a/docs/Makefile.am b/docs/Makefile.am |
21 | index daf37b6..125c5fd 100644 | 23 | index 1b4353b..c199551 100644 |
22 | --- a/docs/Makefile.am | 24 | --- a/docs/Makefile.am |
23 | +++ b/docs/Makefile.am | 25 | +++ b/docs/Makefile.am |
24 | @@ -162,7 +162,7 @@ EXTRA_DIST= \ | 26 | @@ -164,7 +164,7 @@ EXTRA_DIST= \ |
25 | sitemap.html.in aclperms.htmlinc \ | 27 | todo.pl hvsupport.pl todo.cfg-example \ |
26 | todo.pl hvsupport.pl todo.cfg-example | 28 | $(schema_DATA) |
27 | 29 | ||
28 | -acl_generated = aclperms.htmlinc | 30 | -acl_generated = aclperms.htmlinc |
29 | +acl.html:: $(srcdir)/aclperms.htmlinc | 31 | +acl.html:: $(srcdir)/aclperms.htmlinc |
30 | 32 | ||
31 | $(srcdir)/aclperms.htmlinc: $(top_srcdir)/src/access/viraccessperm.h \ | 33 | $(srcdir)/aclperms.htmlinc: $(top_srcdir)/src/access/viraccessperm.h \ |
32 | $(srcdir)/genaclperms.pl Makefile.am | 34 | $(srcdir)/genaclperms.pl Makefile.am |
33 | @@ -227,7 +227,7 @@ internals/%.html.tmp: internals/%.html.in subsite.xsl page.xsl sitemap.html.in | 35 | @@ -221,7 +221,7 @@ $(srcdir)/hvsupport.html.in: $(srcdir)/hvsupport.pl $(api_DATA) \ |
34 | $(top_srcdir)/docs/subsite.xsl $< > $@ \ | 36 | convert -rotate 90 $< $@ |
35 | || { rm $@ && exit 1; }; fi | ||
36 | 37 | ||
37 | -%.html.tmp: %.html.in site.xsl page.xsl sitemap.html.in $(acl_generated) | 38 | %.html.tmp: %.html.in site.xsl subsite.xsl page.xsl \ |
38 | +%.html.tmp: %.html.in site.xsl page.xsl sitemap.html.in | 39 | - sitemap.html.in $(acl_generated) |
40 | + sitemap.html.in | ||
39 | @if [ -x $(XSLTPROC) ] ; then \ | 41 | @if [ -x $(XSLTPROC) ] ; then \ |
40 | echo "Generating $@"; \ | 42 | echo "Generating $@"; \ |
41 | name=`echo $@ | sed -e 's/.tmp//'`; \ | 43 | name=`echo $@ | sed -e 's/.tmp//'`; \ |
42 | -- | 44 | -- |
43 | 1.8.4.2 | 45 | 1.9.1 |
44 | 46 | ||
diff --git a/recipes-extended/libvirt/libvirt-python.inc b/recipes-extended/libvirt/libvirt-python.inc index 015b4b6f..c1dafe9d 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] = "429e328028fc59b62404a4163004f2ae" | 21 | SRC_URI[libvirt_python.md5sum] = "ed018c714d7ddbe93221c796dff283ed" |
22 | SRC_URI[libvirt_python.sha256sum] = "88ab63b0c53e435bd2c6e8551805fe273353708efd4dfab908257dc5f37bec49" | 22 | SRC_URI[libvirt_python.sha256sum] = "6d35ae9e7801573393b9c92471f39e6700d479f10b641df81d041b469f160bf8" |
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/Revert-build-add-prefix-to-SYSTEMD_UNIT_DIR.patch b/recipes-extended/libvirt/libvirt/Revert-build-add-prefix-to-SYSTEMD_UNIT_DIR.patch index c2606bd1..16c3a16b 100644 --- a/recipes-extended/libvirt/libvirt/Revert-build-add-prefix-to-SYSTEMD_UNIT_DIR.patch +++ b/recipes-extended/libvirt/libvirt/Revert-build-add-prefix-to-SYSTEMD_UNIT_DIR.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 171fc890bb5972e566bd7b3d87a40ac434a5b3e6 Mon Sep 17 00:00:00 2001 | 1 | From dd915e7f70e676aea93f750c75d16ce646e71e4b Mon Sep 17 00:00:00 2001 |
2 | From: Mark Asselstine <mark.asselstine@windriver.com> | 2 | From: Mark Asselstine <mark.asselstine@windriver.com> |
3 | Date: Wed, 9 Sep 2015 11:52:44 -0400 | 3 | Date: Wed, 9 Sep 2015 11:52:44 -0400 |
4 | Subject: [PATCH] Revert "build: add $(prefix) to SYSTEMD_UNIT_DIR" | 4 | Subject: [PATCH] Revert "build: add $(prefix) to SYSTEMD_UNIT_DIR" |
@@ -12,25 +12,19 @@ SYSTEMD_UNIT_DIR which is not flexible we have to resort to reverting | |||
12 | this upstream commit to avoid having ${prefix} added to the path. | 12 | this upstream commit to avoid having ${prefix} added to the path. |
13 | 13 | ||
14 | Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> | 14 | Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> |
15 | [ywei: rebased to libvirt-1.3.2] | ||
16 | Signed-off-by: Yunguo Wei <yunguo.wei@windriver.com> | ||
15 | --- | 17 | --- |
16 | daemon/Makefile.am | 4 ++-- | 18 | daemon/Makefile.am | 2 +- |
17 | src/Makefile.am | 4 ++-- | 19 | src/Makefile.am | 2 +- |
18 | tools/Makefile.am | 4 ++-- | 20 | tools/Makefile.am | 2 +- |
19 | 3 files changed, 6 insertions(+), 6 deletions(-) | 21 | 3 files changed, 3 insertions(+), 3 deletions(-) |
20 | 22 | ||
21 | diff --git a/daemon/Makefile.am b/daemon/Makefile.am | 23 | diff --git a/daemon/Makefile.am b/daemon/Makefile.am |
22 | index 00221ab..e5c5db8 100644 | 24 | index 2dbe81b..41ea2db 100644 |
23 | --- a/daemon/Makefile.am | 25 | --- a/daemon/Makefile.am |
24 | +++ b/daemon/Makefile.am | 26 | +++ b/daemon/Makefile.am |
25 | @@ -1,6 +1,6 @@ | 27 | @@ -445,7 +445,7 @@ endif ! LIBVIRT_INIT_SCRIPT_UPSTART |
26 | ## Process this file with automake to produce Makefile.in | ||
27 | |||
28 | -## Copyright (C) 2005-2015 Red Hat, Inc. | ||
29 | +## Copyright (C) 2005-2015 Red Hat, Inc. | ||
30 | ## | ||
31 | ## This library is free software; you can redistribute it and/or | ||
32 | ## modify it under the terms of the GNU Lesser General Public | ||
33 | @@ -387,7 +387,7 @@ endif ! LIBVIRT_INIT_SCRIPT_UPSTART | ||
34 | 28 | ||
35 | if LIBVIRT_INIT_SCRIPT_SYSTEMD | 29 | if LIBVIRT_INIT_SCRIPT_SYSTEMD |
36 | 30 | ||
@@ -38,39 +32,25 @@ index 00221ab..e5c5db8 100644 | |||
38 | +SYSTEMD_UNIT_DIR = /lib/systemd/system | 32 | +SYSTEMD_UNIT_DIR = /lib/systemd/system |
39 | BUILT_SOURCES += libvirtd.service libvirtd.socket | 33 | BUILT_SOURCES += libvirtd.service libvirtd.socket |
40 | 34 | ||
41 | install-init-systemd: install-sysconfig libvirtd.service | 35 | install-init-systemd: install-sysconfig libvirtd.service libvirtd.socket |
42 | diff --git a/src/Makefile.am b/src/Makefile.am | 36 | diff --git a/src/Makefile.am b/src/Makefile.am |
43 | index 8f77658..57e163f 100644 | 37 | index a316b4d..d271291 100644 |
44 | --- a/src/Makefile.am | 38 | --- a/src/Makefile.am |
45 | +++ b/src/Makefile.am | 39 | +++ b/src/Makefile.am |
46 | @@ -1,6 +1,6 @@ | 40 | @@ -2594,7 +2594,7 @@ EXTRA_DIST += \ |
47 | ## Process this file with automake to produce Makefile.in | ||
48 | |||
49 | -## Copyright (C) 2005-2015 Red Hat, Inc. | ||
50 | +## Copyright (C) 2005-2015 Red Hat, Inc. | ||
51 | ## | ||
52 | ## This library is free software; you can redistribute it and/or | ||
53 | ## modify it under the terms of the GNU Lesser General Public | ||
54 | @@ -2220,7 +2220,7 @@ EXTRA_DIST += \ | ||
55 | if WITH_LIBVIRTD | 41 | if WITH_LIBVIRTD |
56 | if LIBVIRT_INIT_SCRIPT_SYSTEMD | 42 | if LIBVIRT_INIT_SCRIPT_SYSTEMD |
57 | 43 | ||
58 | -SYSTEMD_UNIT_DIR = $(prefix)/lib/systemd/system | 44 | -SYSTEMD_UNIT_DIR = $(prefix)/lib/systemd/system |
59 | +SYSTEMD_UNIT_DIR = /lib/systemd/system | 45 | +SYSTEMD_UNIT_DIR = /lib/systemd/system |
60 | 46 | ||
61 | BUILT_SOURCES += virtlockd.service virtlockd.socket | 47 | BUILT_SOURCES += virtlockd.service virtlockd.socket \ |
62 | DISTCLEANFILES += virtlockd.service virtlockd.socket | 48 | virtlogd.service virtlogd.socket |
63 | diff --git a/tools/Makefile.am b/tools/Makefile.am | 49 | diff --git a/tools/Makefile.am b/tools/Makefile.am |
64 | index 6847f13..256a8f3 100644 | 50 | index b3227a7..0e58f73 100644 |
65 | --- a/tools/Makefile.am | 51 | --- a/tools/Makefile.am |
66 | +++ b/tools/Makefile.am | 52 | +++ b/tools/Makefile.am |
67 | @@ -1,4 +1,4 @@ | 53 | @@ -356,7 +356,7 @@ libvirt-guests.init: libvirt-guests.init.in libvirt-guests.sh |
68 | -## Copyright (C) 2005-2014 Red Hat, Inc. | ||
69 | +## Copyright (C) 2005-2013 Red Hat, Inc. | ||
70 | ## | ||
71 | ## This library is free software; you can redistribute it and/or | ||
72 | ## modify it under the terms of the GNU Lesser General Public | ||
73 | @@ -306,7 +306,7 @@ libvirt-guests.init: libvirt-guests.init.in libvirt-guests.sh | ||
74 | 54 | ||
75 | 55 | ||
76 | EXTRA_DIST += libvirt-guests.service.in | 56 | EXTRA_DIST += libvirt-guests.service.in |
diff --git a/recipes-extended/libvirt/libvirt/libvirt_api_xml_path.patch b/recipes-extended/libvirt/libvirt/libvirt_api_xml_path.patch index 16321db5..3c2622c7 100644 --- a/recipes-extended/libvirt/libvirt/libvirt_api_xml_path.patch +++ b/recipes-extended/libvirt/libvirt/libvirt_api_xml_path.patch | |||
@@ -10,6 +10,8 @@ one installed in the system. This may be used for example in autotest | |||
10 | or by packagers without the need to install libvirt into the system. | 10 | or by packagers without the need to install libvirt into the system. |
11 | 11 | ||
12 | Signed-off-by: Martin Kletzander <mkletzan redhat com> | 12 | Signed-off-by: Martin Kletzander <mkletzan redhat com> |
13 | [ywei: rebased to 1.3.2] | ||
14 | Signed-off-by: Yunguo Wei <yunguo.wei@windriver.com> | ||
13 | --- | 15 | --- |
14 | setup.py | 25 ++++++++++++++++++++++--- | 16 | setup.py | 25 ++++++++++++++++++++++--- |
15 | 1 file changed, 22 insertions(+), 3 deletions(-) | 17 | 1 file changed, 22 insertions(+), 3 deletions(-) |
@@ -56,19 +58,19 @@ Index: libvirt-python-1.2.4/setup.py | |||
56 | 58 | ||
57 | c_modules = [] | 59 | c_modules = [] |
58 | py_modules = [] | 60 | py_modules = [] |
59 | - ldflags = get_pkgconfig_data(["--libs-only-L"], "libvirt", False) | 61 | - ldflags = get_pkgconfig_data(["--libs-only-L"], "libvirt", False).split() |
60 | - cflags = get_pkgconfig_data(["--cflags"], "libvirt", False) | 62 | - cflags = get_pkgconfig_data(["--cflags"], "libvirt", False).split() |
61 | + libvirt_cflags = os.getenv("LIBVIRT_CFLAGS") | 63 | + libvirt_cflags = os.getenv("LIBVIRT_CFLAGS") |
62 | + if libvirt_cflags: | 64 | + if libvirt_cflags: |
63 | + cflags = libvirt_cflags | 65 | + cflags = libvirt_cflags.split() |
64 | + else: | 66 | + else: |
65 | + cflags = get_pkgconfig_data(["--cflags"], "libvirt", False) | 67 | + cflags = get_pkgconfig_data(["--cflags"], "libvirt", False).split() |
66 | + | 68 | + |
67 | + libvirt_libs = os.getenv("LIBVIRT_LIBS") | 69 | + libvirt_libs = os.getenv("LIBVIRT_LIBS") |
68 | + if libvirt_libs: | 70 | + if libvirt_libs: |
69 | + ldflags = libvirt_libs | 71 | + ldflags = libvirt_libs.split() |
70 | + else: | 72 | + else: |
71 | + ldflags = get_pkgconfig_data(["--libs-only-L"], "libvirt", False) | 73 | + ldflags = get_pkgconfig_data(["--libs-only-L"], "libvirt", False).split() |
72 | 74 | ||
73 | module = Extension('libvirtmod', | 75 | module = Extension('libvirtmod', |
74 | sources = ['libvirt-override.c', 'build/libvirt.c', 'typewrappers.c', 'libvirt-utils.c'], | 76 | sources = ['libvirt-override.c', 'build/libvirt.c', 'typewrappers.c', 'libvirt-utils.c'], |
diff --git a/recipes-extended/libvirt/libvirt/runptest.patch b/recipes-extended/libvirt/libvirt/runptest.patch index 873a959d..a33f5695 100644 --- a/recipes-extended/libvirt/libvirt/runptest.patch +++ b/recipes-extended/libvirt/libvirt/runptest.patch | |||
@@ -20,8 +20,8 @@ Index: libvirt-1.2.4/tests/Makefile.am | |||
20 | + -Dabs_builddir="\"$(PTEST_DIR)/tests\"" \ | 20 | + -Dabs_builddir="\"$(PTEST_DIR)/tests\"" \ |
21 | + -Dabs_srcdir="\"$(PTEST_DIR)/tests\"" \ | 21 | + -Dabs_srcdir="\"$(PTEST_DIR)/tests\"" \ |
22 | $(LIBXML_CFLAGS) \ | 22 | $(LIBXML_CFLAGS) \ |
23 | $(LIBNL_CFLAGS) \ | ||
23 | $(GNUTLS_CFLAGS) \ | 24 | $(GNUTLS_CFLAGS) \ |
24 | $(SASL_CFLAGS) \ | ||
25 | @@ -48,7 +50,7 @@ | 25 | @@ -48,7 +50,7 @@ |
26 | 26 | ||
27 | if WITH_DRIVER_MODULES | 27 | if WITH_DRIVER_MODULES |
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 91410449..a7fc727b 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 | |||
@@ -1,4 +1,4 @@ | |||
1 | From dade75d1ce25df6ab61867250d7adb65b4912090 Mon Sep 17 00:00:00 2001 | 1 | From a790bfe8fa7b24b68cb6f9a1b7205fda2c6d558e Mon Sep 17 00:00:00 2001 |
2 | From: Bruce Ashfield <bruce.ashfield@windriver.com> | 2 | From: Bruce Ashfield <bruce.ashfield@windriver.com> |
3 | Date: Fri, 2 Aug 2013 11:38:43 -0400 | 3 | Date: Fri, 2 Aug 2013 11:38:43 -0400 |
4 | Subject: [PATCH] tools: add libvirt-net-rpc to virt-host-validate when TLS is | 4 | Subject: [PATCH] tools: add libvirt-net-rpc to virt-host-validate when TLS is |
@@ -9,78 +9,55 @@ generated in libvirt. Any binaries linking against libvirt, must also | |||
9 | link against libvirt-net-rpc which provides the implementation. | 9 | link against libvirt-net-rpc which provides the implementation. |
10 | 10 | ||
11 | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> | 11 | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> |
12 | [ywei: rebased to libvirt-1.3.2] | ||
13 | Signed-off-by: Yunguo Wei <yunguo.wei@windriver.com> | ||
12 | --- | 14 | --- |
13 | examples/dominfo/Makefile.am | 7 +++++++ | 15 | examples/Makefile.am | 19 +++++++++++++++++++ |
14 | examples/domsuspend/Makefile.am | 7 +++++++ | 16 | tools/Makefile.am | 13 +++++++++++++ |
15 | examples/hellolibvirt/Makefile.am | 7 +++++++ | 17 | 2 files changed, 32 insertions(+) |
16 | examples/openauth/Makefile.am | 6 ++++++ | ||
17 | tools/Makefile.am | 13 +++++++++++++ | ||
18 | 5 files changed, 40 insertions(+) | ||
19 | 18 | ||
20 | diff --git a/examples/dominfo/Makefile.am b/examples/dominfo/Makefile.am | 19 | diff --git a/examples/Makefile.am b/examples/Makefile.am |
21 | index 4a30c7768df9..99b3e17eb741 100644 | 20 | index 2adcefb..fff49d4 100644 |
22 | --- a/examples/dominfo/Makefile.am | 21 | --- a/examples/Makefile.am |
23 | +++ b/examples/dominfo/Makefile.am | 22 | +++ b/examples/Makefile.am |
24 | @@ -23,3 +23,10 @@ noinst_PROGRAMS=info1 | 23 | @@ -39,6 +39,10 @@ INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir) \ |
25 | info1_SOURCES=info1.c | 24 | LDADD = $(STATIC_BINARIES) $(WARN_CFLAGS) $(COVERAGE_LDFLAGS) \ |
26 | info1_LDFLAGS= | 25 | $(top_builddir)/src/libvirt.la $(top_builddir)/gnulib/lib/libgnu.la |
27 | info1_LDADD= $(LDADDS) | 26 | |
28 | + | ||
29 | +if WITH_GNUTLS | ||
30 | +info1_LDADD += $(top_builddir)/src/libvirt-net-rpc.la \ | ||
31 | + $(top_builddir)/gnulib/lib/libgnu.la \ | ||
32 | + $(NULL) | ||
33 | +endif | ||
34 | + | ||
35 | diff --git a/examples/domsuspend/Makefile.am b/examples/domsuspend/Makefile.am | ||
36 | index b8e65f24a28d..9553e0f1d948 100644 | ||
37 | --- a/examples/domsuspend/Makefile.am | ||
38 | +++ b/examples/domsuspend/Makefile.am | ||
39 | @@ -25,3 +25,10 @@ noinst_PROGRAMS=suspend | ||
40 | suspend_SOURCES=suspend.c | ||
41 | suspend_LDFLAGS= | ||
42 | suspend_LDADD= $(LDADDS) | ||
43 | + | ||
44 | +if WITH_GNUTLS | ||
45 | +suspend_LDADD += $(top_builddir)/src/libvirt-net-rpc.la \ | ||
46 | + $(top_builddir)/gnulib/lib/libgnu.la \ | ||
47 | + $(NULL) | ||
48 | +endif | ||
49 | + | ||
50 | diff --git a/examples/hellolibvirt/Makefile.am b/examples/hellolibvirt/Makefile.am | ||
51 | index 55ea972c42f8..a5272e2bb565 100644 | ||
52 | --- a/examples/hellolibvirt/Makefile.am | ||
53 | +++ b/examples/hellolibvirt/Makefile.am | ||
54 | @@ -19,3 +19,10 @@ noinst_PROGRAMS = hellolibvirt | ||
55 | hellolibvirt_CFLAGS = $(WARN_CFLAGS) | ||
56 | hellolibvirt_SOURCES = hellolibvirt.c | ||
57 | hellolibvirt_LDADD = $(top_builddir)/src/libvirt.la | ||
58 | + | ||
59 | +if WITH_GNUTLS | 27 | +if WITH_GNUTLS |
60 | +hellolibvirt_LDADD += $(top_builddir)/src/libvirt-net-rpc.la \ | 28 | +LDADD += $(top_builddir)/src/libvirt-net-rpc.la |
61 | + $(top_builddir)/gnulib/lib/libgnu.la \ | ||
62 | + $(NULL) | ||
63 | +endif | 29 | +endif |
64 | + | 30 | + |
65 | diff --git a/examples/openauth/Makefile.am b/examples/openauth/Makefile.am | 31 | noinst_PROGRAMS=dominfo/info1 dommigrate/dommigrate domsuspend/suspend \ |
66 | index 7bb860491e73..34e9b47f65cb 100644 | 32 | domtop/domtop hellolibvirt/hellolibvirt object-events/event-test \ |
67 | --- a/examples/openauth/Makefile.am | 33 | openauth/openauth rename/rename |
68 | +++ b/examples/openauth/Makefile.am | 34 | @@ -52,6 +56,21 @@ object_events_event_test_SOURCES = object-events/event-test.c |
69 | @@ -19,3 +19,9 @@ noinst_PROGRAMS = openauth | 35 | openauth_openauth_SOURCES = openauth/openauth.c |
70 | openauth_CFLAGS = $(WARN_CFLAGS) | 36 | rename_rename_SOURCES = rename/rename.c |
71 | openauth_SOURCES = openauth.c | 37 | |
72 | openauth_LDADD = $(top_builddir)/src/libvirt.la | ||
73 | +if WITH_GNUTLS | 38 | +if WITH_GNUTLS |
74 | +openauth_LDADD += $(top_builddir)/src/libvirt-net-rpc.la \ | 39 | +dominfo_info1_LDADD = $(top_builddir)/src/libvirt-net-rpc.la \ |
75 | + $(top_builddir)/gnulib/lib/libgnu.la \ | 40 | + $(LDADD) \ |
76 | + $(NULL) | 41 | + $(NULL) |
42 | +domsuspend_suspend_LDADD = $(top_builddir)/src/libvirt-net-rpc.la \ | ||
43 | + $(LDADD) \ | ||
44 | + $(NULL) | ||
45 | +hellolibvirt_hellolibvirt_LDADD = $(top_builddir)/src/libvirt-net-rpc.la \ | ||
46 | + $(LDADD) \ | ||
47 | + $(NULL) | ||
48 | +openauth_openauth_LDADD = $(top_builddir)/src/libvirt-net-rpc.la \ | ||
49 | + $(LDADD) \ | ||
50 | + $(NULL) | ||
77 | +endif | 51 | +endif |
78 | + | 52 | + |
53 | if WITH_APPARMOR_PROFILES | ||
54 | apparmordir = $(sysconfdir)/apparmor.d/ | ||
55 | apparmor_DATA = \ | ||
79 | diff --git a/tools/Makefile.am b/tools/Makefile.am | 56 | diff --git a/tools/Makefile.am b/tools/Makefile.am |
80 | index 256a8f37a2a9..837a83fb612a 100644 | 57 | index 0be3567..b3227a7 100644 |
81 | --- a/tools/Makefile.am | 58 | --- a/tools/Makefile.am |
82 | +++ b/tools/Makefile.am | 59 | +++ b/tools/Makefile.am |
83 | @@ -147,6 +147,13 @@ virt_host_validate_LDADD = \ | 60 | @@ -169,6 +169,13 @@ virt_host_validate_LDADD = \ |
84 | ../gnulib/lib/libgnu.la \ | 61 | ../gnulib/lib/libgnu.la \ |
85 | $(NULL) | 62 | $(NULL) |
86 | 63 | ||
@@ -92,9 +69,9 @@ index 256a8f37a2a9..837a83fb612a 100644 | |||
92 | + | 69 | + |
93 | + | 70 | + |
94 | virt_host_validate_CFLAGS = \ | 71 | virt_host_validate_CFLAGS = \ |
72 | $(LIBXML_CFLAGS) \ | ||
95 | $(WARN_CFLAGS) \ | 73 | $(WARN_CFLAGS) \ |
96 | $(PIE_CFLAGS) \ | 74 | @@ -256,6 +263,12 @@ virt_admin_CFLAGS = \ |
97 | @@ -214,6 +221,12 @@ virsh_CFLAGS = \ | ||
98 | $(READLINE_CFLAGS) | 75 | $(READLINE_CFLAGS) |
99 | BUILT_SOURCES = | 76 | BUILT_SOURCES = |
100 | 77 | ||
@@ -108,5 +85,5 @@ index 256a8f37a2a9..837a83fb612a 100644 | |||
108 | virsh_LDADD += virsh_win_icon.$(OBJEXT) | 85 | virsh_LDADD += virsh_win_icon.$(OBJEXT) |
109 | 86 | ||
110 | -- | 87 | -- |
111 | 1.8.1.2 | 88 | 1.9.1 |
112 | 89 | ||
diff --git a/recipes-extended/libvirt/libvirt_1.2.19.bb b/recipes-extended/libvirt/libvirt_1.3.2.bb index 4de284c2..42066c1f 100644 --- a/recipes-extended/libvirt/libvirt_1.2.19.bb +++ b/recipes-extended/libvirt/libvirt_1.3.2.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "http://libvirt.org" | |||
3 | LICENSE = "LGPLv2.1+" | 3 | LICENSE = "LGPLv2.1+" |
4 | LICENSE_${PN}-ptest = "GPLv2+ & LGPLv2.1" | 4 | LICENSE_${PN}-ptest = "GPLv2+ & LGPLv2.1" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
6 | file://COPYING.LESSER;md5=4fbd65380cdd255951079008b364516c" | 6 | file://COPYING.LESSER;md5=4b54a1fd55a448865a0b32d41598759d" |
7 | SECTION = "console/tools" | 7 | SECTION = "console/tools" |
8 | PR = "r1" | 8 | PR = "r1" |
9 | 9 | ||
@@ -35,8 +35,8 @@ SRC_URI = "http://libvirt.org/sources/libvirt-${PV}.tar.gz;name=libvirt \ | |||
35 | file://Revert-build-add-prefix-to-SYSTEMD_UNIT_DIR.patch \ | 35 | file://Revert-build-add-prefix-to-SYSTEMD_UNIT_DIR.patch \ |
36 | " | 36 | " |
37 | 37 | ||
38 | SRC_URI[libvirt.md5sum] = "bc3ab1ba5b6fabd2e4516c70ddd4d97c" | 38 | SRC_URI[libvirt.md5sum] = "b48b06bbc7efbe9973ed0f3f223d6da2" |
39 | SRC_URI[libvirt.sha256sum] = "282c141f03331d640020c15f81464b27400e0ee307ef4c5190393b021caedd6e" | 39 | SRC_URI[libvirt.sha256sum] = "e3c6fc2683178660b371efb3ac7a1103a3f4b78efac7ffe560bc5917974ccf05" |
40 | 40 | ||
41 | inherit autotools gettext update-rc.d pkgconfig ptest systemd | 41 | inherit autotools gettext update-rc.d pkgconfig ptest systemd |
42 | 42 | ||