diff --git a/libvirt.changes b/libvirt.changes index 996d48f..195e9d8 100644 --- a/libvirt.changes +++ b/libvirt.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Jun 25 09:02:38 MDT 2010 - jfehlig@novell.com + +- Use netcat-openbsd, which contains a proper 'nc' program + supporting the '-U' option. Drop socat.patch. + bnc#611023 + +------------------------------------------------------------------- +Mon Jun 21 10:00:13 MDT 2010 - jfehlig@novell.com +- Re-enable numa support now that bnc#598488 is resolved. + ------------------------------------------------------------------- Fri Jun 4 13:16:31 MDT 2010 - jfehlig@novell.com - Allocate buffer to hold xend content diff --git a/libvirt.spec b/libvirt.spec index 20014b9..5206d57 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -62,10 +62,6 @@ %ifnarch x86_64 ia64 %define with_numactl 0 %endif -# TEMP: no numa on 11.3 / Factory until bnc#598488 is resolved -%if 0%{?suse_version} > 1120 -%define with_numactl 0 -%endif # SLES doesn't contain OpenVZ, VBox, UML, OpenNebula, or ESX %if 0%{?sles_version} %define with_openvz 0 @@ -118,7 +114,7 @@ License: LGPLv2.1+ Group: Development/Libraries/C and C++ AutoReqProv: yes Version: 0.8.1 -Release: 2 +Release: 3 Summary: A C toolkit to interract with the virtualization capabilities of Linux # The client side, i.e. shared libs and virsh are in a subpackage Requires: %{name}-client = %{version}-%{release} @@ -152,7 +148,6 @@ Patch6: xend-content-buf.patch Patch7: xend-content-buf-fix.patch # Need to go upstream Patch100: xen-name-for-devid.patch -Patch101: socat.patch Patch102: clone.patch Patch103: xen-pv-cdrom.patch Patch104: xen-domctl-ver7.patch @@ -184,8 +179,8 @@ Group: Development/Libraries/C and C++ Requires: readline Requires: ncurses # So remote clients can access libvirt over SSH tunnel -# (client invokes 'socat' against the UNIX socket on the server) -Requires: socat +# (client invokes 'nc' against the UNIX socket on the server) +Requires: netcat-openbsd Requires: cyrus-sasl Recommends: cyrus-sasl-digestmd5 @@ -272,7 +267,6 @@ Authors: %patch6 -p1 %patch7 -p1 %patch100 -p1 -%patch101 -p1 %patch102 %patch103 -p1 %patch104 -p1 diff --git a/socat.patch b/socat.patch deleted file mode 100644 index 76b956f..0000000 --- a/socat.patch +++ /dev/null @@ -1,40 +0,0 @@ -Index: libvirt-0.8.1/src/remote/remote_driver.c -=================================================================== ---- libvirt-0.8.1.orig/src/remote/remote_driver.c -+++ libvirt-0.8.1/src/remote/remote_driver.c -@@ -769,12 +769,29 @@ doRemoteOpen (virConnectPtr conn, - cmd_argv[j++] = strdup ("none"); - } - cmd_argv[j++] = strdup (priv->hostname); -- cmd_argv[j++] = strdup (netcat ? netcat : "nc"); -- cmd_argv[j++] = strdup ("-U"); -- cmd_argv[j++] = strdup (sockname ? sockname : -- (flags & VIR_CONNECT_RO -- ? LIBVIRTD_PRIV_UNIX_SOCKET_RO -- : LIBVIRTD_PRIV_UNIX_SOCKET)); -+ if (netcat) { -+ cmd_argv[j++] = strdup (netcat); -+ cmd_argv[j++] = strdup ("-U"); -+ cmd_argv[j++] = strdup (sockname ? sockname : -+ (flags & VIR_CONNECT_RO -+ ? LIBVIRTD_PRIV_UNIX_SOCKET_RO -+ : LIBVIRTD_PRIV_UNIX_SOCKET)); -+ } else { -+ cmd_argv[j++] = strdup ("socat"); -+ cmd_argv[j++] = strdup ("-"); -+ -+ char *socat_addr = NULL; -+ if ((asprintf (&socat_addr, "GOPEN:%s", -+ sockname ? sockname : -+ (flags & VIR_CONNECT_RO -+ ? LIBVIRTD_PRIV_UNIX_SOCKET_RO -+ : LIBVIRTD_PRIV_UNIX_SOCKET))) < 0) { -+ error (conn, VIR_ERR_SYSTEM_ERROR, strerror (ENOMEM)); -+ goto failed; -+ } -+ cmd_argv[j++] = strdup (socat_addr); -+ VIR_FREE(socat_addr); -+ } - cmd_argv[j++] = 0; - assert (j == nr_args); - for (j = 0; j < (nr_args-1); j++)