From patchwork Fri Feb 20 10:20:58 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gert Doering X-Patchwork-Id: 4780 Return-Path: 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 ) 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 ) 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 ; 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 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: References: 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: 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?1857639310109218463?= X-GMAIL-MSGID: =?utf-8?q?1857639310109218463?= 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 Reported-by: Marek Zarychta Change-Id: Ie3f209a641c2f56494dfc7720b13f2a2ba3001a8 Signed-off-by: Gert Doering Acked-by: Antonio Quartulli 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 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],