Hello community,

here is the log from the commit of package iio-sensor-proxy for 
openSUSE:Factory checked in at 2017-09-28 12:34:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/iio-sensor-proxy (Old)
 and      /work/SRC/openSUSE:Factory/.iio-sensor-proxy.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "iio-sensor-proxy"

Thu Sep 28 12:34:09 2017 rev:9 rq:528683 version:2.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/iio-sensor-proxy/iio-sensor-proxy.changes        
2017-07-11 08:27:40.052026671 +0200
+++ /work/SRC/openSUSE:Factory/.iio-sensor-proxy.new/iio-sensor-proxy.changes   
2017-09-28 12:34:14.537198306 +0200
@@ -1,0 +2,16 @@
+Fri Sep 22 11:17:49 UTC 2017 - [email protected]
+
+- Update to version 2.3:
+  + Ensure API documentation is in tarball.
+  + Remove workaround for long-standing kernel bug (fixed in 4.13).
+  + Ignore accelerometers which are part of gaming devices.
+  + Warning fixes.
+- Add
+  0001-data-fix-permissions-when-geoclue-runs-with-a-differ.patch:
+  handle geoclue2 service running as srvGeoClue user, add
+  Requires user(srvGeoClue) and add automake/ autoconf as
+  BuildRequires.
+- Use pregenerated API documentation and drop
+  BuildRequires on gtk-doc.
+
+-------------------------------------------------------------------

Old:
----
  iio-sensor-proxy-2.2.tar.xz

New:
----
  0001-data-fix-permissions-when-geoclue-runs-with-a-differ.patch
  iio-sensor-proxy-2.3.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ iio-sensor-proxy.spec ++++++
--- /var/tmp/diff_new_pack.1XB8Ad/_old  2017-09-28 12:34:15.397077396 +0200
+++ /var/tmp/diff_new_pack.1XB8Ad/_new  2017-09-28 12:34:15.397077396 +0200
@@ -17,21 +17,26 @@
 
 
 Name:           iio-sensor-proxy
-Version:        2.2
+Version:        2.3
 Release:        0
 Summary:        Proxy for IIO and input subsystems
 License:        GPL-3.0
 Url:            https://github.com/hadess/iio-sensor-proxy
 Source0:        
https://github.com/hadess/iio-sensor-proxy/releases/download/%{version}/%{name}-%{version}.tar.xz
 Source99:       iio-sensor-proxy-rpmlintrc
-BuildRequires:  gtk-doc
+# PATCH-FIX-UPSTREAM 
0001-data-fix-permissions-when-geoclue-runs-with-a-differ.patch 
[email protected] -- Ensure we handle geoclue not running as geoclue user
+Patch0:         0001-data-fix-permissions-when-geoclue-runs-with-a-differ.patch
+# needed by patch0
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(gobject-2.0)
-BuildRequires:  pkgconfig(gudev-1.0) >= 230
+BuildRequires:  pkgconfig(gudev-1.0) >= 232
 BuildRequires:  pkgconfig(systemd) >= 219
 BuildRequires:  pkgconfig(udev) >= 219
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Requires:       user(srvGeoClue)
 %{?systemd_requires}
 
 %description
@@ -46,9 +51,12 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-%configure --enable-gtk-doc --disable-gtk-tests
+# needed by patch0
+autoreconf
+%configure --disable-gtk-tests --with-geoclue-user=srvGeoClue
 make %{?_smp_mflags}
 
 %install

++++++ 0001-data-fix-permissions-when-geoclue-runs-with-a-differ.patch ++++++
>From f5af998194987d2d92c594a1c42b85a2b9a48f91 Mon Sep 17 00:00:00 2001
From: Frederic Crozat <[email protected]>
Date: Fri, 22 Sep 2017 12:45:34 +0200
Subject: [PATCH] data: fix permissions when geoclue runs with a different user

Geoclue can be configured to use another user than geoclue.
---
 .gitignore                                                         | 1 +
 configure.ac                                                       | 7 +++++++
 data/Makefile.am                                                   | 6 +++++-
 ...{net.hadess.SensorProxy.conf => net.hadess.SensorProxy.conf.in} | 2 +-
 4 files changed, 14 insertions(+), 2 deletions(-)
 rename data/{net.hadess.SensorProxy.conf => net.hadess.SensorProxy.conf.in} 
(98%)

Index: iio-sensor-proxy-2.3/configure.ac
===================================================================
--- iio-sensor-proxy-2.3.orig/configure.ac      2017-09-20 18:38:59.000000000 
+0200
+++ iio-sensor-proxy-2.3/configure.ac   2017-09-22 13:20:41.774053143 +0200
@@ -51,6 +51,13 @@
 
 PKG_CHECK_MODULES(IIO_SENSOR_PROXY, gio-2.0 gudev-1.0 >= 232)
 
+AC_ARG_WITH(geoclue-user,
+            AS_HELP_STRING([--with-geoclue-user=USER],
+                           [The USER (existing) as which geoclue service is 
running (default: geoclue)]),
+            geoclue_user="$with_geoclue_user",
+            geoclue_user="geoclue")
+AC_SUBST(geoclue_user)
+
 AC_PATH_PROG([GDBUS_CODEGEN],[gdbus-codegen])
 
 AC_CONFIG_FILES([
Index: iio-sensor-proxy-2.3/data/Makefile.am
===================================================================
--- iio-sensor-proxy-2.3.orig/data/Makefile.am  2016-09-13 14:22:44.000000000 
+0200
+++ iio-sensor-proxy-2.3/data/Makefile.am       2017-09-22 13:20:41.774053143 
+0200
@@ -9,5 +9,9 @@
 dbusconfdir = $(sysconfdir)/dbus-1/system.d
 dbusconf_DATA = net.hadess.SensorProxy.conf
 
-CLEANFILES = iio-sensor-proxy.service
+net.hadess.SensorProxy.conf: net.hadess.SensorProxy.conf.in Makefile
+       @sed -e "s|\@geoclue_user\@|$(geoclue_user)|" $< > $@
+
+
+CLEANFILES = iio-sensor-proxy.service net.hadess.SensorProxy.conf
 EXTRA_DIST = $(udevrules_DATA) $(dbusconf_DATA) $(systemdservice_in_files)
Index: iio-sensor-proxy-2.3/data/net.hadess.SensorProxy.conf
===================================================================
--- iio-sensor-proxy-2.3.orig/data/net.hadess.SensorProxy.conf  2017-02-02 
16:12:42.000000000 +0100
+++ /dev/null   1970-01-01 00:00:00.000000000 +0000
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
-
-<!DOCTYPE busconfig PUBLIC
- "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
- "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd";>
-<busconfig>
-
-  <!-- Only root can own the service -->
-  <policy user="root">
-    <allow own="net.hadess.SensorProxy"/>
-  </policy>
-
-  <!-- Only Geoclue can access the compass -->
-  <policy user="geoclue">
-    <allow send_destination="net.hadess.SensorProxy" 
send_interface="net.hadess.SensorProxy.Compass" 
send_path="/net/hadess/SensorProxy/Compass"/>
-    <allow send_destination="net.hadess.SensorProxy" 
send_interface="org.freedesktop.DBus.Introspectable" 
send_path="/net/hadess/SensorProxy/Compass"/>
-    <allow send_destination="net.hadess.SensorProxy" 
send_interface="org.freedesktop.DBus.Properties" 
send_path="/net/hadess/SensorProxy/Compass"/>
-    <allow send_destination="net.hadess.SensorProxy" 
send_interface="org.freedesktop.DBus.Peer" 
send_path="/net/hadess/SensorProxy/Compass"/>
-  </policy>
-
-  <!-- Anyone can talk to the main interface -->
-  <policy context="default">
-    <allow send_destination="net.hadess.SensorProxy" 
send_interface="net.hadess.SensorProxy"/>
-    <allow send_destination="net.hadess.SensorProxy" 
send_interface="org.freedesktop.DBus.Introspectable"/>
-    <allow send_destination="net.hadess.SensorProxy" 
send_interface="org.freedesktop.DBus.Properties"/>
-    <allow send_destination="net.hadess.SensorProxy" 
send_interface="org.freedesktop.DBus.Peer"/>
-    <deny send_destination="net.hadess.SensorProxy" 
send_interface="org.freedesktop.DBus.Introspectable" 
send_path="/net/hadess/SensorProxy/Compass"/>
-    <deny send_destination="net.hadess.SensorProxy" 
send_interface="org.freedesktop.DBus.Properties" 
send_path="/net/hadess/SensorProxy/Compass"/>
-    <deny send_destination="net.hadess.SensorProxy" 
send_interface="org.freedesktop.DBus.Peer" 
send_path="/net/hadess/SensorProxy/Compass"/>
-    <!-- <deny send_destination="net.hadess.SensorProxy" 
send_interface="net.hadess.SensorProxy.Compass"/> -->
-  </policy>
-
-</busconfig>
Index: iio-sensor-proxy-2.3/data/net.hadess.SensorProxy.conf.in
===================================================================
--- /dev/null   1970-01-01 00:00:00.000000000 +0000
+++ iio-sensor-proxy-2.3/data/net.hadess.SensorProxy.conf.in    2017-09-22 
13:20:41.774053143 +0200
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
+
+<!DOCTYPE busconfig PUBLIC
+ "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd";>
+<busconfig>
+
+  <!-- Only root can own the service -->
+  <policy user="root">
+    <allow own="net.hadess.SensorProxy"/>
+  </policy>
+
+  <!-- Only Geoclue can access the compass -->
+  <policy user="@geoclue_user@">
+    <allow send_destination="net.hadess.SensorProxy" 
send_interface="net.hadess.SensorProxy.Compass" 
send_path="/net/hadess/SensorProxy/Compass"/>
+    <allow send_destination="net.hadess.SensorProxy" 
send_interface="org.freedesktop.DBus.Introspectable" 
send_path="/net/hadess/SensorProxy/Compass"/>
+    <allow send_destination="net.hadess.SensorProxy" 
send_interface="org.freedesktop.DBus.Properties" 
send_path="/net/hadess/SensorProxy/Compass"/>
+    <allow send_destination="net.hadess.SensorProxy" 
send_interface="org.freedesktop.DBus.Peer" 
send_path="/net/hadess/SensorProxy/Compass"/>
+  </policy>
+
+  <!-- Anyone can talk to the main interface -->
+  <policy context="default">
+    <allow send_destination="net.hadess.SensorProxy" 
send_interface="net.hadess.SensorProxy"/>
+    <allow send_destination="net.hadess.SensorProxy" 
send_interface="org.freedesktop.DBus.Introspectable"/>
+    <allow send_destination="net.hadess.SensorProxy" 
send_interface="org.freedesktop.DBus.Properties"/>
+    <allow send_destination="net.hadess.SensorProxy" 
send_interface="org.freedesktop.DBus.Peer"/>
+    <deny send_destination="net.hadess.SensorProxy" 
send_interface="org.freedesktop.DBus.Introspectable" 
send_path="/net/hadess/SensorProxy/Compass"/>
+    <deny send_destination="net.hadess.SensorProxy" 
send_interface="org.freedesktop.DBus.Properties" 
send_path="/net/hadess/SensorProxy/Compass"/>
+    <deny send_destination="net.hadess.SensorProxy" 
send_interface="org.freedesktop.DBus.Peer" 
send_path="/net/hadess/SensorProxy/Compass"/>
+    <!-- <deny send_destination="net.hadess.SensorProxy" 
send_interface="net.hadess.SensorProxy.Compass"/> -->
+  </policy>
+
+</busconfig>
++++++ iio-sensor-proxy-2.2.tar.xz -> iio-sensor-proxy-2.3.tar.xz ++++++
++++ 5039 lines of diff (skipped)


Reply via email to