| Message ID | 20240508220512.12362-1-gert@greenie.muc.de |
|---|---|
| State | Accepted |
| Headers |
Return-Path: <openvpn-devel-bounces@lists.sourceforge.net>
Delivered-To: patchwork@openvpn.net
Received: by 2002:a05:7001:a40b:b0:577:9287:30c5 with SMTP id
vo11csp744753mab;
Wed, 8 May 2024 15:05:58 -0700 (PDT)
X-Forwarded-Encrypted: i=2;
AJvYcCWNHQqrOtcNiYV4UbPsCBpVpciQUcpqiEvFBxxR+KzyFInMQ3P56U6x541qY/FzChw72iMDCLtAi0UicsNUAgOtmM+fT6Y=
X-Google-Smtp-Source:
AGHT+IFDhcgdV/w8WW2Ra6RUBVhF4vtB8tYnbt/Xkrf0Gi2TcPTODQ28pvFDRCv52AKu0wcFvTrE
X-Received: by 2002:a05:6a21:6daa:b0:1ae:38d5:fd3b with SMTP id
adf61e73a8af0-1afc8e35a38mr4559828637.5.1715205957686;
Wed, 08 May 2024 15:05:57 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1715205957; cv=none;
d=google.com; s=arc-20160816;
b=J1V2q9ntXMq21qIa9IrYcfsgH82xM6U1Y3MajgcuwTd7fEBArWZxtiK0dna5MZ3Kwz
aQ4gZ9TQZzRRAMOZv80f77DB6TGc7a4rBW885DT1ZMlJHSBnm8KTdoa3euNxr3n0V3IB
qRMt/WUysVMUv1rGORX1hxliUBGN+b8y+O5Ijq8a6GqhUhhbskRJgxwFiR7ynb3U4i1x
zDNY1LQPdJWRhUKn3p8k0w9lT0emH4YM2/+OX69Ho6nt29wcZbaX3FGyOF00T9XZEpeN
JM2RB+wOEdwNl0koEFzbCD5ZySrzwM5KkH39F0/JR461YYGOUt6NbE0TxJXlDdowAosT
48kQ==
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=AjFg/5kSeu9oN0FZgAlhS+WnPzbbkPDbFsp44PENntQ=;
fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=;
b=WR/1EAdbuAcnO2OoCSuDEWt5h2+eyFCCImZFMAW3uM6PbS61hO7u3DF7TxU7831N30
buau2kGWtb9B2mdjAAhMAFjp0QAnzr39SqLIjJVZPHvyxUBkdeQM2GlfAdQIbrdlJSUb
+pEPQiBi1ltGlA2joXVRoIkNI05NlXcKJtv8qEFADKwaTQ3BadiJk3B9rOKyN1wKmCbw
x83pTwXJ3/AJhOy7GO6z13S64FLS0b84lWkYvqDkxRrcsD5Rw6PfixfsKK6D99B4ilso
5kRoLEfuAIKkzc4AcYNpCh6srHnaU33AY3yK9fpGQcC7SgQcWjm1pcozuOF3ndWiyVCS
lIYQ==;
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=PshBMHjE;
dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x
header.b=j0CR5bO6;
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=muc.de
Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7])
by mx.google.com with ESMTPS id
98e67ed59e1d1-2b628a69a11si2069024a91.78.2024.05.08.15.05.57
(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
Wed, 08 May 2024 15:05: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=PshBMHjE;
dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x
header.b=j0CR5bO6;
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=muc.de
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 <openvpn-devel-bounces@lists.sourceforge.net>)
id 1s4pPl-0006Lq-Hj;
Wed, 08 May 2024 22:05:30 +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 <gert@blue.greenie.muc.de>) id 1s4pPi-0006Ld-VL
for openvpn-devel@lists.sourceforge.net;
Wed, 08 May 2024 22:05:28 +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=n9aqodolrt0AuAzCNTkIsVHmslXNmfLwovTLn1TAxvw=; b=PshBMHjES2I5q5D8qOePxEUBND
9XFSHr4Wv++C/B+u1cQdFGYR3fHGnpoRyPjLsnlS2vnhb3t4EKZvyb0WQ89cbLSCh1k0muopoe6Co
T0EoSXsWwZE6+CVZxh/VoruKJX25edOkrcTVWOhBQprzdhS9qNIce3YEqciOrX2h4ILo=;
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=n9aqodolrt0AuAzCNTkIsVHmslXNmfLwovTLn1TAxvw=; b=j0CR5bO6XDAtRPJQVZyknwKwXY
z4r7EGYUpZdnXMvamkub44QJzP66v+pf5TlEiquoNymqw0Io/yyodnr0OvVwO8CvZWhqs0gY8UL3u
sqBN4jPzqvavRCXz5yw8S+8YpNYZPc+EpL3kLYyeQofKcYOFh9JuiOx4M5KcjyQOsyw8=;
Received: from dhcp-174.greenie.muc.de ([193.149.48.174]
helo=blue.greenie.muc.de)
by sfi-mx-2.v28.lw.sourceforge.com with esmtps
(TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95)
id 1s4pPi-0008I2-HC for openvpn-devel@lists.sourceforge.net;
Wed, 08 May 2024 22:05:28 +0000
Received: from blue.greenie.muc.de (localhost [127.0.0.1])
by blue.greenie.muc.de (8.17.1.9/8.17.1.9) with ESMTP id 448M5DBa012378
for <openvpn-devel@lists.sourceforge.net>; Thu, 9 May 2024 00:05:13 +0200
Received: (from gert@localhost)
by blue.greenie.muc.de (8.17.1.9/8.17.1.9/Submit) id 448M5Dug012377
for openvpn-devel@lists.sourceforge.net; Thu, 9 May 2024 00:05:13 +0200
From: Gert Doering <gert@greenie.muc.de>
To: openvpn-devel@lists.sourceforge.net
Date: Thu, 9 May 2024 00:05:12 +0200
Message-ID: <20240508220512.12362-1-gert@greenie.muc.de>
X-Mailer: git-send-email 2.43.2
In-Reply-To:
<gerrit.1715191782000.I85d4d27333773e8df109e42b1fa56ccf57994e57@gerrit.openvpn.net>
References:
<gerrit.1715191782000.I85d4d27333773e8df109e42b1fa56ccf57994e57@gerrit.openvpn.net>
MIME-Version: 1.0
X-Spam-Score: -5.0 (-----)
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: From: Arne Schwabe <arne@rfc2549.org> Change-Id:
I85d4d27333773e8df109e42b1fa56ccf57994e57
Signed-off-by: Arne Schwabe <arne@rfc2549.org> Acked-by: Frank Lichtenheld
<frank@lichtenheld.com> --- This change was reviewed on Gerrit and approved
by at least one developer. I request to merge it to master.
Content analysis details: (-5.0 points, 6.0 required)
pts rule name description
---- ----------------------
--------------------------------------------------
0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was
blocked. See
http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
for more information. [URIs: openvpn.net]
-5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/,
high trust [193.149.48.174 listed in list.dnswl.org]
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
-0.0 SPF_PASS SPF: sender matches SPF record
X-Headers-End: 1s4pPi-0008I2-HC
Subject: [Openvpn-devel] [PATCH v1] Support OpenBSD with cmake
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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: openvpn-devel-bounces@lists.sourceforge.net
X-getmail-retrieved-from-mailbox: Inbox
X-GMAIL-THRID: =?utf-8?q?1798523802426525218?=
X-GMAIL-MSGID: =?utf-8?q?1798523802426525218?=
|
| Series |
[Openvpn-devel,v1] Support OpenBSD with cmake
|
|
Commit Message
Gert Doering
May 8, 2024, 10:05 p.m. UTC
From: Arne Schwabe <arne@rfc2549.org> Change-Id: I85d4d27333773e8df109e42b1fa56ccf57994e57 Signed-off-by: Arne Schwabe <arne@rfc2549.org> Acked-by: Frank Lichtenheld <frank@lichtenheld.com> --- This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master. Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/585 This mail reflects revision 1 of this Change. Acked-by according to Gerrit (reflected above): Frank Lichtenheld <frank@lichtenheld.com>
Comments
I know nothing about cmake, but Frank does, so not much for me to do :-)
Your patch has been applied to the master branch.
commit d5ba4acc297a6041bb45f7aa1c9a99b37b7d5e44
Author: Arne Schwabe
Date: Thu May 9 00:05:12 2024 +0200
Support OpenBSD with cmake
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Message-Id: <20240508220512.12362-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg28648.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
--
kind regards,
Gert Doering
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3127611..f8b37a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -136,6 +136,8 @@ set(TARGET_FREEBSD YES) set(ENABLE_DCO YES) link_libraries(-lnv) +elseif (${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD") + set(TARGET_OPENBSD YES) elseif (${CMAKE_SYSTEM_NAME} STREQUAL "SunOS") set(TARGET_SOLARIS YES) set(HAVE_SYS_SOCKIO_H 1) @@ -169,7 +171,7 @@ check_symbol_exists(setgid unistd.h HAVE_SETGID) check_symbol_exists(setuid unistd.h HAVE_SETUID) check_symbol_exists(setsid unistd.h HAVE_SETSID) -check_symbol_exists(getpeereid unistd.h HAVE_GETPEEREID) +check_symbol_exists(getpeereid "unistd.h;sys/socket.h" HAVE_GETPEEREID) check_symbol_exists(epoll_create sys/epoll.h HAVE_EPOLL_CREATE)