package/unbound: use system libevent

The file descriptor limit when using the builtin mini-event
cannot handle more than 1024 file descriptors.

https://unbound.docs.nlnetlabs.nl/en/latest/topics/performance.html?highlight=libevent#using-libevent

Without explicit --with-libevent, it uses the builtin mini-event.

Signed-off-by: Kyle Harding <kyle@balena.io>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Kyle Harding 2022-03-17 12:25:30 -04:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 0fc5bc2359
commit 929df7c483

View File

@ -17,6 +17,7 @@ UNBOUND_CONF_OPTS = \
--with-pidfile=/var/run/unbound.pid \
--with-rootkey-file=/etc/unbound/root.key \
--enable-tfo-server \
--with-libevent=$(STAGING_DIR)/usr \
--with-libexpat=$(STAGING_DIR)/usr \
--with-ssl=$(STAGING_DIR)/usr