From 0bbe8da81091143fa4f49ba979d5e2e103c48047 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 11 Jun 2007 13:24:45 +0000 Subject: [PATCH] Some fixes for RPM builds: Mon Jun 11 14:10:00 BST 2007 Richard W.M. Jones * libvirt.spec.in: BuildRequires gnutls-devel and set the remote PIDfile when configuring. * qemud/Makefile.am: Distribute the Perl scripts. * qemud/qemud.c: Only use QEMUD_DEBUG when ENABLE_DEBUG is defined. --- ChangeLog | 12 ++++++++++++ libvirt.spec.in | 3 ++- qemud/Makefile.am | 1 + qemud/qemud.c | 2 ++ 4 files changed, 17 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f0b6016ee6..fd5e6ad3fc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +Mon Jun 11 14:10:00 BST 2007 Richard W.M. Jones + + * libvirt.spec.in: BuildRequires gnutls-devel and + set the remote PIDfile when configuring. + * qemud/Makefile.am: Distribute the Perl scripts. + * qemud/qemud.c: Only use QEMUD_DEBUG when ENABLE_DEBUG + is defined. + +Mon Jun 11 13:25:00 BST 2007 Richard W.M. Jones + + * RENAMES: Suggested list of file renames. + Mon Jun 11 13:24:00 BST 2007 Richard W.M. Jones * docs/examples/.cvsignore: Ignore .deps and .libs subdirectories. diff --git a/libvirt.spec.in b/libvirt.spec.in index 73112360fe..4d5c9bee56 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -27,6 +27,7 @@ BuildRequires: ncurses-devel BuildRequires: gettext BuildRequires: libsysfs-devel BuildRequires: /sbin/iptables +BuildRequires: gnutls-devel Obsoletes: libvir ExclusiveArch: i386 x86_64 ia64 @@ -61,7 +62,7 @@ of recent versions of Linux (and other OSes). %setup -q %build -%configure --with-init-script=redhat --with-qemud-pid-file=%{_localstatedir}/run/libvirt_qemud.pid +%configure --with-init-script=redhat --with-qemud-pid-file=%{_localstatedir}/run/libvirt_qemud.pid --with-remote-file=%{_localstatedir}/run/libvirtd.pid make %install diff --git a/qemud/Makefile.am b/qemud/Makefile.am index 09c09594d6..69fdd7776b 100644 --- a/qemud/Makefile.am +++ b/qemud/Makefile.am @@ -52,6 +52,7 @@ EXTRA_DIST = libvirtd.in default-network.xml \ protocol.x remote_protocol.x \ protocol.c protocol.h \ remote_protocol.c remote_protocol.h \ + remote_generate_stubs.pl rpcgen_fix.pl \ remote_dispatch_prototypes.h \ remote_dispatch_localvars.h \ remote_dispatch_proc_switch.h diff --git a/qemud/qemud.c b/qemud/qemud.c index 5a6180f2a7..b9e1281c7b 100644 --- a/qemud/qemud.c +++ b/qemud/qemud.c @@ -836,9 +836,11 @@ remoteCheckDN (gnutls_x509_crt_t cert) wildcards++; } +#ifdef ENABLE_DEBUG /* Print the client's DN. */ qemudLog (QEMUD_DEBUG, "remoteCheckDN: failed: client DN is %s", name); +#endif return 0; // Not found. } -- GitLab