From be78c27e9104d1686ebd52e5d2b40bd41e8bb42d0287e2fb07c3fa970b782930 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 9 May 2008 21:19:38 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=15 --- libvirt.changes | 6 ++++++ libvirt.spec | 7 ++++++- libvirtd-polkit.patch | 14 ++++++++++++++ 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 libvirtd-polkit.patch diff --git a/libvirt.changes b/libvirt.changes index f836792..c716ea6 100644 --- a/libvirt.changes +++ b/libvirt.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri May 9 09:34:56 MDT 2008 - jfehlig@novell.com + +- Adjust libvirtd PolicyKit configuration file to match standard + suse procedures. bnc#388769 + ------------------------------------------------------------------- Mon May 5 11:18:49 MDT 2008 - jfehlig@novell.com diff --git a/libvirt.spec b/libvirt.spec index 0cb3d74..9ad51c0 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -20,7 +20,7 @@ License: LGPL v2.1 or later Group: Development/Libraries/C and C++ AutoReqProv: yes Version: 0.4.0 -Release: 48 +Release: 51 Summary: A C toolkit to interract with the virtualization capabilities of Linux Requires: dnsmasq Requires: bridge-utils @@ -35,6 +35,7 @@ Source1: libvirtd.init Patch0: auth-callback.patch Patch1: xen-3_2-hypercall.patch Patch2: suse-paths.patch +Patch3: libvirtd-polkit.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 x86_64 %define _libexecdir %{_prefix}/lib/%{name} @@ -127,6 +128,7 @@ Authors: %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 rm po/no.* %build @@ -235,6 +237,9 @@ rm -rf $RPM_BUILD_ROOT %{py_sitedir}/libvirtmod* %changelog +* Fri May 09 2008 jfehlig@novell.com +- Adjust libvirtd PolicyKit configuration file to match standard + suse procedures. bnc#388769 * Mon May 05 2008 jfehlig@novell.com - Fix path to iptables. bnc#386280 * Thu Apr 24 2008 jfehlig@novell.com diff --git a/libvirtd-polkit.patch b/libvirtd-polkit.patch new file mode 100644 index 0000000..1baf0c3 --- /dev/null +++ b/libvirtd-polkit.patch @@ -0,0 +1,14 @@ +diff -ru a/qemud/libvirtd.policy b/qemud/libvirtd.policy +--- a/qemud/libvirtd.policy 2007-12-05 11:21:27.000000000 -0700 ++++ b/qemud/libvirtd.policy 2008-05-09 09:28:26.000000000 -0600 +@@ -36,7 +36,7 @@ + read-write mode for management, and we require user password --> + no + no +- auth_self_keep_session ++ auth_admin_keep_session + + + +\ No newline at end of file +Only in b/qemud: libvirtd.policy~