| Message ID | 20260220102106.32024-1-gert@greenie.muc.de |
|---|---|
| State | New |
| Headers |
Return-Path: <openvpn-devel-bounces@lists.sourceforge.net>
Delivered-To: patchwork@openvpn.net
Received: by 2002:a05:7000:525e:b0:838:aef6:1aff with SMTP id
e30csp1281227mag;
Fri, 20 Feb 2026 02:21:39 -0800 (PST)
X-Forwarded-Encrypted: i=2;
AJvYcCX3fLy+Lmy5f7GZfOAWSpmOkvHPccAmFFlO/UN+9MxjUq3d4syx0m+kS2MQ2xkE4RB+vkgZUprICiw=@openvpn.net
X-Received: by 2002:a05:6808:2f10:b0:463:702b:9181 with SMTP id
5614622812f47-4643be9e0d2mr625432b6e.30.1771582898946;
Fri, 20 Feb 2026 02:21:38 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1771582898; cv=none;
d=google.com; s=arc-20240605;
b=HWePXRHsRZQYjUjXBUwndecd6uvyCb30HTuvTJfZ9wAfTA7MS4TQNDarc9nYNEEnxW
EEYzxWYvwp1Vxhl/KUMu/4p0nG+aXMjyO7vqJ08NuhdpkZMrZhp5ZsbQ35iJYgr/7nR3
oryayQi15vSV9gtZj8k1OVTgw7Af/KcTUkB3d+oi7n0c2YHQk/E0Pkf6TQhl0H7yKPJ4
MJ1w0Xc+4+OciHRUyg9W6pTX4g2DjqnHJrVYGYmsW6MrdgvZgdTdmZTWe1xkiWmct2l1
g1Q3NEz7LS5Oqs1xlGMW+KQAdfKJAwfNZPsrKGoTieYZLjvj9f+ZMCNu3g9isKFZwUtU
ohyQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
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:dkim-signature;
bh=eAoxpiEspbs1pTDQk/GQyWol+ToYENFqMvUZAY9USd8=;
fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=;
b=JVqxWJx944u06UoYskSC+QrCy+2FLwASWmstY1ajd6eQd4C5jhnBSN1pUgAHMu5RGQ
EVPNpOkOUgiu0uDp6WHEWJlvex5hOOmQWHGjcpMx0GOL/F+Jb5C3yPgEueNwze6+VEle
kF3EVryRJ0I2pFJ/ex6L6U083G0YxSbXqdkOhvOmYX9nqCFJOTzHsNaPHGYe/ZvuxJkE
HVxpon4We6MtU4QkoSIbaB6YA2Hxoq8XGONqei2Vo+cwAAxfXgnVLMvd0/lZZI44tnDO
qnl+mJ1yOvAUsSdB8/qFOnnT/j384hz1qgOEN907PBNTMyir2BOO0JPhJbaaBOVrMJ8F
kncw==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@lists.sourceforge.net header.s=beta
header.b=TepZLi99;
dkim=neutral (body hash did not verify) header.i=@sourceforge.net
header.s=x header.b=LZnr3XDe;
dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x
header.b=mea0QbmJ;
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
5614622812f47-463a335bd2csi11719253b6e.146.2026.02.20.02.21.38
(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
Fri, 20 Feb 2026 02:21:38 -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=pass header.i=@lists.sourceforge.net header.s=beta
header.b=TepZLi99;
dkim=neutral (body hash did not verify) header.i=@sourceforge.net
header.s=x header.b=LZnr3XDe;
dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x
header.b=mea0QbmJ;
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
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type:
List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:
Subject:MIME-Version:References:In-Reply-To:Message-ID:Date:To:From:Sender:
Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From:
Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner;
bh=eAoxpiEspbs1pTDQk/GQyWol+ToYENFqMvUZAY9USd8=; b=TepZLi99HKtOCHF0eIPFF49XU9
0+lvIif2lR+Q9x1a/WKAIBRUvTRVuULBnY6zxHx8Pc7I0emIH8XOhisAY2p94u+GJJ/QJ82feh7mC
Xt1MLDwRtIVrlwUH9xAX5VX3IHo7IW0RGJBKwW+6BBxzPdEBdD1xNMQ4rxchYSWTpcbk=;
Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com)
by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.95)
(envelope-from <openvpn-devel-bounces@lists.sourceforge.net>)
id 1vtNdb-0008Ni-Jo;
Fri, 20 Feb 2026 10:21:32 +0000
Received: from [172.30.29.66] (helo=mx.sourceforge.net)
by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLS1.2) tls
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95)
(envelope-from <gert@blue4.greenie.muc.de>) id 1vtNdP-0008Mp-AO
for openvpn-devel@lists.sourceforge.net;
Fri, 20 Feb 2026 10:21:20 +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=DX0fXLZVyjHqpvmKkkzvRM2HvS3gGC3jr4F7ZV/8GsE=; b=LZnr3XDeAJsZBpZ0gsFSpWQ6Xt
k9OnjNzu84Qo2rbYSCxA+M/+VlNocmRiiQiScm2jSIbZfS5EtNqliR5vJBU5WAK4CKnpvRMh8ZaHZ
5v86uzEsBPPbu8q/A8l8o3OOjRFUW0bKUfoAmAewft0pA/qrtV2v2L4piUaY54J1aWr4=;
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=DX0fXLZVyjHqpvmKkkzvRM2HvS3gGC3jr4F7ZV/8GsE=; b=mea0QbmJ7Rlr4flalOkSvL8KYU
cZOAY3XPVJ5nh2gzjRoSSPI4CvtlKztNdAqc7SY5P6Y5amQA6o8RzsIxTIpai0okOFP+ho7HilFw8
hj1of5CZI70dxyvUV6i76N5ROkpn8e7lJVB2MaHtMx20bYqExUZqkBBFdrnwtjKngpXw=;
Received: from [193.149.48.129] (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 1vtNdO-00044N-Ph for openvpn-devel@lists.sourceforge.net;
Fri, 20 Feb 2026 10:21:19 +0000
Received: from blue.greenie.muc.de (localhost [127.0.0.1])
by blue.greenie.muc.de (8.18.1/8.18.1) with ESMTP id 61KAL6TO032041
for <openvpn-devel@lists.sourceforge.net>; Fri, 20 Feb 2026 11:21:06 +0100
Received: (from gert@localhost)
by blue.greenie.muc.de (8.18.1/8.18.1/Submit) id 61KAL6fu032040
for openvpn-devel@lists.sourceforge.net; Fri, 20 Feb 2026 11:21:06 +0100
From: Gert Doering <gert@greenie.muc.de>
To: openvpn-devel@lists.sourceforge.net
Date: Fri, 20 Feb 2026 11:20:58 +0100
Message-ID: <20260220102106.32024-1-gert@greenie.muc.de>
X-Mailer: git-send-email 2.52.0
In-Reply-To:
<gerrit.1771268251000.Ie3f209a641c2f56494dfc7720b13f2a2ba3001a8@gerrit.openvpn.net>
References:
<gerrit.1771268251000.Ie3f209a641c2f56494dfc7720b13f2a2ba3001a8@gerrit.openvpn.net>
MIME-Version: 1.0
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software,
running on the system "sfi-spamd-2.hosts.colo.sdot.me",
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: FreeBSD 15 has native inotify support,
and no "libinotify.pc"
pkg config file anymore, plus no extra includes are needed. This works fine
if we conditionalize the FreeBSD check to "freebsd-1[0-4]". Due to m4
involvement double braces are needed for quoting.
Content analysis details: (1.3 points, 5.0 required)
pts rule name description
---- ----------------------
--------------------------------------------------
0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL
was blocked. See
http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block
for more information. [193.149.48.129 listed in list.dnswl.org]
1.3 RDNS_NONE Delivered to internal network by a host with no rDNS
X-Headers-End: 1vtNdO-00044N-Ph
Subject: [Openvpn-devel] [PATCH v2] configure.ac: adjust to native inotify
support for FreeBSD 15+
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?1857639310109218463?=
X-GMAIL-MSGID: =?utf-8?q?1857639310109218463?=
|
| Series |
[Openvpn-devel,v2] configure.ac: adjust to native inotify support for FreeBSD 15+
|
|
Commit Message
Gert Doering
Feb. 20, 2026, 10:20 a.m. UTC
FreeBSD 15 has native inotify support, and no "libinotify.pc" pkg config file anymore, plus no extra includes are needed. This works fine if we conditionalize the FreeBSD check to "freebsd-1[0-4]". Due to m4 involvement double braces are needed for quoting. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293176 Reported-by: Ivo Karabojkov <karabojkov@kit.bg> Reported-by: Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> Change-Id: Ie3f209a641c2f56494dfc7720b13f2a2ba3001a8 Signed-off-by: Gert Doering <gert@greenie.muc.de> Acked-by: Antonio Quartulli <antonio@mandelbit.com> Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1535 --- 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/+/1535 This mail reflects revision 2 of this Change. Acked-by according to Gerrit (reflected above): Antonio Quartulli <antonio@mandelbit.com>
Comments
Tested on FreeBSD 14 ("needs libinotify pkg") and 15 ("built-in, no
pkg, no CFLAGS etc. needed").
Patch has been applied to the master, release/2.7 and release/2.6 branch
(long-term compat).
commit 38243844f225517fa1d288517db9a34a33c5ad13 (master)
commit d9279c77f796a45cd94e929376d5d4d9cbae34eb (release/2.7)
commit a4bf28df70385b71934ab0016560eadf4c4ea542 (release/2.6)
Author: Gert Doering
Date: Fri Feb 20 11:20:58 2026 +0100
configure.ac: adjust to native inotify support for FreeBSD 15+
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Antonio Quartulli <antonio@mandelbit.com>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1535
Message-Id: <20260220102106.32024-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg35761.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
--
kind regards,
Gert Doering
diff --git a/configure.ac b/configure.ac index 9fa6a41..e151816 100644 --- a/configure.ac +++ b/configure.ac @@ -1294,7 +1294,7 @@ if test "${enable_async_push}" = "yes"; then case "$host" in - *-*-freebsd*) + *-*-freebsd1[[0-4]]*) PKG_CHECK_MODULES( [OPTIONAL_INOTIFY], [libinotify],