Switch to libcap-ng, avoid linking libdbus against libcap[-ng]
authorColin Walters <walters@verbum.org>
Thu, 28 Jan 2010 00:38:44 +0000 (19:38 -0500)
committerColin Walters <walters@verbum.org>
Thu, 28 Jan 2010 22:01:24 +0000 (17:01 -0500)
commit0a3905d7f3b2ff43b09479863775939f9c8acad4
tree5b3bd15ac10ce030b3e4179d7b38406b196d1066
parent5b2cf0d0310f5da78dc99ce55c678ca93d2c29c4
Switch to libcap-ng, avoid linking libdbus against libcap[-ng]

(Commit message written by Colin Walters <walters@verbum.org>)

A current Fedora goal is to convert projects to libcap-ng which
more easily allows dropping Linux capabilities.  For software
which also links to libdbus, it's problematic to link against
libcap as well.

Though really, libdbus should have never linked against libcap
in the first place, which is another thing this patch changes
by moving the libcap-using bits out of dbus/ and into bus/.

https://bugzilla.redhat.com/show_bug.cgi?id=518541
bus/selinux.c
bus/selinux.h
configure.in
dbus/dbus-sysdeps-util-unix.c
dbus/dbus-sysdeps.h