Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/lua-sec Don't use compat code for Lua 5.2+ Bu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f5b23cd86c6
branches:  trunk
changeset: 436640:0f5b23cd86c6
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Aug 07 02:05:07 2020 +0000

description:
Don't use compat code for Lua 5.2+ Bump revision.

diffstat:

 security/lua-sec/Makefile                              |   4 ++--
 security/lua-sec/distinfo                              |   3 ++-
 security/lua-sec/patches/patch-src_luasocket_timeout.c |  13 +++++++++++++
 3 files changed, 17 insertions(+), 3 deletions(-)

diffs (46 lines):

diff -r 91cb303e4520 -r 0f5b23cd86c6 security/lua-sec/Makefile
--- a/security/lua-sec/Makefile Fri Aug 07 02:01:54 2020 +0000
+++ b/security/lua-sec/Makefile Fri Aug 07 02:05:07 2020 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.17 2020/01/18 21:50:40 jperkin Exp $
+# $NetBSD: Makefile,v 1.18 2020/08/07 02:05:07 joerg Exp $
 
 VERSION=               0.9
 DISTNAME=              luasec-${VERSION}
 PKGNAME=               ${DISTNAME:S/luasec/${LUA_PKGPREFIX}-sec/}
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES=            security
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=brunoos/}
 GITHUB_TAG=            v${VERSION}
diff -r 91cb303e4520 -r 0f5b23cd86c6 security/lua-sec/distinfo
--- a/security/lua-sec/distinfo Fri Aug 07 02:01:54 2020 +0000
+++ b/security/lua-sec/distinfo Fri Aug 07 02:05:07 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2020/01/06 23:55:47 mef Exp $
+$NetBSD: distinfo,v 1.10 2020/08/07 02:05:07 joerg Exp $
 
 SHA1 (luasec-0.9.tar.gz) = d6560dd160cb3f5079ec53f148636e4dd41b10b7
 RMD160 (luasec-0.9.tar.gz) = d5dc4dfcf122897f681f2f7b0f9f1e9981501525
@@ -6,3 +6,4 @@
 Size (luasec-0.9.tar.gz) = 52163 bytes
 SHA1 (patch-Makefile) = 17ae13eecf9ce9269e8ef9a826507bd6230c3364
 SHA1 (patch-src_Makefile) = 238809a918f58d9c3fb73aab458dfac346a36165
+SHA1 (patch-src_luasocket_timeout.c) = e648e7e7faf4d98d4c1fe3ae855a0de09323c7ab
diff -r 91cb303e4520 -r 0f5b23cd86c6 security/lua-sec/patches/patch-src_luasocket_timeout.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/lua-sec/patches/patch-src_luasocket_timeout.c    Fri Aug 07 02:05:07 2020 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_luasocket_timeout.c,v 1.1 2020/08/07 02:05:07 joerg Exp $
+
+--- src/luasocket/timeout.c.orig       2020-08-07 02:01:45.609031005 +0000
++++ src/luasocket/timeout.c
+@@ -143,7 +143,7 @@ double timeout_gettime(void) {
+ * Initializes module
+ \*-------------------------------------------------------------------------*/
+ int timeout_open(lua_State *L) {
+-#if LUA_VERSION_NUM > 501 && !defined(LUA_COMPAT_MODULE)
++#if LUA_VERSION_NUM > 501
+     luaL_setfuncs(L, func, 0);
+ #else
+     luaL_openlib(L, NULL, func, 0);



Home | Main Index | Thread Index | Old Index