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