From owner-svn-ports-all@freebsd.org Fri Jul 3 19:46:04 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AAA67357D5D; Fri, 3 Jul 2020 19:46:04 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49z5703c0Cz4g4D; Fri, 3 Jul 2020 19:46:04 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6084610D18; Fri, 3 Jul 2020 19:46:04 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 063Jk4x7028092; Fri, 3 Jul 2020 19:46:04 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 063Jk3eb028087; Fri, 3 Jul 2020 19:46:03 GMT (envelope-from pi@FreeBSD.org) Message-Id: <202007031946.063Jk3eb028087@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Fri, 3 Jul 2020 19:46:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r541131 - in head/devel: . lua-cqueues X-SVN-Group: ports-head X-SVN-Commit-Author: pi X-SVN-Commit-Paths: in head/devel: . lua-cqueues X-SVN-Commit-Revision: 541131 X-SVN-Commit-Repository: ports 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.33 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: Fri, 03 Jul 2020 19:46:04 -0000 Author: pi Date: Fri Jul 3 19:46:02 2020 New Revision: 541131 URL: https://svnweb.freebsd.org/changeset/ports/541131 Log: New port: devel/lua-cqueues cqueues is a type of event loop for Lua, except it's not a classic event loop. It doesn't use callbacks, neither as part of the API nor internally, but instead you communicate with an event controller by the yielding and resumption of Lua coroutines using objects that adhere to a simple interface. WWW: http://25thandclement.com/~william/projects/cqueues.html PR: 247739 Submitted by: Leo Vandewoestijne Added: head/devel/lua-cqueues/ head/devel/lua-cqueues/Makefile (contents, props changed) head/devel/lua-cqueues/distinfo (contents, props changed) head/devel/lua-cqueues/pkg-descr (contents, props changed) head/devel/lua-cqueues/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Fri Jul 3 19:42:12 2020 (r541130) +++ head/devel/Makefile Fri Jul 3 19:46:02 2020 (r541131) @@ -1433,6 +1433,7 @@ SUBDIR += lua-bitlib SUBDIR += lua-bitop SUBDIR += lua-cjson + SUBDIR += lua-cqueues SUBDIR += lua-gettext SUBDIR += lua-lgi SUBDIR += lua-libevent Added: head/devel/lua-cqueues/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lua-cqueues/Makefile Fri Jul 3 19:46:02 2020 (r541131) @@ -0,0 +1,30 @@ +# Created by: Leo Vandewoestijne +# $FreeBSD$ + +PORTNAME= cqueues +DISTVERSIONPREFIX= rel- +DISTVERSION= 20200603 +CATEGORIES= devel +PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} + +MAINTAINER= freebsd@dns.company +COMMENT= Constant queues lib + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= gmake lua:51+,module ssl +USE_LDCONFIG= {LUA_MODLIBDIR} +LDFLAGS+= -Wl,-soname,liblua-${PORTNAME}.so.${LUA_VER_STR} + +USE_GITHUB= yes +GH_ACCOUNT= wahern + +SONAME= ${STAGEDIR}${PREFIX}/lib/liblua-${PORTNAME}.so + +post-install: + ${MV} ${STAGEDIR}${LUA_MODLIBDIR}/_${PORTNAME}.so ${SONAME}.${LUA_VER_STR} + ${STRIP_CMD} ${SONAME}.${LUA_VER_STR} + ${RLN} ${SONAME}.${LUA_VER_STR} ${SONAME} + +.include Added: head/devel/lua-cqueues/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lua-cqueues/distinfo Fri Jul 3 19:46:02 2020 (r541131) @@ -0,0 +1,3 @@ +TIMESTAMP = 1593703274 +SHA256 (wahern-cqueues-rel-20200603_GH0.tar.gz) = 45b4a0105c096eee5840b69e8e0078eb7b5d61a23aeca30db710f1caac3ec399 +SIZE (wahern-cqueues-rel-20200603_GH0.tar.gz) = 509190 Added: head/devel/lua-cqueues/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lua-cqueues/pkg-descr Fri Jul 3 19:46:02 2020 (r541131) @@ -0,0 +1,7 @@ +cqueues is a type of event loop for Lua, except it's not a classic +event loop. It doesn't use callbacks, neither as part of the API nor +internally, but instead you communicate with an event controller by +the yielding and resumption of Lua coroutines using objects that +adhere to a simple interface. + +WWW: http://25thandclement.com/~william/projects/cqueues.html Added: head/devel/lua-cqueues/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lua-cqueues/pkg-plist Fri Jul 3 19:46:02 2020 (r541131) @@ -0,0 +1,20 @@ +lib/liblua-cqueues.so.%%LUA_VER_STR%% +lib/liblua-cqueues.so +%%LUA_MODSHAREDIR%%/cqueues.lua +%%LUA_MODSHAREDIR%%/cqueues/auxlib.lua +%%LUA_MODSHAREDIR%%/cqueues/condition.lua +%%LUA_MODSHAREDIR%%/cqueues/dns.lua +%%LUA_MODSHAREDIR%%/cqueues/dns/config.lua +%%LUA_MODSHAREDIR%%/cqueues/dns/hints.lua +%%LUA_MODSHAREDIR%%/cqueues/dns/hosts.lua +%%LUA_MODSHAREDIR%%/cqueues/dns/packet.lua +%%LUA_MODSHAREDIR%%/cqueues/dns/record.lua +%%LUA_MODSHAREDIR%%/cqueues/dns/resolver.lua +%%LUA_MODSHAREDIR%%/cqueues/dns/resolvers.lua +%%LUA_MODSHAREDIR%%/cqueues/errno.lua +%%LUA_MODSHAREDIR%%/cqueues/notify.lua +%%LUA_MODSHAREDIR%%/cqueues/promise.lua +%%LUA_MODSHAREDIR%%/cqueues/signal.lua +%%LUA_MODSHAREDIR%%/cqueues/socket.lua +%%LUA_MODSHAREDIR%%/cqueues/thread.lua +@dir %%LUA_MODLIBDIR%%