Hello community,
here is the log from the commit of package rubygem-webyast-status for
openSUSE:Factory checked in at 2013-08-27 21:10:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-webyast-status (Old)
and /work/SRC/openSUSE:Factory/.rubygem-webyast-status.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-webyast-status"
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-webyast-status/rubygem-webyast-status.changes
2013-03-08 21:17:32.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-webyast-status.new/rubygem-webyast-status.changes
2013-08-27 21:22:26.000000000 +0200
@@ -1,0 +2,17 @@
+Mon Aug 26 08:19:43 UTC 2013 - [email protected]
+
+- restart WebYast when the plugin is uninstalled
+- 0.3.18
+
+-------------------------------------------------------------------
+Tue May 21 15:46:18 UTC 2013 - [email protected]
+
+- fix redirection to main page
+
+-------------------------------------------------------------------
+Mon Apr 22 13:49:04 UTC 2013 - [email protected]
+
+- support for the new polkit (Javascript rules file) (bnc#816478)
+- 0.3.17
+
+-------------------------------------------------------------------
Old:
----
webyast-status-0.3.16.gem
New:
----
40-default-webyast-status.rules
webyast-status-0.3.18.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-webyast-status.spec ++++++
--- /var/tmp/diff_new_pack.uFDWKf/_old 2013-08-27 21:22:26.000000000 +0200
+++ /var/tmp/diff_new_pack.uFDWKf/_new 2013-08-27 21:22:26.000000000 +0200
@@ -17,7 +17,7 @@
Name: rubygem-webyast-status
-Version: 0.3.16
+Version: 0.3.18
Release: 0
%define mod_name webyast-status
%define mod_full_name %{mod_name}-%{version}
@@ -48,6 +48,8 @@
Source1: org.opensuse.yast.modules.yapi.metrics.policy
Source2: org.opensuse.yast.modules.logfile.policy
Source3: LogFile.rb
+Source4: 40-default-webyast-status.rules
+
PreReq: collectd, %insserv_prereq
Requires: rrdtool
# for calling ruby module via YastService:
@@ -97,6 +99,10 @@
mkdir -p $RPM_BUILD_ROOT/usr/share/%{webyast_polkit_dir}
install -m 0644 %SOURCE1 $RPM_BUILD_ROOT/usr/share/%{webyast_polkit_dir}
install -m 0644 %SOURCE2 $RPM_BUILD_ROOT/usr/share/%{webyast_polkit_dir}
+%if %suse_version >= 1230
+mkdir -p $RPM_BUILD_ROOT/etc/polkit-1/rules.d/
+install -m 0644 %SOURCE4 $RPM_BUILD_ROOT/etc/polkit-1/rules.d/
+%endif
#metrics configuration
mkdir -p $RPM_BUILD_ROOT%{webyast_vardir}/status
@@ -116,11 +122,13 @@
%{__rm} -rf $RPM_BUILD_ROOT
%post
+%if %suse_version < 1230
#
# granting all permissions for root
#
/usr/sbin/grantwebyastrights --user root --action grant > /dev/null
/usr/sbin/grantwebyastrights --user %{webyast_user} --action grant > /dev/null
+%endif
#
# nslookup of static hostnames can result to an error. Due this error collectd
@@ -169,6 +177,7 @@
%postun
%webyast_remove_assets
+%webyast_plugin_postun
%files
@@ -190,6 +199,9 @@
%attr(0700,%{webyast_user},%{webyast_user}) %dir %{webyast_vardir}/status
%attr(644,root,root) %config
/usr/share/%{webyast_polkit_dir}/org.opensuse.yast.modules.yapi.metrics.policy
%attr(644,root,root) %config
/usr/share/%{webyast_polkit_dir}/org.opensuse.yast.modules.logfile.policy
+%if %suse_version >= 1230
+/etc/polkit-1/rules.d/40-default-webyast-status.rules
+%endif
%dir /etc/webyast/vendor
%config /etc/webyast/logs.yml
++++++ 40-default-webyast-status.rules ++++++
// default permissions for "root" user
polkit.addRule(function(action, subject) {
if ((action.id == "org.opensuse.yast.modules.logfile.read"
|| action.id == "org.opensuse.yast.modules.yapi.metrics.read"
|| action.id == "org.opensuse.yast.modules.yapi.metrics.writelimits"
) && (subject.user == "webyast" || subject.user == "root"))
{
return polkit.Result.YES;
}
});
// vim: syntax=javascript
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]