From patchwork Mon Jun 10 15:45:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1113153 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="sKnFEefj"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45MyCC4kWDz9sN6 for ; Tue, 11 Jun 2019 01:45:42 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 9B9AC20431; Mon, 10 Jun 2019 15:45:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LihchW9I0k40; Mon, 10 Jun 2019 15:45:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 9BA7820412; Mon, 10 Jun 2019 15:45:35 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 0ACA11BF399 for ; Mon, 10 Jun 2019 15:45:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0807986569 for ; Mon, 10 Jun 2019 15:45:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NUPy2E99ZyzI for ; Mon, 10 Jun 2019 15:45:33 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by whitealder.osuosl.org (Postfix) with ESMTPS id 279168656A for ; Mon, 10 Jun 2019 15:45:33 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id c6so8672957wml.0 for ; Mon, 10 Jun 2019 08:45:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Nz8XczAP/jI8nvP/ifqbyc48E1a1V3ULSriP3Yb14to=; b=sKnFEefjpRmnzHfj/Qj3v5tc4m7hm/+Ry+nxbxmv6uWhsMPxm2JgbokW0ZqfJfJaoA oTI/6QsR+10qC3islpTQNdPbpCd0JOSqBtQpx7AbdA2i6ihBL2BLn7EzD3h/0xY9b3WY i44BrLJVU6eQzIoqWtOZQ8UISEyc8OImdo1kTT0An7W4MmBudgvNV2IA807Ortu2w7ux GadbqcvnSBJF6+9cRO7uZSUlm//2EfmfwyfJ7xqpZtJECL3o3cDhnPS9mgA43350UYeq 0UD0eBluD8b7rFIM9Qi7W3NlvrmS1kb/FKIElmoYMDJ2Aogq85rtPJav3nc+Or5wFTkX IQDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Nz8XczAP/jI8nvP/ifqbyc48E1a1V3ULSriP3Yb14to=; b=TSxdPBnr8ciVlxsFqpD6y1RvAOvePyiPgo+awoFG6ne9tx4gSA8iSanSn4GkMZZRm7 pME/eSGNUVZcgPPhD5mAXOESF+iRp/mhE3I6RFvM356KK6mAVr7Vz92voL1ISH0zZ5a1 JYPq1KlmIn68da5WNYXYgzY8gc4WzLs8630lSA2vlq6fZ67QY5+w33wa83WwaiNftMwO YLsAzlu3pZrzQj7/H8LeA/2hvvqZwnYQFzmI/KqUy6Ci97U9tXLeGZ+/csWuUf/Wu+bo cDVt5xX9SiIpExkzM3resCUX12SyIOGtRc5GoAXiQ+Y5wcS00hL+IVhRxqJXOn8xSxfh vubQ== X-Gm-Message-State: APjAAAXrW0uBub7LVXIfIsc5gFlx4hFr4BTwFS15DGBhWY4gCGDzTljF WDlv3CT4OALpRLiPllZFAtLgDh7MpQI= X-Google-Smtp-Source: APXvYqyWLZZ9Ub/ArG4XL+ry/khIqyr9WMNX2OUbHZf5AKnfvcXX+ncj5V3Wl369HVwPJgrXGhOHDQ== X-Received: by 2002:a1c:238e:: with SMTP id j136mr13055727wmj.4.1560181531447; Mon, 10 Jun 2019 08:45:31 -0700 (PDT) Received: from kali.home (lfbn-ren-1-314-196.w2-10.abo.wanadoo.fr. [2.10.15.196]) by smtp.gmail.com with ESMTPSA id h23sm11513789wmb.25.2019.06.10.08.45.30 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 10 Jun 2019 08:45:30 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Mon, 10 Jun 2019 17:45:29 +0200 Message-Id: <20190610154530.26937-2-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190610154530.26937-1-fontaine.fabrice@gmail.com> References: <20190610154530.26937-1-fontaine.fabrice@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/3] package/collectd: add onewire support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Fabrice Fontaine --- package/collectd/Config.in | 7 +++++++ package/collectd/collectd.mk | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/package/collectd/Config.in b/package/collectd/Config.in index 4ca2204a56..32a7441324 100644 --- a/package/collectd/Config.in +++ b/package/collectd/Config.in @@ -359,6 +359,13 @@ config BR2_PACKAGE_COLLECTD_OLSRD help Reads information about meshed networks from olsrd. +config BR2_PACKAGE_COLLECTD_ONEWIRE + bool "onewire" + select BR2_PACKAGE_OWFS + help + Collects temperature information from sensors connected over + the OneWire bus. + config BR2_PACKAGE_COLLECTD_OPENLDAP bool "openldap" depends on BR2_USE_WCHAR diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk index 6563668ce0..3ff314bb82 100644 --- a/package/collectd/collectd.mk +++ b/package/collectd/collectd.mk @@ -17,7 +17,7 @@ COLLECTD_PLUGINS_DISABLE = \ apple_sensors aquaero ascent barometer dbi dpdkstat email \ gmond hddtemp intel_rdt ipmi java libvirt lpar lua lvm \ madwifi mbmon mic multimeter netapp notify_desktop numa \ - nut onewire oracle perl pf pinba powerdns python routeros \ + nut oracle perl pf pinba powerdns python routeros \ rrdcached sigrok tape target_v5upgrade teamspeak2 ted \ tokyotyrant turbostat uuid varnish virt vserver write_kafka \ write_mongodb xencpu xmms zfs_arc zone @@ -102,6 +102,7 @@ COLLECTD_CONF_OPTS += \ $(if $(BR2_PACKAGE_COLLECTD_NOTIFY_NAGIOS),--enable-notify_nagios,--disable-notify_nagios) \ $(if $(BR2_PACKAGE_COLLECTD_NTPD),--enable-ntpd,--disable-ntpd) \ $(if $(BR2_PACKAGE_COLLECTD_OLSRD),--enable-olsrd,--disable-olsrd) \ + $(if $(BR2_PACKAGE_COLLECTD_ONEWIRE),--enable-onewire,--disable-onewire) \ $(if $(BR2_PACKAGE_COLLECTD_OPENLDAP),--enable-openldap,--disable-openldap) \ $(if $(BR2_PACKAGE_COLLECTD_OPENVPN),--enable-openvpn,--disable-openvpn) \ $(if $(BR2_PACKAGE_COLLECTD_PING),--enable-ping,--disable-ping) \ @@ -164,6 +165,7 @@ COLLECTD_DEPENDENCIES = \ $(if $(BR2_PACKAGE_COLLECTD_NETLINK),libmnl) \ $(if $(BR2_PACKAGE_COLLECTD_NGINX),libcurl) \ $(if $(BR2_PACKAGE_COLLECTD_NOTIFY_EMAIL),libesmtp) \ + $(if $(BR2_PACKAGE_COLLECTD_ONEWIRE),owfs) \ $(if $(BR2_PACKAGE_COLLECTD_OPENLDAP),openldap) \ $(if $(BR2_PACKAGE_COLLECTD_PING),liboping) \ $(if $(BR2_PACKAGE_COLLECTD_POSTGRESQL),postgresql) \