Commit Graph

85 Commits

Author SHA1 Message Date
ajacoutot
ba3d73dd83 Update to dbus-1.14.0.
Zap "daemon" class from _dbus user.
2022-03-04 07:01:46 +00:00
ajacoutot
a4b7660ad3 Update to dbus-1.12.22. 2022-02-26 08:39:11 +00:00
ajacoutot
a04fc91331 Update to dbus-1.12.14. 2019-05-18 19:02:05 +00:00
ajacoutot
6098c5e283 Update to dbus-1.12.10. 2018-08-05 19:12:05 +00:00
ajacoutot
c2ec40becb Update to dbus-1.12.4. 2018-02-10 00:01:42 +00:00
ajacoutot
f1b58394b0 Update to dbus-1.12.0. 2017-11-01 06:27:31 +00:00
robert
d267cd02ca Unbreak autoconf checks with clang by not using nested functions
in the checks.

Someone clearly did not read the autoconf documentation because
using the following functions with a function declaration inside
the body will end up declaring a function inside a function.

- AC_TRY_COMPILE( [], [ int main() { return 0; } ],
- AC_LANG_PROGRAM([[]], [[int main (void) { return 0; }]])],
- AC_TRY_LINK([], [int main (void) { return 0; }],

Result:

int
main ()
{
int main (void) { return 0; }
  ;
  return 0;
}

nested functions is a gcc extension which is not supported by
clang.

test.c:4:17: error: function definition is not allowed here
int main (void) { return 0; }
                ^
1 error generated.

This causes tests to fail in the configure scripts resulting in
missing compile and link time flags from the builds.

This resulted in weird behaviour of several software, like gnome
hanging completely due to gtk+3 not being built properly.

This change intrudces the following fixes:

- remove int main() declaration from AC_TRY_COMPILE, AC_LANG_PROGRAM, AC_TRY_LINK
  as it comes with a declaration already, and people misused them

- change to use AC_LANG_SOURCE when needed in case a complete source block is specified

Most of the changes are in configure.(ac|in), however there were some cases
where autoconf is either broken or the build failed because of an autoconf
generated configure script. Everytihng else is switched to autoconf, so
the maintainers can go ahead and upstream these diffs.

There are more to come, we are continously checking the tree for these issues
and in the future the infrastructure will error if such a case is found.
2017-09-25 09:16:12 +00:00
ajacoutot
3d1fc8c9f8 Stop patching for /var/lib/dbus -> /var/db/dbus; nowadays, most apps look
into /etc/machine-id *before* looking into /var/lib/dbus/machine-id and for
the few that don't patch them to look directly there.

Thanks sthen@ for the source ports seach.
2017-04-22 13:43:21 +00:00
ajacoutot
bb559d9c43 Update to dbus-1.10.8. 2016-03-08 08:36:28 +00:00
ajacoutot
c749bca139 Update to dbus-1.10.4. 2015-11-18 07:04:43 +00:00
ajacoutot
2b750fbe60 Update to dbus-1.10.2. 2015-10-27 15:22:28 +00:00
ajacoutot
20ea8b4fe9 Update to dbus-1.10.0. 2015-08-27 06:46:46 +00:00
ajacoutot
0d9f0bc2b8 Update to dbus-1.8.20. 2015-07-22 18:09:17 +00:00
ajacoutot
7b323293e7 Update to dbus-1.8.18. 2015-05-15 06:50:04 +00:00
ajacoutot
d63876e3d4 Update to dbus-1.8.10. 2014-11-11 14:25:56 +00:00
ajacoutot
11488b8a34 SECURITY update to dbus-1.8.8. 2014-09-17 05:49:15 +00:00
ajacoutot
d8fec64c48 Update to dbus-1.8.2. 2014-05-03 11:15:19 +00:00
ajacoutot
3e83a5a24f Respect max_len. 2014-04-16 12:35:51 +00:00
ajacoutot
1175cae585 Simplify. 2014-04-16 08:18:16 +00:00
ajacoutot
4036d94772 Rewrite _dbus_command_for_pid() to that we don't use libkvm.
glanced over by miod@
2014-04-14 18:43:24 +00:00
ajacoutot
7d298940b9 Update to dbus-1.8.0.
bulk testing by landry@
runtime testing by myself
2014-01-24 10:43:16 +00:00
ajacoutot
3ca1aa0d2b Bring some kqueue enhancements from upstream including a memory leak fix. 2014-01-06 17:36:33 +00:00
ajacoutot
daeb3a76e4 Fix build with --enable-tests. 2013-12-27 12:12:05 +00:00
ajacoutot
167e29fda3 Fix a mem leak and undefined behaviour; from upstream. 2013-12-08 10:42:34 +00:00
ajacoutot
9659a02104 Update to dbus-1.6.18. 2013-11-07 07:06:16 +00:00
ajacoutot
e19f85b88f path_namespace='/' should match everything (upstream). 2013-10-30 15:41:58 +00:00
ajacoutot
7bd14c6506 Missed. 2013-10-09 11:11:49 +00:00
ajacoutot
983e697146 Update to dbus-1.6.16. 2013-10-09 11:10:46 +00:00
ajacoutot
03f094085f Merge some crash fixes from upstream.
ok espie@ sthen@
2013-07-20 13:10:28 +00:00
ajacoutot
7414f54517 SECURITY update to DBus 1.6.12:
CVE-2013-2168: fix misuse of va_list that could be used as a denial of
service for system services.
2013-06-13 13:08:53 +00:00
ajacoutot
cc5f1a3edd Update to dbus-1.6.10. 2013-05-07 07:00:01 +00:00
ajacoutot
978381c7b1 Bring some fixes from upstream:
* sync configure.ac patch
* dbus-spawn: set SIGPIPE to SIG_IGN before activating services
* dbus-sysdeps-pthread.c: don't fail if !HAVE_MONOTONIC_CLOCK under -Werror=unused
* Remove redundant close() calls
* Don't leak temporary fds pointing to /dev/null
2013-01-08 09:30:27 +00:00
sthen
40f5f67190 cope with sysctl.h changes 2012-12-18 21:38:12 +00:00
ajacoutot
56fbabc5ca Implement _dbus_command_for_pid which is really useful for debugging. 2012-10-11 07:25:20 +00:00
ajacoutot
604b0262ea Simpler patch; from pkgsrc. 2012-10-10 17:20:36 +00:00
ajacoutot
1e8fbeb470 Update to dbus-1.6.8. 2012-09-30 07:51:33 +00:00
ajacoutot
73faab8d51 Remove the -pthread patching and properly fix the autoconf test for the
pthread functions.

from Brad
2012-09-04 06:32:52 +00:00
ajacoutot
b6e1b836ac Bugfix update to dbus-1.6.4. 2012-08-15 08:03:43 +00:00
ajacoutot
07873b5ce6 linking to libdbus-1.0 requires -pthread.
spotted by "Onat I."
2012-07-06 16:28:21 +00:00
ajacoutot
24e2018964 Update to dbus-1.6.2.
Committing now so that any fallout can be fixed during g2k12.
2012-07-05 07:19:48 +00:00
ajacoutot
1ad3aa55d5 Sync patch wirh upstream, USE_GMAKE. 2012-04-26 09:25:40 +00:00
ajacoutot
7649518289 Make this build with regular make. 2012-04-04 06:19:01 +00:00
ajacoutot
3538c38f96 I forgot to mention the BZ URL in previous; no pkg change. 2012-03-31 18:14:39 +00:00
ajacoutot
138bff109e Update to dbus-1.4.20. 2012-03-31 17:56:44 +00:00
ajacoutot
516391a936 Properly detect and use the MONOTONIC clock now that we have
pthread_condattr_{get,set}clock().
2012-02-23 06:58:11 +00:00
ajacoutot
cdc570f075 Fix MSG_NOSIGNAL detection. 2011-12-03 14:27:40 +00:00
ajacoutot
3c00c20c0e Tweak rc script and don't try to install under /var/... we already sample
it.
2011-10-29 14:37:42 +00:00
ajacoutot
fb6a5924d3 Bugfix update to dbus-1.4.16. 2011-09-29 06:57:36 +00:00
ajacoutot
3b1fac67e8 Bugfix update to dbus-1.4.14. 2011-09-09 09:00:25 +00:00
ajacoutot
e543ce6329 Bugfix update to dbus-1.4.12. 2011-06-15 16:26:07 +00:00