From patchwork Fri Mar 31 15:42:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Lichtenheld X-Patchwork-Id: 11 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7301:5492:b0:b2:b40d:92f9 with SMTP id ab18csp568481dyc; Fri, 31 Mar 2023 08:42:57 -0700 (PDT) X-Google-Smtp-Source: AKy350ZuZAR2DbavoVd2LqlG3yQFEaDhfBo2KDAKKQPycL9RimeKCs4+LAQv/Yy4GzJiXqR/syAs X-Received: by 2002:a17:90a:1952:b0:240:95a7:be70 with SMTP id 18-20020a17090a195200b0024095a7be70mr18274839pjh.19.1680277377546; Fri, 31 Mar 2023 08:42:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680277377; cv=none; d=google.com; s=arc-20160816; b=QzcU96DS+9gx4Ne3I9c56JAqJswjxLpP7wRIdIdE0L3w+zcvK/VSYdutUOKRXFxpTj jnzqnnAXghq/X58L7IudGH6o3WeXWWwYe6IPzEpLPapmTU+0UnCJ9KiIwlKjAZYH2J44 r4B2BfVNpg3myvx3aa7QFOAkJxCVT5tUOUSugHqaSOohc1Pr3dlLTkZafARc1SNrjU0B OBsdTij6Y2zq4w32I0hPHITtMU5WIIlTThclvrTsgXa/EIZLvw52FhD1LRZdix0Xmhrq L562ExUdZ5PP2h6SfAvi0K73m1znk3YzbsaHZCrSghH3OVXupSO60uA6T7lw0cco4ti+ la/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:dkim-signature :dkim-signature; bh=EcPvYTbfO4l810DXwANz/CUfAXPQTOV4GCt/U7mo7Sg=; b=kY3YpRKbQAoN1y6dTBXCHpiuVrso7NtrwaX1ViI71cs5/j8IZ+4y8M+Bzn88Q1uwZR HpIknIeVgok9ccqwMmdsontK94Ydf16h2F5wBfz/Q2NUfbIFRWitcjBb2SZKE5AXvBfB 3gUWVWNkvsHYCXGZFhfF5Mho/D6AEo2bgbvz89CT+rOTERIEQl0hgazRntt2TV6nOrVU XsYNrxsdY+NJQSABgtn0BIT/27bJKxRA4f5Q1NxdhdWhreYPKpogZHiiSbGcth1BIvTN 5KS4hTTeqXaX5A/tGa6r7v1uYymOQ1MgKsjVeGGeUfz/5UGRT3jg2IWGOUR8kZB/u1tT aMcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=KGkijBeB; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=Gm9JEyvb; dkim=neutral (body hash did not verify) header.i=@lichtenheld.com header.s=MBO0001 header.b=w33TlME7; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7]) by mx.google.com with ESMTPS id x21-20020a17090aca1500b00234b74321f8si7125013pjt.28.2023.03.31.08.42.57 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 31 Mar 2023 08:42:57 -0700 (PDT) Received-SPF: pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) client-ip=216.105.38.7; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=KGkijBeB; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=Gm9JEyvb; dkim=neutral (body hash did not verify) header.i=@lichtenheld.com header.s=MBO0001 header.b=w33TlME7; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1piGth-000351-Ny; Fri, 31 Mar 2023 15:42:36 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1piGtc-00034W-7n for openvpn-devel@lists.sourceforge.net; Fri, 31 Mar 2023 15:42:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:Message-Id: Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Hgyj/UuBXJXGiRzT7qLf7nQukoUOBJJmDEc1PvYrJCM=; b=KGkijBeBQ5H1Edq0FLwL9UtsBZ KAoTDkGecEdJUudT5aNIGboebSp2JWcHR2e6dRRApvQixnQKoMhx3rJyOvBGwjzpP+vBwqf7f9Svn dZYT5QrFhrz72I7YK8bgS4KFMFjctsdk5VxTa1G+APwSLBiPLAuC/OGI7I/xWxQWe1Lg=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:To:From: Sender:Reply-To:Cc:Content-Type:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=Hgyj/UuBXJXGiRzT7qLf7nQukoUOBJJmDEc1PvYrJCM=; b=G m9JEyvbEz1DQOmSbRSMXoXzywgqlpQVZnaEW+u+5qbjR6AT2yeV0nDFruH/jXLO23mbyWNpIqm2nG ajk5xNV8CE/+mwvVv5LPNkOFDLNSMlBGTy1wfZgWakkYTR4mjn65/tcV5QDALDRl9uzPqdA4hHU2E kJ55ldNCkMbkwIfA=; Received: from mout-p-103.mailbox.org ([80.241.56.161]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1piGtY-00B1s9-7b for openvpn-devel@lists.sourceforge.net; Fri, 31 Mar 2023 15:42:31 +0000 Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4Pp4Kf6W8dz9scb for ; Fri, 31 Mar 2023 17:42:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lichtenheld.com; s=MBO0001; t=1680277334; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Hgyj/UuBXJXGiRzT7qLf7nQukoUOBJJmDEc1PvYrJCM=; b=w33TlME7GKJ5r70H7Buu4i0bHNKBMuurN0THtwu/yze3hSg+k0uGLuw2oBvHSQC7jnEk0o Bv+VI+11ctDLK3feFjpq9Y6BnsqOl1RStDIRoN9mz93dsQnlDS8UhmQgxrDduH+CnEuxlO BTPPr57Z63u3MjHU70vwrQqUxkWidZ3Jlp9ZMkdvofInu+jo+FMOgbo6iWngkrHiAdOepX Qa61xNFjfPPQYdxCqccp0n9bARGOoWu+DhCkelRU5CFX4LThiGlOf7TBqxmGvfC6Pf36CR rpIotLYvFWo5ZiSVSyrXzoqucWognTtq14sBugPeCSWS1lYbtkGD6TMsj8Vvfg== From: Frank Lichtenheld To: openvpn-devel@lists.sourceforge.net Date: Fri, 31 Mar 2023 17:42:11 +0200 Message-Id: <20230331154214.613245-1-frank@lichtenheld.com> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4Pp4Kf6W8dz9scb X-Spam-Score: -0.9 (/) X-Spam-Report: Spam detection software, running on the system "util-spamd-2.v13.lw.sourceforge.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The biggest change is that this allows to build this port with mingw, not just MSVC (which will become important with my CMake patch that will include mingw vcpkg builds) Some smaller cleanups as well. Content analysis details: (-0.9 points, 6.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [80.241.56.161 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-Headers-End: 1piGtY-00B1s9-7b Subject: [Openvpn-devel] [PATCH 0/3] Cleanup the pkcs11-helper vcpkg port X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox X-GMAIL-THRID: =?utf-8?q?1761898531321156155?= X-GMAIL-MSGID: =?utf-8?q?1761898531321156155?= The biggest change is that this allows to build this port with mingw, not just MSVC (which will become important with my CMake patch that will include mingw vcpkg builds) Some smaller cleanups as well. Was reviewed by Lev in Gerrit at https://gerrit.openvpn.net/q/topic:pkcs11-helper-vcpkg-mingw Frank Lichtenheld (3): vcpkg-ports/pkcs11-helper: Make compatible with mingw build vcpkg-ports/pkcs11-helper: Convert CONTROL to vcpkg.json vcpkg-ports/pkcs11-helper: reference upstream PRs in patches .github/workflows/build.yaml | 1 + ...to-succeed-if-configured-with-disabl.patch | 48 +++++++++++++++++++ contrib/vcpkg-ports/pkcs11-helper/CONTROL | 4 -- .../pkcs11-helper-001-RFC7512.patch | 2 + ...cs11-helper-002-dynamic_loader_flags.patch | 2 + .../vcpkg-ports/pkcs11-helper/portfile.cmake | 33 ++++++++++--- contrib/vcpkg-ports/pkcs11-helper/vcpkg.json | 7 +++ contrib/vcpkg-triplets/x64-mingw-ovpn.cmake | 8 ++++ contrib/vcpkg-triplets/x86-mingw-ovpn.cmake | 8 ++++ 9 files changed, 102 insertions(+), 11 deletions(-) create mode 100644 contrib/vcpkg-ports/pkcs11-helper/0001-Allow-the-build-to-succeed-if-configured-with-disabl.patch delete mode 100644 contrib/vcpkg-ports/pkcs11-helper/CONTROL create mode 100644 contrib/vcpkg-ports/pkcs11-helper/vcpkg.json create mode 100644 contrib/vcpkg-triplets/x64-mingw-ovpn.cmake create mode 100644 contrib/vcpkg-triplets/x86-mingw-ovpn.cmake Acked-by: Lev Stipakov