landry d2250507c8 Instead of shuffling things around after arc4random_addrandom() removal,
take a stronger stance and remove evutil_secure_rng_add_bytes() from
libevent's API. Nothing calls it anyway, and there's even a big scary
warning (tm) in libevent's header..

---
You should almost never need to call this function; it should be
sufficient to invoke evutil_secure_rng_init(), or let Libevent take
care of calling evutil_secure_rng_init() on its own.

If you call this function as a _replacement_ for the regular
entropy sources, then you need to be sure that your input
contains a fairly large amount of strong entropy.  Doing so is
notoriously hard: most people who try get it wrong.  Watch out!
---

Bump event_core major, and remove the now useless configure.in patch.

Discussed with/ok sthen@
2013-11-11 21:54:57 +00:00

35 lines
817 B
Makefile

# $OpenBSD: Makefile,v 1.10 2013/11/11 21:54:57 landry Exp $
COMMENT= event notification library
V= 2.0.21
DISTNAME= libevent-$V-stable
PKGNAME= libevent-$V
REVISION= 1
CATEGORIES= devel
HOMEPAGE= http://monkey.org/~provos/libevent/
SHARED_LIBS+= event_core 1.0 # 6.5
SHARED_LIBS+= event_extra 0.1 # 6.5
SHARED_LIBS+= event_openssl 0.0 # 6.5
SHARED_LIBS+= event_pthreads 0.0 # 6.5
# BSD
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= https://github.com/downloads/libevent/libevent/
WANTLIB= crypto pthread ssl
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
MAKE_FLAGS= RELEASE=""
# Skip compatibility bits that conflict with libevent1
FAKE_FLAGS= LIBEVENT_LIBS_LA="libevent_core.la libevent_extra.la \
libevent_openssl.la libevent_pthreads.la" \
EVENT1_HDRS=""
.include <bsd.port.mk>