Import libevent 2.0.13.
Libevent is a library for writing fast portable nonblocking IO. This port omits all the libevent1 compatibility parts so it does not clash with libevent1 from base. Applications will link with -levent_core (-levent_extra) and pkg-config is set up this way. Verified that none of our libevent1-using ports pick this up by accident.
This commit is contained in:
parent
56760fbd6b
commit
530c7ea2c9
35
devel/libevent2/Makefile
Normal file
35
devel/libevent2/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2011/09/23 08:50:12 naddy Exp $
|
||||
|
||||
COMMENT= event notification library
|
||||
|
||||
V= 2.0.13
|
||||
DISTNAME= libevent-$V-stable
|
||||
PKGNAME= libevent-$V
|
||||
CATEGORIES= devel
|
||||
HOMEPAGE= http://monkey.org/~provos/libevent/
|
||||
|
||||
SHARED_LIBS+= event_core 0.0 # 6.2
|
||||
SHARED_LIBS+= event_extra 0.0 # 6.2
|
||||
SHARED_LIBS+= event_openssl 0.0 # 6.2
|
||||
SHARED_LIBS+= event_pthreads 0.0 # 6.2
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://monkey.org/~provos/
|
||||
|
||||
USE_LIBTOOL= Yes
|
||||
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>
|
5
devel/libevent2/distinfo
Normal file
5
devel/libevent2/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (libevent-2.0.13-stable.tar.gz) = r3hrSz95DJ0yeXku33hn/A==
|
||||
RMD160 (libevent-2.0.13-stable.tar.gz) = JhKY6O99clwg5tagIf4miRkw8pY=
|
||||
SHA1 (libevent-2.0.13-stable.tar.gz) = PEZ/fqwtOJhqN4MRgVuYDjJal9U=
|
||||
SHA256 (libevent-2.0.13-stable.tar.gz) = 4sw7nwPmj/h4kZsc0DGiELqf83YoPYlRYa/LwlrKAKk=
|
||||
SIZE (libevent-2.0.13-stable.tar.gz) = 830805
|
12
devel/libevent2/patches/patch-libevent_pc_in
Normal file
12
devel/libevent2/patches/patch-libevent_pc_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-libevent_pc_in,v 1.1.1.1 2011/09/23 08:50:12 naddy Exp $
|
||||
--- 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}
|
||||
|
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.
|
5
devel/libevent2/pkg/PFRAG.shared
Normal file
5
devel/libevent2/pkg/PFRAG.shared
Normal file
@ -0,0 +1,5 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2011/09/23 08:50:12 naddy Exp $
|
||||
@lib lib/libevent_core.so.${LIBevent_core_VERSION}
|
||||
@lib lib/libevent_extra.so.${LIBevent_extra_VERSION}
|
||||
@lib lib/libevent_openssl.so.${LIBevent_openssl_VERSION}
|
||||
@lib lib/libevent_pthreads.so.${LIBevent_pthreads_VERSION}
|
41
devel/libevent2/pkg/PLIST
Normal file
41
devel/libevent2/pkg/PLIST
Normal file
@ -0,0 +1,41 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/09/23 08:50:12 naddy Exp $
|
||||
%%SHARED%%
|
||||
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
|
||||
lib/libevent_core.a
|
||||
lib/libevent_core.la
|
||||
lib/libevent_extra.a
|
||||
lib/libevent_extra.la
|
||||
lib/libevent_openssl.a
|
||||
lib/libevent_openssl.la
|
||||
lib/libevent_pthreads.a
|
||||
lib/libevent_pthreads.la
|
||||
lib/pkgconfig/
|
||||
lib/pkgconfig/libevent.pc
|
||||
lib/pkgconfig/libevent_openssl.pc
|
||||
lib/pkgconfig/libevent_pthreads.pc
|
Loading…
Reference in New Issue
Block a user