pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/lua-sec



Module Name:    pkgsrc
Committed By:   joerg
Date:           Fri Aug  7 02:05:07 UTC 2020

Modified Files:
        pkgsrc/security/lua-sec: Makefile distinfo
Added Files:
        pkgsrc/security/lua-sec/patches: patch-src_luasocket_timeout.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/security/lua-sec/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/security/lua-sec/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/security/lua-sec/patches/patch-src_luasocket_timeout.c

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

Modified files:

Index: pkgsrc/security/lua-sec/Makefile
diff -u pkgsrc/security/lua-sec/Makefile:1.17 pkgsrc/security/lua-sec/Makefile:1.18
--- pkgsrc/security/lua-sec/Makefile:1.17       Sat Jan 18 21:50:40 2020
+++ pkgsrc/security/lua-sec/Makefile    Fri Aug  7 02:05:07 2020
@@ -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}

Index: pkgsrc/security/lua-sec/distinfo
diff -u pkgsrc/security/lua-sec/distinfo:1.9 pkgsrc/security/lua-sec/distinfo:1.10
--- pkgsrc/security/lua-sec/distinfo:1.9        Mon Jan  6 23:55:47 2020
+++ pkgsrc/security/lua-sec/distinfo    Fri Aug  7 02:05:07 2020
@@ -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 @@ SHA512 (luasec-0.9.tar.gz) = ea601016328
 Size (luasec-0.9.tar.gz) = 52163 bytes
 SHA1 (patch-Makefile) = 17ae13eecf9ce9269e8ef9a826507bd6230c3364
 SHA1 (patch-src_Makefile) = 238809a918f58d9c3fb73aab458dfac346a36165
+SHA1 (patch-src_luasocket_timeout.c) = e648e7e7faf4d98d4c1fe3ae855a0de09323c7ab

Added files:

Index: pkgsrc/security/lua-sec/patches/patch-src_luasocket_timeout.c
diff -u /dev/null pkgsrc/security/lua-sec/patches/patch-src_luasocket_timeout.c:1.1
--- /dev/null   Fri Aug  7 02:05:07 2020
+++ pkgsrc/security/lua-sec/patches/patch-src_luasocket_timeout.c       Fri Aug  7 02:05:07 2020
@@ -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