1
0
forked from pool/dbus-broker

- Update to new upstream release 17

OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-broker?expand=0&rev=6
This commit is contained in:
Jan Engelhardt 2019-01-02 00:48:36 +00:00 committed by Git OBS Bridge
parent a9ad76a4c8
commit 26c50c114d
6 changed files with 37 additions and 49 deletions

13
_service Normal file
View File

@ -0,0 +1,13 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/bus1/dbus-broker</param>
<param name="revision">v17</param>
<param name="versionformat">17</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

3
dbus-broker-17.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d3be1455ff0e958b40231635d92200a3eb814a1178e618d4f46a5be15fdac200
size 228272

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jan 2 00:38:38 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Update to new upstream release 17
* The compatibility launcher now namespaces transient systemd
units based on its own name on the scope-bus.
* The launcher now respects the `<user>NAME</user>'
configuration and correctly drops privileges of the broker
and itself after startup.
* Messages with file-descriptors will now be refused if the
client did not negotiate file-descriptor passing before.
-------------------------------------------------------------------
Mon Mar 5 20:16:26 UTC 2018 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package dbus-broker
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,20 +12,20 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: dbus-broker
Version: 11
Version: 17
Release: 0
Summary: XDG-conforming message bus implementation
License: Apache-2.0
Group: Productivity/Telephony/Utilities
Url: https://github.com/bus1/dbus-broker
Source: https://github.com/bus1/dbus-broker/archive/v%version.tar.gz
Patch1: use-system-deps.diff
#Source: https://github.com/bus1/dbus-broker/archive/v%version.tar.gz
Source: %name-%version.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: linux-glibc-devel >= 4.13
BuildRequires: meson
@ -34,10 +34,7 @@ BuildRequires: pkgconfig(audit) >= 2.7
BuildRequires: pkgconfig(dbus-1) >= 1.10
BuildRequires: pkgconfig(expat) >= 2.2.3
BuildRequires: pkgconfig(glib-2.0) >= 2.50
BuildRequires: pkgconfig(libcdvar) >= 1.7
BuildRequires: pkgconfig(libclist) >= 3
BuildRequires: pkgconfig(libcrbtree) >= 3.30
BuildRequires: pkgconfig(libcsundry) >= 1
BuildRequires: pkgconfig(libcap-ng) >= 0.6
BuildRequires: pkgconfig(libselinux) >= 2.5
BuildRequires: pkgconfig(libsystemd) >= 230
BuildRequires: pkgconfig(systemd) >= 230
@ -57,8 +54,7 @@ from classic D-Bus:
* Runtime broker control
%prep
%setup -q
%patch -P 1 -p1
%autosetup -p1
%build
ln -s /bin/true rst2man
@ -67,11 +63,11 @@ ln -s /bin/true rst2man
%install
# make install happy
touch build/docs/dbus-broker.1 build/docs/dbus-broker-launch.1
#touch build/docs/dbus-broker.1 build/docs/dbus-broker-launch.1
%meson_install
mkdir -p "%buildroot/%_sbindir"
ln -s service "%buildroot/%_sbindir/rcdbus-broker"
find %buildroot/%_mandir -type f -size 0 -delete
#find %buildroot/%_mandir -type f -size 0 -delete
%pre
%service_add_pre dbus-broker.service

View File

@ -1,33 +0,0 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2017-09-21 14:40:14.104177267 +0200
This reverts commit 70ce99868a47ce59c36178605848ddf121dc4c07.
---
meson.build | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
Index: dbus-broker-11/meson.build
===================================================================
--- dbus-broker-11.orig/meson.build
+++ dbus-broker-11/meson.build
@@ -26,15 +26,10 @@ mod_pkgconfig = import('pkgconfig')
prog_rst2man = find_program('rst2man', 'rst2man.py')
-sub_cdvar = subproject('c-dvar', version: '>=1')
-sub_clist = subproject('c-list', version: '>=3')
-sub_crbtree = subproject('c-rbtree', version: '>=3')
-sub_csundry = subproject('c-sundry', version: '>=1')
-
-dep_cdvar = sub_cdvar.get_variable('libcdvar_dep')
-dep_clist = sub_clist.get_variable('libclist_dep')
-dep_crbtree = sub_crbtree.get_variable('libcrbtree_dep')
-dep_csundry = sub_csundry.get_variable('libcsundry_dep')
+dep_cdvar = dependency('libcdvar', version: '>=1', fallback: [ 'c-dvar', 'libcdvar_dep' ])
+dep_clist = dependency('libclist', version: '>=3', fallback: [ 'c-list', 'libclist_dep' ])
+dep_crbtree = dependency('libcrbtree', version: '>=3', fallback: [ 'c-rbtree', 'libcrbtree_dep' ])
+dep_csundry = dependency('libcsundry', version: '>=1', fallback: [ 'c-sundry', 'libcsundry_dep' ])
dep_math = cc.find_library('m')
dep_thread = dependency('threads')

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fb6aaee4577abeed160120b862572281d10b75129064c9c404fbac7ca58e5640
size 160473