Created attachment 253190 [details] Patch for the new port lua-resty-session3 New port for lua-resty-session version 3.x, in alternative to the current version 4.x. As of now lua-resty-openidc only works with version 3.x. It's an upstream problem, a version 3.x is pinned in the lua-resty-openidc dependencies: https://github.com/zmartzone/lua-resty-openidc/blob/9f3a4fcade930f6f38ee0cb43cabf50cebffbcc9/lua-resty-openidc-1.7.6-3.rockspec#L27 There is apparently currently no clear plan on when/if lua-resty-openidc will be updated to include changes for lua-resty-session 4.X, see discussions on https://github.com/zmartzone/lua-resty-openidc/issues/480 This has been reported also to the current lua-resty-session port maintainer: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281079 I'm gonna submit a patch to have lua-resty-openidc depend on lua-resty-session3.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=dfd76d00018cdfd270368acba037c9811ebd8b51 commit dfd76d00018cdfd270368acba037c9811ebd8b51 Author: Baptiste Grenier <baptiste@bapt.name> AuthorDate: 2024-08-30 20:12:38 +0000 Commit: Alexander Leidinger <netchild@FreeBSD.org> CommitDate: 2024-09-18 16:02:45 +0000 www/lua-resty-session3: port sticking to version 3 This is based upon www/lua-resty-session (v4), but is needed for lua-resty-openidc. The version 3.x is pinned in the lua-resty-openidc dependencies: https://github.com/zmartzone/lua-resty-openidc/blob/9f3a4fcade930f6f38ee0cb43cabf50cebffbcc9/lua-resty-openidc-1.7.6-3.rockspec#L27 There is apparently currently no clear plan on when/if lua-resty-openidc will be updated to include changes for lua-resty-session 4.X, see discussions on https://github.com/zmartzone/lua-resty-openidc/issues/480 Additionally to what the author submitted some changes by me: - add conflicts with www/lua-resty-session - give up maintainership of www/lua-resty-session PR: 281142 www/Makefile | 1 + www/lua-resty-session/Makefile | 5 ++- www/lua-resty-session3/Makefile (new) | 60 ++++++++++++++++++++++++++++++++++ www/lua-resty-session3/distinfo (new) | 3 ++ www/lua-resty-session3/pkg-descr (new) | 8 +++++ 5 files changed, 76 insertions(+), 1 deletion(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=11c3e44bb1726a898e991f8b023fa1298d2ddbd1 commit 11c3e44bb1726a898e991f8b023fa1298d2ddbd1 Author: Alexander Leidinger <netchild@FreeBSD.org> AuthorDate: 2024-09-18 16:00:01 +0000 Commit: Alexander Leidinger <netchild@FreeBSD.org> CommitDate: 2024-09-18 16:02:46 +0000 security/lua-resty-openidc: switch to lua-resty-session3 There is apparently currently no clear plan on when/if lua-resty-openidc will be updated to include changes for lua-resty-session 4.X, see discussions on https://github.com/zmartzone/lua-resty-openidc/issues/480 Additionally: - give up maintainership PR: 281143, 281142, 281079 security/lua-resty-openidc/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)