lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit d1441d0424053786f4100adcd179069d64894c33
parent a4dee5089bd17db10341e0d7b58b8f5b844fd208
Author: Hannu Nyman <hannu.nyman@iki.fi>
Date:   Mon,  6 Feb 2017 16:40:43 +0200

collectd: avoid libcap dependency

Buildbot revealed that Collectd 5.7.1 uses libcap to evaluate system
capabilities and display advice on some plugins (dns, iptables, exec,
ping, ceph, turbostat).

Disable the check in configure.ac in order to avoid a dependency
for libcap. (It is not that big, only 6 kB .ipk, but still avoid that.)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

Diffstat:
Autils/collectd/patches/700-disable-sys-capability-check.patch | 14++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)

diff --git a/utils/collectd/patches/700-disable-sys-capability-check.patch b/utils/collectd/patches/700-disable-sys-capability-check.patch @@ -0,0 +1,14 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -833,10 +833,7 @@ + have_cpuid_h="no" + AC_CHECK_HEADERS(cpuid.h, [have_cpuid_h="yes"]) + +-have_capability="yes" +-AC_CHECK_HEADERS(sys/capability.h, +- [have_capability="yes"], +- [have_capability="no (<sys/capability.h> not found)"]) ++have_capability="no" + if test "x$have_capability" = "xyes"; then + AC_CHECK_LIB(cap, cap_get_bound, + [have_capability="yes"],