pkgsrc-Changes archive

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

CVS commit: pkgsrc/www



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Jul  8 14:58:49 UTC 2020

Modified Files:
        pkgsrc/www: Makefile
Added Files:
        pkgsrc/www/lua-http: DESCR Makefile PLIST distinfo

Log Message:
www: Add lua-http

A HTTP library for Lua.

## Features

- Optionally asynchronous (including DNS lookups and TLS)
- Supports HTTP(S) version 1.0, 1.1 and 2
- Functionality for both client and server
- Cookie Management
- Websockets


To generate a diff of this commit:
cvs rdiff -u -r1.1466 -r1.1467 pkgsrc/www/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/www/lua-http/DESCR pkgsrc/www/lua-http/Makefile \
    pkgsrc/www/lua-http/PLIST pkgsrc/www/lua-http/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/Makefile
diff -u pkgsrc/www/Makefile:1.1466 pkgsrc/www/Makefile:1.1467
--- pkgsrc/www/Makefile:1.1466  Wed Jul  8 14:50:05 2020
+++ pkgsrc/www/Makefile Wed Jul  8 14:58:49 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1466 2020/07/08 14:50:05 nia Exp $
+# $NetBSD: Makefile,v 1.1467 2020/07/08 14:58:49 nia Exp $
 #
 
 COMMENT=       Packages related to the World Wide Web
@@ -194,6 +194,7 @@ SUBDIR+=    llgal
 SUBDIR+=       loggerhead
 SUBDIR+=       logswan
 SUBDIR+=       lua-curl
+SUBDIR+=       lua-http
 SUBDIR+=       lua-psl
 SUBDIR+=       lynx
 SUBDIR+=       mMosaic

Added files:

Index: pkgsrc/www/lua-http/DESCR
diff -u /dev/null pkgsrc/www/lua-http/DESCR:1.1
--- /dev/null   Wed Jul  8 14:58:49 2020
+++ pkgsrc/www/lua-http/DESCR   Wed Jul  8 14:58:49 2020
@@ -0,0 +1,9 @@
+A HTTP library for Lua.
+
+## Features
+
+- Optionally asynchronous (including DNS lookups and TLS)
+- Supports HTTP(S) version 1.0, 1.1 and 2
+- Functionality for both client and server
+- Cookie Management
+- Websockets
Index: pkgsrc/www/lua-http/Makefile
diff -u /dev/null pkgsrc/www/lua-http/Makefile:1.1
--- /dev/null   Wed Jul  8 14:58:49 2020
+++ pkgsrc/www/lua-http/Makefile        Wed Jul  8 14:58:49 2020
@@ -0,0 +1,50 @@
+# $NetBSD: Makefile,v 1.1 2020/07/08 14:58:49 nia Exp $
+
+DISTNAME=      lua-http-0.3
+PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME:S/lua-//1}
+CATEGORIES=    www lua
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=daurnimator/}
+GITHUB_PROJECT=        lua-http
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    nia%NetBSD.org@localhost
+HOMEPAGE=      https://daurnimator.github.io/lua-http/
+COMMENT=       HTTP/1.0/1.1/2.0 client and server library for Lua
+LICENSE=       mit
+
+# XXX: update this when cqueues and ossl support Lua 5.4.
+LUA_VERSIONS_ACCEPTED= 53 52 51
+
+.include "../../lang/lua/luaversion.mk"
+
+.if ${_LUA_DOT_VERSION} < 5.2
+DEPENDS+=      ${LUA_PKGPREFIX}-BitOp-[0-9]*:../../devel/lua-BitOp
+.endif
+
+.if ${_LUA_DOT_VERSION} < 5.3
+DEPENDS+=      ${LUA_PKGPREFIX}-compat53-[0-9]*:../../devel/lua-compat53
+.endif
+
+DEPENDS+=      ${LUA_PKGPREFIX}-basexx-[0-9]*:../../devel/lua-basexx
+DEPENDS+=      ${LUA_PKGPREFIX}-binaryheap-[0-9]*:../../devel/lua-binaryheap
+DEPENDS+=      ${LUA_PKGPREFIX}-cqueues-[0-9]*:../../devel/lua-cqueues
+DEPENDS+=      ${LUA_PKGPREFIX}-fifo-[0-9]*:../../devel/lua-fifo
+DEPENDS+=      ${LUA_PKGPREFIX}-lpeg-[0-9]*:../../devel/lua-lpeg
+DEPENDS+=      ${LUA_PKGPREFIX}-lpeg-patterns-[0-9]*:../../devel/lua-lpeg-patterns
+DEPENDS+=      ${LUA_PKGPREFIX}-ossl-[0-9]*:../../security/lua-ossl
+
+# These are optional, but are needed for full library functionality
+DEPENDS+=      ${LUA_PKGPREFIX}-psl-[0-9]*:../../www/lua-psl
+DEPENDS+=      ${LUA_PKGPREFIX}-zlib-[0-9]*:../../archivers/lua-zlib
+
+USE_LANGUAGES= # none
+NO_BUILD=      yes
+
+INSTALLATION_DIRS+=    ${LUA_LDIR}/http
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/http/*.lua \
+               ${DESTDIR}${PREFIX}/${LUA_LDIR}/http
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/lua-http/PLIST
diff -u /dev/null pkgsrc/www/lua-http/PLIST:1.1
--- /dev/null   Wed Jul  8 14:58:49 2020
+++ pkgsrc/www/lua-http/PLIST   Wed Jul  8 14:58:49 2020
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/08 14:58:49 nia Exp $
+${LUA_LDIR}/http/bit.lua
+${LUA_LDIR}/http/client.lua
+${LUA_LDIR}/http/connection_common.lua
+${LUA_LDIR}/http/cookie.lua
+${LUA_LDIR}/http/h1_connection.lua
+${LUA_LDIR}/http/h1_reason_phrases.lua
+${LUA_LDIR}/http/h1_stream.lua
+${LUA_LDIR}/http/h2_connection.lua
+${LUA_LDIR}/http/h2_error.lua
+${LUA_LDIR}/http/h2_stream.lua
+${LUA_LDIR}/http/headers.lua
+${LUA_LDIR}/http/hpack.lua
+${LUA_LDIR}/http/hsts.lua
+${LUA_LDIR}/http/proxies.lua
+${LUA_LDIR}/http/request.lua
+${LUA_LDIR}/http/server.lua
+${LUA_LDIR}/http/socks.lua
+${LUA_LDIR}/http/stream_common.lua
+${LUA_LDIR}/http/tls.lua
+${LUA_LDIR}/http/util.lua
+${LUA_LDIR}/http/version.lua
+${LUA_LDIR}/http/websocket.lua
+${LUA_LDIR}/http/zlib.lua
Index: pkgsrc/www/lua-http/distinfo
diff -u /dev/null pkgsrc/www/lua-http/distinfo:1.1
--- /dev/null   Wed Jul  8 14:58:49 2020
+++ pkgsrc/www/lua-http/distinfo        Wed Jul  8 14:58:49 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/07/08 14:58:49 nia Exp $
+
+SHA1 (lua-http-0.3.tar.gz) = d658cb7fdeed670455ed69583f9cef529851ffa7
+RMD160 (lua-http-0.3.tar.gz) = 10916716de6adbd388e7fdab8e94a21941075461
+SHA512 (lua-http-0.3.tar.gz) = 5728848849e8d3e99328abdc6aff3034a708f0e5884e8718a9266900a561a37850e2bf911e9cbd0d4d538799e1fd8bb4fd66008f4787011f5802b259d51f8281
+Size (lua-http-0.3.tar.gz) = 141882 bytes



Home | Main Index | Thread Index | Old Index