From patchwork Thu Jun 29 21:56:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arne Schwabe X-Patchwork-Id: 3261 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7301:3c07:b0:d9:b492:11d6 with SMTP id ki7csp2112862dyb; Thu, 29 Jun 2023 14:56:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlHZBkUoYQViStKeOTImtMJLbfateRVdVxuPx4rjSEkB/ZXxzNqRo7gKkl0N6uYhIMgtjyVs X-Received: by 2002:a17:903:182:b0:1b8:5541:9d39 with SMTP id z2-20020a170903018200b001b855419d39mr541004plg.26.1688075812490; Thu, 29 Jun 2023 14:56:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688075812; cv=none; d=google.com; s=arc-20160816; b=fulu/nBpsE4xdJ5+C/PmQuXrnLMak6+JzzupN+U0lRoxx69KPVQAZBaWGtodbeft3C YFZ034ZSB/s1cl+qmt5Ret/+eZln6M96HQdijMP7qZ3KJq8i6SqgAew+Q1tyoGQ7eQEp PrW2mdiLnb+MNBZK/UvFK+Z5iTgdm0xMKSYe9tqC+eaVDXTw2c4D8fEDsTPk3N0lsYYj 9rQK3lQQsWYADmdq8jhYUfrWwOK31MVNpCXqSHqbZO6pSoOBXzU6ugUDTnBuoc4F0EZE wLYN1IiNJCTROdRoK/OSr1JO4Q5pOqsYDH8GYZqsMmlzTUK0q4bo8gKwB26TNdJ88NI4 tP8A== 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:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-signature; bh=5F8EB2JFTW8nmjJD2Z5++ihBd/1mdr9PDZpdsfC/Vxs=; fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=; b=JA4c1RWDTZ442BKfCFKgI6eaQA+FXK/TyAl8oC97qvGSuCIJew8zQGkgQ2HoeyK4QS Um5koUj/UPbGUHBLgkqxqXrf+gTfW3ABs+/CGnyDzZIgsLs2ygHpr0r9+xlZkccjqqSj /bUFnuyCOPYDxVhycK1DUHpGahGvEo2QpmURxVm+I9qSacflDLsr61IAJXXHcvNN5Ehg oknA61wTdxcCJPyYIxhOVHDiiUNMcq1TPZLWaurBatf+pb8N1DmBAH52EGruArdwCc/z 6fG12uT2DguQa6mmcUsr0LIWT5ZBIu29VKu6xNcbYd283K1MuH6bOnsIR4w/fG8jRFpw CHFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=DVM1Y56Y; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=CWLR8zRc; 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 m3-20020a170902bb8300b001b80643d64dsi7460535pls.145.2023.06.29.14.56.52 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Jun 2023 14:56:52 -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=DVM1Y56Y; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=CWLR8zRc; 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-3.v29.lw.sourceforge.com) by sfs-ml-3.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1qEzcp-0007qj-ET; Thu, 29 Jun 2023 21:56:27 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-3.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1qEzcj-0007qW-SL for openvpn-devel@lists.sourceforge.net; Thu, 29 Jun 2023 21:56:22 +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:References: In-Reply-To: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:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=7ar1bvdce0SjHwgkfCAzTvT3EY69aEsdR2sp87LmJPQ=; b=DVM1Y56YQm8lX8mjItLVhowMHh AjjhadPcjbdjkOEuZC3S8Ryu9s6/QmGFf+9Sw/NqPgxr1fuNK4lhLqg1nTbnNQWKCOZXHmneCMFg0 lfmVf+wOE4l61oTf/Vw0UmPTZNoPrJthfwF0tje6fXVXdXjgECLdyT4fqYXm8AZ+X3pc=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: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:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=7ar1bvdce0SjHwgkfCAzTvT3EY69aEsdR2sp87LmJPQ=; b=CWLR8zRcLQ9m+GoWd0dp8tjCpj VbV1pHe8ycj7zYwL4l+j+ScBUmqWoM5WMZVQ76TDYD1vYrg9atsWdEstrS+2Rk4T8rP+nJMl/Jlqs pVHadY9dyXGedz5CADeR9/UXN8Z9ej1ZUZx2lzkAB14ucLQWIumobprsC+USFdKebSwM=; Received: from mail.blinkt.de ([192.26.174.232]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1qEzcg-001Oho-Ti for openvpn-devel@lists.sourceforge.net; Thu, 29 Jun 2023 21:56:22 +0000 Received: from kamera.blinkt.de ([2001:638:502:390:20c:29ff:fec8:535c]) by mail.blinkt.de with smtp (Exim 4.95 (FreeBSD)) (envelope-from ) id 1qEzcZ-0004WT-FJ for openvpn-devel@lists.sourceforge.net; Thu, 29 Jun 2023 23:56:11 +0200 Received: (nullmailer pid 3292837 invoked by uid 10006); Thu, 29 Jun 2023 21:56:11 -0000 From: Arne Schwabe To: openvpn-devel@lists.sourceforge.net Date: Thu, 29 Jun 2023 23:56:07 +0200 Message-Id: <20230629215611.3292788-2-arne@rfc2549.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230629215611.3292788-1-arne@rfc2549.org> References: <20230629215611.3292788-1-arne@rfc2549.org> MIME-Version: 1.0 X-Spam-Score: 0.3 (/) 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: On my system python3 is the macOS system python3 while rst2html has #!/opt/homebrew/opt/python@3.9/bin/python3.9 as its first line. Running that with a different python results in missing python modules. So directly execute the rst2html script instead. Content analysis details: (0.3 points, 6.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-Headers-End: 1qEzcg-001Oho-Ti Subject: [Openvpn-devel] [PATCH 1/4] Do not blindly assume python3 is also the interpreter that runs rst2html 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?1770075783265843619?= X-GMAIL-MSGID: =?utf-8?q?1770075783265843619?= On my system python3 is the macOS system python3 while rst2html has #!/opt/homebrew/opt/python@3.9/bin/python3.9 as its first line. Running that with a different python results in missing python modules. So directly execute the rst2html script instead. Change-Id: I7e27ae031179c91cc1bca8122caf2453d6396ec0 Signed-off-by: Arne Schwabe Acked-By: Frank Lichtenheld --- doc/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index d38805513..2fba80bbd 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -50,13 +50,13 @@ if (_GENERATE_HTML_DOC) list(APPEND ALL_DOCS openvpn.8.html openvpn-examples.5.html) add_custom_command( OUTPUT openvpn.8.html - COMMAND ${PYTHON} ${RST2HTML} ${RST_FLAGS} ${CMAKE_CURRENT_SOURCE_DIR}/openvpn.8.rst ${CMAKE_CURRENT_BINARY_DIR}/openvpn.8.html + COMMAND ${RST2HTML} ${RST_FLAGS} ${CMAKE_CURRENT_SOURCE_DIR}/openvpn.8.rst ${CMAKE_CURRENT_BINARY_DIR}/openvpn.8.html MAIN_DEPENDENCY openvpn.8.rst DEPENDS ${OPENVPN_SECTIONS} ) add_custom_command( OUTPUT openvpn-examples.5.html - COMMAND ${PYTHON} ${RST2HTML} ${RST_FLAGS} ${CMAKE_CURRENT_SOURCE_DIR}/openvpn-examples.5.rst ${CMAKE_CURRENT_BINARY_DIR}/openvpn-examples.5.html + COMMAND ${RST2HTML} ${RST_FLAGS} ${CMAKE_CURRENT_SOURCE_DIR}/openvpn-examples.5.rst ${CMAKE_CURRENT_BINARY_DIR}/openvpn-examples.5.html MAIN_DEPENDENCY openvpn-examples.5.rst DEPENDS ${OPENVPN_EXAMPLES_SECTIONS} ) @@ -65,13 +65,13 @@ if (_GENERATE_MAN_DOC) list(APPEND ALL_DOCS openvpn.8 openvpn-examples.5) add_custom_command( OUTPUT openvpn.8 - COMMAND ${PYTHON} ${RST2MAN} ${RST_FLAGS} ${CMAKE_CURRENT_SOURCE_DIR}/openvpn.8.rst ${CMAKE_CURRENT_BINARY_DIR}/openvpn.8 + COMMAND ${RST2MAN} ${RST_FLAGS} ${CMAKE_CURRENT_SOURCE_DIR}/openvpn.8.rst ${CMAKE_CURRENT_BINARY_DIR}/openvpn.8 MAIN_DEPENDENCY openvpn.8.rst DEPENDS ${OPENVPN_SECTIONS} ) add_custom_command( OUTPUT openvpn-examples.5 - COMMAND ${PYTHON} ${RST2MAN} ${RST_FLAGS} ${CMAKE_CURRENT_SOURCE_DIR}/openvpn-examples.5.rst ${CMAKE_CURRENT_BINARY_DIR}/openvpn-examples.5 + COMMAND ${RST2MAN} ${RST_FLAGS} ${CMAKE_CURRENT_SOURCE_DIR}/openvpn-examples.5.rst ${CMAKE_CURRENT_BINARY_DIR}/openvpn-examples.5 MAIN_DEPENDENCY openvpn-examples.5.rst DEPENDS ${OPENVPN_EXAMPLES_SECTIONS} )