Bug 268039 - [NEW PORT] security/lua-argon2: Lua C binding for the Argon2 password hashing function
Summary: [NEW PORT] security/lua-argon2: Lua C binding for the Argon2 password hashing...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Vanilla I. Shu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-28 12:48 UTC by Manuel Wiesinger
Modified: 2023-01-09 03:21 UTC (History)
1 user (show)

See Also:


Attachments
lua-argon2.diff (3.62 KB, patch)
2022-11-28 12:48 UTC, Manuel Wiesinger
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Wiesinger 2022-11-28 12:48:53 UTC
Created attachment 238400 [details]
lua-argon2.diff

New port: security/lua-argon2

Lua C binding for the Argon2 password hashing function. Compatible with Lua 5.x and LuaJIT.

- portlint -AC 
- tested with Lua 5.2 and 5.4 on 13.1
- trivially patched to avoid gmake dependency
- build warnings (-Wvoid-pointer-to-enum-cast)
  - are caused by improper upstream code,
  - cannot be avoided without major refactoring,
  - do not affect functionality
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-01-09 03:20:58 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0eb692f7d06a6bad5631620c543e1f13226f7079

commit 0eb692f7d06a6bad5631620c543e1f13226f7079
Author:     Vanilla I. Shu <vanilla@FreeBSD.org>
AuthorDate: 2023-01-09 03:19:20 +0000
Commit:     Vanilla I. Shu <vanilla@FreeBSD.org>
CommitDate: 2023-01-09 03:19:20 +0000

    security/lua-argon2: New port

    Lua C binding for the Argon2 password hashing function. Compatible with Lua 5.x and LuaJIT.

    PR:             268039
    Reported by:    Manuel Wiesinger <manuel at mmap.at>

 security/Makefile                                  |  1 +
 security/lua-argon2/Makefile (new)                 | 26 ++++++++++++++++++++++
 security/lua-argon2/distinfo (new)                 |  3 +++
 security/lua-argon2/files/patch-Makefile (new)     | 22 ++++++++++++++++++
 security/lua-argon2/files/patch-src_argon2.c (new) | 10 +++++++++
 security/lua-argon2/pkg-descr (new)                |  2 ++
 6 files changed, 64 insertions(+)
Comment 2 Vanilla I. Shu freebsd_committer freebsd_triage 2023-01-09 03:21:38 UTC
Committed, thanks.