summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2019-06-28 15:15:38 +0000
committersthen <sthen@openbsd.org>2019-06-28 15:15:38 +0000
commit1d044cee2c416962b42460b49ad1c779892a32bb (patch)
tree7fbfb1c74f6e32876364013efba979e1a1856deb
parentSpecify that {v,}asprintf(3) returns precisely -1 on failure, (diff)
downloadwireguard-openbsd-1d044cee2c416962b42460b49ad1c779892a32bb.tar.xz
wireguard-openbsd-1d044cee2c416962b42460b49ad1c779892a32bb.zip
update to unbound-1.9.2, florian@ agrees
-rw-r--r--usr.sbin/unbound/README.md37
-rw-r--r--usr.sbin/unbound/testcode/fake_event.c3
2 files changed, 39 insertions, 1 deletions
diff --git a/usr.sbin/unbound/README.md b/usr.sbin/unbound/README.md
new file mode 100644
index 00000000000..b3d3424c99f
--- /dev/null
+++ b/usr.sbin/unbound/README.md
@@ -0,0 +1,37 @@
+# Unbound
+
+[![Travis Build Status](https://travis-ci.org/NLnetLabs/unbound.svg?branch=master)](https://travis-ci.org/NLnetLabs/unbound)
+[![Packaging status](https://repology.org/badge/tiny-repos/unbound.svg)](https://repology.org/project/unbound/versions)
+
+Unbound is a validating, recursive, caching DNS resolver. It is designed to be
+fast and lean and incorporates modern features based on open standards. If you
+have any feedback, we would love to hear from you. Don’t hesitate to
+[create an issue on Github](https://github.com/NLnetLabs/unbound/issues/new)
+or post a message on the [Unbound mailing list](https://nlnetlabs.nl/mailman/listinfo/unbound-users).
+You can lean more about Unbound by reading our
+[documentation](https://nlnetlabs.nl/documentation/unbound/).
+
+## Compiling
+
+Make sure you have the C toolchain, OpenSSL and its include files, and libexpat
+installed. Unbound can be compiled and installed using:
+
+```
+./configure && make && make install
+```
+
+You can use libevent if you want. libevent is useful when using many (10000)
+outgoing ports. By default max 256 ports are opened at the same time and the
+builtin alternative is equally capable and a little faster.
+
+Use the `--with-libevent=dir` configure option to compile Unbound with libevent
+support.
+
+## Unbound configuration
+
+All of Unbound's configuration options are described in the man pages, which
+will be installed and are available on the Unbound
+[documentation page](https://nlnetlabs.nl/documentation/unbound/).
+
+An example configuration file is located in
+[doc/example.conf](https://github.com/NLnetLabs/unbound/blob/master/doc/example.conf.in).
diff --git a/usr.sbin/unbound/testcode/fake_event.c b/usr.sbin/unbound/testcode/fake_event.c
index 4fb9bc8ed68..713e247592b 100644
--- a/usr.sbin/unbound/testcode/fake_event.c
+++ b/usr.sbin/unbound/testcode/fake_event.c
@@ -1629,7 +1629,8 @@ struct comm_point* outnet_comm_point_for_udp(struct outside_network* outnet,
struct comm_point* outnet_comm_point_for_tcp(struct outside_network* outnet,
comm_point_callback_type* cb, void* cb_arg,
struct sockaddr_storage* to_addr, socklen_t to_addrlen,
- struct sldns_buffer* query, int timeout)
+ struct sldns_buffer* query, int timeout, int ATTR_UNUSED(ssl),
+ char* ATTR_UNUSED(host))
{
struct replay_runtime* runtime = (struct replay_runtime*)
outnet->base;