rS316063 installed pf's embedded libevent as a private lib, with headers in /usr/include/private/event. Unfortunately we also have an embedded copy of libevent2 in ntp, which needs to be updated for compatibility with OpenSSL 1.1. As unadorned 'libevent' generally refers to libevent v2, be explicit with libevent1.
Details
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
There are actually consumers and you need to modify these files.
usr.sbin/ftp-proxy/Makefile
usr.sbin/ypldap/Makefile
share/mk/src.libnames.mk
However, it seems libevent 2.x is using event2 for its headers. I am not sure whether we really want to do this.
OK - this is not a dependency for importing libevent 2.1.8 into vendor/libevent (and using it as libntpevent), so I'll proceed with that independent of this review.
However, it seems libevent 2.x is using event2 for its headers. I am not sure whether we really want to do this.
libevent 2 does install as libevent.a / libevent.so though.
I think there is still value in doing this - there's a comment in D10123 that libevent1 was chosen specifically due to the smaller size, and I think it's useful to be clear that we explicitly chose libevent1 rather than just having an old copy that we never updated.