From patchwork Wed Jun 16 16:05:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Korsgaard X-Patchwork-Id: 1492971 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=smtp2.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=CUM/B4CG; dkim-atps=neutral Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4G4qlf6HfRz9sRf for ; Thu, 17 Jun 2021 02:05:18 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id A281B40253; Wed, 16 Jun 2021 16:05:16 +0000 (UTC) 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 mqtvNYxRwG7l; Wed, 16 Jun 2021 16:05:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id E4A7C404B1; Wed, 16 Jun 2021 16:05:14 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 308921BF32B for ; Wed, 16 Jun 2021 16:05:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 1A0F383B0D for ; Wed, 16 Jun 2021 16:05:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 WE1xwqJm8vFB for ; Wed, 16 Jun 2021 16:05:12 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by smtp1.osuosl.org (Postfix) with ESMTPS id D41F083A88 for ; Wed, 16 Jun 2021 16:05:11 +0000 (UTC) Received: by mail-ed1-x529.google.com with SMTP id d7so3475344edx.0 for ; Wed, 16 Jun 2021 09:05:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GoRehufbTXBhl0OyFKOGH/7cX8rQCbQzT1WURH122Pc=; b=CUM/B4CGad7HxULpCe3fLioDudMauhbBFT3qrDDNlJfwsGyuZcZ6Du9+sdg+vE6Ca1 UAyrlYSvw/j74MGw4a5V5xhT0eMjjBVESW4m/EdoOem/Ha0NAOeMPOcx40U+2+r7kQ2V B3UxN0ud5NEUd8QlaD6zRqZdqqBOOG0Be3k+FPhwsxdhkr1KiOgb2G9xAZu7I1fxXA8v oyqwiuhYppXXOOurtwc/y2eX5yS+VZ7Yne7eSa3MZqv0w14y082BSRgwHvWVP0m8GVk0 7DaFC402cDHSAzO/XP0/uSKkwY5ffkFsNXyKxTr+jUrqyalvqOwD0CEx5Ki6RSZBJrfD uezQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=GoRehufbTXBhl0OyFKOGH/7cX8rQCbQzT1WURH122Pc=; b=bxV9ivUGatrufX6KR4cogqflCy3IHe9/SJzmLcNaQ4XSPa+veeQOJF4Dm8c8aT/12a LSrGElbha0eQQ77QP+AilVfuo9BMY3qgvBUooAaX0Y1QrafzsbkHn9+fZcgYnZHHfizl d93eGEIOVof5FmVOrSPhtwx3y8nZVxd9UQJuXZ/S+UPasW2BO48+EJVV9/ZOFSu63css rUgtkkJ0Sxudpq+9Ewp9Rf5A+r890mbTcgNvgcAjqYQGB4Wue190KjKgEe6qwhweQtas rHZHTtUmNGSJM89lORIvREiFGjB4fL+FGNqDKNlGR5oDVBw+CzqbWBWK0lTylErPO9Ps ObrQ== X-Gm-Message-State: AOAM531ins8g3ZL2jX+qSR8mDUXP0Ei2zpRQWAap3+o7vM1f/aUPiQRN dJgpNAqJ3uktxjHiCcnpComGdbdKsus= X-Google-Smtp-Source: ABdhPJzJuXb0BoETh2zlLIj7ptWtRkOEZDdl/vxricSG00x68MvCaQ0H+CtaKYe363wXH0wTPoK9HQ== X-Received: by 2002:a05:6402:1911:: with SMTP id e17mr481244edz.62.1623859509991; Wed, 16 Jun 2021 09:05:09 -0700 (PDT) Received: from dell.be.48ers.dk (d51A5BC31.access.telenet.be. [81.165.188.49]) by smtp.gmail.com with ESMTPSA id f18sm2140234edu.5.2021.06.16.09.05.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Jun 2021 09:05:09 -0700 (PDT) Received: from peko by dell.be.48ers.dk with local (Exim 4.92) (envelope-from ) id 1ltY2O-0002vo-2E; Wed, 16 Jun 2021 18:05:08 +0200 From: Peter Korsgaard To: buildroot@buildroot.org Date: Wed, 16 Jun 2021 18:05:06 +0200 Message-Id: <20210616160507.11223-1-peter@korsgaard.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH] package/libressl: fix openssldir setting to match openssl X-BeenThere: buildroot@busybox.net 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" libressl defaults to $prefix/etc/ssl for its "openssldir" setting, E.G. the location where configuration files and certificates are searched: openssl version -d OPENSSLDIR: "/usr/etc/ssl" Change it to /etc/ssl so it matches openssl and the expectations of packages dealing with certificates (ca-certificates, libcurl, p11-kit) Signed-off-by: Peter Korsgaard --- package/libressl/libressl.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libressl/libressl.mk b/package/libressl/libressl.mk index ad345ba3f0..d09df8f40f 100644 --- a/package/libressl/libressl.mk +++ b/package/libressl/libressl.mk @@ -10,6 +10,7 @@ LIBRESSL_LICENSE = ISC (new additions), OpenSSL or SSLeay (original OpenSSL code LIBRESSL_LICENSE_FILES = COPYING LIBRESSL_CPE_ID_VENDOR = openbsd LIBRESSL_INSTALL_STAGING = YES +LIBRESSL_CONF_OPTS = -DOPENSSLDIR="/etc/ssl" ifeq ($(BR2_PACKAGE_LIBRESSL_BIN),) define LIBRESSL_REMOVE_BIN