Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

4
net/lua-copas/DESCR Normal file
View File

@@ -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.

22
net/lua-copas/Makefile Normal file
View File

@@ -0,0 +1,22 @@
# $NetBSD: Makefile,v 1.3 2016/06/05 10:06:28 alnsn Exp $
DISTNAME= copas-2.0.1
PKGNAME= ${DISTNAME:S/copas/${LUA_PKGPREFIX}-copas/}
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=keplerproject/}
GITHUB_TAG= v${PKGVERSION:S/./_/g}
GITHUB_PROJECT= ${DISTNAME:S/-${PKGVERSION_NOREV}//}
MAINTAINER= alnsn@NetBSD.org
HOMEPAGE= http://keplerproject.github.io/copas
COMMENT= Dispatcher based on coroutines that can be used by TCP_IP servers
LICENSE= mit
DEPENDS+= ${LUA_PKGPREFIX}-coxpcall>=1.16.0:../../devel/lua-coxpcall
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"

6
net/lua-copas/PLIST Normal file
View File

@@ -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

7
net/lua-copas/distinfo Normal file
View File

@@ -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

View File

@@ -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: