From owner-svn-ports-all@FreeBSD.ORG Tue May 28 14:06:16 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9159727E; Tue, 28 May 2013 14:06:16 +0000 (UTC) (envelope-from osa@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 71090DA2; Tue, 28 May 2013 14:06:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4SE6GA0095619; Tue, 28 May 2013 14:06:16 GMT (envelope-from osa@svn.freebsd.org) Received: (from osa@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4SE6Edv095607; Tue, 28 May 2013 14:06:14 GMT (envelope-from osa@svn.freebsd.org) Message-Id: <201305281406.r4SE6Edv095607@svn.freebsd.org> From: "Sergey A. Osokin" Date: Tue, 28 May 2013 14:06:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r319310 - in head/devel: . libeio libeio/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 14:06:16 -0000 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 +# $FreeBSD$ + +PORTNAME= libeio +PORTVERSION= 4.18.0 +CATEGORIES= devel + +MAINTAINER= osa@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 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 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 + #include 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