Message ID | 59b20daee30f48b3b71c1a299e838b7c9bb3652a-HTML@gerrit.openvpn.net |
---|---|
State | New |
Headers | show
Return-Path: <openvpn-devel-bounces@lists.sourceforge.net> Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7000:998b:b0:5e7:b9eb:58e8 with SMTP id d11csp5245459mav; Wed, 25 Dec 2024 09:15:30 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXTKVfr85Rf3gIuCFWGSU9N6To3f6Y8wm3P3o9FzLKbGgWkbOSGRzeFQhQHW302hh7LpUDoB4Gcdv0=@openvpn.net X-Google-Smtp-Source: AGHT+IEWbmA9wch+cGoM7kRpTcX8uPFcOlwKF3ZXNax/RKcCuJ0eHhO837VVGcbtF1g2sX77jKtC X-Received: by 2002:a54:4489:0:b0:3eb:44a7:d3f8 with SMTP id 5614622812f47-3ed890ded9bmr9380200b6e.39.1735146930524; Wed, 25 Dec 2024 09:15:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1735146930; cv=none; d=google.com; s=arc-20240605; b=CdXiyoKbaa6sz9+eazPXV7RTjKkXHB4mv8+gSqMSGcN9QE/yzeoGAGxRhyPo2vfKoU 9fuYNUJYov7qSuPLACoyFg89GeJkooRyCe0zaHAWPfp38KlG82AUz13h+XiMMB3zh64h K9vl8XPHqdmUvsogUvxIafUT3VdMzQpPgUJLySWXd3yslb+T3xM2yir7klufuDnjzcqu L7HKyXj2b8BNoFl0JtGX8WN3NC9gy/a87g5lMqCASY1N9TanOBkGgHXWd1mf3dZemrkx mMXJGwPc05FAyzH9obJSuGitP9j4Hg+asXJ2zfljilCMLuCWXoKnO21pSYLoRbMFR5Vt WwJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=errors-to:cc:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:subject:user-agent :mime-version:message-id:references:auto-submitted:to:date:from :dkim-signature:dkim-signature:dkim-signature; bh=StgVzKsyJ6ey8IKa5bpSiKNIGDFJl5o0It+o89YVw7g=; fh=lm0MLPW7DntlrDqRECIiC9JlE1uPxhepE0URYHIf+eE=; b=kkrGUoFJUsWZ10CL81oWVOtWfcsvZJaHP//lqpQPjW3ho9EpluzpJyGaR0agmpCCAx 0xcNDMP6ugC1P1sfVc+C7vX2Odx3lwMWsEPRV+wJ8x/yVXX/7Y6e4joksCg7ALvhLO0h eZJKZu04VB0UfyqH/mJbvn1mKxHbT+t3NkUKwYSghgLPd0Et8r7Z89F6zzGr5I3xirbK MICB0VIEaIzmOSY2gichjWfvMDP0sCoEEUBcCOBNLur2y7lCSipFifPsKCdU3GAOtxLZ Y9Jrx3omKgip7PVaIgQXOjh+wU/v+2EJyCuoEulPiKOOkXDiBsg7tj9xo3xhus7qdogn gxnA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=cYmCNF1Y; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=hXE43tAP; dkim=neutral (body hash did not verify) header.i=@openvpn.net header.s=google header.b=OlF22bGf; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=openvpn.net; dara=fail header.i=@openvpn.net Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7]) by mx.google.com with ESMTPS id 5614622812f47-3ece26396fdsi8228718b6e.137.2024.12.25.09.15.30 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Dec 2024 09:15:30 -0800 (PST) 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=cYmCNF1Y; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=hXE43tAP; dkim=neutral (body hash did not verify) header.i=@openvpn.net header.s=google header.b=OlF22bGf; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=openvpn.net; dara=fail header.i=@openvpn.net Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from <openvpn-devel-bounces@lists.sourceforge.net>) id 1tQUyj-00032j-4t; Wed, 25 Dec 2024 17:15:25 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from <gerrit@openvpn.net>) id 1tQUyh-00032d-K0 for openvpn-devel@lists.sourceforge.net; Wed, 25 Dec 2024 17:15:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:Content-Transfer-Encoding:MIME-Version :Message-ID:Reply-To:References:Subject:List-Unsubscribe:List-Id:Cc:To:Date: From:Sender:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:List-Help: List-Subscribe:List-Post:List-Owner:List-Archive; bh=x2vZlbLJyZg046zIPBh3Y1eUel2q254I4fiB5nw4AmM=; b=cYmCNF1YiVNzjIGr8J6wNBTQBg qKKGG7R6BOOZ2JEcX6jPpMqK9Yt3/+Y+tYVCh5kC59C3YEjeA6F3/rptkHVvcP6G9W/GvNLyuoPK+ JyDBneFQ+1TmcH5+BKBc+wQBY57MiG3Y5mBLTxKKpCwp9/v6ySF7VoT7JXhwYgFZLO6U=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:Content-Transfer-Encoding:MIME-Version:Message-ID:Reply-To: References:Subject:List-Unsubscribe:List-Id:Cc:To:Date:From:Sender:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:In-Reply-To:List-Help:List-Subscribe:List-Post: List-Owner:List-Archive; bh=x2vZlbLJyZg046zIPBh3Y1eUel2q254I4fiB5nw4AmM=; b=h XE43tAPWIWXl3tu+BWvwcgxrlTMHUONs+d9D6VKeVR4z7mkQ4u1lBWUhQ+4uZXhMokL97XOhoZoQ1 rztkmgj/Zw0OYHtchM4nezRxxLuvNSTPTtc1bCJxwfD1ZXZao4IGBpVQZ2W5gEPQ2F+7dNoS3OLxw /aaLql9EpcVIoPuk=; Received: from mail-wm1-f44.google.com ([209.85.128.44]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.95) id 1tQUyg-000598-Mx for openvpn-devel@lists.sourceforge.net; Wed, 25 Dec 2024 17:15:23 +0000 Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-436341f575fso62852645e9.1 for <openvpn-devel@lists.sourceforge.net>; Wed, 25 Dec 2024 09:15:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openvpn.net; s=google; t=1735146916; x=1735751716; darn=lists.sourceforge.net; h=user-agent:content-disposition:content-transfer-encoding :mime-version:message-id:reply-to:references:subject :list-unsubscribe:list-id:auto-submitted:cc:to:date:from:from:to:cc :subject:date:message-id:reply-to; bh=x2vZlbLJyZg046zIPBh3Y1eUel2q254I4fiB5nw4AmM=; b=OlF22bGfwBJF1xuK5BsHvG+bn/G1qtF48gQNw1ySI3fFoGDrhmrDKt+dP6gNX5i3JS Y4yWUsNlROEg3/2nJWOUvy/3Sv7KbOz8aNVZaL3eIQi8T2D06MH9K8SHGX/uF+A+iyze REJxpTSIpYSzJ+eO+mo5pwoS+jKEnoTZ4Q5/Szukic8EgH8fAtpN8qLLfWTvUoFtYtOa 9n3k4nnNh0/KkjR2gyfQSY/HBSEP7v19YPFXl1bw95TuAA/0k6Z1GtZHN1BBEwy5vQCt iDg/YjFYE+eT227At6a6wDO94TZk1IZ+XxiSXF9cVdx4zvu+DCqdo5Gzn4m49PM3yJdj 8pew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735146916; x=1735751716; h=user-agent:content-disposition:content-transfer-encoding :mime-version:message-id:reply-to:references:subject :list-unsubscribe:list-id:auto-submitted:cc:to:date:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=x2vZlbLJyZg046zIPBh3Y1eUel2q254I4fiB5nw4AmM=; b=Se50XPxB/I1FwGnR2jEn6yfR96lqNOW47ItqYHJhuk8Y8MRUa2I0zJFNABmtmzBkTa tArVCfCCWG8CCFrSHkdbNJlvgFeQXLflbaIj2OcHNNKHzP2C+grYt5ouqtkAyQ6d5dYD A7uzj6n6z9WOCacn6FeiYjVmjK7JTG1/XXvoqPfFWSR+KXRceIQZnWibJn6g/qf1Ittm YxxlZ+yjksEGjIRi/eQNhyb4FNAMSABg5kZLlg5UVEb+RpGeEJl/7z2sy1tshji/uNis 5pHMQ9ihXnPT01CGvK/wHlhH8ppLdh+OZmlBr4PNmMNPj4qFBDiOngxW3l6fo9PKrL17 7uQw== X-Gm-Message-State: AOJu0YzOf68ARIko7XeYcwUzvz1w0CPpFpZLfruhbivq6zJg1qMbEE82 oLcfjw34OBSL+vyNaNRd9aE9/Lhda1t2/AFOTdoHKxMYNd92osSaaHbwPxpbbYvnGsY7tjP5Tc4 c X-Gm-Gg: ASbGnctvhIO/rtD1QYjuizZLwsviodCeFf2efFNRfobxKMuL8GE9OCPo1ndChX9bT/p wGAoJ7ASTkfu/VA0rdYqGdJOL/+6cNP/ESsfe1cdGPUxRH7RgiGQ3fsXgefj1H+WtPhHhHJdFaR KjTaTPAhgw/ZmvG1I/jtGrRXlUwOnumI+i40j31uoCJPpNHmzKFDnSf31UJVVV7/VECqvGvWdNS jqAMU2/lmcN4xivfH8C1uYrxmlJPIiZJmUJ7rnAvPWe83Yw03ba8zjaXvHpE6rotqf10pKC4JGn JLGYww65TyqH6qJrOthSFf4kjhBwSEEPJxry5tpBbgzn8UCt X-Received: by 2002:a05:600c:1388:b0:434:f131:1e71 with SMTP id 5b1f17b1804b1-4366854c07emr172305425e9.8.1735146915721; Wed, 25 Dec 2024 09:15:15 -0800 (PST) Received: from gerrit.openvpn.in (ec2-18-159-0-78.eu-central-1.compute.amazonaws.com. [18.159.0.78]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c84722dsm17392340f8f.53.2024.12.25.09.15.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Dec 2024 09:15:15 -0800 (PST) From: "plaisthos (Code Review)" <gerrit@openvpn.net> X-Google-Original-From: "plaisthos (Code Review)" <gerrit@gerrit.openvpn.in> X-Gerrit-PatchSet: 1 Date: Wed, 25 Dec 2024 17:15:14 +0000 To: flichtenheld <frank@lichtenheld.com> Auto-Submitted: auto-generated X-Gerrit-MessageType: newchange X-Gerrit-Change-Id: I350fd615ed8474d34392a057a5f8bded78173949 X-Gerrit-Change-Number: 846 X-Gerrit-Project: openvpn X-Gerrit-ChangeURL: <http://gerrit.openvpn.net/c/openvpn/+/846?usp=email> X-Gerrit-Commit: 238ad3680e6874c10d7177a1c6af54889cc45439 References: <gerrit.1735146911000.I350fd615ed8474d34392a057a5f8bded78173949@gerrit.openvpn.net> Message-ID: <59b20daee30f48b3b71c1a299e838b7c9bb3652a-HTML@gerrit.openvpn.net> MIME-Version: 1.0 User-Agent: Gerrit/3.8.2 X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "util-spamd-1.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: Attention is currently required from: flichtenheld. Hello flichtenheld, I'd like you to do a code review. Please visit Content analysis details: (-0.2 points, 6.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.44 listed in list.dnswl.org] 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.44 listed in sa-accredit.habeas.com] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.44 listed in bl.score.senderscore.com] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.44 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 WEIRD_PORT URI: Uses non-standard port number for HTTP 0.0 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.0 T_KAM_HTML_FONT_INVALID Test for Invalidly Named or Formatted Colors in HTML X-Headers-End: 1tQUyg-000598-Mx Subject: [Openvpn-devel] [XS] Change in openvpn[master]: Ensure that Python3 is available X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: <openvpn-devel.lists.sourceforge.net> List-Unsubscribe: <https://lists.sourceforge.net/lists/options/openvpn-devel>, <mailto:openvpn-devel-request@lists.sourceforge.net?subject=unsubscribe> List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=openvpn-devel> List-Post: <mailto:openvpn-devel@lists.sourceforge.net> List-Help: <mailto:openvpn-devel-request@lists.sourceforge.net?subject=help> List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/openvpn-devel>, <mailto:openvpn-devel-request@lists.sourceforge.net?subject=subscribe> Reply-To: arne-openvpn@rfc2549.org, openvpn-devel@lists.sourceforge.net, frank@lichtenheld.com Cc: openvpn-devel <openvpn-devel@lists.sourceforge.net> Content-Type: multipart/mixed; boundary="===============3669851004728749088==" Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox X-GMAIL-THRID: =?utf-8?q?1819433427646079222?= X-GMAIL-MSGID: =?utf-8?q?1819433427646079222?= X-getmail-filter-classifier: gerrit message type newchange |
Series |
[Openvpn-devel,XS] Change in openvpn[master]: Ensure that Python3 is available
|
expand
|
diff --git a/CMakeLists.txt b/CMakeLists.txt index 61f0cc5..65fdbc7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -74,7 +74,6 @@ /MP /W2 /sdl - /Qspectre /guard:cf /FC /ZH:SHA_256 @@ -107,9 +106,9 @@ endif () endif () -find_program(PYTHON NAMES python3 python) +find_package(Python3 REQUIRED COMPONENTS Interpreter) execute_process( - COMMAND ${PYTHON} ${CMAKE_CURRENT_SOURCE_DIR}/contrib/cmake/parse-version.m4.py ${CMAKE_CURRENT_SOURCE_DIR}/version.m4 + COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/contrib/cmake/parse-version.m4.py ${CMAKE_CURRENT_SOURCE_DIR}/version.m4 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) include(${CMAKE_CURRENT_BINARY_DIR}/version.cmake) @@ -339,7 +338,7 @@ add_custom_command( OUTPUT always_rebuild config-version.h - COMMAND ${PYTHON} ${CMAKE_CURRENT_SOURCE_DIR}/contrib/cmake/git-version.py + COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/contrib/cmake/git-version.py ) set(HAVE_CONFIG_VERSION_H YES)