From patchwork Fri Jun 21 16:10:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3132 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 0E81F41582 for ; Fri, 21 Jun 2024 18:11:01 +0200 (CEST) Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-4218447b900sf12254985e9.0 for ; Fri, 21 Jun 2024 09:11:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718986260; cv=pass; d=google.com; s=arc-20160816; b=WDe3gwIp0qA+OuRuNZpxnfefhR95wHZQhMKTxhJYjS8pGoZjGryVmBPEQzZ4QOSHfn cHK71qft4+8TnpVBBZTaNMKq+EWF9GNoNqzDivRx81bFMWkkxCRTDYeHimun8z9/iyy7 Rdi3LIOPsHjl+3nxUXV3Iz7kiOXwyNKSSj3PyR22VzGtHP6Emn1yDNVSZdcp7ujrWZB2 GQd0IfVgYZKjGnzolDL3SCe5Wulw9nBeKcOp4EMk+ksSeUC6c20/LulrMznahwGUEKTa ublNOf2EjzP9nbuaCCjTG/TQifsE1dI/uCfiLqHsxAkU6I2azwJkeYuwQDKIgXP36b5L h05A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=B3p8ClxYAUJCGWxvklNVOeCTYu/zW9woI3m0qmh4nis=; fh=6q90KbKXCfL8CDIkoaLl8p4HIZm+h3n8RMRYxoD8uFo=; b=dt8L3Tq3+qO1n4ueXPB8rt/hIaltejcHZBT5R4m3GOGP9ZVqh8I4G9WLtWtJKUs6sw NGceAOjmgGENzySjev8VHo67o+qp1vlvIS2gOXSbtNgIkaYBoXlUSPmLqkHVdFAPqoIi 2hWtpwuka0AaSS3qYW5WkvGvbXo5/k9CAHSAlJQc7lxXBtfqf+pAW9oLVheT2rKjKMpi VlTgK3/ZHwAe/00bOjeFOOmkrLgUMaSz5VjEqSLXTk3+30IWs9JU+Nt+mLP2xXfhJHEO ulIkDb+lFiqxjMIuVkeVhA2rB2ow+0EtWEtCx8uWL/lZHnchgq6rOuYOpe7PKgrPBq7J EDRA==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hwKU3p5s; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1718986260; x=1719591060; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=B3p8ClxYAUJCGWxvklNVOeCTYu/zW9woI3m0qmh4nis=; b=NoS6h5XLsb1Cqur7rCbv12Nncjdo8/jZ2GuQ62DsS3+rfkzvDuJG7WugOQSxtl106r pLvVGK/t8ov1OdVOstL/X7y0KhR3xXofiGoWyw7Z8dQJr9sxmgubDEzbI6uyVuTcYj1v UOEg4L+OLDsiRnnWI2Y8Dh5zfNH0DM4SfyVdE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718986260; x=1719591060; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=B3p8ClxYAUJCGWxvklNVOeCTYu/zW9woI3m0qmh4nis=; b=VBV2ZzE1t46uGEv/R5IwgeSSsYXWwQOpOdC/k3BwvAdin2Mxk/6Jlst33NzRguRAEn arfi0fu1HBFj62eFtxAF0grgPs6XtvlSsPDAI2m0j7ltWcY1Xt0v2FnAwZZCYfU59xvP Q3VCB+Vot2j0TP8ODqikb64cpWy4Ar+m7gXkT1QCI7EpkQTbV+Bxg0xAdkHlny0ZbRwY 3EjNgy/ubMZpdFYHQBWg/KqSeeyOUGTQWD8nC+uqnN8aOT3zbSG52BrKvlo+GfRZMrd9 eo8QCw6/XIzBOt+s51tFiRbfvypBYfh3gMfuND4Z0Q7nJuDJl611Kbr/L7NwxFD2P5ro 3EXg== X-Forwarded-Encrypted: i=2; AJvYcCVk+jMQrR+vUrHawESJT9cvdSmvekmtJ/LA73LqlTO9Jf1r6CwT5VcwzqHXO2n+WRjE9FsmPrfvE0QUfbMPmfcaR/JnW4+4ns1bBoV85QQQOD73a9ttUYw5k4zM4w== X-Gm-Message-State: AOJu0YwtVzOMh0gNUf/yBKMP+MtoSKTt07e69eoxjJPUbXR4nyRppgzd B7CR14FIQD/bfsdfhxFnmzHsAiJ4Vbn5D3PiPGtWmTtPHM8k8+B5TQyDUBww1oKgiA== X-Google-Smtp-Source: AGHT+IHcviKkdioyXPJzR9ix/b9aHJmnhirWFarl1/BAK+PMikoBwXMj0gfxs6AZNDiq8TCWwgBeow== X-Received: by 2002:a05:600c:2e06:b0:424:8417:c5b8 with SMTP id 5b1f17b1804b1-424862d5fa7mr2968965e9.4.1718986260560; Fri, 21 Jun 2024 09:11:00 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:600c:1d05:b0:421:7b3c:ff0a with SMTP id 5b1f17b1804b1-424757e23d4ls14591605e9.2.-pod-prod-00-eu-canary; Fri, 21 Jun 2024 09:10:59 -0700 (PDT) X-Received: by 2002:a05:6000:114a:b0:366:8d90:84c3 with SMTP id ffacd0b85a97d-366de857ba8mr223800f8f.14.1718986258919; Fri, 21 Jun 2024 09:10:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1718986258; cv=none; d=google.com; s=arc-20160816; b=AmkUke5vxq0PRhH6RzZI/3VQ11O2GspzxXbmB7DYQNP7WEo5EHf6sMNHMAs6RDqn0j 3xpQ8r4HrNWh/TVtH5E3wWf5E9nJ7SdwDknjtKrsx14M1BkSqa1aMzkG1YP4205UibXx raWW4v3oR3A6sAV10Qd+GFTrLtMYxt6qfjdJkAxvAc6FQIPk7AsS5VgK1z44iGjQ0iZc 2VOwpa/23cdB+G9/uttsf1Dzu5g389smsxPSWPCMoiSyYKjeJYc2bxCYwAgBqO6E07e2 vp4DGplTYVFpD/pmi/n0npi8dPtHPAbdm6pBQSB7wJfjJ4LU70jsNY9DiGCE/OVDr2BK ZUdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=+4WnWKuMsNLnBR0JP8I2dC15viE/E2FF1htE+oPODMU=; fh=4aH47D1o6z03SLGX3S5iBqzHxVYI/WCfhxxmm+dgjk8=; b=i3Whyn3Y4rSiEMVMdEzoUU1Ct7cLsfAymUj+Rur8LJh4xLDWI+RNR85HA03eLyu1pK FHNrpqaEVZhEPRgLXRW/n2u/x0TPQdAnU8CLApP+vMVI2AdXypLItTsc3jZrk4nhtweX lGZjt+xTSg3+5mGRqyC0EUPKl5LKyiwjHPSwzn8pu3GiTVSWiqrDEhF8q7PxhVjc/Rho Cpb4RE5fEPGs9DhnGWX9ODRXfqf2TIUdBoZiEoCVO0P3i3Iz95n+68o26TJJbnnmwGnG tehIopVUgAMc49B9Fju701Iyd/o883LNnfJ3f25wQdzmtwJhFgjdGa3kynErOtAgHVWi fAMQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hwKU3p5s; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id ffacd0b85a97d-365d246cbebsor922351f8f.2.2024.06.21.09.10.58 for (Google Transport Security); Fri, 21 Jun 2024 09:10:58 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:adf:e28c:0:b0:363:1c9d:d853 with SMTP id ffacd0b85a97d-366de98d15dmr200721f8f.32.1718986258458; Fri, 21 Jun 2024 09:10:58 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2.196.43.112]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-366389b8922sm2185522f8f.28.2024.06.21.09.10.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 09:10:58 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi Subject: [PATCH 1/6] package/libopenssl: use $(RM) instead of rm Date: Fri, 21 Jun 2024 18:10:44 +0200 Message-ID: <20240621161049.4085310-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hwKU3p5s; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Signed-off-by: Dario Binacchi --- package/libopenssl/libopenssl.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libopenssl/libopenssl.mk b/package/libopenssl/libopenssl.mk index d209bb8e96ba..88debf114a3b 100644 --- a/package/libopenssl/libopenssl.mk +++ b/package/libopenssl/libopenssl.mk @@ -135,8 +135,8 @@ endef define LIBOPENSSL_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install - rm -rf $(TARGET_DIR)/usr/lib/ssl - rm -f $(TARGET_DIR)/usr/bin/c_rehash + $(RM) -rf $(TARGET_DIR)/usr/lib/ssl + $(RM) -f $(TARGET_DIR)/usr/bin/c_rehash endef # libdl has no business in a static build @@ -166,7 +166,7 @@ endif ifneq ($(BR2_PACKAGE_LIBOPENSSL_ENGINES),y) define LIBOPENSSL_REMOVE_LIBOPENSSL_ENGINES - rm -rf $(TARGET_DIR)/usr/lib/engines-1.1 + $(RM) -rf $(TARGET_DIR)/usr/lib/engines-1.1 endef LIBOPENSSL_POST_INSTALL_TARGET_HOOKS += LIBOPENSSL_REMOVE_LIBOPENSSL_ENGINES endif From patchwork Fri Jun 21 16:10:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3133 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id E5D7C41583 for ; Fri, 21 Jun 2024 18:11:01 +0200 (CEST) Received: by mail-lf1-f69.google.com with SMTP id 2adb3069b0e04-52b998cb52esf1638968e87.3 for ; Fri, 21 Jun 2024 09:11:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718986261; cv=pass; d=google.com; s=arc-20160816; b=Qypr9lgP+JrGKR0PBC6zcQrUm6ZfhP1VcdDeyShB/V8ZEbOrw9IAcUtonkvBLZ79+G g7u4QUk0FdkoZ4g0hLDPCcW7cew+2/Sn8jslER4jNABv58WEkjIJLKBLi9SzbAQT9K4A csh+1Qp/7pBJvoMSEwHShXJEqikXGOzR+r1pcRe3bBtBBLnhPR3AE13Wy87E9YqvK0f8 o5KxItrMSGWv07yHmWAa+cQWB6CMMzPa/X6iv6oG9Qdqfus/aVGAJMvTuhxE0doDHW7+ AU1mHvDbToYz0fwlxcvSJmqt2/RoezrZTFOgLZgny2u0ZNRRvzj7k4GQvMq03ER8oua1 lpKg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Dh6ckyeepx+yTX0IUXlq4qch/QrnsDqOi8NV2ZS6Ogo=; fh=adKq74jCgwC2mjdVx4FTipep4k+FeiJINv0aRX8Ac+M=; b=x52WF7e4KgtzXUaXopjwOz+xDRFiyLmrMK3s1F9U27wZXlOUbyZ3rAuH2sSKXOUQVL QR05vwgJhfWSBlYJCBIsN5qx/VYWxMh06zH/AfyEUwFu1yESUiD+osJu0vcYY50KrMw5 kQpB7mpLxxMtej+OVJuD4eP+jemzFnWLoD3Bpm437TnVx/jT7SvUMhrcgv3WI1zrssS/ Ljo5r9xeT+6cd0Kjy9UE4uirdY3mQPVM+DpnWyClqRstqAj4owpgqLa4aV91FB65pfKc pawc7QZsT7aoxYSnstHAKYNq9/WMdiktNnYkvVhgZkIaI1UCFhF5ubIH7hpQx6pqjdCA LmKg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=V5JodKgJ; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1718986261; x=1719591061; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Dh6ckyeepx+yTX0IUXlq4qch/QrnsDqOi8NV2ZS6Ogo=; b=gwfWX7PrM0EV9Gij9ixjmd0BKCNn24mWSvCQuQ3Z9UHco+moA+PVjXIummbkOiu3fY YvwCU6OoXtkfwUHroUI9yfqIARDdEt+H1FxIpWAS4ZEg1x5VKAsAVU1HX9+RHlFqGkCG 3npXwj4fX2m6XQKd8aCKeDYZZpRBYCfbq4N9M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718986261; x=1719591061; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Dh6ckyeepx+yTX0IUXlq4qch/QrnsDqOi8NV2ZS6Ogo=; b=BuAIFX2Ad7Lv+tOCin61XeN/hNEEJrsYrqTdamlr29Njwouh7EuRprfct5YLfMQocX XdDsbVsEQ9jpS+v+5Gb1jpZbeozSdCJ4bd2V/0J3eX5CRSVXC8zCAw1wzb/g4GFo624o 1f/OP5mcM2WI9L+WcQucxPXRRhaU5W4CEQ4VW3Qlk9g4hPeGmggDxEng5oyjGpCBkz3N SIN2UBDJgHeCnNx5OKLDF9GsvUEbrTshf3/ExvWDD3x28y3kUFPfnL5ywnvT7lPlhVdG G9FsI+ruW+4BYE+IqBU3LgXLWm4xSk1ycJK2PcUed+dA9w7D1yxARBeVjC9oJmT0KLJY VQ1g== X-Forwarded-Encrypted: i=2; AJvYcCVhQAPpCmSPaAJe5cPDtkrkbgDUxgfQKJKn+9esGXmzNoPQQT3DaISKYdm7R+ELWTrqt0PZpCZNDv+CRjXx10SRUWYocCcsnRnzm1J2+55R+SaApHq7Nq2NBBgQYw== X-Gm-Message-State: AOJu0YxgzI8C0OzUqK43MyYub1MleDvJsmIKdj74t8Rf9Uc87vkpFmN4 IhhOKK68GMgBrDUsXHf9L1OrKq4jZu4NYZZIW48vInsPT5rteyX6E+Zs4iFlXjwQvQ== X-Google-Smtp-Source: AGHT+IEOtpti2eb0PL1lNjwo/0F3CWqmalxzkGsnS2RGtYfAuhMXyRZQhxrIZ9nQ3oSsGoIkXQoc/A== X-Received: by 2002:a05:6512:32c6:b0:52c:cd0b:f0a9 with SMTP id 2adb3069b0e04-52ccd0bf137mr6364051e87.58.1718986261303; Fri, 21 Jun 2024 09:11:01 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:600c:1c22:b0:421:7e41:186f with SMTP id 5b1f17b1804b1-4247bfaabb2ls10233725e9.0.-pod-prod-09-eu; Fri, 21 Jun 2024 09:11:00 -0700 (PDT) X-Received: by 2002:a05:600c:63c4:b0:41e:db33:9a4e with SMTP id 5b1f17b1804b1-4247529d538mr63602565e9.39.1718986259763; Fri, 21 Jun 2024 09:10:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1718986259; cv=none; d=google.com; s=arc-20160816; b=KXKBlYTQ+gMfGcP31xOzHR+97zjA9ju7MRh7VJCF7UtRc8kRezDJHZMaIr2FYKZIfZ 00J8/XYfmTVtfde3o/tg3pmCn5s5Dz5OWtY6JTxO1kwQaDwUd0Q1ZhpLBA7rFd7PbTGV JR3iVW9xtzFXf6K1C/iG/oSZLQgAZsSHGFos4uEsbfKWHu0VBg+PdkriTdgFbz6WctoC DDL9lJnQj/P9OWgi6M3otW8qe+6Sss+QM/Lj7uGs9meyJm5ioC7S7dAtH7lA2rwk/hXr hF42Ps8vpj0rXEPUti/JUbUNwy0uuNjSQOnfvhiL/ExHaEGt0gxdPoypRfxPacj+RtJb GHHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=nNhDZhgJEa/RfSu56xm+dH3Tnq4jy47wN+ZAi63hJrI=; fh=4aH47D1o6z03SLGX3S5iBqzHxVYI/WCfhxxmm+dgjk8=; b=o+BCDnhFfqI6Cm8mvylE6ek7CLbL9KpGnG49wKDICmfMi31IEt222LKOuMv/Cj3gnG u7jxmis3IEY9CwkrI7KqsiGHRUStjV6b78DsfYNdJey8F4UsSzsTPGuOMHBArIJGBtas WtYH81zwjLxQ0mrEnOS3dKaervr4AEqqMlvwpOK4BsxlT0zrgwjk+VvAMUTHusdtXQv8 dRAdr6q/VXJ551JLL85Bdokn4p6AJGBWEDghbTwuJadtoRh0fuCkHqehNgIqBPL+wHHl SWlI2m72ifpOd31BnNsSHC0oRBEwVUCH3hDtiYEIZ3nqq7Wc/A2LaF8S1V2jo1SQ1iJC R4Qg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=V5JodKgJ; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id 5b1f17b1804b1-4248237b4a4sor4594965e9.12.2024.06.21.09.10.59 for (Google Transport Security); Fri, 21 Jun 2024 09:10:59 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a05:600c:3ba6:b0:421:7c6b:4003 with SMTP id 5b1f17b1804b1-4247529d3ebmr66364895e9.38.1718986259352; Fri, 21 Jun 2024 09:10:59 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2.196.43.112]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-366389b8922sm2185522f8f.28.2024.06.21.09.10.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 09:10:59 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi Subject: [PATCH 2/6] package/libopenssl: replace engines-1.1 to engines-3 Date: Fri, 21 Jun 2024 18:10:45 +0200 Message-ID: <20240621161049.4085310-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240621161049.4085310-1-dario.binacchi@amarulasolutions.com> References: <20240621161049.4085310-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=V5JodKgJ; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The bump to version 3.0.9 and all subsequent updates forgot to change the directory name, which remained that of version 1.1. The patch fixes the directory name to be consistent with the version. In the case the library was not built with engine support, this resulted in the presence of files in the root file system that should have been removed. Fixes: 3c66f65a6a54 ("package/libopenssl: bump version to 3.0.9") Signed-off-by: Dario Binacchi --- package/libopenssl/libopenssl.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libopenssl/libopenssl.mk b/package/libopenssl/libopenssl.mk index 88debf114a3b..14313a80fe74 100644 --- a/package/libopenssl/libopenssl.mk +++ b/package/libopenssl/libopenssl.mk @@ -166,7 +166,7 @@ endif ifneq ($(BR2_PACKAGE_LIBOPENSSL_ENGINES),y) define LIBOPENSSL_REMOVE_LIBOPENSSL_ENGINES - $(RM) -rf $(TARGET_DIR)/usr/lib/engines-1.1 + $(RM) -rf $(TARGET_DIR)/usr/lib/engines-3 endef LIBOPENSSL_POST_INSTALL_TARGET_HOOKS += LIBOPENSSL_REMOVE_LIBOPENSSL_ENGINES endif From patchwork Fri Jun 21 16:10:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3134 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 8680941584 for ; Fri, 21 Jun 2024 18:11:02 +0200 (CEST) Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-4246e5fd996sf11846775e9.0 for ; Fri, 21 Jun 2024 09:11:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718986262; cv=pass; d=google.com; s=arc-20160816; b=kNuVvNpQL2HUXeT/95KenLBKp9VO0aanQ1yFrhmMUN68AchYn/+dhGnTIdrkAgYgcn ZxKIOv4pHesVOf9StYxRgdOb2WhwG5juHvbJxuTaGzVzcS79sUBzhRQM5uOk/luahgr9 RjkhdaAZoqot7hDpYRgJUFJZnIKNS/bO0nXYAcGBGhmuXyQoiqODMdHJrs4DuvMPKogZ nvVx9W6VE9/dL+9nfB0a6R7HEdLemuW0E8UNAF3hm5kWRI6LX5GNI4FZs8SxdL9CCjPe XK8CYXZKXXZs8bShS6Y6IIVlKPDzyiDcCpBJYwyJd8KFpuOlQXMzyGU2zchn7hJjRKCT AfOg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=CbmieWbOD6N4Pc1+tlrIrod61koB/pSms11Zx+0Qeo8=; fh=LyyoebkZ9h19a1HVfxGcKvfR9jb4GdD1POoeDn+AAtU=; b=u5Foxr8skpOyHS7as6w8/WcwWBnsexZPLIDKWcQ44EYA8BnDtx0wvHMcRpUHxiwRJJ SLosuTXeXSfFTCldMcG/ybcvWnCdXt5R4ueJIjVFVhNIMuIywGbObdnxdgKHCW3QDZg3 VNTyvQvBAHOJvGgSjrSzPIssibM5Fzt+QMn7je5RY0d2Fi8kHMESVggb5oIGcIdZRFBE SDc1HgsxQllIH7rjTBgZy2JpunPujF2bT6SSDZg+IdocvWAEn5tTS/jvzxH1lL4Zisx3 Pzyl4aLMFoFVPp8H9DGpvKI5p+zbgm2juMmrNdUKz8EmoYfuE2UJ3u7/V3HNDTdj4tTa tNYA==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BlGw9yyS; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1718986262; x=1719591062; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=CbmieWbOD6N4Pc1+tlrIrod61koB/pSms11Zx+0Qeo8=; b=TFYNNuHDSar6Hiz3vNyI3n0Gs5O4Ejx8+P2PGltsjtv9FeetQdYk0aX6rbIyI84CLv QlYCy7O2+qT5ONbyzgpoeSibMkkGAuaV6fhr6JQ9yJ7U3ShCgxzVZvlNYDEebTEREeOu eUMVME/gBFaewoUyFchUNb3MEyLEauchRfvNA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718986262; x=1719591062; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CbmieWbOD6N4Pc1+tlrIrod61koB/pSms11Zx+0Qeo8=; b=WLyw7eGkv9Vlp4O9l7XOBbzvZLJ9DtRYFWvmyrv/Zjh2pxcMeb0DQqwB1siwg4EugW xymby/DOTSc0VRCrgs3CYM2aKpLn0uKU1nf8jEScTdVw2tLzxP8V2Nn3juHbtmurYMKP hdP4DzxmLLcNatUnkjmHoDPuQAG78lREIQpka1ZQ3BVXJhfF5OaPzUynZXDdZ23tlQj3 fpgiXLal0Q/P2PUnJRmsjYunumA1QWRqmMsFwuG+XBpDhYxC3w43IVN+CXbTblSAwuv1 duepvKQNd7RC+KFOoxh+eJkn0ptI3z95mU/R8k7I8tcm9jn6GCRhPthD+Kr3SxiSHZAb GAwA== X-Forwarded-Encrypted: i=2; AJvYcCU4ZwM7HPkxePnlY8Gv35/sv4yKye2Lu8jJjBXpgrKe+uyZVI7Ul2hziUIci9QN+lmvBAgPB2LYdFxVbODs7DkDx42BxW1RpN8vRuqxtnw1Bp4luydZE8yO+IkKdg== X-Gm-Message-State: AOJu0YwR1zaGGYzudxDTG0wsoimqwmseI5m5Gvx4fGDkHhqF2tNppvJJ c8/vBxmoSNlvBVxTodKSH2+xV0hn8SaVHrlxjAJuXilHoxanlXfm0lNcBaHInZC18Q== X-Google-Smtp-Source: AGHT+IHOIm8pDb28/MZD2JNyL6iRQhSCLK6nIwHKjH1UEqrqhseIajBEw7sGBorItcvmhsIFs0WhrQ== X-Received: by 2002:a05:600c:5609:b0:424:798a:f7ee with SMTP id 5b1f17b1804b1-424798afd9amr61489945e9.7.1718986262236; Fri, 21 Jun 2024 09:11:02 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a5d:69d2:0:b0:362:8768:d97d with SMTP id ffacd0b85a97d-364810fbd40ls538548f8f.2.-pod-prod-08-eu; Fri, 21 Jun 2024 09:11:01 -0700 (PDT) X-Received: by 2002:a05:600c:4f4d:b0:424:761f:eda7 with SMTP id 5b1f17b1804b1-424761fee9amr66487305e9.3.1718986260535; Fri, 21 Jun 2024 09:11:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1718986260; cv=none; d=google.com; s=arc-20160816; b=yTqbkPqfzOYIBjjUeKcWjUC65E+hxhNAjKw7WfrkfzbchGn7NrXyEgVn1FvFl+Bg8V uPyq6er1QOsTBrFYX2XdFodQ8qi5JMGkhtOXEIrOLjb1Rg5FsX5BA0gBFhOnlml1MxNA U3sQKjfCa3lopnPJS55vf0PRTdqJQxWTOxeko+BVPNYtCForenPiIuXrhZiwVSKsaC9g oAWu0vnYNQupVXpYkz/uN9XwD9RIqK5aV6UZ68Wn/c6RLReJQW39esMBjuwq97CsrE/T A8o7eylSsCuE5DGnGl2faL1PJmIw8hEHJuzazrpoXL8tujB0CQL2QD7cK1KMcnm9hdAH BP6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=FSC08YRGLTq2d8IJM5gV4/EJwnwuS2yaQzymzNYZxd8=; fh=4aH47D1o6z03SLGX3S5iBqzHxVYI/WCfhxxmm+dgjk8=; b=Bufk08w0x9Sdlg4N8sikMjK2QOoeRSzIgxaOSJzMhg7Busc831umwSPHH5zmxKFkEJ +AFpB0ws9MAkAYXPLiEPSHDdG9y+AsSEyeNxtOl2la5k2P96I0vKQOXdaA3wuOiGXeRi cR17ZL0oWP0kpuAkQycnWRMHaxvm/Cur9Qbu1ccZnWyS2kyCNfBHK0lLyG8wiEksSd+l fO6MQf0vC6Qq0JSvL1dduZvz4tpKkMwD38R72xvT9ozq0cyceYzGd2pMEOPxk2chyLP8 WIzVtIQo4bqKkyOuTNLoZe0gibzOZY6ctrPvmHjjuS17cNI3Y/K6oL3GnftEwi30KKOq cq9w==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BlGw9yyS; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id ffacd0b85a97d-3668f6f6364sor247877f8f.1.2024.06.21.09.11.00 for (Google Transport Security); Fri, 21 Jun 2024 09:11:00 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a05:6000:1bc1:b0:360:9bf5:1eab with SMTP id ffacd0b85a97d-36317c79ff7mr6592911f8f.36.1718986260260; Fri, 21 Jun 2024 09:11:00 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2.196.43.112]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-366389b8922sm2185522f8f.28.2024.06.21.09.10.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 09:11:00 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi Subject: [PATCH 3/6] package/libopenssl: use consistent logic Date: Fri, 21 Jun 2024 18:10:46 +0200 Message-ID: <20240621161049.4085310-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240621161049.4085310-1-dario.binacchi@amarulasolutions.com> References: <20240621161049.4085310-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BlGw9yyS; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The patch expresses the same condition in positive logic, consistent with what has been coded in other parts of the module and generally in Buildroot. Signed-off-by: Dario Binacchi --- package/libopenssl/libopenssl.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libopenssl/libopenssl.mk b/package/libopenssl/libopenssl.mk index 14313a80fe74..ed36fb593dde 100644 --- a/package/libopenssl/libopenssl.mk +++ b/package/libopenssl/libopenssl.mk @@ -164,7 +164,7 @@ endef LIBOPENSSL_POST_INSTALL_TARGET_HOOKS += LIBOPENSSL_REMOVE_BIN endif -ifneq ($(BR2_PACKAGE_LIBOPENSSL_ENGINES),y) +ifeq ($(BR2_PACKAGE_LIBOPENSSL_ENGINES),) define LIBOPENSSL_REMOVE_LIBOPENSSL_ENGINES $(RM) -rf $(TARGET_DIR)/usr/lib/engines-3 endef From patchwork Fri Jun 21 16:10:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3135 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 4884441582 for ; Fri, 21 Jun 2024 18:11:04 +0200 (CEST) Received: by mail-lf1-f72.google.com with SMTP id 2adb3069b0e04-52c805e6f38sf1756812e87.0 for ; Fri, 21 Jun 2024 09:11:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718986264; cv=pass; d=google.com; s=arc-20160816; b=QFe4lCoHV/kzypOes4t+FeFslD+KK0uvr4bnOHKMDjm14cngrB1aLBHAjdgtwY20GA xgcdHczuifGv8iYQj3WCFr5HAVwsxHl83aNO1KOzH5dsAOnbL+oZ6Fvf6H3kTtVqWF0E yV5t8BrYH3u2oKN4jxxZ2b2XrPt7nvqFMEeBiYX/JPBTcBctgZYtgeJIHEJgpGlO63e5 FMejOO2RD8MQJK+iuGSNsj8/yPcy3FPY5+ZMbiX51TYG9jV8xU4Z4RSN7dK+I8Og0sdB xY1GRYedwf2a7Y0OFCalGzV0p5tmzZodoHe7SEK/xm+h2fgvw6gnvhKOxw8jFqyTghDS 1VPA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=J/4gtWvbMp0LMc9/MWB0GcBpv982F+Q4YoXgd/hF2+o=; fh=bZGT7e/lFf4m9kW3PoM60RCkF6EIY/wa64yF2uVKRpg=; b=GQjNT1yRW3iW+3gXkTetTu+IiR8gwS+gf4KkQFL1FnaUrvlYn/jhwHn7Kfj0YlOTCf Wvf5N6Sci3oDzwX2qtrld3TIxvL92Yly0nbb8jCrXdl1/cnYPrD705Yig2sRrRp8eYgc kaTbHNbT2mlj6P/avxziGRqr4fPDUpsmejJXil3284Xx+g4n66hxJGI0/2IFbwCrSpKZ 0tRR8939RdiGrkxweZxfnyUm2nCh4zFLHnnegn+UmrFXBL/iqBS7LBJ5CayJU7KOeQ5v yea1ZzWhlhfPsk2EPOS0ObNdq8R//+oTMkz6aEUx6wcp5iRWG8V8iYwK1wTSyXoxjaMq BAXg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=EHjqQiNE; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1718986263; x=1719591063; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=J/4gtWvbMp0LMc9/MWB0GcBpv982F+Q4YoXgd/hF2+o=; b=ZPBIR7vA6c8+ZX19aa2Odrpc2YgV4aHZ8E6ld1jmtPKW5WrKZxH0+zc700Hfd0uXyo zy8Mbk/66Ch8WDnHoVvSKW03G338BL8uKNB/xMubG2WexI82er9Fn4wJZo4tP2gy6TYc QYrpKrt5Zhp3P9EjB5INaZt8hqu4XD8xR0e2A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718986264; x=1719591064; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=J/4gtWvbMp0LMc9/MWB0GcBpv982F+Q4YoXgd/hF2+o=; b=Oaka49PQPJsi43qA6hiU2Ns/4f9iet0YTy3A5lkK3U1djviEwf7Sau/9OBb8qhJQg0 EkeAFM54+0JbP2GwKy4kOMMNfcyjj7GULa4gtcWLAkOpiBhfw/1jAJbTShhPjS4TRigy sNKuhsWVXGKzFvPrFZHJrILVgj8QXyCAduH6ZfJP89zCaO048EfneWFnSzWPUsAVfqng klTVVp1qW1s9oP0kWMvQ7WHVXqhTfaGGRfBZpD+wja5tH3/nRHwEjMMmKL3r9sUeSiCr bt03cZLVZo6Kh1Cy4HAr5Lqf42D8SgLhwWrQ3AhlW79+ZPWvMR5V/AGPiHjFp9PLX3xm p6EA== X-Forwarded-Encrypted: i=2; AJvYcCVw25eUzPiNeeMoBd6KWg2Sygsm1SZumuTD9Z8qNt4a+esE5UZy9t4jEGIIi7SGV8jp6850YtmQyrY51dbcSHx2o2A912TWLrPOlMQm9+33Xd5JVdm+ytTITxCGwA== X-Gm-Message-State: AOJu0YzZBi1ceVS0OJaqGJQ2IWXt0QkdRZ28Y7nGPe9qdPyOZodfczRY ZDpPeXVPB5apFxPhvnL+lUZhpChZ1VKUT/E8/caqWzfkBMsREsUFAr7smvYBKzLukA== X-Google-Smtp-Source: AGHT+IGZroFtgbDCjKUmfcZTPPvmLdGNgIE26FuN5FLbfX1NdZL3T/JVyb0C8lu/A+IudjT1Pgrvfg== X-Received: by 2002:a05:6512:2094:b0:52c:a483:4cc6 with SMTP id 2adb3069b0e04-52ccaa6214cmr4831964e87.36.1718986263547; Fri, 21 Jun 2024 09:11:03 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:600c:3b8a:b0:421:4f2e:7827 with SMTP id 5b1f17b1804b1-4247bfac61als10047955e9.0.-pod-prod-01-eu; Fri, 21 Jun 2024 09:11:02 -0700 (PDT) X-Received: by 2002:a05:600c:2d49:b0:421:cc89:dd5d with SMTP id 5b1f17b1804b1-4247517615cmr60309645e9.9.1718986261896; Fri, 21 Jun 2024 09:11:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1718986261; cv=none; d=google.com; s=arc-20160816; b=0KzULm/x6ABXyOeUEfjvxu4vrOWM25QnWgg76qbUgA9b20cySmEOUk3aBz7nggv0cJ 33cFmVOhdzA4ywKu+PIHgzXahh70KNVwbtq/qMC12VltPepepsfdU7tU7sfuVxc3Ggdv V4N8CIU997w+28HnYVnHjMhV+C6zrP+yFu+zAyQQPObgeyYNoORXJHKlucSfZf+dT2A8 3EPD/PuClLzogeQSAx2Ilk4E7jzdFMiweNr0Q/qtG29gfeluhY6JyfoyYpxm4+gvaovg /97dPXBHphm2StvzAfRrpqIFuAMAq8zRMDz+hjsDcNqzy0CIuB8F/t7zriAuyruOoQ/h mNwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=YxFTjSSVVkl6uVq6y288w8V2d0WpSTocs+6nszxElsw=; fh=4aH47D1o6z03SLGX3S5iBqzHxVYI/WCfhxxmm+dgjk8=; b=B4zBGmO/A9TDtoolt1D6UPSLO8ygCeAbfu4GtAzqW8P56km+lcIScU6irjHe+6BvdA dAbDfKMGNXyADQqg/Hc9GRZmQiB5HcLK2hmy2RdLeSi6e8mzrLv6z2f4ScdYs+xGD+Np TzFT0nUC5qokRzQWzdiiLG0FwzXY+h0EYVNaCLHL4vKcnCChFRe4tn6WyVPzk+rTezo+ wSz99rVqEE2/DIjcHKE85Nz2HctSWMhBj+DnoKuY3rWDCYzdIwKfrjU1WvWlKO1N0+Ye 7Zvyh6XWefQ096T0fl2u3wZbQ6klEEL3HVZJqFslviowcppqm8RadGtm9VSemlWZRSYc tFVw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=EHjqQiNE; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id ffacd0b85a97d-366b23d04a5sor287058f8f.3.2024.06.21.09.11.01 for (Google Transport Security); Fri, 21 Jun 2024 09:11:01 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a05:6000:ecd:b0:362:c971:d983 with SMTP id ffacd0b85a97d-363195b19ddmr6086202f8f.48.1718986261592; Fri, 21 Jun 2024 09:11:01 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2.196.43.112]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-366389b8922sm2185522f8f.28.2024.06.21.09.11.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 09:11:01 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi Subject: [PATCH 4/6] package/libopenssl: use `no-apps' configuration option Date: Fri, 21 Jun 2024 18:10:47 +0200 Message-ID: <20240621161049.4085310-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240621161049.4085310-1-dario.binacchi@amarulasolutions.com> References: <20240621161049.4085310-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=EHjqQiNE; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , With version 3.2.0 of OpenSSL, the "no-apps" configuration option was added, which does not build apps, e.g. the openssl program. This is handy for minimization. This option also disables tests. Signed-off-by: Dario Binacchi --- package/libopenssl/libopenssl.mk | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/package/libopenssl/libopenssl.mk b/package/libopenssl/libopenssl.mk index ed36fb593dde..fe472e2c7a19 100644 --- a/package/libopenssl/libopenssl.mk +++ b/package/libopenssl/libopenssl.mk @@ -84,6 +84,7 @@ define LIBOPENSSL_CONFIGURE_CMDS no-fuzz-libfuzzer \ no-fuzz-afl \ no-afalgeng \ + $(if $(BR2_PACKAGE_LIBOPENSSL_BIN),,no-apps) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_CHACHA),,no-chacha) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_RC2),,no-rc2) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4),,no-rc4) \ @@ -156,14 +157,6 @@ endef LIBOPENSSL_POST_INSTALL_TARGET_HOOKS += LIBOPENSSL_REMOVE_PERL_SCRIPTS endif -ifeq ($(BR2_PACKAGE_LIBOPENSSL_BIN),) -define LIBOPENSSL_REMOVE_BIN - $(RM) -f $(TARGET_DIR)/usr/bin/openssl - $(RM) -f $(TARGET_DIR)/etc/ssl/misc/{CA.*,c_*} -endef -LIBOPENSSL_POST_INSTALL_TARGET_HOOKS += LIBOPENSSL_REMOVE_BIN -endif - ifeq ($(BR2_PACKAGE_LIBOPENSSL_ENGINES),) define LIBOPENSSL_REMOVE_LIBOPENSSL_ENGINES $(RM) -rf $(TARGET_DIR)/usr/lib/engines-3 From patchwork Fri Jun 21 16:10:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3136 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 2C0F341583 for ; Fri, 21 Jun 2024 18:11:05 +0200 (CEST) Received: by mail-lj1-f197.google.com with SMTP id 38308e7fff4ca-2ec063ce179sf18871241fa.0 for ; Fri, 21 Jun 2024 09:11:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718986264; cv=pass; d=google.com; s=arc-20160816; b=DNZxsRhziRLPGqLKqMARxyFcBndNMrBpxIC6OW3dUJIPoCvO4NZGM0XEGEq44l9RD9 sjvRKwMGrEIFkud6V/cpWE2s9AY6BSG9ijQq1FolGIsmfdXYChcrrqiwUNiYJi7YLj72 CVnO7K//OSr6iFZ534eCFNgnLQLOZWehbaFPVt1obLY4H3EI/ylp4+whE9/m47zow5LW Xf2MY/RNIiNkWHY+LIJ9/qmo/w+xzJePkHQDwP2Cl+Y1GKti6IDWGYkbUcntjB4MGnyl 1BPemqCAl5+WlDDPDmOMhBey/CDe22E45gHmNVMs2mY8Bp3Q8N+hdOeBu4ghCtWIDgAA AI4w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=29ju96BfNiiELzAv08EMAqT5vvHN+ROd96CsVbRFuKU=; fh=TA9pvQFMNWIBkfJ43pWMuEDFsD97bx17kg27OtHguAg=; b=UO/DY1MwM4YcDbM0oiwhQldPcIOMkCMwl/8ZSyCyBf8y7rADflVuEiky5/JohJVbsW SKtC9NkE/+u3Yl+4YgO/xSPEKaf12623ojIcqRj+ocp4KLwGfRB7n8MDL5CK6pAqlS4Q DoEnub3a9TdArrsuSXCpgeqk43X2Wk/u9oxInzkKwB5EnQZgRRJlFwz8q075udopkSdl eDBcP0Ckm9yqbUAHbQKqhJgTbgjB8W4Gk8aTAq3BpWTOFPg5i2IgyhIq2dlncCU8eFnK iGbjTismWT2Lssdsauaoet6MYAEywxkz52TZsUaI2Q0eDebsrra8VRV6BsNpc5DgCvB0 TY9w==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=SDBKO1nv; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1718986264; x=1719591064; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=29ju96BfNiiELzAv08EMAqT5vvHN+ROd96CsVbRFuKU=; b=oysaNegoDqOGM/dFcfQ1VPbDXuleCXoY6dkUEHPkuU9ePs2ugJKJUXSvkrotJAjYaS aLduJwAVn34MoCVPtuHyqslNtK+fn6D/0EcftVfYb4pINkmaCYviNcBVoTKq+a9RaRxo v03CowhnT+sd4zhGcO5Tz1hBmEHyVods9NurU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718986264; x=1719591064; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=29ju96BfNiiELzAv08EMAqT5vvHN+ROd96CsVbRFuKU=; b=SYNhQtYODjqVPX/BJqqhRWJIbO3m/jfxJGcqb9LPFdlhBtr85eI4WbPjEz4xjPJmn1 LW9lHo3Ogv62VN7DK4sIRcj+nkH/iDZ2TJTjIuald8W4A7CDU77GqGQz/bv30Gfr5WoK gFAR3k3IoaPBJg5JXO2e/j3UxgCE6weLfU7a9vhEtNdrhbDLi+swog/Z7wpNndG7usmh V2Tv/zrZkasc122i49tlsP7CcZq+tuyK5ZUsSQKuXvONhXf28OwP0XIb3CfSNUnik8Ia jrf05byjR0CYJ8AQ5wyTAJTgnQW9NgCYqsw4UGHg8BkjU/IGFbuf7zhv1h4D4yYmKAr9 MjfQ== X-Forwarded-Encrypted: i=2; AJvYcCWwl476VKrjgo7dGOsiJ+UaWUAEvPhjqKnzscOyTyqdRl2ItFuYHhRaFMqdFKaGhsRRChGf5T4B0jvwR8jjnoim+nFoJr+cONnRIanL0auoKsTvVLlSDQleAzoEDA== X-Gm-Message-State: AOJu0YxdbXb5JxCjrtNh8R6RO+U9K8R+ZhRbZClWZCxzACrbX1N03a4x uuKiMW0KTZHX+X46qk3ZFLAOw5QkIDd/2NXZPlAAHpJzwQeebq30eg9YYORohkZQ2Q== X-Google-Smtp-Source: AGHT+IGaZxChk65rqeNpFhlu45SF+M/ZmQIYOWIJd8Wugr+h/x9T1n2m5/gm08F7EJGdbVwEVH+CYA== X-Received: by 2002:a2e:9f02:0:b0:2ea:ec52:f594 with SMTP id 38308e7fff4ca-2ec3ced1896mr69626061fa.29.1718986264555; Fri, 21 Jun 2024 09:11:04 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a2e:9306:0:b0:2ec:4470:4e2b with SMTP id 38308e7fff4ca-2ec44704f95ls10931841fa.1.-pod-prod-05-eu; Fri, 21 Jun 2024 09:11:03 -0700 (PDT) X-Received: by 2002:a2e:9f51:0:b0:2ec:541b:4b3d with SMTP id 38308e7fff4ca-2ec541b4dffmr406071fa.41.1718986262801; Fri, 21 Jun 2024 09:11:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1718986262; cv=none; d=google.com; s=arc-20160816; b=TgPxMl+rKIssQA4X7HUeuTtJCFp7S7k4XVNyIR6mqhEZwpbA5tnLofRJskLFLl/0GC /pqo5CvGDE/8gWIrCqV/11UJA1rpIgomvV2L3HTg0gtEgSR2KzPCHvNTB8Qc011GFcwR 1vfujv+ahWo8T8eUdRea1AOjrfj29NZe8+hslsd66aw0DG1XYUUbdvnZ7npUXOkTpIyq iNFUW1JxFkUTwjQ3ZWTnAmYecuLxmez8c9zKgJmQZlAmc3Wh5Xv97SSQDQeUOiNth2MB e47pYItA167EN6ouQQ+j/bcwZLP9e/ySW+12iCqf+8sCJoQaMj6NuVt3lkX27r3dOHVZ U8CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=t4zwgpZCPj7Dee+tJiG+ItzrV6SyfSs41zr7fma1DVA=; fh=4aH47D1o6z03SLGX3S5iBqzHxVYI/WCfhxxmm+dgjk8=; b=S3QqTG/DGcxIDlEkgldiFSy17Fncpebynyekqk2ej1g1KYVruFDz5EzV1khR7lb4VU rpYmfq3jm2AH5DFGq9AzbDO8Kb1ZfNRYc1rET3Lcuk9ib8DFydAGFLlR9w/9adIoWgMH FYnvxb2osHFIUcbfEtBgP/5yoVBXGEICz3luBn/loylguwHnnvkwqjQD6K9X97U9k0Sb cvv3nXw4z2KtnZt7qsSNom5jHkG/4t5hSev4E/hyuZYEHwDzblY/aZc8maE55yE18Iwr IBxGyGaKOy0D3Ar5sZckFg88ypx7PRuwBNyf5G8g6e8fykx4n5sIj95d1UWXl25gzpAE cSoQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=SDBKO1nv; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id ffacd0b85a97d-366506b67c8sor663811f8f.0.2024.06.21.09.11.02 for (Google Transport Security); Fri, 21 Jun 2024 09:11:02 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a5d:6148:0:b0:362:f396:42b with SMTP id ffacd0b85a97d-363192d088cmr8336656f8f.51.1718986262433; Fri, 21 Jun 2024 09:11:02 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2.196.43.112]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-366389b8922sm2185522f8f.28.2024.06.21.09.11.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 09:11:02 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi Subject: [PATCH 5/6] package/libopenssl: no-engine Date: Fri, 21 Jun 2024 18:10:48 +0200 Message-ID: <20240621161049.4085310-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240621161049.4085310-1-dario.binacchi@amarulasolutions.com> References: <20240621161049.4085310-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=SDBKO1nv; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Even though the "no-engine" option effectively disables the compilation of the engine, it still creates the installation directory, which ends up being empty. For this reason, the patch does not remove the hook for removing the directory if the BR2_PACKAGE_LIBOPENSSL_ENGINES option is not enabled. Signed-off-by: Dario Binacchi --- package/libopenssl/libopenssl.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libopenssl/libopenssl.mk b/package/libopenssl/libopenssl.mk index fe472e2c7a19..89a9189bb851 100644 --- a/package/libopenssl/libopenssl.mk +++ b/package/libopenssl/libopenssl.mk @@ -85,6 +85,7 @@ define LIBOPENSSL_CONFIGURE_CMDS no-fuzz-afl \ no-afalgeng \ $(if $(BR2_PACKAGE_LIBOPENSSL_BIN),,no-apps) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENGINES),,no-engine) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_CHACHA),,no-chacha) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_RC2),,no-rc2) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4),,no-rc4) \ From patchwork Fri Jun 21 16:10:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3137 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 2FE6B41584 for ; Fri, 21 Jun 2024 18:11:06 +0200 (CEST) Received: by mail-lj1-f197.google.com with SMTP id 38308e7fff4ca-2ec5100480bsf5332991fa.0 for ; Fri, 21 Jun 2024 09:11:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718986265; cv=pass; d=google.com; s=arc-20160816; b=Ud2GDscoCpMMLG5OTfffQOc5dUfkdiFTmtm1jy5YPypriuWFSWPlnP7elg8bt1NV0c ZTLeIm7E7ljKSMLrR6f8qdBq/R5CU0/uSy6SBUtPEM4lJO667UpU8aV+yf/7N6rM27Cb woL8nU8bhkpHG6VqYyhiW5i0iTYwzg6yaBKbpoDl2ytCkuDaHcILcZ36w2GUJ+rE1y4l 9ywrTMviTlw8ek/VeF6UBCWmaDXC+sfGJ4VN/dL9JIOwHRdoqv256gD4zTjxJ2ylV1Yy lbaBW6qLlzcs6q+Db/oBAakDhFi8hI4+ro13PWEbnHwiOatSnzu2Sh8g+ekBz7wmdYo8 NKwQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=dO/1iI8jF/6lx3ii5u2C2YrMEuBecJcIHTl4jwSG8us=; fh=J4Gos9fS9uh/dHn555tbNeS4AGlTeeFTHbCsXwTQKjM=; b=Buz0P2Alk+sIB/Yjy0jmvN1ha6s54IasMyRTpovq+LpSP8llNOcsr29fsnVPp2YwsB 1+Dnk/xyXj0dDl65npTGjrUDjZCRxXafd1IDXi0XLcln+aqaE+f3TkoJBxQILBacRfZK 5GwsDgtq9RinmkTB1B7qZXUkdU5EwuOrYZQTyIbOn3gHY3IuIKPPVn4irfsYYCVywB0K h7Je6/UBI198y5CeByHQnRkOZomB5/zfitXkl0IBLlxPHg5gY/Y99MAgYVw4mslSOH+5 syEBo4q0dMsAk0hC7LcokJyNVS2SB3Rwx2KSz6WgjnhSULXzmAZ9dFcgH6CGUSKGDFBD 40wg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ibnAIbvp; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1718986265; x=1719591065; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=dO/1iI8jF/6lx3ii5u2C2YrMEuBecJcIHTl4jwSG8us=; b=ZU5ACT2jtENTtD2kGrGY5P5B9VBkh/jlrIONwjS/vSIEWtUa42UnJYldYMYp5PxMjk jzLe+43R6fy8ENN+K06CqeJltS8s238G5P5/tckTihHWFy19GxVx5us03Spmyw8+TSCV IgWOqxRWwVrYNrioN0NjtB24pYxsw6NCv5cb4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718986265; x=1719591065; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dO/1iI8jF/6lx3ii5u2C2YrMEuBecJcIHTl4jwSG8us=; b=TzgCSQCPX8+d7GT0tCIHD4vNvuJRXS60vRhJZimJAKwz7FvY7Vo381LdRO/Z7Radrn M/KakyVifDKWvrHJOFexa9RR3kTDJzAlUnIX8wd4ppj2DvMjKezziqdzC3CX05JjxA+D wfWtwSci9ZTr1VCq6Wfcp/CuujLgsnfq0liRomfTyv8sEtEq1D1Lgs8KLWrfOzWoc6lV mIFwd+dMdrqAfiZ04eNyaPqwOus8AAdHvkYGvvxczgOOpwEYJsNPUlhc65ghfOoXm84G ROtE3n22yNTKsN5CYeZegv+sVLa1+0wLVZQGiraNZsLSV1MKt+Cp5s6nGkNsCCx9MM4g EKWQ== X-Forwarded-Encrypted: i=2; AJvYcCXpzTzyvHhFHzq1Eg4otqLS5wpDA5tvvtqlMb1v+iakEFIGypXmW7V5yMILUr2s4cfkIFzilDAj4q0X2+FpaduutlG1IlE4CKdVE0bvUJYLGwuEgMd7YHV7mmw14w== X-Gm-Message-State: AOJu0YzK0lAVyu4SU83O5aIajrMbVS+9jYSeH9Tw8hofv7Kz+hzeulYJ Ll2nIbjyWeJh9I3gqeBlkxajdoPv5lNr9pNox0IEnOo6qRBjxLd+nJgmczbsDZTocw== X-Google-Smtp-Source: AGHT+IGUeVakwRVgKaghEgfcRyqBuMqaDo3CCF5L5AbpUAXerG82SRv7rE3+HaEynHLL62Au3onTUA== X-Received: by 2002:a19:8c0d:0:b0:52c:db7b:b463 with SMTP id 2adb3069b0e04-52cdb7bb5cfmr613493e87.61.1718986265574; Fri, 21 Jun 2024 09:11:05 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6000:d0e:b0:35f:2c6f:ec3a with SMTP id ffacd0b85a97d-364813de701ls699749f8f.2.-pod-prod-07-eu; Fri, 21 Jun 2024 09:11:04 -0700 (PDT) X-Received: by 2002:a5d:540a:0:b0:363:92e7:bb3 with SMTP id ffacd0b85a97d-36392e70c47mr5421175f8f.23.1718986263806; Fri, 21 Jun 2024 09:11:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1718986263; cv=none; d=google.com; s=arc-20160816; b=CSPzxop5EvyRytFzYTcj08WAYc8qXmRcoGoGLofBa/xQ1ZhKwdr8sJsX/V90SJRJQa F+cAVhr5eRdXcBWhnF6OMJfCs4oS64G49oG8fuG1bZGQP81QLivXRVx2gKT/ln6f28G5 CEfC9TyJQob9JDXxUAZSIWOCOpl1LUKgGTcKeIsi3LuZKy9lPxK3uJWu/1P2DUiKGFvv j61J6jxm0ZvoIJP5zaKIuTv1jqeeYpDoJSYAkYi5EbqOGl3EYNQKXQ90pZ1l0/3W0FXH Tcg9XuryqM8Gg405zrz4f9VM+wRkN8MZB/eStcXUoaVFeQvmSPEtvZ3CCzpSPeW24l5Q md9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=7nbFXXAtJDUJgic97IzJJXpEtb4q8J3Dv0uo3JRg3xo=; fh=4aH47D1o6z03SLGX3S5iBqzHxVYI/WCfhxxmm+dgjk8=; b=ZXnQNiRLedhiZwEMhtXIyLFOzT0nZg/8/Ci7a0ZDt9Zt9LxPzj513ZG4Wsr0Lk7Xwk xqyQBK01OmMsR0aflKUfXurm2gQNUk09WHTd9S3tRiLeiRc9Y26e2KJKIuBzGOfnBaLr /kUT4qlaKB7MrnU2AgdJUIHSHgMWVxwLu26dgcZSfxCxPhBciBuXy0316l8/leh4hsOC qf/OKnNtwWmJJ8vJN/YqOxxUYFb+hM+z3THxvxPN6PpaiV9bGqKuN1q/2Afmy/12UeoV d10uaOSXUg6TcRWXizdWI4XbqfF0fRIrB+yjtbWa7L1nlYu/wcoXX7bgeDGl/3ufIKhF w6oA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ibnAIbvp; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id ffacd0b85a97d-366387cf1b7sor554200f8f.4.2024.06.21.09.11.03 for (Google Transport Security); Fri, 21 Jun 2024 09:11:03 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a5d:456d:0:b0:365:980c:d281 with SMTP id ffacd0b85a97d-365980cd35cmr2841997f8f.45.1718986263402; Fri, 21 Jun 2024 09:11:03 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2.196.43.112]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-366389b8922sm2185522f8f.28.2024.06.21.09.11.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 09:11:03 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi Subject: [PATCH 6/6] package/libopenssl: add new configuration options Date: Fri, 21 Jun 2024 18:10:49 +0200 Message-ID: <20240621161049.4085310-6-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240621161049.4085310-1-dario.binacchi@amarulasolutions.com> References: <20240621161049.4085310-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ibnAIbvp; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The transition from version 1.1 to 3.0.9, and subsequently to 3.3.1, added new compilation options. This led to a significant increase in the size of the library. These options allow user to disable these features to obtain a smaller library size. To ensure backward compatibility, all items are selected by default. Signed-off-by: Dario Binacchi --- package/libopenssl/Config.in | 106 +++++++++++++++++++++++++++++++ package/libopenssl/libopenssl.mk | 14 ++++ 2 files changed, 120 insertions(+) diff --git a/package/libopenssl/Config.in b/package/libopenssl/Config.in index 0c8db52e2e1d..036b68241864 100644 --- a/package/libopenssl/Config.in +++ b/package/libopenssl/Config.in @@ -133,4 +133,110 @@ config BR2_PACKAGE_LIBOPENSSL_ENABLE_COMP bool "enable compression" default y +config BR2_PACKAGE_LIBOPENSSL_ENABLE_ARGON2 + bool "enable ARGON2" + default y + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_CACHED_FETCH + bool "enable cached fetch" + default y + help + Cache algorithms when they are fetched from a provider. + Normally, a provider indicates if the algorithms it supplies + can be cached or not. Using this option will reduce run-time + memory usage but it also introduces a significant performance + penalty. This option is primarily designed to help with + detecting incorrect reference counting. + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_CMP + bool "enable CMP" + default y + help + Build support for Certificate Management Protocol (CMP) and + Certificate Request Message Format (CRMF). + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_THREAD_POOL + bool "enable thread pool" + default y + depends on BR2_TOOLCHAIN_HAS_THREADS + help + Build with thread pool functionality. If enabled, OpenSSL + algorithms may use the thread pool to perform parallel + computation. This option in itself does not enable OpenSSL + to spawn new threads. Currently the only supported thread + pool mechanism is the default thread pool. + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_DEFAULT_THREAD_POOL + bool "enable default thread pool" + default y + depends on BR2_PACKAGE_LIBOPENSSL_ENABLE_THREAD_POOL + help + Build with default thread pool functionality. If enabled, + OpenSSL may create and manage threads up to a maximum number + of threads authorized by the application. Supported on POSIX + compliant platforms. + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_ECX + bool "enable ECX" + default y + help + Build with ECX support. Disabling this option can be used + to disable support for X25519, X448, and EdDSA. + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_LOADER_ENGINE + bool "enable 'loader_attic' engine" + default y + depends on BR2_PACKAGE_LIBOPENSSL_DYNAMIC_ENGINE + help + Build with 'loader_attic' engine support, which is meant + just for internal OpenSSL testing purposes and supports + loading keys, parameters, certificates, and CRLs from files. + When this engine is used, files with such credentials are + read via this engine. + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_PADLOCK_ENGINE + bool "enable padlock engine" + default y + help + Build the padlock engine. + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_MODULE + bool "enable modules" + default y + help + Build modules. + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_QUIC + bool "enable QUIC" + default y + help + Build with QUIC support. + +config BR2_PACKAGE_LIBOPENSSL_SECURE_MEMORY + bool "enable secure memory" + default y + help + Build with secure memory support. + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_SIV + bool "enable SIV" + default y + help + Build with RFC5297 AES-SIV support. + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_SM2_PRECOMP_TABLE + bool "enable SM2 precomputed table" + default y + depends on BR2_aarch64 + help + Enable using the SM2 precomputed table. Disabling this option + makes the library smaller. + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL_TRACE + bool "enable SSL trace" + default y + help + Build with SSL Trace support. Disabling this option may + provide a small reduction in libssl binary size. + endif # BR2_PACKAGE_LIBOPENSSL diff --git a/package/libopenssl/libopenssl.mk b/package/libopenssl/libopenssl.mk index 89a9189bb851..ab8454657ebf 100644 --- a/package/libopenssl/libopenssl.mk +++ b/package/libopenssl/libopenssl.mk @@ -107,6 +107,20 @@ define LIBOPENSSL_CONFIGURE_CMDS $(if $(BR2_PACKAGE_LIBOPENSSL_UNSECURE),,no-unit-test no-crypto-mdebug no-autoerrinit) \ $(if $(BR2_PACKAGE_LIBOPENSSL_DYNAMIC_ENGINE),,no-dynamic-engine ) \ $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_COMP),,no-comp) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_ARGON2),,no-argon2) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_CACHED_FETCH),,no-cached-fetch) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_CMP),,no-cmp) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_THREAD_POOL),,no-thread-pool) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_DEFAULT_THREAD_POOL),,no-default-thread-pool) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_ECX),,no-ecx) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_LOADER_ENGINE),,no-loadereng) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_PADLOCK_ENGINE),,no-padlockeng) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_MODULE),,no-module) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_QUIC),,no-quic) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_SECURE_MEMORY),,no-secure-memory) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_SIV),,no-siv) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_SM2_PRECOMP_TABLE),,no-sm2-precomp) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL_TRACE),,no-ssl-trace) \ $(if $(BR2_STATIC_LIBS),zlib,zlib-dynamic) \ $(if $(BR2_STATIC_LIBS),no-dso) endef