notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Newsfeed changes

The news feed page[s] were not laid out well. Two pages, disjointed information, hard to figure out how to use the optional parameters...

Thankfully, someone told me.

The new page is ready for your review. Please compare these two:

You may also be interested in the Github issue.
Port details
lua-resty-session3 Lua session library for OpenResty / ngx_lua Version 3.x
3.10 wwwnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: baptiste@bapt.name search for ports maintained by this maintainer
Port Added: 2024-09-18 16:03:08
Last Update: 2024-09-23 09:38:34
Commit Hash: c3747a5
License: BSD2CLAUSE
WWW:
https://github.com/bungle/lua-resty-session
Description:
Lua session library for OpenResty / ngx_lua Features: - Sessions are immutable (each save generates a new session), and lockless. - Session data is AES-256-GCM encrypted with a key derived using HKDF-SHA256. - Session has a fixed size header that is protected with HMAC-SHA256 MAC with a key derived using HKDF-SHA256. - Session data can be stored in a stateless cookie or in various backend storages. - A single session cookie can maintain multiple sessions across different audiences.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (22 items)
Collapse this list.
  1. /usr/local/share/lua/5.1/resty/session.lua
  2. /usr/local/share/lua/5.1/resty/session/ciphers/aes.lua
  3. /usr/local/share/lua/5.1/resty/session/ciphers/none.lua
  4. /usr/local/share/lua/5.1/resty/session/compressors/none.lua
  5. /usr/local/share/lua/5.1/resty/session/compressors/zlib.lua
  6. /usr/local/share/lua/5.1/resty/session/encoders/base16.lua
  7. /usr/local/share/lua/5.1/resty/session/encoders/base64.lua
  8. /usr/local/share/lua/5.1/resty/session/encoders/hex.lua
  9. /usr/local/share/lua/5.1/resty/session/hmac/sha1.lua
  10. /usr/local/share/lua/5.1/resty/session/identifiers/random.lua
  11. /usr/local/share/lua/5.1/resty/session/serializers/json.lua
  12. /usr/local/share/lua/5.1/resty/session/storage/cookie.lua
  13. /usr/local/share/lua/5.1/resty/session/storage/dshm.lua
  14. /usr/local/share/lua/5.1/resty/session/storage/memcache.lua
  15. /usr/local/share/lua/5.1/resty/session/storage/memcached.lua
  16. /usr/local/share/lua/5.1/resty/session/storage/redis.lua
  17. /usr/local/share/lua/5.1/resty/session/storage/shm.lua
  18. /usr/local/share/lua/5.1/resty/session/strategies/default.lua
  19. /usr/local/share/lua/5.1/resty/session/strategies/regenerate.lua
  20. /usr/local/share/licenses/lua-resty-session3-3.10/catalog.mk
  21. /usr/local/share/licenses/lua-resty-session3-3.10/LICENSE
  22. /usr/local/share/licenses/lua-resty-session3-3.10/BSD2CLAUSE
Collapse this list.
Dependency lines:
  • lua-resty-session3>0:www/lua-resty-session3
Conflicts:
CONFLICTS_INSTALL:
  • lua-resty-session-4*
To install the port:
cd /usr/ports/www/lua-resty-session3/ && make install clean
To add the package, run one of these commands:
  • pkg install www/lua-resty-session3
  • pkg install lua-resty-session3
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: lua-resty-session3
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1725035042 SHA256 (bungle-lua-resty-session-v3.10_GH0.tar.gz) = 89ac564760d6a870b12f694dd23f123f8e2d5425c297bc10a8f1738528ec9bce SIZE (bungle-lua-resty-session-v3.10_GH0.tar.gz) = 32125

Packages (timestamps in pop-ups are UTC):
lua-resty-session3
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest3.103.10-3.103.10---
FreeBSD:13:quarterly3.103.10-3.103.10---
FreeBSD:14:latest3.103.10-3.103.10---
FreeBSD:14:quarterly3.103.10-3.103.10---
FreeBSD:15:latest3.103.10n/a3.10n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Runtime dependencies:
  1. luajit-openresty>=2.1 : lang/luajit-openresty
This port is required by:
for Run
  1. security/lua-resty-openidc

Configuration Options:
===> The following configuration options are available for lua-resty-session3-3.10: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name:
www_lua-resty-session3
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/bungle/lua-resty-session/tar.gz/v3.10?dummy=/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.10
23 Sep 2024 09:38:34
commit hash: c3747a51d7d4b149310444e1a3394fc1d0c2aaa8commit hash: c3747a51d7d4b149310444e1a3394fc1d0c2aaa8commit hash: c3747a51d7d4b149310444e1a3394fc1d0c2aaa8commit hash: c3747a51d7d4b149310444e1a3394fc1d0c2aaa8 files touched by this commit
Alexander Leidinger (netchild) search for other commits by this committer
www/lua-resty-session3: fix PKGBASE/PKGNAME

Noticed by:	portmgr (antoine)
3.10
18 Sep 2024 16:02:45
commit hash: dfd76d00018cdfd270368acba037c9811ebd8b51commit hash: dfd76d00018cdfd270368acba037c9811ebd8b51commit hash: dfd76d00018cdfd270368acba037c9811ebd8b51commit hash: dfd76d00018cdfd270368acba037c9811ebd8b51 files touched by this commit
Alexander Leidinger (netchild) search for other commits by this committer
Author: Baptiste Grenier
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

Number of commits found: 2