Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Feb 2017 06:14:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 217221] contrib/libpcap installs internal header files in /usr/include
Message-ID:  <bug-217221-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217221

            Bug ID: 217221
           Summary: contrib/libpcap installs internal header files in
                    /usr/include
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: woodsb02@freebsd.org

contrib/libpcap installs *libpcap-internal* header files, pcap-int.h, as a
system header file in /usr/include.

This does not discourage programmers from including pcap-int.h and potentia=
lly
depending on internals that are not only subject to change from release to
release but that have changed *quite* a bit over time.

That header file pcap-int.h has in fact changed to include another
*libpcap-internal* header file, portability.h, which is not installed by
contrib/libpcap. The result is that any programs which do include pcap-int.h
will now fail to build as they cannot find portability.h.
https://github.com/the-tcpdump-group/libpcap/commit/7cc3ed6dd1a3389fc64f0d2=
f7832dff4a5f05bcb

This was discovered by the port sysutils/pftop includes pcap-int.h, and now
fails to build since the import of libpcap 1.8.1 in this commit:
https://svnweb.freebsd.org/base?view=3Drevision&revision=3D313695

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217221-8>