Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916961 - dev-libs/zxcvbn-c: New package request - required by app-office/libreoffice
Summary: dev-libs/zxcvbn-c: New package request - required by app-office/libreoffice
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Default Assignee for New Packages
URL: https://github.com/tsyrogit/zxcvbn-c
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-06 12:41 UTC by jospezial
Modified: 2024-09-04 22:18 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2023-11-06 12:41:49 UTC
https://github.com/LibreOffice/core/commit/3d5cafbe1727a95a54eb4a65d98d6d79ec46f0c8
"tdf#157518: external: bundle zxcvbn-c

Integrates zxcvbn-c as a static library.

zxcvbn-c is C/C++ implementation of
https://dropbox.tech/security/zxcvbn-realistic-password-strength-estimation.

This is the first step for introducing a password strength
meter.
..."

Please add "${ADDONS_URI}/zxcvbn-c-2.5.tar.gz" to ADDONS_SRC
Comment 1 jospezial 2023-11-07 02:11:45 UTC
https://github.com/LibreOffice/core/commit/82a955498bf1e0d4ca7a582425bd30866ca7eb75
"add --with-system-zxcvbn"

Until we get an ebuild for zxcvbn-c we have to set:
--without-system-zxcvbn
Comment 2 jospezial 2024-01-27 01:18:22 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4949fc045c7805aeb1c1f87fa81a6ac26022013
"app-office/libreoffice: update 9999 dependencies"

"${ADDONS_URI}/zxcvbn-c-2.5.tar.gz" line was added together with --without-system-zxcvbn

Do we wanna add an ebuild for it?
https://github.com/tsyrogit/zxcvbn-c
Comment 3 Andreas Sturmlechner gentoo-dev 2024-01-28 10:07:49 UTC
"This is a C/C++ implementation of the zxcvbn password strength estimation.

The code is intended to be included as part of the source of a C/C++ program. Like the original this code is for character sets which use single byte characters primarily in the code range 0x20 to 0x7E."
Comment 4 Eli Schwartz gentoo-dev 2024-09-04 22:18:09 UTC
(In reply to Andreas Sturmlechner from comment #3)
> "This is a C/C++ implementation of the zxcvbn password strength estimation.
> 
> The code is intended to be included as part of the source of a C/C++
> program. Like the original this code is for character sets which use single
> byte characters primarily in the code range 0x20 to 0x7E."

That's a bit of an odd objection if you ask me, since the project comes with build rules to compile a shared library and even comes with an rpm spec file in its own sources to install the project as an rpm package...

... complete with a patch file rpm/libzxcvbn-2.4-makefile-install.patch adding a `make install` rule. (No comment, lol.)