Re: git: 5e882ff25ae1 - main - security/nmap*: Make dbus a dependency of PCAP
Date: Fri, 06 Feb 2026 19:19:22 UTC
On Fri, 6 Feb 2026 21:52:28 +0300
Vladimir Druzenko <vvd@freebsd.org> wrote:
> 06.02.2026 18:53, Cy Schubert пишет:
> > The branch main has been updated by cy:
> >
> > URL:https://cgit.FreeBSD.org/ports/commit/?id=5e882ff25ae14e5b6d1e6473c92ce472c4707c20
> >
> > commit 5e882ff25ae14e5b6d1e6473c92ce472c4707c20
> > Author: Cy Schubert<cy@FreeBSD.org>
> > AuthorDate: 2026-02-06 15:52:29 +0000
> > Commit: Cy Schubert<cy@FreeBSD.org>
> > CommitDate: 2026-02-06 15:53:12 +0000
> >
> > security/nmap*: Make dbus a dependency of PCAP
> >
> > Fixes: 7ffb506df86a
> > Reported by: vvd
> > ---
> > security/nmap-devel/Makefile | 4 ++--
> > security/nmap/Makefile | 4 ++--
> > 2 files changed, 4 insertions(+), 4 deletions(-)
> >
> > diff --git a/security/nmap-devel/Makefile b/security/nmap-devel/Makefile
> > index 87f1885dc836..59c41571ecf9 100644
> > --- a/security/nmap-devel/Makefile
> > +++ b/security/nmap-devel/Makefile
> > @@ -19,8 +19,7 @@ LICENSE_PERMS= auto-accept dist-mirror pkg-mirror pkg-sell
> >
> > IGNORE_FreeBSD_13= Does not build on FreeBSD 13.x due to OpenSSL 1.1.1
> >
> > -LIB_DEPENDS= libpcre2-16.so:devel/pcre2 \
> > - libdbus-1.so:devel/dbus
> > +LIB_DEPENDS= libpcre2-16.so:devel/pcre2
> >
> > .if !defined(MASTERDIR)
> >
> > @@ -55,6 +54,7 @@ SSH2_DESC= SSH2 protocol support
> >
> > NLS_CONFIGURE_ENABLE= nls
> > PCAP_CONFIGURE_ON= --with-libpcap=included
> > +PCAP_LIB_DEPENDS= libdbus-1.so:devel/dbus
> > SSH2_IMPLIES= SSL
> > SSH2_CONFIGURE_ON= --with-libssh2=included
> > SSH2_CONFIGURE_OFF= --without-libssh2
> > diff --git a/security/nmap/Makefile b/security/nmap/Makefile
> > index fbe2ae0b80dd..ec9ef4913592 100644
> > --- a/security/nmap/Makefile
> > +++ b/security/nmap/Makefile
> > @@ -17,8 +17,7 @@ LICENSE_NAME= Nmap Public Source License
> > LICENSE_PERMS= auto-accept dist-mirror pkg-mirror pkg-sell
> > LICENSE_FILE= ${WRKSRC}/LICENSE
> >
> > -LIB_DEPENDS= libpcre2-16.so:devel/pcre2 \
> > - libdbus-1.so:devel/dbus
> > +LIB_DEPENDS= libpcre2-16.so:devel/pcre2
> >
> > .if !defined(MASTERDIR)
> >
> > @@ -44,6 +43,7 @@ SSH2_DESC= SSH2 protocol support
> >
> > NLS_CONFIGURE_ENABLE= nls
> > PCAP_CONFIGURE_ON= --with-libpcap=included
> > +PCAP_LIB_DEPENDS= libdbus-1.so:devel/dbus
> > SSH2_CONFIGURE_ON= --with-libssh2=included
> > SSH2_CONFIGURE_OFF= --without-libssh2
> > SSH2_IMPLIES= SSL
>
> Maybe:
> -LDFLAGS+= -L${LOCALBASE}/lib -ldbus-1
> +PCAP_USES= localbase:ldflags
> +PCAP_LDFLAGS= -ldbus-1 ? While here: -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
>
I won't be able to get to this until Sunday evening. Please go ahead
and make the changes for me.
--
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX: <cy@FreeBSD.org> Web: https://FreeBSD.org
NTP: <cy@nwtime.org> Web: https://nwtime.org
e**(i*pi)+1=0