"The libevent API provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached. libevent is meant to replace the asynchronous event loop found in event driven network servers. An application just needs to call event_dispatch() and can then add or remove events dynamically without having to change the event loop. Currently, libevent supports kqueue(2) and select(2). Support for poll(2) and /dev/poll is planned. The internal event mechanism is completely independent of the exposed event API, and a simple update of libevent can provide this new functionality without having to redesign the server applications." It is needed by arpd (to be submitted immediately afterwards), which is needed by honeyd (which is just ridiculously cool).
Created attachment 5507 [details] libevent-0.6.ebuild (New Package)
Created attachment 5519 [details] libevent-0.6-r1.ebuild (Slight Tweak) This is a slight tweak to use Portage commands in favor of relying on make install etc. - Daniel Mannarino
I committed this, please test. Thanks!
Works for me with honeyd. BTW, now it seems that without the change you made (deleting "rm compat/sys/time.h") it doesn't compile for me, though it did when I submitted it. There have been too many big changes since then for me to guess what did it, but your tweak makes it work fine ::) -Daniel Mannarino
Err, that there's a typo. I mean to say that my ebuild as submitted no longer works for me (after some unknown change on my system), but your inclusion of the line "rm compat/sys/time.h" fixes it ::) -Daniel
Unmasked.