Download raw body.
ports libpcap?
Hi,
I forgot what I wanted to port or update some loong time ago, and indeed
ran into this timeval vs. bpf_timeval issue that caused grief.
Don't remember if I gave up, or was able to figure it out ;)
Therefore definitely would appreciate a libpcap in ports.
lightly tested, works for me on amd64.
I agree with Kirill, using libepacp everywhere would be more intuitive.
Sebastian
On Fri, Feb 27, 2026 at 1:22 AM Kirill A. Korinsky <kirill@korins.ky> wrote:
> On Fri, 27 Feb 2026 00:07:17 +0100,
> Stuart Henderson <stu@spacehopper.org> wrote:
> >
> > [1 <text/plain; us-ascii (8bit)>]
> > that was intentional, it's in a non standard directory (similar layout
> > to ports/security/openssl, though I've just realised that moving the
> > manpages may be a good idea).
> >
>
> ... and the only way to get it is asking pkgconfig for libepcap
>
> Well, it seems to work, but I still think that name it libepcap everywhere
> is cleaner.
>
> > I did forget to update LIB_DEPENDS/WANTLIB in the wireshark diff though.
> >
> >
> > --
> > Sent from a phone, apologies for poor formatting.
> >
> > On 26 February 2026 22:49:31 Kirill A. Korinsky <kirill@korins.ky>
> wrote:
> >
> > > On Thu, 26 Feb 2026 18:45:37 +0100,
> > > Stuart Henderson <stu@spacehopper.org> wrote:
> > >>
> > >> [1 <text/plain; us-ascii (7bit)>]
> > >> I'd like to add an alternative version of libpcap to ports - similar
> > >> to our handling of other libraries which exist in base + ports, with a
> > >> non-default install path to avoid it getting picked up by accident.
> > >>
> > >> tar.gz for this attached. Any comments or OKs?
> > >
> > > It installs
> > >
> > > @static-lib lib/libpcap/libpcap.a
> > > @lib lib/libpcap/libpcap.so.${LIBpcap_VERSION}
> > >
> > > which conflicts with system's libpcap.
> > >
> > > with that hunk in CMakeLists's patch:
> > >
> > > --- CMakeLists.txt.orig
> > > +++ CMakeLists.txt
> > > @@ -465,7 +465,7 @@ else()
> > > #
> > > # On UN*X, it's always been libpcap.
> > > #
> > > - set(LIBRARY_NAME pcap)
> > > + set(LIBRARY_NAME epcap)
> > > endif()
> > >
> > > option(INET6 "Enable IPv6" ON)
> > >
> > >
> > > and adjustment SHARED_LIBS OK kirill@
> > >
> > > --
> > > wbr, Kirill
> >
> > [2 <text/html; us-ascii (quoted-printable)>]
>
> --
> wbr, Kirill
>
>
ports libpcap?