xref: /freebsd/contrib/tcpdump/doc/README.NetBSD.md (revision ee67461e56828dd1f8de165947ba83f6d9148a87)
1*ee67461eSJoseph Mingrone# Compiling tcpdump on NetBSD
2*ee67461eSJoseph Mingrone
3*ee67461eSJoseph MingroneNetBSD has two libpcap libraries: one that is always installed as a part of the
4*ee67461eSJoseph MingroneOS and another that can be installed as a package from pkgsrc.  Also the usual
5*ee67461eSJoseph Mingronemethod of compiling with the upstream libpcap in `../libpcap` is available.
6*ee67461eSJoseph Mingrone
7*ee67461eSJoseph MingroneGCC, Clang, Autoconf and CMake are presumed to work, if this is not the case,
8*ee67461eSJoseph Mingroneplease report a bug as explained in the
9*ee67461eSJoseph Mingrone[guidelines for contributing](../CONTRIBUTING.md).
10*ee67461eSJoseph Mingrone
11*ee67461eSJoseph Mingrone## NetBSD 9.3
12*ee67461eSJoseph Mingrone
13*ee67461eSJoseph Mingrone* Upstream libpcap works.
14*ee67461eSJoseph Mingrone* OS libpcap works.
15*ee67461eSJoseph Mingrone* pkgsrc libpcap works.
16*ee67461eSJoseph Mingrone
17*ee67461eSJoseph Mingrone## NetBSD 9.2, 9.1 and 9.0
18*ee67461eSJoseph Mingrone
19*ee67461eSJoseph Mingrone* Upstream libpcap works.
20*ee67461eSJoseph Mingrone* OS libpcap cannot be used due to
21*ee67461eSJoseph Mingrone  [this bug](https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=55901).
22*ee67461eSJoseph Mingrone
23