From patchwork Thu Jun 29 21:56:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arne Schwabe X-Patchwork-Id: 16 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7301:3c07:b0:d9:b492:11d6 with SMTP id ki7csp2112811dyb; Thu, 29 Jun 2023 14:56:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6F0IjV1wW8n+WTaUTFs0TmDEKDUkhBDBaGtyRMirAyLqwSTzQQ6gi5+nG3WwVs22aQ3olo X-Received: by 2002:a05:6a00:1ca0:b0:67c:db:c2f4 with SMTP id y32-20020a056a001ca000b0067c00dbc2f4mr6937251pfw.4.1688075805651; Thu, 29 Jun 2023 14:56:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688075805; cv=none; d=google.com; s=arc-20160816; b=tlaXOKjpLgISvWXTth4YjklL+PmXYp1rtax+sEBXiOwx9i20LgfP7MZFbV1XIPWAhT 7AXbkwqtKFoPPrDUkEdSezHC6re9if0He+0uu0HMnaFjL/6sTuDYoQzUVp/UPgxFALJn 7U5vH+bQ5VOM3Eb/d7ChHQ0eUPGfWSoZmW7byHRwrdDlhoJkiR9131qvNn+KlRQlRhRq OVXPqsJ8tirHN8ilzzt0PneNNwCD03G8DwTamgc2SizeNXIhti0Pxkt75oO4bitDVmiJ aOGDkG1J+5Z0mKA+VZLZmCLxWuZ7d+CNjobgaY5Qcv4thTSA4zdDr3LCV1cbXvpwOo9Y eAfg== 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; bh=Y2s+i++Ca7/7pgWBfIptwGUBL3bTN3iYyT+Bpx3/bfk=; fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=; b=iuK3ZJKWXJyq+eF/Lp5x6KMhLrUNSAw86dhwIO4uVhj5teOEHNrjM1Qu3GUQuJl/Mc XVRCUuLwZdt/1PrKA9/w0imnK08rBGJgdQsC4uBzzlV3kAlOFwL6LB12s83XGzqbRDB/ tI4ehqdddQaGTgmHin7obBJVSkuQkkOAXa28aHh/3hFqqd9AASqTfVEsDF09nzT36XMO QKohCVWxP1/M0steiGcM6BJM9rrYxXYs8XVnUoBA8OJ7h0BjgHpTkn0NE5GV/2GdzUnn nQGDTgWm596J7ashKZtJZLeNylaqwBOaaXuwOw7GQw2Dlz1HVznGOye+DtJVF8MGGqsK kqBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b="By/3ClaC"; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=HQGMiQ9J; 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 c184-20020a624ec1000000b0068255c2b8a8si934898pfb.151.2023.06.29.14.56.45 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Jun 2023 14:56:45 -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="By/3ClaC"; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=HQGMiQ9J; 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 1qEzcp-000503-II; Thu, 29 Jun 2023 21:56:28 +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 1qEzcl-0004zx-Ri for openvpn-devel@lists.sourceforge.net; Thu, 29 Jun 2023 21:56:24 +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=vP+9Mrs4ap6238lNPwjPSyD3V6lW8Ja4p4MEvlWtwp0=; b=By/3ClaCvRO54EqKlDw5ifT43R kqhD70r1xaz9SlKWL/Kb8HBS0/Ck0pH4bE6WFc/NQ0ChJTogVHG+qJO9rhUZ5OXR9SS0TW89gaSif f9X3WOnz2gO/fgtne0QCh/aCswe8LvpYY6GhqHTF1eAwjHSX6F85u2ABewxcoGGq7va8=; 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=vP+9Mrs4ap6238lNPwjPSyD3V6lW8Ja4p4MEvlWtwp0=; b=H QGMiQ9Ju+FwKXGRKl59Iagj73RkAYPPblu/1Bq7FdtRwB/m7LgdGO1gDGWM0T8L92jcygUgoXvp0k KeQrbfDnzRybe2Duk/Wv5F71zxyC3YWwwb6uU3UAN6YO1mUV+2TjqRBRFuulNjHg7oyxmHfPDevuB urBtLr0ERX26i/X0=; Received: from mail.blinkt.de ([192.26.174.232]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1qEzcm-0002GR-6Z for openvpn-devel@lists.sourceforge.net; Thu, 29 Jun 2023 21:56:24 +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-0004WR-Ee for openvpn-devel@lists.sourceforge.net; Thu, 29 Jun 2023 23:56:11 +0200 Received: (nullmailer pid 3292834 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:06 +0200 Message-Id: <20230629215611.3292788-1-arne@rfc2549.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Score: 0.2 (/) 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 patches to the cmake files did a lot of improvements but broke compiling on macOS and FreeBSD. This patch set restores the ability to compile again with these two platforms. Arne Schwabe (4): Do not blindly assume python3 is also the interpreter that runs rst2html [CMake] Only add -Wno-stringop-truncation on supported compilers Check if the -wrap argument is actually supp [...] Content analysis details: (0.2 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_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Headers-End: 1qEzcm-0002GR-6Z Subject: [Openvpn-devel] [PATCH 0/4] Restore ability to compile on macOS/FreeBSD with Cmake 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?1770075775733126106?= X-GMAIL-MSGID: =?utf-8?q?1770075775733126106?= The patches to the cmake files did a lot of improvements but broke compiling on macOS and FreeBSD. This patch set restores the ability to compile again with these two platforms. Arne Schwabe (4): Do not blindly assume python3 is also the interpreter that runs rst2html [CMake] Only add -Wno-stringop-truncation on supported compilers Check if the -wrap argument is actually supported by the platform's ld Avoid unused function warning/error on FreeBSD CMakeLists.txt | 33 +++++++++++++++++++++------------ doc/CMakeLists.txt | 8 ++++---- src/openvpn/route.c | 4 +++- 3 files changed, 28 insertions(+), 17 deletions(-)