From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 51E041F55F for ; Sat, 9 Sep 2023 01:48:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1694224118; bh=d7wMDbd4+/+p0wG1lIfeAyrSM4lvrKmqnQ/5hWFydvM=; h=From:To:Subject:Date:From; b=bEdWUEE3r65l80/dcQr3qunkvMHE9IRE/PZZYHCiU4OSz8y6mfPB09Fx6mSxKqCIj uR/Knso6HYHQsi+BJL06DMSTKuk/Cgl/GOv9mBP4um9KXVdQtjP/CQM7eZP6JwT6nK a62e1fxREX4ltB83VJRSkmjYJwXNz63k2p9LpUuY= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/3] some portability and dependency fixes Date: Sat, 9 Sep 2023 01:48:35 +0000 Message-Id: <20230909014838.1608889-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: The first two patches fix some dependency problems I noticed while working on ci/* stuff. 3/3 improves portability to NetBSD and OpenBSD while I got to play with CPP macros a bit :P Thinking out loud: While syscall.ph and friends aren't usable given the use of macros on most systemd and time-of-generation-to-time-of-use differences on *BSD systems; perhaps something like: eval %x{$^X -MPublicInbox::CompileSys} Could be usable without requiring Inline::C for sendmsg/recvmsg (but still require a C compiler, as `cc' is commonly-installed while Inline::C is not). Eric Wong (3): fix some tests when `curl' is missing imapd: lazy-load IMAPsearchqp for Parse::RecDescent pop3d: support fcntl locks on NetBSD and OpenBSD devel/sysdefs-list | 81 ++++++++++++++++++++++++++++++++++++++-- lib/PublicInbox/IMAP.pm | 2 +- lib/PublicInbox/IMAPD.pm | 1 + lib/PublicInbox/POP3D.pm | 3 +- t/clone-coderepo.t | 1 + t/pop3d.t | 5 ++- t/www_listing.t | 3 +- 7 files changed, 88 insertions(+), 8 deletions(-)