pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/lua-copas Initial import of net/lua-copas, version...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7d42584fba65
branches:  trunk
changeset: 347956:7d42584fba65
user:      alnsn <alnsn%pkgsrc.org@localhost>
date:      Sat Jun 04 23:15:22 2016 +0000

description:
Initial import of net/lua-copas, version 2.0.1.

Copas is a dispatcher based on coroutines that can be used for
asynchronous networking. For example TCP or UDP based servers.
But it also features timers and client support for http(s), ftp
and smtp requests.

diffstat:

 net/lua-copas/DESCR                  |   4 ++++
 net/lua-copas/Makefile               |  21 +++++++++++++++++++++
 net/lua-copas/PLIST                  |   6 ++++++
 net/lua-copas/distinfo               |   7 +++++++
 net/lua-copas/patches/patch-Makefile |  17 +++++++++++++++++
 5 files changed, 55 insertions(+), 0 deletions(-)

diffs (75 lines):

diff -r d1462d5c1aab -r 7d42584fba65 net/lua-copas/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/lua-copas/DESCR       Sat Jun 04 23:15:22 2016 +0000
@@ -0,0 +1,4 @@
+Copas is a dispatcher based on coroutines that can be used for
+asynchronous networking. For example TCP or UDP based servers.
+But it also features timers and client support for http(s), ftp
+and smtp requests.
diff -r d1462d5c1aab -r 7d42584fba65 net/lua-copas/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/lua-copas/Makefile    Sat Jun 04 23:15:22 2016 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2016/06/04 23:15:22 alnsn Exp $
+
+DISTNAME=      copas-2.0.1
+PKGNAME=       ${DISTNAME:S/copas/${LUA_PKGPREFIX}-copas/}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=keplerproject/}
+GITHUB_TAG=    v${PKGVERSION:S/./_/g}
+GITHUB_PROJECT=        ${DISTNAME:S/-${PKGVERSION_NOREV}//}
+
+MAINTAINER=    alnsn%NetBSD.org@localhost
+HOMEPAGE=      http://keplerproject.github.io/copas
+COMMENT=       Dispatcher based on coroutines that can be used by TCP_IP servers
+LICENSE=       mit
+
+DEPENDS+=      ${LUA_PKGPREFIX}-socket>=2.0:../../net/lua-socket
+DEPENDS+=      ${LUA_PKGPREFIX}-sec>=0.6:../../security/lua-sec
+
+MAKE_ENV+=     LUA_LDIR=${LUA_LDIR:Q}
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d1462d5c1aab -r 7d42584fba65 net/lua-copas/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/lua-copas/PLIST       Sat Jun 04 23:15:22 2016 +0000
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2016/06/04 23:15:22 alnsn Exp $
+${LUA_LDIR}/copas.lua
+${LUA_LDIR}/copas/ftp.lua
+${LUA_LDIR}/copas/http.lua
+${LUA_LDIR}/copas/limit.lua
+${LUA_LDIR}/copas/smtp.lua
diff -r d1462d5c1aab -r 7d42584fba65 net/lua-copas/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/lua-copas/distinfo    Sat Jun 04 23:15:22 2016 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2016/06/04 23:15:22 alnsn Exp $
+
+SHA1 (copas-2.0.1.tar.gz) = 2bf0e5a975277408af7506d97e22fd0163245bed
+RMD160 (copas-2.0.1.tar.gz) = d2ed098bc9652353544380b65ffad4c64b5c258c
+SHA512 (copas-2.0.1.tar.gz) = 3bc472c056beab4c2cf8c1733ca2b1e7fcce9866b89dc738060263456b6fe7521956cf6ca614276f99fdf42d278422dbbb0ef42f11f211c16632f04cb518ecc5
+Size (copas-2.0.1.tar.gz) = 47927 bytes
+SHA1 (patch-Makefile) = eb313622d41a9ea58540c359ce07f5664e6a23b9
diff -r d1462d5c1aab -r 7d42584fba65 net/lua-copas/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/lua-copas/patches/patch-Makefile      Sat Jun 04 23:15:22 2016 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-Makefile,v 1.1.1.1 2016/06/04 23:15:22 alnsn Exp $
+
+--- Makefile.orig      2016-02-16 21:08:28.000000000 +0000
++++ Makefile
+@@ -2,8 +2,10 @@
+ 
+ # Default prefix
+-PREFIX = /usr/local
++#PREFIX = /usr/local
+ 
+ # System's lua directory (where Lua libraries are installed)
+-LUA_DIR= $(PREFIX)/share/lua/5.1
++LUA_DIR= $(DESTDIR)$(PREFIX)/$(LUA_LDIR)
++
++all:
+ 
+ install:



Home | Main Index | Thread Index | Old Index