Some fixes for RPM builds:

Mon Jun 11 14:10:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

	* 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.
This commit is contained in:
Richard W.M. Jones 2007-06-11 13:24:45 +00:00
parent ec5a9a0ac7
commit 0bbe8da810
4 changed files with 17 additions and 1 deletions

View File

@ -1,3 +1,15 @@
Mon Jun 11 14:10:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* 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 <rjones@redhat.com>
* RENAMES: Suggested list of file renames.
Mon Jun 11 13:24:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* docs/examples/.cvsignore: Ignore .deps and .libs subdirectories.

View File

@ -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

View File

@ -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

View File

@ -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.
}