svn commit: r319310 - in head/devel: . libeio libeio/files
Sergey A. Osokin
osa at FreeBSD.org
Tue May 28 14:06:16 UTC 2013
Author: osa
Date: Tue May 28 14:06:14 2013
New Revision: 319310
URL: http://svnweb.freebsd.org/changeset/ports/319310
Log:
Add libeio - event-based fully asynchronous I/O library for C.
Added:
head/devel/libeio/
head/devel/libeio/Makefile (contents, props changed)
head/devel/libeio/distinfo (contents, props changed)
head/devel/libeio/files/
head/devel/libeio/files/Makefile (contents, props changed)
head/devel/libeio/files/patch-configure.ac (contents, props changed)
head/devel/libeio/files/patch-libeio.m4 (contents, props changed)
head/devel/libeio/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Tue May 28 14:06:07 2013 (r319309)
+++ head/devel/Makefile Tue May 28 14:06:14 2013 (r319310)
@@ -971,6 +971,7 @@
SUBDIR += libe
SUBDIR += libedit
SUBDIR += libee
+ SUBDIR += libeio
SUBDIR += libelf
SUBDIR += libepp-nicbr
SUBDIR += libestr
Added: head/devel/libeio/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libeio/Makefile Tue May 28 14:06:14 2013 (r319310)
@@ -0,0 +1,26 @@
+# Created by: Sergey A. Osokin <osa at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= libeio
+PORTVERSION= 4.18.0
+CATEGORIES= devel
+
+MAINTAINER= osa at FreeBSD.org
+COMMENT= Full-featured asynchronous I/O library for C
+
+USE_GITHUB= yes
+GH_ACCOUNT= scunningham
+GH_TAGNAME= master
+GH_COMMIT= e1a62ab
+USE_AUTOTOOLS= libtoolize aclocal autoconf autoheader automake
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+
+LIBTOOLIZE_ARGS=--copy --force
+ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal
+AUTOMAKE_ARGS= --add-missing
+
+PLIST_FILES= include/eio.h lib/libeio.a lib/libeio.la \
+ lib/libeio.so lib/libeio.so.1
+
+.include <bsd.port.mk>
Added: head/devel/libeio/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libeio/distinfo Tue May 28 14:06:14 2013 (r319310)
@@ -0,0 +1,2 @@
+SHA256 (libeio-4.18.0.tar.gz) = 74cd558b71456852c5f343b0a727e67c1e10d78b86aa90daa1a7900475ee1581
+SIZE (libeio-4.18.0.tar.gz) = 94802
Added: head/devel/libeio/files/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libeio/files/Makefile Tue May 28 14:06:14 2013 (r319310)
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+LIB = libeio
+SRCS= eio.c
+INCS=
+
+LIBDIR= ${PREFIX}/lib
+INCLUDEDIR= ${PREFIX}/include
+
+.include <bsd.lib.mk>
Added: head/devel/libeio/files/patch-configure.ac
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libeio/files/patch-configure.ac Tue May 28 14:06:14 2013 (r319310)
@@ -0,0 +1,13 @@
+--- configure.ac.orig 2013-05-28 09:05:57.000000000 +0400
++++ configure.ac 2013-05-28 09:06:36.000000000 +0400
+@@ -12,8 +12,8 @@
+
+ AC_PROG_CC
+
+-if test "x$GCC" = xyes ; then
+- CFLAGS="-O3 $CFLAGS"
++if test "x$CC" = xyes ; then
++ CFLAGS="$CFLAGS"
+ fi
+
+ m4_include([libeio.m4])
Added: head/devel/libeio/files/patch-libeio.m4
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libeio/files/patch-libeio.m4 Tue May 28 14:06:14 2013 (r319310)
@@ -0,0 +1,16 @@
+--- libeio.m4.orig 2013-05-28 09:30:57.000000000 +0400
++++ libeio.m4 2013-05-28 09:31:05.000000000 +0400
+@@ -2,13 +2,6 @@
+ dnl but that header isn't very portable...
+ AC_CHECK_HEADERS([stdint.h sys/syscall.h sys/prctl.h])
+
+-AC_SEARCH_LIBS(
+- pthread_create,
+- [pthread pthreads pthreadVC2],
+- ,
+- [AC_MSG_ERROR(pthread functions not found)]
+-)
+-
+ AC_CACHE_CHECK(for utimes, ac_cv_utimes, [AC_LINK_IFELSE([[
+ #include <sys/types.h>
+ #include <sys/time.h>
Added: head/devel/libeio/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libeio/pkg-descr Tue May 28 14:06:14 2013 (r319310)
@@ -0,0 +1,11 @@
+Libeio is a full-featured asynchronous I/O library for C, modelled in
+similar style and spirit as libev.
+
+Features include: asynchronous read, write, open, close, stat, unlink,
+fdatasync, mknod, readdir etc. (basically the full POSIX API), sendfile
+(native on solaris, linux, hp-ux, freebsd, emulated everywehere else),
+readahead (emulated where not available). It is fully event-library
+agnostic and can easily be integrated into any event-library (or used
+standalone, even in polling mode).
+
+WWW: http://software.schmorp.de/pkg/libeio.html
More information about the svn-ports-all
mailing list