SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
39
devel/libevent2/Makefile
Normal file
39
devel/libevent2/Makefile
Normal file
|
@ -0,0 +1,39 @@
|
|||
COMMENT= event notification library
|
||||
|
||||
V= 2.1.12
|
||||
DISTNAME= libevent-$V-stable
|
||||
PKGNAME= libevent-$V
|
||||
CATEGORIES= devel
|
||||
HOMEPAGE= https://libevent.org/
|
||||
REVISION= 0
|
||||
|
||||
SHARED_LIBS+= event_core 2.1 # 7.1
|
||||
SHARED_LIBS+= event_extra 1.0 # 7.1
|
||||
SHARED_LIBS+= event_openssl 1.0 # 7.1
|
||||
SHARED_LIBS+= event_pthreads 0.0 # 7.1
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
MASTER_SITES= https://github.com/libevent/libevent/releases/download/release-$V-stable/
|
||||
|
||||
WANTLIB= crypto pthread ssl
|
||||
|
||||
MODULES= lang/python
|
||||
MODPY_RUNDEP= No
|
||||
MODPY_ADJ_FILES=event_rpcgen.py
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
|
||||
DEBUG_PACKAGES= ${BUILD_PACKAGES}
|
||||
|
||||
MAKE_FLAGS= RELEASE=""
|
||||
|
||||
SEPARATE_BUILD =Yes
|
||||
|
||||
# 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>
|
2
devel/libevent2/distinfo
Normal file
2
devel/libevent2/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (libevent-2.1.12-stable.tar.gz) = kubeG+nsF2Qo/SNnZ35hzv/C7hyxGQNQN6J9NGsEA7s=
|
||||
SIZE (libevent-2.1.12-stable.tar.gz) = 1100847
|
13
devel/libevent2/patches/patch-libevent_pc_in
Normal file
13
devel/libevent2/patches/patch-libevent_pc_in
Normal file
|
@ -0,0 +1,13 @@
|
|||
Link against event_extra and event_core not event.
|
||||
|
||||
--- libevent.pc.in.orig Mon Sep 19 01:02:59 2011
|
||||
+++ libevent.pc.in Mon Sep 19 01:03:15 2011
|
||||
@@ -10,7 +10,7 @@ Description: libevent is an asynchronous notification
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Conflicts:
|
||||
-Libs: -L${libdir} -levent
|
||||
+Libs: -L${libdir} -levent_extra -levent_core
|
||||
Libs.private: @LIBS@
|
||||
Cflags: -I${includedir}
|
||||
|
16
devel/libevent2/patches/patch-openssl-compat_h
Normal file
16
devel/libevent2/patches/patch-openssl-compat_h
Normal file
|
@ -0,0 +1,16 @@
|
|||
We have BIO_get_init() now.
|
||||
https://github.com/libevent/libevent/pull/1227
|
||||
|
||||
Index: openssl-compat.h
|
||||
--- openssl-compat.h.orig
|
||||
+++ openssl-compat.h
|
||||
@@ -40,7 +40,8 @@ static inline BIO_METHOD *BIO_meth_new(int type, const
|
||||
#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
|
||||
|
1
devel/libevent2/pkg/DESCR
Normal file
1
devel/libevent2/pkg/DESCR
Normal file
|
@ -0,0 +1 @@
|
|||
Libevent is a library for writing fast portable nonblocking IO.
|
45
devel/libevent2/pkg/PLIST
Normal file
45
devel/libevent2/pkg/PLIST
Normal file
|
@ -0,0 +1,45 @@
|
|||
bin/event_rpcgen.py
|
||||
include/event2/
|
||||
include/event2/buffer.h
|
||||
include/event2/buffer_compat.h
|
||||
include/event2/bufferevent.h
|
||||
include/event2/bufferevent_compat.h
|
||||
include/event2/bufferevent_ssl.h
|
||||
include/event2/bufferevent_struct.h
|
||||
include/event2/dns.h
|
||||
include/event2/dns_compat.h
|
||||
include/event2/dns_struct.h
|
||||
include/event2/event-config.h
|
||||
include/event2/event.h
|
||||
include/event2/event_compat.h
|
||||
include/event2/event_struct.h
|
||||
include/event2/http.h
|
||||
include/event2/http_compat.h
|
||||
include/event2/http_struct.h
|
||||
include/event2/keyvalq_struct.h
|
||||
include/event2/listener.h
|
||||
include/event2/rpc.h
|
||||
include/event2/rpc_compat.h
|
||||
include/event2/rpc_struct.h
|
||||
include/event2/tag.h
|
||||
include/event2/tag_compat.h
|
||||
include/event2/thread.h
|
||||
include/event2/util.h
|
||||
include/event2/visibility.h
|
||||
@static-lib lib/libevent_core.a
|
||||
lib/libevent_core.la
|
||||
@lib lib/libevent_core.so.${LIBevent_core_VERSION}
|
||||
@static-lib lib/libevent_extra.a
|
||||
lib/libevent_extra.la
|
||||
@lib lib/libevent_extra.so.${LIBevent_extra_VERSION}
|
||||
@static-lib lib/libevent_openssl.a
|
||||
lib/libevent_openssl.la
|
||||
@lib lib/libevent_openssl.so.${LIBevent_openssl_VERSION}
|
||||
@static-lib lib/libevent_pthreads.a
|
||||
lib/libevent_pthreads.la
|
||||
@lib lib/libevent_pthreads.so.${LIBevent_pthreads_VERSION}
|
||||
lib/pkgconfig/libevent.pc
|
||||
lib/pkgconfig/libevent_core.pc
|
||||
lib/pkgconfig/libevent_extra.pc
|
||||
lib/pkgconfig/libevent_openssl.pc
|
||||
lib/pkgconfig/libevent_pthreads.pc
|
Loading…
Add table
Add a link
Reference in a new issue