提交 0bbe8da8 编写于 作者: R Richard W.M. Jones

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.
上级 ec5a9a0a
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> Mon Jun 11 13:24:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* docs/examples/.cvsignore: Ignore .deps and .libs subdirectories. * docs/examples/.cvsignore: Ignore .deps and .libs subdirectories.
......
...@@ -27,6 +27,7 @@ BuildRequires: ncurses-devel ...@@ -27,6 +27,7 @@ BuildRequires: ncurses-devel
BuildRequires: gettext BuildRequires: gettext
BuildRequires: libsysfs-devel BuildRequires: libsysfs-devel
BuildRequires: /sbin/iptables BuildRequires: /sbin/iptables
BuildRequires: gnutls-devel
Obsoletes: libvir Obsoletes: libvir
ExclusiveArch: i386 x86_64 ia64 ExclusiveArch: i386 x86_64 ia64
...@@ -61,7 +62,7 @@ of recent versions of Linux (and other OSes). ...@@ -61,7 +62,7 @@ of recent versions of Linux (and other OSes).
%setup -q %setup -q
%build %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 make
%install %install
......
...@@ -52,6 +52,7 @@ EXTRA_DIST = libvirtd.in default-network.xml \ ...@@ -52,6 +52,7 @@ EXTRA_DIST = libvirtd.in default-network.xml \
protocol.x remote_protocol.x \ protocol.x remote_protocol.x \
protocol.c protocol.h \ protocol.c protocol.h \
remote_protocol.c remote_protocol.h \ remote_protocol.c remote_protocol.h \
remote_generate_stubs.pl rpcgen_fix.pl \
remote_dispatch_prototypes.h \ remote_dispatch_prototypes.h \
remote_dispatch_localvars.h \ remote_dispatch_localvars.h \
remote_dispatch_proc_switch.h remote_dispatch_proc_switch.h
......
...@@ -836,9 +836,11 @@ remoteCheckDN (gnutls_x509_crt_t cert) ...@@ -836,9 +836,11 @@ remoteCheckDN (gnutls_x509_crt_t cert)
wildcards++; wildcards++;
} }
#ifdef ENABLE_DEBUG
/* Print the client's DN. */ /* Print the client's DN. */
qemudLog (QEMUD_DEBUG, qemudLog (QEMUD_DEBUG,
"remoteCheckDN: failed: client DN is %s", name); "remoteCheckDN: failed: client DN is %s", name);
#endif
return 0; // Not found. return 0; // Not found.
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册