From patchwork Wed Feb 28 14:56:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Hitz X-Patchwork-Id: 1905847 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TlHWF5xYhz23qN for ; Thu, 29 Feb 2024 01:56:57 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 12442813FD; Wed, 28 Feb 2024 14:56:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kgdFkpJYC1_q; Wed, 28 Feb 2024 14:56:55 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 2DA618233A Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 2DA618233A; Wed, 28 Feb 2024 14:56:55 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 6C19D1BF5A9 for ; Wed, 28 Feb 2024 14:56:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 66CDF60E67 for ; Wed, 28 Feb 2024 14:56:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pmn01l1aXwb9 for ; Wed, 28 Feb 2024 14:56:53 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=212.243.197.30; helo=mail.hostpark.net; envelope-from=christian@klarinett.li; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org 7DE9860E62 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 7DE9860E62 Received: from mail.hostpark.net (mail.hostpark.net [212.243.197.30]) by smtp3.osuosl.org (Postfix) with ESMTPS id 7DE9860E62 for ; Wed, 28 Feb 2024 14:56:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id DE309164B3; Wed, 28 Feb 2024 15:56:50 +0100 (CET) X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail1.hostpark.net [127.0.0.1]) (amavisd-new, port 10224) with ESMTP id 5O1XEWASIae9; Wed, 28 Feb 2024 15:56:50 +0100 (CET) Received: from customer (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id 2364016255; Wed, 28 Feb 2024 15:56:48 +0100 (CET) To: buildroot@buildroot.org Date: Wed, 28 Feb 2024 15:56:40 +0100 Message-ID: <20240228145642.436509-1-christian@klarinett.li> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=klarinett.li; h= content-transfer-encoding:mime-version:x-mailer:message-id:date :date:subject:subject:from:from; s=sel2011a; t=1709132210; bh=sf cjhmq6j1HqMJceyLcNNL2w1MVAlqOSdxcpoe0exqc=; b=lXz++CTp1EPTI7fyv8 96dLUHuQ3kOqdURzC2JFkpZXZ7GWA9/sXxWFAfKvjf95nyyVx/uUCShr7fqYoqBU Nwxc4Hk1mdaIUZZvGr9T6sCBZhDdMZk6a5oduvW9I7KmRN7Xfdu/wfBYAOGmGIC2 GK7f0rZ03Lpjh7iGLFZMr787w= X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=reject dis=none) header.from=klarinett.li X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (1024-bit key) header.d=klarinett.li header.i=@klarinett.li header.a=rsa-sha256 header.s=sel2011a header.b=lXz++CTp Subject: [Buildroot] [PATCH 1/2] package/zic: add hash for existing patch 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: , X-Patchwork-Original-From: Christian Hitz via buildroot From: Christian Hitz Reply-To: Christian Hitz Cc: Christian Hitz , Martin Bark Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" From: Christian Hitz Signed-off-by: Christian Hitz --- package/zic/zic.hash | 1 + 1 file changed, 1 insertion(+) diff --git a/package/zic/zic.hash b/package/zic/zic.hash index a2720a27ba..f2a48b1d2e 100644 --- a/package/zic/zic.hash +++ b/package/zic/zic.hash @@ -2,3 +2,4 @@ sha512 fa18bae9c0e7c061bc9d5f5f2eb9967f0e4ddb2baafdee9887fa30cd0c60f4aa6f21eacffb17df0d59d26ff54d08c5dcefa98159309eba497e86443624913a82 tzcode2023c.tar.gz # Locally computed: sha256 0613408568889f5739e5ae252b722a2659c02002839ad970a63dc5e9174b27cf LICENSE +sha256 9e3c665b2cf8ad1eeb3458ec736e644e3d0c86a5e2fa8bcc4f34d72317511958 0001-remove-dependency-check-on-version-file.patch From patchwork Wed Feb 28 14:56:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Hitz X-Patchwork-Id: 1905848 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TlHWK5R01z23qN for ; Thu, 29 Feb 2024 01:57:01 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id F1D3B8233A; Wed, 28 Feb 2024 14:56:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TWztDX_lShvl; Wed, 28 Feb 2024 14:56:59 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 0BD1B8258A Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 0BD1B8258A; Wed, 28 Feb 2024 14:56:59 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 609481BF5A9 for ; Wed, 28 Feb 2024 14:56:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 4E8BE60E67 for ; Wed, 28 Feb 2024 14:56:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O68rDYB5mQO4 for ; Wed, 28 Feb 2024 14:56:57 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=212.243.197.30; helo=mail.hostpark.net; envelope-from=christian@klarinett.li; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org F202060E62 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org F202060E62 Received: from mail.hostpark.net (mail.hostpark.net [212.243.197.30]) by smtp3.osuosl.org (Postfix) with ESMTPS id F202060E62 for ; Wed, 28 Feb 2024 14:56:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id 6E830164F3; Wed, 28 Feb 2024 15:56:55 +0100 (CET) X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail1.hostpark.net [127.0.0.1]) (amavisd-new, port 10224) with ESMTP id MSZzFW0Bfdct; Wed, 28 Feb 2024 15:56:55 +0100 (CET) Received: from customer (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id 19A2516255; Wed, 28 Feb 2024 15:56:52 +0100 (CET) To: buildroot@buildroot.org Date: Wed, 28 Feb 2024 15:56:41 +0100 Message-ID: <20240228145642.436509-2-christian@klarinett.li> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240228145642.436509-1-christian@klarinett.li> References: <20240228145642.436509-1-christian@klarinett.li> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=klarinett.li; h= content-transfer-encoding:mime-version:references:in-reply-to :x-mailer:message-id:date:date:subject:subject:from:from; s= sel2011a; t=1709132215; bh=a02hJUWYYWXB0tlEaSs5QBYGtKWuV5EpkHi4b buPB+I=; b=e+U2utXIAyT2dtpXS9JLbBAbBQSq++vRAWm9bS+IeqZ/UmSfIQmHh /u4crAo4pf/j2PNe/X81zNVnDgf3ruqiedE5ngx1FRLsyJZWTP/CecGow8I4eF19 OXpS0K0cZMuvQgeAUeOQrWSc67Res39i4CENXckuLOlrDJw7TcMCBM= X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=reject dis=none) header.from=klarinett.li X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (1024-bit key) header.d=klarinett.li header.i=@klarinett.li header.a=rsa-sha256 header.s=sel2011a header.b=e+U2utXI Subject: [Buildroot] [PATCH 2/2] package/zic: enable installation on target 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: , X-Patchwork-Original-From: Christian Hitz via buildroot From: Christian Hitz Reply-To: Christian Hitz Cc: Christian Hitz , Martin Bark , Thomas Petazzoni Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" From: Christian Hitz Signed-off-by: Christian Hitz --- package/Config.in | 1 + package/zic/Config.in | 6 ++++++ package/zic/zic.mk | 14 ++++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 package/zic/Config.in diff --git a/package/Config.in b/package/Config.in index bf0fe078b9..909b716f16 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2237,6 +2237,7 @@ endif source "package/uvw/Config.in" source "package/volk/Config.in" source "package/xapian/Config.in" + source "package/zic/Config.in" endmenu menu "Security" diff --git a/package/zic/Config.in b/package/zic/Config.in new file mode 100644 index 0000000000..11a8c99a66 --- /dev/null +++ b/package/zic/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_ZIC + bool "zic" + help + timezone information compiler (zic) + + https://www.iana.org/time-zones diff --git a/package/zic/zic.mk b/package/zic/zic.mk index a915f6d256..12bb9e9943 100644 --- a/package/zic/zic.mk +++ b/package/zic/zic.mk @@ -10,6 +10,19 @@ ZIC_SITE = https://www.iana.org/time-zones/repository/releases ZIC_STRIP_COMPONENTS = 0 ZIC_LICENSE = Public domain ZIC_LICENSE_FILES = LICENSE +ZIC_INSTALL_STAGING = YES + +define ZIC_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" -C $(@D) zic +endef + +define ZIC_INSTALL_STAGING_CMDS + $(INSTALL) -D -m 644 $(@D)/tzfile.h $(TARGET_DIR)/usr/include/tzfile.h +endef + +define ZIC_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 755 $(@D)/zic $(TARGET_DIR)/usr/sbin/zic +endef define HOST_ZIC_BUILD_CMDS $(HOST_MAKE_ENV) $(MAKE) -C $(@D) zic @@ -20,6 +33,7 @@ define HOST_ZIC_INSTALL_CMDS $(INSTALL) -D -m 644 $(@D)/tzfile.h $(HOST_DIR)/include/tzfile.h endef +$(eval $(generic-package)) $(eval $(host-generic-package)) ZIC = $(HOST_DIR)/sbin/zic