230 Commits

Author SHA256 Message Date
1a99b8a5a9 Accepting request 1322093 from home:simotek:branches:Base:System
- dbus-1-daemon no longer provides dbus-service (bsc#1254491)

OBS-URL: https://build.opensuse.org/request/show/1322093
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=356
2025-12-11 02:44:10 +00:00
d8ff36ee94 Accepting request 1228405 from home:simotek:branches:Base:System
- having eavesdropping enabled causes a warning to be logged with
  dbus-broker boo#1232563
  * Adds feature-suse-disable-eavesdrop.patch
- dbus-launch is actually now in the dbus-daemon package.

OBS-URL: https://build.opensuse.org/request/show/1228405
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=355
2024-12-17 03:38:06 +00:00
dc2788aa46 Accepting request 1218244 from home:simotek:branches:Base:System
Fix a stray clipboard entry in the previous submission

OBS-URL: https://build.opensuse.org/request/show/1218244
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=354
2024-10-25 12:34:59 +00:00
6a7781b6fb Accepting request 1218217 from home:simotek:branches:Base:System
Fix typo In previous submission

OBS-URL: https://build.opensuse.org/request/show/1218217
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=353
2024-10-25 10:07:34 +00:00
04cd43f43f Accepting request 1217999 from home:simotek:branches:Base:System
- Pachage cleanup
  * Drop -x11 varient that is no longer needed
  * dbus-launch is now in the dbus-daemon package.
  * This also removes update alternatives for dbus-launch

OBS-URL: https://build.opensuse.org/request/show/1217999
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=352
2024-10-25 07:51:22 +00:00
11f322c377 Accepting request 1208285 from home:dimstar:Factory
- Drop rcFOO symlinks (PED-266).

OBS-URL: https://build.opensuse.org/request/show/1208285
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=350
2024-10-16 07:25:12 +00:00
b1908d8382 Accepting request 1170797 from home:simotek:branches:Base:System
- Drop feature-suse-auto-socket-target-wants.patch and use the
  filesystem instead, this works more consistenly with dbus-broker

OBS-URL: https://build.opensuse.org/request/show/1170797
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=348
2024-04-29 14:25:50 +00:00
b712bfe4c0 Accepting request 1170132 from home:simotek:branches:Base:System
Revert broken changes

OBS-URL: https://build.opensuse.org/request/show/1170132
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=347
2024-04-25 10:18:26 +00:00
da0bdc47f2 Accepting request 1170042 from home:simotek:branches:Base:System
- We do need these to start dbus-broker
  * %{_unitdir}/sockets.target.wants
  * %{_userunitdir}/sockets.target.wants

OBS-URL: https://build.opensuse.org/request/show/1170042
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=345
2024-04-24 14:08:12 +00:00
9cc0e8f0ff Accepting request 1137628 from home:gmbr3:Active
- Add RH/Fedora compat provides dbus-libs to library package
  needed by Mullvad

OBS-URL: https://build.opensuse.org/request/show/1137628
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=344
2024-01-09 01:11:33 +00:00
5280682e92 Accepting request 1132713 from home:gmbr3:Active
- Add feature-suse-auto-socket-target-wants.patch: move
  from static enable symlinks to systemd created symlinks otherwise
  it can't be enabled by systemd-presets-common-SUSE
- Update feature-suse-refuse-manual-start-stop.patch: prevent
  killing the socket or user service aswell

OBS-URL: https://build.opensuse.org/request/show/1132713
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=343
2023-12-16 19:17:02 +00:00
dd54e6ebd3 Accepting request 1130503 from home:gmbr3:Active
- common: dbus.socket still gets used after migration to
  dbus-broker so keep pre/post/postun scriptlets

OBS-URL: https://build.opensuse.org/request/show/1130503
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=342
2023-12-05 09:45:23 +00:00
9077744b0e Accepting request 1114292 from home:simotek:branches:Base:System
- Explicitly require /usr/bin/cmp for the post scripts instead of
  diffutils: allow other implementations like busybox-diffutils to
  be acceptable.

OBS-URL: https://build.opensuse.org/request/show/1114292
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=341
2023-09-29 09:04:59 +00:00
31429ce288 Accepting request 1113381 from home:simotek:branches:Broker
- No longer start or offer starting dbus as a system service
  dbus-broker will be the only supported system dbus. Although
  the existing daemon will stay as some things (gdm) require 
  dbus-run-session

OBS-URL: https://build.opensuse.org/request/show/1113381
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=340
2023-09-28 07:43:29 +00:00
31999f28c5 - update to 1.14.10:
* Avoid a dbus-daemon crash if re-creating a connection's policy
    fails. If it isn't possible to re-create its policy (for
    example if it belongs to a user account that has been deleted
    or if the Name Service Switch is broken, on a system not
    supporting SO_PEERGROUPS), we now log a warning, continue to
    use its current policy, and continue to reload other
    connections' policies.
  * If getting the groups from a user ID fails, report the error
    correctly, instead of logging "(null)"
  * Return the primary group ID in GetConnectionCredentials()'
    UnixGroupIDs field for processes with a valid-but-empty
    supplementary group list
- Disable asserts (bsc#1087072)
- set runstatedir correctly
- avoid listing cmake directory - owned by cmake package
- Use sysusers.d to create messagebus user

OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=338
2023-09-13 08:46:45 +00:00
853fbb2566 - update to 1.14.8 (bsc#1212126, CVE-2023-34969):
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=336
2023-06-12 21:17:59 +00:00
a2da7f8319 - update to 1.14.8:
* Denial-of-service fixes:
  * Fix an assertion failure in dbus-daemon when a privileged
    Monitoring connection (dbus-monitor, busctl monitor, gdbus
    monitor or similar) is active, and a message from the bus
    driver cannot be delivered to a client connection due to
    <deny> rules or outgoing message quota. This
    is a denial of service if triggered maliciously by a local
    attacker.
  * Fix compilation on compilers not supporting __FUNCTION__
  * Fix some memory leaks on out-of-memory conditions
  * Fix syntax of a code sample in dbus-api-design

OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=335
2023-06-12 21:16:15 +00:00
4428e7988e Accepting request 1067438 from home:gmbr3:Active
- Move %tmpfiles_create to %post otherwise the file won't exist
  since it is now located in the correct package

OBS-URL: https://build.opensuse.org/request/show/1067438
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=333
2023-02-23 23:38:21 +00:00
75401e655c Accepting request 1066638 from home:gmbr3:Active
- Packaging changes:
  * Move missed scriptlets and links for dbus.socket to common
  * Move sysusers and tmpfiles scriptlets, and ghost files to
    common
  * Move dbus-launch man page to correct package

OBS-URL: https://build.opensuse.org/request/show/1066638
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=332
2023-02-23 14:02:44 +00:00
d69e517e9e OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=330 2023-02-10 16:31:13 +00:00
b02c06f6fb Accepting request 1064293 from home:dimstar:Factory
- Fix multibuikd: do not mention main flavor in multibuild, as it
  is implicit built.

    dbus-daemon or other users of DBusServer prior to
- update to 1.14.4 (bsc#1204111, CVE-2022-42010,

OBS-URL: https://build.opensuse.org/request/show/1064293
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=329
2023-02-10 16:29:55 +00:00
64ca67738d - update to 1.14.6:
* Fix an incorrect assertion that could be used to crash
    dbus-daemon or other users of DBusServer prior to 
    authentication, if libdbus was compiled with assertions
    enabled.
    We recommend that production builds of dbus, for example in
    OS distributions, should be compiled with checks but
    without assertions.
  * When connected to a dbus-broker, stop dbus-monitor from
    incorrectly replying to Peer method calls that were sent to the
    dbus-broker with a NULL destination
  * Fix out-of-bounds varargs read in the dbus-daemon's config-
    parser.  This is not attacker-triggerable and appears to be
    harmless in practice, but is technically undefined behaviour
    and is detected as such by AddressSanitizer.
  * Avoid a data race in multi-threaded use of DBusCounter
  * Fix a crash with some glibc versions when non-auditable
    SELinux events are logged (dbus!386, Jeremi Piotrowski)
  * If dbus_message_demarshal() runs out of memory while
    validating a message, report it as NoMemory rather than
    InvalidArgs (dbus#420, Simon McVittie)
  * Use C11 _Alignof if available, for better standards-
    compliance
  * Stop including an outdated copy of pkg.m4 in the git tree
  * Documentation:
  * Fix the test-apparmor-activation test after dbus#416
  * Internal changes:
  * Fix CI builds with recent git versions (dbus#447, Simon
    McVittie)
- switch to using multibuild

OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=328
2023-02-09 17:09:45 +00:00
d2b9b851b0 - update to 1.14.4 (bsc#1204111, CVE-2022-42010,
bsc#1204112, CVE-2022-42011,
                    bsc#1204113, CVE-2022-42012):
  This is a security update for the dbus 1.14.x stable branch, fixing
  denial-of-service issues (CVE-2022-42010, -42011, -42012) and applying
  security hardening (dbus#416).
  Behaviour changes:
  * On Linux, dbus-daemon and other uses of DBusServer now create a
     path-based Unix socket, unix:path=..., when asked to listen on a
     unix:tmpdir=... address. This makes unix:tmpdir=... equivalent to
     unix:dir=... on all platforms.
     Previous versions would have created an abstract socket, unix:abstract=...,
     in this situation.
     This change primarily affects the well-known session bus when run via
     dbus-launch(1) or dbus-run-session(1). The user bus, enabled by configuring
     dbus with --enable-user-session and running it on a systemd system,
     already used path-based Unix sockets and is unaffected by this change.
     This behaviour change prevents a sandbox escape via the session bus socket
     in sandboxing frameworks that can share the network namespace with the host
     system, such as Flatpak.
     This change might cause a regression in situations where the abstract socket
     is intentionally shared between the host system and a chroot or container,
     such as some use-cases of schroot(1). That regression can be resolved by
     using a bind-mount to share either the D-Bus socket, or the whole /tmp
     directory, with the chroot or container.
     (dbus#416, Simon McVittie)
  * Denial of service fixes:
    - Evgeny Vereshchagin discovered several ways in which an authenticated
      local attacker could cause a crash (denial of service) in
      dbus-daemon --system or a custom DBusServer. In uncommon configurations

OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=326
2022-10-26 09:05:34 +00:00
a63025a0d4 - Disable asserts (bsc#1087072)
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=322
2022-10-13 07:30:23 +00:00
5a965e641e - version provides
- add split provides
- remove unused/obsolete pre_checkin.sh

OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=319
2022-06-08 12:36:41 +00:00
b84e5435aa Accepting request 979267 from home:simotek:broker
- The great dbus package split of 22, in preperation for replacing
  dbus-daemon with dbus-broker currently there is no functional
  difference that will change later, this follows a similar setup
  to RedHat and Debian.
  * dbus-daemon is now in its own separate package
  * Create a dbus-1-common package with all the files and config
    that are shared between the dbus-daemon and dbus-broker
    implementations.
  * Create a dbus-1-tools package with the tools eventually we will
    likely want to move to only recommending this package Redhat and
    Debian have both already gone down this path.

OBS-URL: https://build.opensuse.org/request/show/979267
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=318
2022-06-08 12:33:33 +00:00
5a55f53a0f Accepting request 962625 from home:Vogtinator:branches:Base:System
- Use --with-x=auto to actually enable X11 integration (boo#1197258,
  workaround https://gitlab.freedesktop.org/dbus/dbus/-/merge_requests/263)

- Drop use of %{with libalternatives}, there's no such bcond defined
  and in many other places it's not optional anyway (boo#1197258)

OBS-URL: https://build.opensuse.org/request/show/962625
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=316
2022-03-18 16:09:03 +00:00
67c44f75ed - set runstatedir correctly
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=313
2022-03-14 10:47:02 +00:00
61946e6665 Accepting request 960246 from home:iznogood:branches:Base:System
Resub, no multibuild.

The multibuild with several specs are a valid approch - but fine, I'll remove it.

See https://openbuildservice.org/help/manuals/obs-user-guide/cha.obs.multibuild.html

OBS-URL: https://build.opensuse.org/request/show/960246
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=311
2022-03-08 18:40:09 +00:00
e936788be4 Accepting request 958337 from home:iznogood:branches:Base:System
- Update to version 1.12.22:
  + On Linux, when using traditional (non-systemd) service
    activation, don't log warnings about failing to reset OOM score
    adjustment if the process is already more susceptible to the
    OOM killer, as user processes usually are with systemd ≥ 250.
  + On Linux, when using traditional (non-systemd) system bus
    activation, reset the OOM score adjustment to 0 as intended.
    If the system dbus-daemon is protected from the OOM killer,
    this avoids that protection unintentionally being inherited by
    every system service.
  + Avoid malloc() after fork on non-GNU libc.
  + Fix build with clang 13 by using Standard C offsetof where
    available.
  + Fix build of tests on FreeBSD.
  + Make documentation build more reproducible.
  + On Unix, make X11 autolaunch cope with slashes in DISPLAY.
  + Don't try to raise RLIMIT_NOFILE beyond OPEN_MAX on macOS.
  + Fix compilation if embedded tests are enabled but verbose mode
    and stats are both disabled.
  + On Linux, fix a race condition in the integration test for
    transient services.
- Update to version 1.12.22:
  + On Linux, when using traditional (non-systemd) service
    activation, don't log warnings about failing to reset OOM score
    adjustment if the process is already more susceptible to the
    OOM killer, as user processes usually are with systemd ≥ 250.
  + On Linux, when using traditional (non-systemd) system bus
    activation, reset the OOM score adjustment to 0 as intended.
    If the system dbus-daemon is protected from the OOM killer,
    this avoids that protection unintentionally being inherited by
    every system service.
  + Avoid malloc() after fork on non-GNU libc.
  + Fix build with clang 13 by using Standard C offsetof where
    available.
  + Fix build of tests on FreeBSD.
  + Make documentation build more reproducible.
  + On Unix, make X11 autolaunch cope with slashes in DISPLAY.
  + Don't try to raise RLIMIT_NOFILE beyond OPEN_MAX on macOS.
  + Fix compilation if embedded tests are enabled but verbose mode
    and stats are both disabled.
  + On Linux, fix a race condition in the integration test for
    transient services.
- Update to version 1.12.22:
  + On Linux, when using traditional (non-systemd) service
    activation, don't log warnings about failing to reset OOM score
    adjustment if the process is already more susceptible to the
    OOM killer, as user processes usually are with systemd ≥ 250.
  + On Linux, when using traditional (non-systemd) system bus
    activation, reset the OOM score adjustment to 0 as intended.
    If the system dbus-daemon is protected from the OOM killer,
    this avoids that protection unintentionally being inherited by
    every system service.
  + Avoid malloc() after fork on non-GNU libc.
  + Fix build with clang 13 by using Standard C offsetof where
    available.
  + Fix build of tests on FreeBSD.
  + Make documentation build more reproducible.
  + On Unix, make X11 autolaunch cope with slashes in DISPLAY.
  + Don't try to raise RLIMIT_NOFILE beyond OPEN_MAX on macOS.
  + Fix compilation if embedded tests are enabled but verbose mode
    and stats are both disabled.
  + On Linux, fix a race condition in the integration test for
    transient services.

OBS-URL: https://build.opensuse.org/request/show/958337
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=309
2022-03-03 10:22:48 +00:00
f34931de4a Accepting request 932654 from home:gmbr3:Active
sysusers

OBS-URL: https://build.opensuse.org/request/show/932654
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=307
2021-11-24 08:38:49 +00:00
b7270e77f2 Accepting request 921166 from home:schubi2
Added BuildRequires alts for libalternatives.

OBS-URL: https://build.opensuse.org/request/show/921166
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=306
2021-09-23 23:01:29 +00:00
cdc73ea031 Accepting request 919778 from home:schubi2
Fixed spec file regarding removing old update-alternatives entries.

OBS-URL: https://build.opensuse.org/request/show/919778
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=305
2021-09-18 01:10:28 +00:00
fad4c69471 Accepting request 919476 from home:schubi2
Use libalternatives instead of update-alternatives.

OBS-URL: https://build.opensuse.org/request/show/919476
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=304
2021-09-16 09:31:14 +00:00
164040add0 - avoid listing cmake directory - owned by cmake package
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=302
2021-04-07 22:36:23 +00:00
b06bd7efc2 Accepting request 876251 from home:lnussel:usrmove
- retire /lib/dbus-1/system-services as it's deprecated

OBS-URL: https://build.opensuse.org/request/show/876251
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=300
2021-03-04 10:58:45 +00:00
5e5475dbbe Accepting request 849587 from home:lnussel:usrmove
- prepare usrmerge (boo#1029961)

OBS-URL: https://build.opensuse.org/request/show/849587
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=298
2020-11-24 01:49:00 +00:00
d535ff36ef Accepting request 828587 from home:dancermak:branches:Base:System
Require diffutils in post so that cmp is available

OBS-URL: https://build.opensuse.org/request/show/828587
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=296
2020-08-22 03:47:45 +00:00
ebd755dd88 Accepting request 821367 from home:elimat:branches:Base:System
- Update to 1.12.20
  * On Unix, avoid a use-after-free if two usernames have the same
    numeric uid. In older versions this could lead to a crash (denial of
    service) or other undefined behaviour, possibly including incorrect
    authorization decisions if <policy group=...> is used.
    Like Unix filesystems, D-Bus' model of identity cannot distinguish
    between users of different names with the same numeric uid, so this
    configuration is not advisable on systems where D-Bus will be used.
    Thanks to Daniel Onaca.
    (dbus#305, dbus!166; Simon McVittie)
- From 1.12.18
  * CVE-2020-12049: If a message contains more file descriptors than can
    be sent, close those that did get through before reporting error.
    Previously, a local attacker could cause the system dbus-daemon (or
    another system service with its own DBusServer) to run out of file
    descriptors, by repeatedly connecting to the server and sending fds that
    would get leaked.
    Thanks to Kevin Backhouse of GitHub Security Lab.
    (dbus#294, GHSL-2020-057; Simon McVittie)
  * Fix a crash when the dbus-daemon is terminated while one or more
    monitors are active (dbus#291, dbus!140; Simon McVittie)
  * The dbus-send(1) man page now documents --bus and --peer instead of
    the old --address synonym for --peer, which has been deprecated since
	the introduction of --bus and --peer in 1.7.6
	(fd.o #48816, dbus!115; Chris Morin)
  * Fix a wrong environment variable name in dbus-daemon(1)
    (dbus#275, dbus!122; Mubin, Philip Withnall)
  * Fix formatting of dbus_message_append_args example
	(dbus!126, Felipe Franciosi)
  * Avoid a test failure on Linux when built in a container as uid 0, but
    without the necessary privileges to increase resource limits
	(dbus!58, Debian #908092; Simon McVittie)
  * When building with CMake, cope with libX11 in a non-standard location
	(dbus!129, Tuomo Rinne)
- Run spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/821367
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=293
2020-07-17 00:09:42 +00:00
8660e67418 Accepting request 765601 from home:StefanBruens:branches:Base:System
- Move generation of API docs to a separate package, avoid doxygen
  dependency for building main package.
- Build x11 and devel-doc (API doc) using _multibuild.
- Drop no longer required call to autoreconf, remove obsolete
  BuildRequires for libtool and autoconf-archive.

OBS-URL: https://build.opensuse.org/request/show/765601
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=292
2020-01-30 10:30:51 +00:00
773bbf43bf Accepting request 765344 from home:kukuk:ei-demo
- Remove left overs from blocking restart on update from May 29th 2019
- Use sysusers.d to create messagebus user

OBS-URL: https://build.opensuse.org/request/show/765344
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=290
2020-01-20 14:47:46 +00:00
73fe66bfe2 Accepting request 754216 from home:simotek:branches:Base:System
- Verify signatures
  * dbus-1.keyring - Key for Simon McVittie (smcv) from the Debian
  developer keyring.
- Drop dbus_at_console.ck not needed
- Clean up sources
  * Source2 dbus-1.desktop now Source4
  * baselib.conf now source 3
- Update to 1.12.16
  * CVE-2019-12749: Do not attempt to carry out DBUS_COOKIE_SHA1
    authentication for identities that differ from the user running the
    DBusServer. Previously, a local attacker could manipulate symbolic
    links in their own home directory to bypass authentication and connect
    to a DBusServer with elevated privileges. The standard system and
    session dbus-daemons in their default configuration were immune to this
    attack because they did not allow DBUS_COOKIE_SHA1, but third-party
    users of DBusServer such as Upstart could be vulnerable.
    Thanks to Joe Vennix of Apple Information Security.
    (bsc#1137832, dbus#269, Simon McVittie)
- From 1.12.14
  * Raise soft fd limit to match hard limit, even if unprivileged.
    This makes session buses with many clients, or with clients that make
    heavy use of fd-passing, less likely to suffer from fd exhaustion.
    (dbus!103, Simon McVittie)
  * If a privileged dbus-daemon has a hard fd limit greater than 64K, don't
    reduce it to 64K, ensuring that we can put back the original fd limits
    when carrying out traditional (non-systemd) activation. This fixes a
    regression with systemd >= 240 in which system services inherited
    dbus-daemon's hard and soft limit of 64K fds, instead of the intended
    soft limit of 1K and hard limit of 512K or 1M.
    (dbus!103, Debian#928877; Simon McVittie)
  * Fix build failures caused by an AX_CODE_COVERAGE API change in newer
    autoconf-archive versions (dbus#249, dbus!88; Simon McVittie)
  * Fix build failures with newer autoconf-archive versions that include
    AX_-prefixed shell variable names (dbus#249, dbus!86; Simon McVittie)
  * Parse section/group names in .service files according to the syntax
    from the Desktop Entry Specification, rejecting control characters
    and non-ASCII in section/group names (dbus#208, David King)
  * Fix various -Wlogical-op issues that cause build failure with newer
    gcc versions (dbus#225, dbus!109; David King)
  * Don't assume we can set permissions on a directory, for the benefit of
    MSYS and Cygwin builds (dbus#216, dbus!110; Simon McVittie)
  * Don't overwrite PKG_CONFIG_PATH and related environment variables when
    the pkg-config-based version of DBus1Config is used in a CMake project
    (dbus#267, dbus!96; Clemens Lang)
- Drop now upstream Patches
  * dbus-no-ax-check.patch
  * dbus-new-autoconf-archive.patch
- Fix two inconsistencies with _libexecdir, sysusers.d and
  tmpfiles.d are always in %{_prefix}/lib/.
- Drop update-desktop-files BuildRequires, once added for
  mimetypes.prov which is no longer part of update-desktop-files,
  and dbus-1.desktop does not even handles a single mimetype.
- Replace DISABLE_RESTART_ON_UPDATE with
  %service_del_postun_without_restart
- Remove version specific code to block all updates on restart as
  hopefully no tumbleweed versions still have code causing those
  issues (was only present for a few snapshots)
- Remove the Leap42 conditionals that cause file conflict with
  filesystem package
- Drop use of $FIRST_ARG in .spec
  The use of $FIRST_ARG was probably required because of the
  %service_* rpm macros were playing tricks with the shell positional
  parameters. This is bad practice and error prones so let's assume
  that no macros should do that anymore and hence it's safe to assume
  that positional parameters remains unchanged after any rpm macro
  call.

OBS-URL: https://build.opensuse.org/request/show/754216
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=287
2019-12-06 04:01:33 +00:00
a66ba7c4a9 Accepting request 750036 from home:StefanBruens:branches:Base:System
- Fix two inconsistencies with _libexecdir, sysusers.d and
  tmpfiles.d are always in %{_prefix}/lib/.
- Drop update-desktop-files BuildRequires, once added for
  mimetypes.prov which is no longer part of update-desktop-files,
  and dbus-1.desktop does not even handles a single mimetype.

OBS-URL: https://build.opensuse.org/request/show/750036
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=285
2019-11-21 03:04:57 +00:00
6f2d4ee12a Accepting request 706332 from home:simotek:branches:Base:System
Also remove %post_trans thats no longer needed

OBS-URL: https://build.opensuse.org/request/show/706332
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=283
2019-06-03 11:19:27 +00:00
089ac9bc7b Accepting request 697415 from home:scarabeus_iv:branches:Base:System
- Remove the Leap42 conditionals that cause file conflict with
  filesystem package

- Remove the Leap42 conditionals that cause file conflict with
  filesystem package

OBS-URL: https://build.opensuse.org/request/show/697415
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=281
2019-05-03 15:57:18 +00:00
967de1a55a Accepting request 678161 from home:fbui:branches:Base:System
- Drop use of $FIRST_ARG in .spec
  The use of $FIRST_ARG was probably required because of the
  %service_* rpm macros were playing tricks with the shell positional
  parameters. This is bad practice and error prones so let's assume
  that no macros should do that anymore and hence it's safe to assume
  that positional parameters remains unchanged after any rpm macro
  call.

OBS-URL: https://build.opensuse.org/request/show/678161
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=279
2019-02-22 08:13:10 +00:00
8e93b36b7f Accepting request 670264 from home:scarabeus_iv:branches:Base:System
- Update to 1.12.12:
  * Reference the freedesktop.org Code of Conduct (Simon McVittie)
  * Stop the dbus-daemon leaking memory (an error message) if delivering
    the message that triggered auto-activation is forbidden. This is
    technically a denial of service because the dbus-daemon will
    run out of memory eventually, but it's a very slow and noisy one,
    because all the rejected messages are also very likely to have
    been logged to the system log, and its scope is typically limited by
    the finite number of activatable services available.
    (dbus#234, Simon McVittie)
  * Remove __attribute__((__malloc__)) attribute on dbus_realloc(),
    which does not meet the criteria for that attribute in gcc 4.7+,
    potentially leading to miscompilation (fd.o #107741, Simon McVittie)
  * Fix some small O(1) memory leaks (fd.o #107320, Simon McVittie)
  * Fix printf formats for pointer-sized integers on 64-bit Windows
    (fd.o #105662, Ralf Habacker)
  *  Always use select()-based poll() emulation on Darwin-based OSs
    (macOS, etc.) and on Interix, similar to what libcurl does
    (dbus#232, dbus!19; Simon McVittie)
  * Extend a test timeout to avoid spurious failures in CI
    (dbus!26, Simon McVittie)

- Add patch to build with new autoconf-archive, there is now
  bash variable AX_BLA that gets detected and autoreconf aborts;
  thus rather just disable the pointless check:
  * dbus-no-ax-check.patch
- Add patch to fix codecoverage m4 macro changes in autoconf-archive:
  * dbus-new-autoconf-archive.patch

- Update to 1.12.12:

OBS-URL: https://build.opensuse.org/request/show/670264
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=277
2019-01-31 09:20:00 +00:00
6a028e55b6 Accepting request 666200 from home:alarrosa:branches:Base:System
- Make libdbus-1-3 own the %{_datadir}/dbus-1/system.d directory

OBS-URL: https://build.opensuse.org/request/show/666200
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=274
2019-01-15 16:31:31 +00:00
b1a37b332d Accepting request 665897 from home:kukuk:branches:Base:System
- Use %license instead of %doc [bsc#1082318]

OBS-URL: https://build.opensuse.org/request/show/665897
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=273
2019-01-15 08:12:38 +00:00
c81785ebc5 Accepting request 660057 from home:jengelh:branches:Base:System
- Avoid bashisms in scriptlets.

OBS-URL: https://build.opensuse.org/request/show/660057
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=271
2018-12-19 19:15:58 +00:00