dbus: update to 1.14.2. dbus 1.14.2 (2022-09-26) ======================== Fixes: • Fix build failure on FreeBSD (dbus!277, Alex Richardson) • Fix build failure on macOS with launchd enabled (dbus!287, Dawid Wróbel) • Preserve errno on failure to open /proc/self/oom_score_adj (dbus!285, Gentoo#834725; Mike Gilbert) • On Linux, don't log warnings if oom_score_adj is read-only but does not need to be changed (dbus!291, Simon McVittie) • Slightly improve error-handling for inotify (dbus!235, Simon McVittie) • Don't crash if dbus-daemon is asked to watch more than 128 directories for changes (dbus!302, Jan Tojnar) • Autotools build system fixes: · Don't treat --with-x or --with-x=yes as a request to disable X11, fixing a regression in 1.13.20. Instead, require X11 libraries and fail if they cannot be detected. (dbus!263, Lars Wendler) · When a CMake project uses an Autotools-built libdbus in a non-standard prefix, find dbus-arch-deps.h successfully (dbus#314, Simon McVittie) · Don't include generated XML catalog in source releases (dbus!317, Jan Tojnar) · Improve robustness of detecting gcc __sync atomic builtins (dbus!320, Alex Richardson) • CMake build system fixes: · Detect endianness correctly, fixing interoperability with other D-Bus implementations on big-endian systems (dbus#375, Ralf Habacker) · When building for Unix, install session and system bus setup in the intended locations (dbus!267, dbus!297; Ralf Habacker, Alex Richardson) · Detect setresuid() and getresuid() (dbus!319, Alex Richardson) · Detect backtrace() on FreeBSD (dbus!281, Alex Richardson) · Don't include headers from parent directory (dbus!282, Alex Richardson) · Distinguish between host and target TMPDIR when cross-compiling (dbus!279, Alex Richardson) · Fix detection of atomic operations (dbus!306, Alex Richardson) Tests and CI enhancements: • On Unix, skip tests that switch uid if run in a container that is unable to do so, instead of failing (dbus#407, Simon McVittie) • Use the latest MSYS2 packages for CI (Ralf Habacker, Simon McVittie)diff -r1.132 -r1.133 pkgsrc/sysutils/dbus/Makefile
(wiz)
@@ -1,17 +1,16 @@ | @@ -1,17 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.132 2022/05/25 09:33:53 jperkin Exp $ | 1 | # $NetBSD: Makefile,v 1.133 2022/10/03 12:44:00 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= dbus-1.14.0 | 3 | DISTNAME= dbus-1.14.2 | |
4 | PKGREVISION= 3 | |||
5 | CATEGORIES= sysutils | 4 | CATEGORIES= sysutils | |
6 | MASTER_SITES= https://dbus.freedesktop.org/releases/dbus/ | 5 | MASTER_SITES= https://dbus.freedesktop.org/releases/dbus/ | |
7 | EXTRACT_SUFX= .tar.xz | 6 | EXTRACT_SUFX= .tar.xz | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://www.freedesktop.org/Software/dbus | 9 | HOMEPAGE= https://www.freedesktop.org/Software/dbus | |
11 | COMMENT= Message bus system | 10 | COMMENT= Message bus system | |
12 | LICENSE= gnu-gpl-v2 | 11 | LICENSE= gnu-gpl-v2 | |
13 | 12 | |||
14 | CONFLICTS+= dbus-glib<0.71 | 13 | CONFLICTS+= dbus-glib<0.71 | |
15 | CONFLICTS+= py27-dbus<0.71 | 14 | CONFLICTS+= py27-dbus<0.71 | |
16 | 15 | |||
17 | BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto | 16 | BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto |
@@ -1,8 +1,8 @@ | @@ -1,8 +1,8 @@ | |||
1 | $NetBSD: distinfo,v 1.98 2022/03/08 11:16:00 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.99 2022/10/03 12:44:00 wiz Exp $ | |
2 | 2 | |||
3 | BLAKE2s (dbus-1.14.0.tar.xz) = 5440d545926ad199ac0a523aa81a737ff84274f5a4a16a1cbd3f1eea8da2c621 | 3 | BLAKE2s (dbus-1.14.2.tar.xz) = e494ae3be33733c32bf1f32d1b5b2e72ac73895344f1c87156291f5042dd1294 | |
4 | SHA512 (dbus-1.14.0.tar.xz) = 9bf17a3ebb3cf44722c6fbf24ee56e9dc14d6882fc312f26c7f07459d969424bc2fb63a229139e011804ecc479a8f0eb1a0c83286f8d5a664c5979d12634179f | 4 | SHA512 (dbus-1.14.2.tar.xz) = 6e503385bfc1b17d4922dc6d2fb3fa10626ed306fe2b3a6a59f6cf81667c4cd63c2fc5e4fd040f48415235e9f4a75b10948ef512f022af1edab20f426271a9b4 | |
5 | Size (dbus-1.14.0.tar.xz) = 1360228 bytes | 5 | Size (dbus-1.14.2.tar.xz) = 1362972 bytes | |
6 | SHA1 (patch-configure) = 9dee6306aa07b60449a0f9f0f1ea3dccbc70dcb4 | 6 | SHA1 (patch-configure) = 9dee6306aa07b60449a0f9f0f1ea3dccbc70dcb4 | |
7 | SHA1 (patch-dbus_dbus-sysdeps-unix.c) = 3dfc60eba7ab9d5a29d2a842ce0baa1b109df716 | 7 | SHA1 (patch-dbus_dbus-sysdeps-unix.c) = 3dfc60eba7ab9d5a29d2a842ce0baa1b109df716 | |
8 | SHA1 (patch-dbus_dbus-sysdeps-util-unix.c) = a99de7c8abb77940000814f593416d21ae234193 | 8 | SHA1 (patch-dbus_dbus-sysdeps-util-unix.c) = 537bb8a30bd0bde8ac208a7ce9a4e1903246b443 |
@@ -1,31 +1,31 @@ | @@ -1,31 +1,31 @@ | |||
1 | $NetBSD: patch-dbus_dbus-sysdeps-util-unix.c,v 1.5 2022/03/08 11:16:00 wiz Exp $ | 1 | $NetBSD: patch-dbus_dbus-sysdeps-util-unix.c,v 1.6 2022/10/03 12:44:00 wiz Exp $ | |
2 | 2 | |||
3 | add solaris specific console_user test | 3 | add solaris specific console_user test | |
4 | 4 | |||
5 | --- dbus/dbus-sysdeps-util-unix.c.orig 2022-02-23 14:39:11.000000000 +0000 | 5 | --- dbus/dbus-sysdeps-util-unix.c.orig 2022-09-14 12:12:21.000000000 +0000 | |
6 | +++ dbus/dbus-sysdeps-util-unix.c | 6 | +++ dbus/dbus-sysdeps-util-unix.c | |
7 | @@ -56,6 +56,10 @@ | 7 | @@ -56,6 +56,10 @@ | |
8 | #ifdef HAVE_SYS_PRCTL_H | |||
8 | #include <sys/prctl.h> | 9 | #include <sys/prctl.h> | |
9 | #endif | 10 | #endif | |
10 | ||||
11 | +#if defined(__sun) && defined(__SVR4) | 11 | +#if defined(__sun) && defined(__SVR4) | |
12 | +#include <pwd.h> | 12 | +#include <pwd.h> | |
13 | +#endif | 13 | +#endif | |
14 | + | 14 | + | |
15 | #ifdef HAVE_SYS_SYSLIMITS_H | 15 | ||
16 | #include <sys/syslimits.h> | 16 | #ifdef HAVE_SYSTEMD | |
17 | #endif | 17 | #include <systemd/sd-daemon.h> | |
18 | @@ -581,8 +585,31 @@ _dbus_user_at_console (const char *usern | 18 | @@ -578,8 +582,31 @@ _dbus_user_at_console (const char *usern | |
19 | #ifdef DBUS_CONSOLE_AUTH_DIR | 19 | #ifdef DBUS_CONSOLE_AUTH_DIR | |
20 | DBusString u, f; | 20 | DBusString u, f; | |
21 | dbus_bool_t result; | 21 | dbus_bool_t result; | |
22 | +#if defined(__sun) && defined(__SVR4) | 22 | +#if defined(__sun) && defined(__SVR4) | |
23 | + struct passwd *passwd_entry; | 23 | + struct passwd *passwd_entry; | |
24 | +#endif | 24 | +#endif | |
25 | 25 | |||
26 | result = FALSE; | 26 | result = FALSE; | |
27 | + | 27 | + | |
28 | +#if defined(__sun) && defined(__SVR4) | 28 | +#if defined(__sun) && defined(__SVR4) | |
29 | + passwd_entry = getpwnam (username); | 29 | + passwd_entry = getpwnam (username); | |
30 | + if (passwd_entry != NULL) | 30 | + if (passwd_entry != NULL) | |
31 | + { | 31 | + { | |
@@ -37,21 +37,21 @@ add solaris specific console_user test | @@ -37,21 +37,21 @@ add solaris specific console_user test | |||
37 | + if (stat ("/dev/vt/console_user", &st) == 0 && st.st_uid == uid) | 37 | + if (stat ("/dev/vt/console_user", &st) == 0 && st.st_uid == uid) | |
38 | + { | 38 | + { | |
39 | + /* | 39 | + /* | |
40 | + * Owner is allowed to take over. Before we have real | 40 | + * Owner is allowed to take over. Before we have real | |
41 | + * ownership in HAL, assume it's the console owner. | 41 | + * ownership in HAL, assume it's the console owner. | |
42 | + */ | 42 | + */ | |
43 | + result = TRUE; | 43 | + result = TRUE; | |
44 | + } | 44 | + } | |
45 | + } | 45 | + } | |
46 | +#else | 46 | +#else | |
47 | if (!_dbus_string_init (&f)) | 47 | if (!_dbus_string_init (&f)) | |
48 | { | 48 | { | |
49 | _DBUS_SET_OOM (error); | 49 | _DBUS_SET_OOM (error); | |
50 | @@ -607,6 +634,7 @@ _dbus_user_at_console (const char *usern | 50 | @@ -604,6 +631,7 @@ _dbus_user_at_console (const char *usern | |
51 | 51 | |||
52 | out: | 52 | out: | |
53 | _dbus_string_free (&f); | 53 | _dbus_string_free (&f); | |
54 | +#endif | 54 | +#endif | |
55 | 55 | |||
56 | return result; | 56 | return result; | |
57 | #else | 57 | #else |