Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: Fwd: [update] net/sniproxy 0.7.0
To:
Renaud Allard <renaud@allard.it>
Cc:
ports@openbsd.org
Date:
Wed, 1 Oct 2025 12:47:41 +0100

Download raw body.

Thread
On 2025/10/01 13:34, Renaud Allard wrote:
> 
> 
> On 10/1/25 1:23 PM, Stuart Henderson wrote:
> > > -CONFIGURE_ARGS =	--disable-rpath
> > > +CONFIGURE_ARGS =	--disable-rpath --enable-dns
> > 
> > separate line for each CONFIGURE_ARGS entry please
> > 
> I have done that
> 
> > pcre dependency needs changing
> > 
> > sniproxy-0.7.0(net/sniproxy):
> > Missing lib: pcre2-8.0 (/usr/local/sbin/sniproxy) (NOT REACHABLE)
> > Extra:  pcre.3
> > 
> 
> It seems that if you build on a system with both pcre and pcre2 installed,
> it does this.
> LIB_DEPENDS lists pcre, not pcre2.
> How can I restrict it to pcre and not pcre2?

You can't do this via the port. You will either have to patch or pass
the relevant info to autoconf.

devel/pcre is EoL anyway though.

"The older, but still widely deployed PCRE library, originally released
in 1997, is at version 8.45. This version of PCRE is now at end of life,
and is no longer being actively maintained. Version 8.45 is expected to
be the final release of the older PCRE library, and new projects should
use PCRE2 instead. However, it's still found in various legacy systems
and some platforms, including certain services that continue to use the
original PCRE for compatibility reasons."