diff options
Diffstat (limited to 'libevent')
| -rw-r--r-- | libevent/.checksum | 2 | ||||
| -rw-r--r-- | libevent/.files | 58 | ||||
| -rw-r--r-- | libevent/abuild | 9 | ||||
| -rw-r--r-- | libevent/libressl.diff | 14 |
4 files changed, 83 insertions, 0 deletions
diff --git a/libevent/.checksum b/libevent/.checksum new file mode 100644 index 00000000..f06ddbc0 --- /dev/null +++ b/libevent/.checksum @@ -0,0 +1,2 @@ +72be05db4f7879f05fe6fd95e485958223c4a0c6d3ffbb50d5ae5ebc82b8cc0c libevent-2.1.12-stable.tar.gz +abe42ec9e027839f2b9a3d29ecb5b7483ace7ec01f1b3e5c4d4a6824745f9132 libressl.diff diff --git a/libevent/.files b/libevent/.files new file mode 100644 index 00000000..0a4f7c3c --- /dev/null +++ b/libevent/.files @@ -0,0 +1,58 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/event_rpcgen.py +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/evdns.h +-rw-r--r-- root/root usr/include/event.h +drwxr-xr-x root/root usr/include/event2/ +-rw-r--r-- root/root usr/include/event2/buffer.h +-rw-r--r-- root/root usr/include/event2/buffer_compat.h +-rw-r--r-- root/root usr/include/event2/bufferevent.h +-rw-r--r-- root/root usr/include/event2/bufferevent_compat.h +-rw-r--r-- root/root usr/include/event2/bufferevent_ssl.h +-rw-r--r-- root/root usr/include/event2/bufferevent_struct.h +-rw-r--r-- root/root usr/include/event2/dns.h +-rw-r--r-- root/root usr/include/event2/dns_compat.h +-rw-r--r-- root/root usr/include/event2/dns_struct.h +-rw-r--r-- root/root usr/include/event2/event-config.h +-rw-r--r-- root/root usr/include/event2/event.h +-rw-r--r-- root/root usr/include/event2/event_compat.h +-rw-r--r-- root/root usr/include/event2/event_struct.h +-rw-r--r-- root/root usr/include/event2/http.h +-rw-r--r-- root/root usr/include/event2/http_compat.h +-rw-r--r-- root/root usr/include/event2/http_struct.h +-rw-r--r-- root/root usr/include/event2/keyvalq_struct.h +-rw-r--r-- root/root usr/include/event2/listener.h +-rw-r--r-- root/root usr/include/event2/rpc.h +-rw-r--r-- root/root usr/include/event2/rpc_compat.h +-rw-r--r-- root/root usr/include/event2/rpc_struct.h +-rw-r--r-- root/root usr/include/event2/tag.h +-rw-r--r-- root/root usr/include/event2/tag_compat.h +-rw-r--r-- root/root usr/include/event2/thread.h +-rw-r--r-- root/root usr/include/event2/util.h +-rw-r--r-- root/root usr/include/event2/visibility.h +-rw-r--r-- root/root usr/include/evhttp.h +-rw-r--r-- root/root usr/include/evrpc.h +-rw-r--r-- root/root usr/include/evutil.h +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libevent-2.1.so.7 -> libevent-2.1.so.7.0.1 +-rwxr-xr-x root/root usr/lib/libevent-2.1.so.7.0.1 +lrwxrwxrwx root/root usr/lib/libevent.so -> libevent-2.1.so.7.0.1 +lrwxrwxrwx root/root usr/lib/libevent_core-2.1.so.7 -> libevent_core-2.1.so.7.0.1 +-rwxr-xr-x root/root usr/lib/libevent_core-2.1.so.7.0.1 +lrwxrwxrwx root/root usr/lib/libevent_core.so -> libevent_core-2.1.so.7.0.1 +lrwxrwxrwx root/root usr/lib/libevent_extra-2.1.so.7 -> libevent_extra-2.1.so.7.0.1 +-rwxr-xr-x root/root usr/lib/libevent_extra-2.1.so.7.0.1 +lrwxrwxrwx root/root usr/lib/libevent_extra.so -> libevent_extra-2.1.so.7.0.1 +lrwxrwxrwx root/root usr/lib/libevent_openssl-2.1.so.7 -> libevent_openssl-2.1.so.7.0.1 +-rwxr-xr-x root/root usr/lib/libevent_openssl-2.1.so.7.0.1 +lrwxrwxrwx root/root usr/lib/libevent_openssl.so -> libevent_openssl-2.1.so.7.0.1 +lrwxrwxrwx root/root usr/lib/libevent_pthreads-2.1.so.7 -> libevent_pthreads-2.1.so.7.0.1 +-rwxr-xr-x root/root usr/lib/libevent_pthreads-2.1.so.7.0.1 +lrwxrwxrwx root/root usr/lib/libevent_pthreads.so -> libevent_pthreads-2.1.so.7.0.1 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libevent.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libevent_core.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libevent_extra.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libevent_openssl.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libevent_pthreads.pc diff --git a/libevent/abuild b/libevent/abuild new file mode 100644 index 00000000..ccf8471e --- /dev/null +++ b/libevent/abuild @@ -0,0 +1,9 @@ +name=libevent +version=2.1.12 +release=1 +source="https://github.com/$name/$name/releases/download/release-$version-stable/$name-$version-stable.tar.gz + libressl.diff" + +prebuild() { + sed -i 's/python/&3/' event_rpcgen.py +} diff --git a/libevent/libressl.diff b/libevent/libressl.diff new file mode 100644 index 00000000..cafe015b --- /dev/null +++ b/libevent/libressl.diff @@ -0,0 +1,14 @@ +diff --git a/openssl-compat.h b/openssl-compat.h +index a23e342..59c26b8 100644 +--- a/openssl-compat.h ++++ b/openssl-compat.h +@@ -40,7 +40,8 @@ static inline BIO_METHOD *BIO_meth_new(int type, const char *name) + #endif /* (OPENSSL_VERSION_NUMBER < 0x10100000L) || \ + (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) */ + +-#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L ++#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L \ ++ && LIBRESSL_VERSION_NUMBER < 0x30500000L + #define BIO_get_init(b) (b)->init + #endif + |