From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2BE39C4167B for ; Thu, 9 Nov 2023 16:40:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 8AD5640A61; Thu, 9 Nov 2023 16:40:05 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 8AD5640A61 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BR1Hkl85OzhH; Thu, 9 Nov 2023 16:40:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 4568840A64; Thu, 9 Nov 2023 16:40:03 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 4568840A64 Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 5DDD21BF418 for ; Thu, 9 Nov 2023 16:40:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 3728F40351 for ; Thu, 9 Nov 2023 16:40:01 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 3728F40351 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xpiVwixXpF8Y for ; Thu, 9 Nov 2023 16:40:00 +0000 (UTC) Received: from smtp-out.orange.com (smtp-out.orange.com [80.12.126.238]) by smtp4.osuosl.org (Postfix) with ESMTPS id C6CCB40321 for ; Thu, 9 Nov 2023 16:39:59 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org C6CCB40321 Received: from unknown (HELO opfedv3rlp0d.nor.fr.ftgroup) ([x.x.x.x]) by smtp-out.orange.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Nov 2023 17:39:56 +0100 Received: from unknown (HELO OPE16NORMBX305.corporate.adroot.infra.ftgroup) ([x.x.x.x]) by opfedv3rlp0d.nor.fr.ftgroup with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 09 Nov 2023 17:39:56 +0100 Received: from tl-lnx-nyma7486-2 [x.x.x.x] by OPE16NORMBX305.corporate.adroot.infra.ftgroup [x.x.x.x] with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Thu, 9 Nov 2023 17:39:55 +0100 Received: by tl-lnx-nyma7486-2 (sSMTP sendmail emulation); Thu, 09 Nov 2023 17:39:54 +0100 X-IronPort-AV: E=Sophos;i="6.03,289,1694728800"; d="scan'208";a="64156467" From: To: Date: Thu, 9 Nov 2023 17:39:54 +0100 Message-ID: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Patchwork-Hint: ignore X-Originating-IP: [10.115.27.50] X-ClientProxiedBy: OPE16NORMBX608.corporate.adroot.infra.ftgroup (10.115.27.32) To OPE16NORMBX305.corporate.adroot.infra.ftgroup (10.115.27.10) X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orange.com; i=@orange.com; q=dns/txt; s=orange002; t=1699548000; x=1731084000; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=gOZn7d/0nYbnRbinzEOZH0NsJYoh8WLY39sawcctc24=; b=IWHA6HfvctwTKWnUp+EWLJpqbf1PvnwiVNPWkYKoAs9d0ZvMcPPUtn46 1Ml8IHNyrWQA67LS7Ew6PdeBArsnABJyBgZQsiGkb6d/cy5nWj0Ww5QVW YBrT9iuqnseqkBjCtrX/baV/2gF8w46bre1haRqwKAU53TxKpkM9HF9VG +OkTrUC9jpksCkbGlPidRpSQfLE5W7b8o7otPhYfGuRYTTdpHJ2idJEZX FM3TAoQXPkwkMHbJXF5xUqqNIVvZPmSJ6U3hYAbmEnF0ZCyD73NQClTIo p0y3IlD+TURmabM+trK2qxl69MKe3IUP0RVdFL5TBAmaaU1lZtTDp0UjP A==; X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=orange.com header.i=@orange.com header.a=rsa-sha256 header.s=orange002 header.b=IWHA6Hfv Subject: [Buildroot] [PATCH 0/2] package/filebeat: new package X-BeenThere: buildroot@buildroot.org 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: "Yann E . MORIN" , Vincent Fazio Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" From: "Yann E. MORIN" Hello All! This two-patch series introduces filebeat, an ElasticSearch-related tool to grab local log files and send them to a remote ElasticSearch server. It is a bit convoluted (see commit log), and requires a little extension in our golang-package infrastructure, which we introduce as the first patch in the series. $ echo BR2_PACKAGE_FILEBEAT=y >filebeat.cfg $ ./utils/test-pkg -c filebeat.cfg -p filebeat -d $(pwd)/test-pkg -a arm-aarch64 [ 1/45]: OK bootlin-aarch64-glibc [ 2/45]: OK bootlin-arcle-hs38-uclibc [ 3/45]: SKIPPED bootlin-armv5-uclibc [ 4/45]: OK bootlin-armv7-glibc [ 5/45]: OK bootlin-armv7m-uclibc [ 6/45]: SKIPPED bootlin-armv7-musl [ 7/45]: OK bootlin-m68k-5208-uclibc [ 8/45]: SKIPPED bootlin-m68k-68040-uclibc [ 9/45]: SKIPPED bootlin-microblazeel-uclibc [10/45]: SKIPPED bootlin-mipsel32r6-glibc [11/45]: SKIPPED bootlin-mipsel-uclibc [12/45]: SKIPPED bootlin-nios2-glibc [13/45]: SKIPPED bootlin-openrisc-uclibc [14/45]: SKIPPED bootlin-powerpc64le-power8-glibc [15/45]: OK bootlin-powerpc-e500mc-uclibc [16/45]: SKIPPED bootlin-riscv32-glibc [17/45]: SKIPPED bootlin-riscv64-glibc [18/45]: SKIPPED bootlin-riscv64-musl [19/45]: SKIPPED bootlin-s390x-z13-glibc [20/45]: OK bootlin-sh4-uclibc [21/45]: SKIPPED bootlin-sparc64-glibc [22/45]: SKIPPED bootlin-sparc-uclibc [23/45]: SKIPPED bootlin-x86-64-glibc [24/45]: OK bootlin-x86-64-musl [25/45]: OK bootlin-x86-64-uclibc [26/45]: OK bootlin-xtensa-uclibc [27/45]: SKIPPED br-arm-basic [28/45]: OK br-arm-full-nothread [29/45]: OK br-arm-full-static [30/45]: SKIPPED br-i386-pentium4-full [31/45]: OK br-i386-pentium-mmx-musl [32/45]: OK br-mips64-n64-full [33/45]: OK br-mips64r6-el-hf-glibc [34/45]: SKIPPED br-powerpc-603e-basic-cpp [35/45]: SKIPPED br-powerpc64-power7-glibc [36/45]: SKIPPED linaro-aarch64-be [37/45]: SKIPPED linaro-aarch64 [38/45]: OK linaro-arm [39/45]: OK sourcery-arm-armv4t [40/45]: SKIPPED sourcery-arm [41/45]: FAILED sourcery-arm-thumb2 [42/45]: FAILED sourcery-mips64 [43/45]: FAILED sourcery-mips [44/45]: SKIPPED sourcery-nios2 [45/45]: SKIPPED 45 builds, 23 skipped, 5 build failed, 0 legal-info failed, 0 show-info failed Analysis of each build failure: - sourcery-arm, sourcery-arm-thumb2: => the failure with the sourcery-arm toolchain is expected: it is very old, and uses binutils that did not not have a ld.gold, so no ld.bfd either, just a plain ld, hence our workaround against the go workaround does not work, as expected. - sourcery-mips64: => host-go does not build, so not a filebeat issue - bootlin-riscv64-glibc, bootlin-riscv64-musl: => filebeat has no implementation for its internal atomic ints on riscv64 - other skips due to go arch dependencies: no go, no beat. Regards, Yann E. MORIN. The following changes since commit a01490397e4cc11155b3c396ded382eefeef4f12 package/opencv4: security bump to version 4.8.1 (2023-11-08 23:28:53 +0100) are available as patches in this mail series, for you to apply patches up to 46f20e86fa6c17ada33ede672ffe4229d8bf26a3 package/filebeat: new package (2023-11-09 17:39:20 +0100) ---------------------------------------------------------------- Yann E. MORIN (2): package/pkg-golang: allow packages to provide extldflags package/filebeat: new package DEVELOPERS | 1 + docs/manual/adding-packages-golang.adoc | 6 ++-- package/Config.in | 1 + package/filebeat/Config.in | 14 +++++++++ package/filebeat/filebeat.default | 1 + package/filebeat/filebeat.hash | 5 ++++ package/filebeat/filebeat.mk | 52 +++++++++++++++++++++++++++++++++ package/filebeat/filebeat.service | 13 +++++++++ package/filebeat/filebeat.yml | 5 ++++ package/pkg-golang.mk | 6 +++- 10 files changed, 101 insertions(+), 3 deletions(-) create mode 100644 package/filebeat/Config.in create mode 100644 package/filebeat/filebeat.default create mode 100644 package/filebeat/filebeat.hash create mode 100644 package/filebeat/filebeat.mk create mode 100644 package/filebeat/filebeat.service create mode 100644 package/filebeat/filebeat.yml -- ____________ .-----------------.--------------------: _ :------------------. | Yann E. MORIN | Real-Time Embedded | __/ ) | /"\ ASCII RIBBON | | | Software Designer | _/ - /' | \ / CAMPAIGN | | +33 638.411.245 '--------------------: (_ `--, | X AGAINST | | yann.morin (at) orange.com |_=" ,--' | / \ HTML MAIL | '--------------------------------------:______/_____:------------------' ____________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you. _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot