svn commit: r541131 - in head/devel: . lua-cqueues
Kurt Jaeger
pi at FreeBSD.org
Fri Jul 3 19:46:04 UTC 2020
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 <freebsd at dns.company>
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 at dns.company>
+# $FreeBSD$
+
+PORTNAME= cqueues
+DISTVERSIONPREFIX= rel-
+DISTVERSION= 20200603
+CATEGORIES= devel
+PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
+
+MAINTAINER= freebsd at 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 <bsd.port.mk>
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
+ at dir %%LUA_MODLIBDIR%%
More information about the svn-ports-all
mailing list