Accepting request 528060 from home:jengelh:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/528060 OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-broker?expand=0&rev=1
This commit is contained in:
commit
7dadcd40ab
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
17
dbus-broker.changes
Normal file
17
dbus-broker.changes
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 10 23:30:34 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update to new upstream release 4
|
||||||
|
* Support for sending SELinux AVC violations to audit rather
|
||||||
|
than syslog.
|
||||||
|
* Units will now be activated via explicit calls to StartUnit()
|
||||||
|
rather than faking a ActivationRequest directed signal. This
|
||||||
|
allows to catch startup failures (or rejections) and allows
|
||||||
|
to reject all pending activation requests right away.
|
||||||
|
* The broker now logs policy violations to the system log.
|
||||||
|
- Add use-system-deps.diff
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 25 10:54:00 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Initial package (version 3) for build.opensuse.org
|
91
dbus-broker.spec
Normal file
91
dbus-broker.spec
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
#
|
||||||
|
# spec file for package dbus-broker
|
||||||
|
#
|
||||||
|
# Copyright (c) 2017 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
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: dbus-broker
|
||||||
|
Version: 4
|
||||||
|
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
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: meson
|
||||||
|
BuildRequires: pkg-config
|
||||||
|
BuildRequires: pkgconfig(audit) >= 2.7
|
||||||
|
BuildRequires: pkgconfig(libcdvar) >= 1
|
||||||
|
BuildRequires: pkgconfig(libclist) >= 3
|
||||||
|
BuildRequires: pkgconfig(libcrbtree) >= 3
|
||||||
|
BuildRequires: pkgconfig(libcsundry) >= 1
|
||||||
|
BuildRequires: pkgconfig(libselinux) >= 2.5
|
||||||
|
BuildRequires: pkgconfig(libsystemd) >= 230
|
||||||
|
BuildRequires: pkgconfig(dbus-1) >= 1.10
|
||||||
|
BuildRequires: pkgconfig(glib-2.0) >= 2.50
|
||||||
|
BuildRequires: pkgconfig(systemd) >= 230
|
||||||
|
BuildRequires: pkgconfig(expat)
|
||||||
|
|
||||||
|
%description
|
||||||
|
dbus-broker is an implementation of a message bus as defined by the
|
||||||
|
D-Bus specification. It has some different characteristics/features
|
||||||
|
from classic D-Bus:
|
||||||
|
|
||||||
|
* No shared medium
|
||||||
|
* No IPC to implement IPC
|
||||||
|
* User-based accounting
|
||||||
|
* Reliable messages
|
||||||
|
* Just the bus implementation, no external communication
|
||||||
|
* Local only, no remote transport
|
||||||
|
* Support for SASL pipelining
|
||||||
|
* Runtime broker control
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch -P 1 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%meson -Daudit=true -Dselinux=true
|
||||||
|
%meson_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%meson_install
|
||||||
|
mkdir -p "%buildroot/%_sbindir"
|
||||||
|
ln -s service "%buildroot/%_sbindir/rcdbus-broker"
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%service_add_pre dbus-broker.service
|
||||||
|
|
||||||
|
%post
|
||||||
|
%service_add_post dbus-broker.service
|
||||||
|
|
||||||
|
%preun
|
||||||
|
%service_del_preun dbus-broker.service
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%service_del_postun dbus-broker.service
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_bindir/dbus-broker*
|
||||||
|
%_unitdir/*.service
|
||||||
|
%_prefix/lib/systemd/user/*.service
|
||||||
|
%_sbindir/rc*
|
||||||
|
%doc COPYING LICENSE
|
||||||
|
|
||||||
|
%changelog
|
29
use-system-deps.diff
Normal file
29
use-system-deps.diff
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From: Jan Engelhardt <jengelh@inai.de>
|
||||||
|
Date: 2017-09-21 14:40:14.104177267 +0200
|
||||||
|
|
||||||
|
This reverts commit 70ce99868a47ce59c36178605848ddf121dc4c07.
|
||||||
|
|
||||||
|
diff --git a/meson.build b/meson.build
|
||||||
|
index a429847..61e1e4e 100644
|
||||||
|
--- a/meson.build
|
||||||
|
+++ b/meson.build
|
||||||
|
@@ -16,15 +16,10 @@ cc = meson.get_compiler('c')
|
||||||
|
conf = configuration_data()
|
||||||
|
mod_pkgconfig = import('pkgconfig')
|
||||||
|
|
||||||
|
-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')
|
||||||
|
dep_expat = dependency('expat')
|
Loading…
Reference in New Issue
Block a user