]> The Tcpdump Group git mirrors - tcpdump/commitdiff
doc: Add a README file for NetBSD.
authorDenis Ovsienko <[email protected]>
Sat, 24 Sep 2022 11:33:58 +0000 (12:33 +0100)
committerDenis Ovsienko <[email protected]>
Sat, 24 Sep 2022 11:33:58 +0000 (12:33 +0100)
[skip ci]

doc/README.NetBSD.md [new file with mode: 0644]

diff --git a/doc/README.NetBSD.md b/doc/README.NetBSD.md
new file mode 100644 (file)
index 0000000..1df5e9e
--- /dev/null
@@ -0,0 +1,22 @@
+# Compiling tcpdump on NetBSD
+
+NetBSD has two libpcap libraries: one that is always installed as a part of the
+OS and another that can be installed as a package from pkgsrc.  Also the usual
+method of compiling with the upstream libpcap in `../libpcap` is available.
+
+GCC, Clang, Autoconf and CMake are presumed to work, if this is not the case,
+please report a bug as explained in the
+[guidelines for contributing](../CONTRIBUTING.md).
+
+## NetBSD 9.3
+
+* Upstream libpcap works.
+* OS libpcap works.
+* pkgsrc libpcap 1.10.1 works only with Autoconf.
+
+## NetBSD 9.2, 9.1 and 9.0
+
+* Upstream libpcap works.
+* OS libpcap cannot be used due to
+  [this bug](https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=55901).
+