From: "cron2 (Code Review)" Date: Mon, 16 Feb 2026 18:57:33 +0000 References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="BXofBu+bWdQ="; charset=UTF-8 Subject: [Openvpn-devel] [XS] Change in openvpn[master]: configure.c adjust to native inotify support for FreeBSD 15+ List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos Cc: openvpn-devel --BXofBu+bWdQ= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: plaisthos. Hello plaisthos, I'd like you to do a code review. Please visit http://gerrit.openvpn.net/c/openvpn/+/1535?usp=3Demail to review the following change. Change subject: configure.c adjust to native inotify support for FreeBSD 15+ ...................................................................... configure.c adjust to native inotify support for FreeBSD 15+ 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=3D293176 Reported-by: Ivo Karabojkov Reported-by: Marek Zarychta Change-Id: Ie3f209a641c2f56494dfc7720b13f2a2ba3001a8 Signed-off-by: Gert Doering --- M configure.ac 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/35/1535/1 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}" =3D "yes"; then case "$host" in - *-*-freebsd*) + *-*-freebsd1[[0-4]]*) PKG_CHECK_MODULES( [OPTIONAL_INOTIFY], [libinotify], -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1535?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: newchange Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Ie3f209a641c2f56494dfc7720b13f2a2ba3001a8 Gerrit-Change-Number: 1535 Gerrit-PatchSet: 1 Gerrit-Owner: cron2 Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos --BXofBu+bWdQ= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: plaisthos.

cron2 would like plaisthos to review this change.

V= iew Change

configure.c adjust to native inotify suppor=
t for FreeBSD 15+

FreeBSD 15 has native inotify support, and no &quo= t;libinotify.pc" pkg config
file anymore, plus no extra includes ar= e needed. This works fine if we
conditionalize the FreeBSD check to &qu= ot;freebsd-1[0-4]".

Due to m4 involvement double braces are nee= ded for quoting.

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?= id=3D293176

Reported-by: Ivo Karabojkov <karabojkov@...2996...>= ;
Reported-by: Marek Zarychta <zarychtam@...2997...>

Change= -Id: Ie3f209a641c2f56494dfc7720b13f2a2ba3001a8
Signed-off-by: Gert Doeri= ng <gert@...1296...>
---
M configure.ac
1 file changed, 1 in= sertion(+), 1 deletion(-)

git pull ssh://gerrit.=
openvpn.net:29418/openvpn refs/changes/35/1535/1
diff --git a/confi=
gure.ac b/configure.ac
index 9fa6a41..e151816 100644=
--- a/configure.ac
+++ b/configure.ac
<= span>@@ -1294,7 +1294,7 @@

if test "= ;${enable_async_push}" =3D "yes"; then
cas= e "$host" in
= - *-*-freebsd*)
+ *= -*-freebsd1[[0-4]]*)
PKG_CHECK_MODULES(
[OPTIONAL_INOTIFY],
[libinotify],

To view, visit change 1535. To unsubscribe, or for help w= riting mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie3f209a641c2f56494dfc7720b1= 3f2a2ba3001a8
Gerrit-Change-Number: 1535
Gerrit-PatchSet: 1
Gerrit-Owner: cron2 <gert@...1296...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
= --BXofBu+bWdQ=--