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) \