pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/lua-ossl



Module Name:    pkgsrc
Committed By:   alnsn
Date:           Thu Jan  8 22:50:47 UTC 2026

Modified Files:
        pkgsrc/security/lua-ossl: Makefile distinfo
Added Files:
        pkgsrc/security/lua-ossl/patches: patch-GNUmakefile
            patch-vendor_compat53_c-api_compat-5.3.h

Log Message:
Apply PR221 (Support Lua 5.5), bump pkgversion. Tests pass.

PR221: https://github.com/wahern/luaossl/pull/221

Test command: lua5.5 regress/regress.lua


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/security/lua-ossl/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/security/lua-ossl/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/security/lua-ossl/patches/patch-GNUmakefile \
    pkgsrc/security/lua-ossl/patches/patch-vendor_compat53_c-api_compat-5.3.h

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-ossl/Makefile
diff -u pkgsrc/security/lua-ossl/Makefile:1.5 pkgsrc/security/lua-ossl/Makefile:1.6
--- pkgsrc/security/lua-ossl/Makefile:1.5       Tue Jan  6 07:59:01 2026
+++ pkgsrc/security/lua-ossl/Makefile   Thu Jan  8 22:50:47 2026
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2026/01/06 07:59:01 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2026/01/08 22:50:47 alnsn Exp $
 
 DISTNAME=      luaossl-20220711
 PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME:S/^lua//1}
-PKGREVISION=   1
+PKGREVISION=   2
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=wahern/}
 CATEGORIES=    security lua
 GITHUB_PROJECT=        luaossl

Index: pkgsrc/security/lua-ossl/distinfo
diff -u pkgsrc/security/lua-ossl/distinfo:1.6 pkgsrc/security/lua-ossl/distinfo:1.7
--- pkgsrc/security/lua-ossl/distinfo:1.6       Fri Sep  1 14:03:15 2023
+++ pkgsrc/security/lua-ossl/distinfo   Thu Jan  8 22:50:47 2026
@@ -1,6 +1,9 @@
-$NetBSD: distinfo,v 1.6 2023/09/01 14:03:15 nia Exp $
+$NetBSD: distinfo,v 1.7 2026/01/08 22:50:47 alnsn Exp $
 
 BLAKE2s (luaossl-20220711.tar.gz) = 6ad60d88021a098f86c6cafb61cd6e3806d22b07746f608aae936514b7ef120a
 SHA512 (luaossl-20220711.tar.gz) = 13c51881218a5a9995d195d4781f6871f0dfe58f061b85dd997b98ec970a38302ac6b057b7987bff5f7719bfdb826aae09f602ea8db5e4b2d462648ad0236909
 Size (luaossl-20220711.tar.gz) = 505174 bytes
+SHA1 (patch-GNUmakefile) = 7d5fa61b2b5710b8f77a5b306f1549c7ac011bdc
 SHA1 (patch-config.h.guess) = b25ce37a141bbb28921ffac8324af496b073817b
+SHA1 (patch-src_GNUmakefile) = 4dc5177f5717d55f948ee1a35e507b5cc1ab92ab
+SHA1 (patch-vendor_compat53_c-api_compat-5.3.h) = c099d8ee0d16629bccfbbf6370a9b59bd41d386b

Added files:

Index: pkgsrc/security/lua-ossl/patches/patch-GNUmakefile
diff -u /dev/null pkgsrc/security/lua-ossl/patches/patch-GNUmakefile:1.1
--- /dev/null   Thu Jan  8 22:50:47 2026
+++ pkgsrc/security/lua-ossl/patches/patch-GNUmakefile  Thu Jan  8 22:50:47 2026
@@ -0,0 +1,42 @@
+$NetBSD: patch-GNUmakefile,v 1.1 2026/01/08 22:50:47 alnsn Exp $
+
+PR#221: Support Lua 5.5
+https://github.com/wahern/luaossl/pull/221
+
+--- GNUmakefile.orig   2022-07-11 05:40:14.000000000 +0000
++++ GNUmakefile
+@@ -12,7 +12,7 @@ all: # default target
+ #
+ # G N U  M A K E  F U N C T I O N S
+ #
+-KNOWN_APIS = 5.1 5.2 5.3 5.4
++KNOWN_APIS = 5.1 5.2 5.3 5.4 5.5
+ 
+ # template for invoking luapath script
+ LUAPATH := $(d)/mk/luapath
+@@ -42,6 +42,8 @@ lua53cpath ?= $(libdir)/lua/5.3
+ lua53path ?= $(datadir)/lua/5.3
+ lua54cpath ?= $(libdir)/lua/5.4
+ lua54path ?= $(datadir)/lua/5.4
++lua55cpath ?= $(libdir)/lua/5.5
++lua55path ?= $(datadir)/lua/5.5
+ 
+ 
+ AR ?= ar
+@@ -99,7 +101,7 @@ endif
+ 
+ # set LUA_APIS if empty or "?"
+ ifeq ($(or $(strip $(LUA_APIS)),?),?)
+-override LUA_APIS := $(call HAVE_API_FN,5.1) $(call HAVE_API_FN,5.2) $(call HAVE_API_FN,5.3) $(call HAVE_API_FN,5.4)
++override LUA_APIS := $(call HAVE_API_FN,5.1) $(call HAVE_API_FN,5.2) $(call HAVE_API_FN,5.3) $(call HAVE_API_FN,5.4 )$(call HAVE_API_FN,5.5)
+ endif
+ 
+ define LUAXY_template
+@@ -135,6 +137,7 @@ $(eval $(call LUAXY_template,5.1))
+ $(eval $(call LUAXY_template,5.2))
+ $(eval $(call LUAXY_template,5.3))
+ $(eval $(call LUAXY_template,5.4))
++$(eval $(call LUAXY_template,5.5))
+ 
+ #
+ # A U T O D E T E C T  C O M P I L A T I O N  F L A G S
Index: pkgsrc/security/lua-ossl/patches/patch-vendor_compat53_c-api_compat-5.3.h
diff -u /dev/null pkgsrc/security/lua-ossl/patches/patch-vendor_compat53_c-api_compat-5.3.h:1.1
--- /dev/null   Thu Jan  8 22:50:47 2026
+++ pkgsrc/security/lua-ossl/patches/patch-vendor_compat53_c-api_compat-5.3.h   Thu Jan  8 22:50:47 2026
@@ -0,0 +1,22 @@
+$NetBSD: patch-vendor_compat53_c-api_compat-5.3.h,v 1.1 2026/01/08 22:50:47 alnsn Exp $
+
+PR#221: Support Lua 5.5
+https://github.com/wahern/luaossl/pull/221
+
+--- vendor/compat53/c-api/compat-5.3.h.orig    2022-07-11 05:40:14.000000000 +0000
++++ vendor/compat53/c-api/compat-5.3.h
+@@ -399,11 +399,11 @@ COMPAT53_API void luaL_requiref (lua_Sta
+ 
+ 
+ /* other Lua versions */
+-#if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 501 || LUA_VERSION_NUM > 504
++#if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 501 || LUA_VERSION_NUM > 505
+ 
+-#  error "unsupported Lua version (i.e. not Lua 5.1, 5.2, 5.3, or 5.4)"
++#  error "unsupported Lua version (i.e. not Lua 5.1, 5.2, 5.3, 5.4, or 5.5)"
+ 
+-#endif /* other Lua versions except 5.1, 5.2, 5.3, and 5.4 */
++#endif /* other Lua versions except 5.1, 5.2, 5.3, 5.4, and 5.5 */
+ 
+ 
+ 



Home | Main Index | Thread Index | Old Index