[gentoo-commits] repo/gentoo:master commit in: dev-libs/zxcvbn-c/
commit: 0b4a4862c6f750d3129c269419913ae6b51d54c9
Author: Sam James gentoo org>
AuthorDate: Wed Jul 9 14:32:02 2025 +
Commit: Sam James gentoo org>
CommitDate: Wed Jul 9 14:32:02 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b4a4862
dev-libs/zxcvbn-c: Stabilize 2.5 x86, #959668
Signed-off-by: Sam James gentoo.org>
dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
b/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
index a8fc3d7354c9..d900fd3f31ea 100644
--- a/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
+++ b/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
@@ -9,7 +9,7 @@
SRC_URI="https://github.com/tsyrogit/zxcvbn-c/archive/refs/tags/v${PV}.tar.gz ->
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv x86"
PATCHES=(
"${FILESDIR}"/${P}-libcxx-19.patch
[gentoo-commits] repo/gentoo:master commit in: dev-libs/zxcvbn-c/
commit: e8290bdd66231983047f8ce76626b6b404858afd
Author: Arthur Zamarin gentoo org>
AuthorDate: Fri Jul 4 20:41:03 2025 +
Commit: Arthur Zamarin gentoo org>
CommitDate: Fri Jul 4 20:41:03 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8290bdd
dev-libs/zxcvbn-c: Stabilize 2.5 arm64, #958981
Signed-off-by: Arthur Zamarin gentoo.org>
dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
b/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
index 0dea4508cfa9..a8fc3d7354c9 100644
--- a/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
+++ b/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
@@ -9,7 +9,7 @@
SRC_URI="https://github.com/tsyrogit/zxcvbn-c/archive/refs/tags/v${PV}.tar.gz ->
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv ~x86"
PATCHES=(
"${FILESDIR}"/${P}-libcxx-19.patch
[gentoo-commits] repo/gentoo:master commit in: dev-libs/zxcvbn-c/
commit: 0ff0f2e153a28f32a1d7ed0cf6cc19329e6a9a3e
Author: Arthur Zamarin gentoo org>
AuthorDate: Fri Jul 4 20:36:13 2025 +
Commit: Arthur Zamarin gentoo org>
CommitDate: Fri Jul 4 20:36:13 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ff0f2e1
dev-libs/zxcvbn-c: Stabilize 2.5 ppc64, #958981
Signed-off-by: Arthur Zamarin gentoo.org>
dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
b/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
index 805e51fb29be..0dea4508cfa9 100644
--- a/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
+++ b/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
@@ -9,7 +9,7 @@
SRC_URI="https://github.com/tsyrogit/zxcvbn-c/archive/refs/tags/v${PV}.tar.gz ->
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ppc64 ~riscv ~x86"
PATCHES=(
"${FILESDIR}"/${P}-libcxx-19.patch
[gentoo-commits] repo/gentoo:master commit in: dev-libs/zxcvbn-c/
commit: 37aec3fc0685b270c27de69d26f11e50371ecd00
Author: Sam James gentoo org>
AuthorDate: Fri Jul 4 20:11:11 2025 +
Commit: Sam James gentoo org>
CommitDate: Fri Jul 4 20:11:56 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37aec3fc
dev-libs/zxcvbn-c: Stabilize 2.5 amd64, #958981
Signed-off-by: Sam James gentoo.org>
dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
b/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
index 551d56ad3ca1..805e51fb29be 100644
--- a/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
+++ b/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
@@ -9,7 +9,7 @@
SRC_URI="https://github.com/tsyrogit/zxcvbn-c/archive/refs/tags/v${PV}.tar.gz ->
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
PATCHES=(
"${FILESDIR}"/${P}-libcxx-19.patch
[gentoo-commits] repo/gentoo:master commit in: dev-libs/zxcvbn-c/, dev-libs/zxcvbn-c/files/
commit: f65b34c5707a50465f0b5f0cd8d7dcaf3ecfdf57
Author: Andreas Sturmlechner gentoo org>
AuthorDate: Wed Jul 2 17:37:04 2025 +
Commit: Andreas Sturmlechner gentoo org>
CommitDate: Wed Jul 2 17:38:20 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f65b34c5
dev-libs/zxcvbn-c: Fix parallel build
Closes: https://bugs.gentoo.org/958271
Signed-off-by: Andreas Sturmlechner gentoo.org>
.../files/zxcvbn-c-2.5-parallel-build.patch| 33 ++
dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild | 1 +
2 files changed, 34 insertions(+)
diff --git a/dev-libs/zxcvbn-c/files/zxcvbn-c-2.5-parallel-build.patch
b/dev-libs/zxcvbn-c/files/zxcvbn-c-2.5-parallel-build.patch
new file mode 100644
index ..acea76b946e4
--- /dev/null
+++ b/dev-libs/zxcvbn-c/files/zxcvbn-c-2.5-parallel-build.patch
@@ -0,0 +1,33 @@
+From 2c454989547390c944d02823b751e8ff4a3963e5 Mon Sep 17 00:00:00 2001
+From: Pavel Seleznev
+Date: Wed, 19 Jun 2024 12:17:49 +0300
+Subject: [PATCH] fixed flaky build: in parallel mode the creation link
+ operation can be happen in two threads
+
+---
+ makefile | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/makefile b/makefile
+index 11ebe28..9ba626d 100644
+--- a/makefile
b/makefile
+@@ -79,8 +79,7 @@ test-c++file: test.c zxcvbn-c++file.o
+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) \
+ -DUSE_DICT_FILE -o test-c++file test.cpp zxcvbn-c++file.o
$(LDFLAGS) -lm
+
+-zxcvbn-c++file.o: zxcvbn.c dict-crc.h zxcvbn.h
+- if [ ! -e zxcvbn.cpp ]; then ln -s zxcvbn.c zxcvbn.cpp; fi
++zxcvbn-c++file.o: zxcvbn.c dict-crc.h zxcvbn.h zxcvbn-c++inline.o
+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) \
+ -DUSE_DICT_FILE -c -o zxcvbn-c++file.o zxcvbn.cpp
+
+@@ -102,7 +101,7 @@ test: test-internals test-file test-inline test-c++inline
test-c++file test-shli
+ @echo Finished
+
+ clean:
+- rm -f test-file zxcvbn-file.o test-c++file zxcvbn-c++file.o
++ rm -f test-file zxcvbn-file.o test-c++file zxcvbn-c++file.o
+ rm -f test-inline test-internals zxcvbn-inline.o zxcvbn-inline-pic.o
test-c++inline zxcvbn-c++inline.o
+ rm -f dict-*.h zxcvbn.dict zxcvbn.cpp test.cpp
+ rm -f dictgen
diff --git a/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
b/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
index 9e3d2d4f01b1..551d56ad3ca1 100644
--- a/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
+++ b/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
@@ -15,6 +15,7 @@ PATCHES=(
"${FILESDIR}"/${P}-libcxx-19.patch
"${FILESDIR}"/${P}-gcc15.patch
"${FILESDIR}"/${PN}-2.5-makefile-install.patch
+ "${FILESDIR}"/${PN}-2.5-parallel-build.patch # bug 958271
)
src_install() {
[gentoo-commits] repo/gentoo:master commit in: dev-libs/zxcvbn-c/
commit: e8a255fa269fdbe3d7ed8c41c158875a39177557
Author: WANG Xuerui gentoo org>
AuthorDate: Tue Jun 17 02:57:44 2025 +
Commit: WANG Xuerui gentoo org>
CommitDate: Tue Jun 17 03:28:57 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8a255fa
dev-libs/zxcvbn-c: keyword 2.5 for ~loong, #957541
Signed-off-by: WANG Xuerui gentoo.org>
dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
b/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
index d75f3712753b..9e3d2d4f01b1 100644
--- a/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
+++ b/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
@@ -9,7 +9,7 @@
SRC_URI="https://github.com/tsyrogit/zxcvbn-c/archive/refs/tags/v${PV}.tar.gz ->
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
PATCHES=(
"${FILESDIR}"/${P}-libcxx-19.patch
[gentoo-commits] repo/gentoo:master commit in: dev-libs/zxcvbn-c/, dev-libs/zxcvbn-c/files/
commit: 4021747e65be67196d2d9258a22aedb7bbf78ee0
Author: Alfred Wingate protonmail com>
AuthorDate: Sun Jun 15 11:19:36 2025 +
Commit: Sam James gentoo org>
CommitDate: Sun Jun 15 22:28:52 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4021747e
dev-libs/zxcvbn-c: libcxx-19 fix
Use upstream patch for gcc-15 so that both apply cleanly.
Closes: https://bugs.gentoo.org/958181
Signed-off-by: Alfred Wingate protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42603
Closes: https://github.com/gentoo/gentoo/pull/42603
Signed-off-by: Sam James gentoo.org>
dev-libs/zxcvbn-c/files/zxcvbn-c-2.5-gcc15.patch | 11 +++-
.../zxcvbn-c/files/zxcvbn-c-2.5-libcxx-19.patch| 67 ++
dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild | 1 +
3 files changed, 77 insertions(+), 2 deletions(-)
diff --git a/dev-libs/zxcvbn-c/files/zxcvbn-c-2.5-gcc15.patch
b/dev-libs/zxcvbn-c/files/zxcvbn-c-2.5-gcc15.patch
index f57969f78cfb..a38dea5867f7 100644
--- a/dev-libs/zxcvbn-c/files/zxcvbn-c-2.5-gcc15.patch
+++ b/dev-libs/zxcvbn-c/files/zxcvbn-c-2.5-gcc15.patch
@@ -1,13 +1,20 @@
https://bugs.gentoo.org/957161
https://github.com/tsyrogit/zxcvbn-c/commit/b9f30993c88d9057d7d95a1b059989f7853fd1b0
https://src.fedoraproject.org/rpms/zxcvbn-c/blob/rawhide/f/gcc15-c++23_fix.patch
+https://github.com/tsyrogit/zxcvbn-c/pull/34
+From b9f30993c88d9057d7d95a1b059989f7853fd1b0 Mon Sep 17 00:00:00 2001
+From: Mattia Verga
+Date: Mon, 20 Jan 2025 09:04:12 +0100
+Subject: [PATCH] Fix for GCC15/c++23
+
+GCC 15 default standard is C++23. This include is needed to build zxcvbn with
that language level.
--- a/dict-generate.cpp
+++ b/dict-generate.cpp
-@@ -22,6 +22,7 @@
- *
+@@ -23,6 +23,7 @@
**/
+ #include
+#include
#include
#include
diff --git a/dev-libs/zxcvbn-c/files/zxcvbn-c-2.5-libcxx-19.patch
b/dev-libs/zxcvbn-c/files/zxcvbn-c-2.5-libcxx-19.patch
new file mode 100644
index ..818d1094365e
--- /dev/null
+++ b/dev-libs/zxcvbn-c/files/zxcvbn-c-2.5-libcxx-19.patch
@@ -0,0 +1,67 @@
+https://bugs.gentoo.org/958181
+https://github.com/tsyrogit/zxcvbn-c/issues/35
+https://github.com/tsyrogit/zxcvbn-c/pull/31
+
+From 92c6ea875231876ca264187326ce2d615d5ad543 Mon Sep 17 00:00:00 2001
+From: Stephan Bergmann
+Date: Tue, 6 Feb 2024 13:14:08 +0100
+Subject: [PATCH] There is no std::basic_string
+
+...and at least LLVM 19 trunk libc++ complains about it now since
+ "[libc++] Remove deprecated
+char_traits base template (#72694)" with
+
+> In file included from dict-generate.cpp:25:
+> In file included from ~/llvm/inst/bin/../include/c++/v1/iostream:43:
+> In file included from ~/llvm/inst/bin/../include/c++/v1/ios:223:
+> In file included from ~/llvm/inst/bin/../include/c++/v1/__locale:24:
+> ~/llvm/inst/bin/../include/c++/v1/string:746:43: error: implicit
instantiation of undefined template 'std::char_traits'
+> 746 | static_assert((is_same<_CharT, typename
traits_type::char_type>::value),
+> | ^
+> dict-generate.cpp:861:18: note: in instantiation of template class
'std::basic_string' requested here
+> 861 | StringOfInts Chld;
+> | ^
+> ~/llvm/inst/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is
declared here
+>23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
+> | ^
+
+etc., so use a std::vector instead
+--- a/dict-generate.cpp
b/dict-generate.cpp
+@@ -22,6 +22,7 @@
+ *
+
**/
+
++#include
+ #include
+ #include
+ #include
+@@ -387,7 +388,7 @@ typedef map EntryMap_t;
+ typedef list StringList_t;
+ typedef list NodeList_t;
+ typedef set StringIntSet_t;
+-typedef basic_string StringOfInts;
++typedef vector StringOfInts;
+ typedef vector UintVect;
+ typedef vector Uint64Vect;
+ typedef vector StrIntPtrVect_t;
+@@ -864,15 +865,14 @@ void CreateArrays(NodeSPtr Root, StringIntSet_t &
StrSet, StringOfInts & ChildAd
+ for(Itc = Root->ChildBegin(); Itc != Root->ChildEnd(); ++Itc)
+ {
+ int i = Itc->second->GetAddr();
+-Chld += i;
++Chld.push_back(i);
+ }
+ // Find where in pointer array the child pointer string is
+-StringOfInts::size_type x = ChildAddrs.find(Chld);
+-if (x == StringOfInts::npos)
++StringOfInts::size_type x = search(ChildAddrs.begin(), ChildAddrs.end(),
Chld.begin(), Chld.end()) - ChildAddrs.begin();
++if (x == ChildAddrs.size())
+ {
+ // Not found, add it
+-x = ChildAddrs.length();
+-ChildAddrs += Chld;
++ChildAddrs.insert(ChildAddrs.end(), Chld.begin(), Chld.end());
+ }
+ // Val will contain the final node data
+ uint64_t Val = Its->i;
diff --git a/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
b/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebui
[gentoo-commits] repo/gentoo:master commit in: dev-libs/zxcvbn-c/
commit: e3d62f825649bb87bba59a27969cccab177b4c75
Author: Sam James gentoo org>
AuthorDate: Thu Jun 12 07:43:44 2025 +
Commit: Sam James gentoo org>
CommitDate: Thu Jun 12 07:44:06 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3d62f82
dev-libs/zxcvbn-c: Keyword 2.5 riscv, #957541
Signed-off-by: Sam James gentoo.org>
dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
b/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
index 7d9049f22780..0e348105deb5 100644
--- a/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
+++ b/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
@@ -9,7 +9,7 @@
SRC_URI="https://github.com/tsyrogit/zxcvbn-c/archive/refs/tags/v${PV}.tar.gz ->
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv"
PATCHES=(
"${FILESDIR}"/${P}-gcc15.patch
[gentoo-commits] repo/gentoo:master commit in: dev-libs/zxcvbn-c/
commit: ba23f97a9a3e40daf796103b75cd0e01ea341141
Author: Sam James gentoo org>
AuthorDate: Thu Jun 12 07:43:48 2025 +
Commit: Sam James gentoo org>
CommitDate: Thu Jun 12 07:44:07 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba23f97a
dev-libs/zxcvbn-c: Keyword 2.5 x86, #957541
Signed-off-by: Sam James gentoo.org>
dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
b/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
index 0e348105deb5..4c3410735202 100644
--- a/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
+++ b/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
@@ -9,7 +9,7 @@
SRC_URI="https://github.com/tsyrogit/zxcvbn-c/archive/refs/tags/v${PV}.tar.gz ->
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
PATCHES=(
"${FILESDIR}"/${P}-gcc15.patch
[gentoo-commits] repo/gentoo:master commit in: dev-libs/zxcvbn-c/
commit: 0d1e6e79efa129eada78b7f3489760771fa12096
Author: Sam James gentoo org>
AuthorDate: Thu Jun 12 07:43:40 2025 +
Commit: Sam James gentoo org>
CommitDate: Thu Jun 12 07:44:05 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d1e6e79
dev-libs/zxcvbn-c: Keyword 2.5 ppc64, #957541
Signed-off-by: Sam James gentoo.org>
dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
b/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
index c95e5cccd747..7d9049f22780 100644
--- a/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
+++ b/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
@@ -9,7 +9,7 @@
SRC_URI="https://github.com/tsyrogit/zxcvbn-c/archive/refs/tags/v${PV}.tar.gz ->
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64"
PATCHES=(
"${FILESDIR}"/${P}-gcc15.patch
[gentoo-commits] repo/gentoo:master commit in: dev-libs/zxcvbn-c/
commit: cb8c449ab97ada8eb0ec572ea9c559ecf47eb75f
Author: Sam James gentoo org>
AuthorDate: Sun Jun 8 01:06:08 2025 +
Commit: Sam James gentoo org>
CommitDate: Sun Jun 8 01:06:08 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb8c449a
dev-libs/zxcvbn-c: Keyword 2.5 arm, #957541
Signed-off-by: Sam James gentoo.org>
dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
b/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
index 30116a977b3c..c9980cdd5f28 100644
--- a/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
+++ b/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
@@ -9,7 +9,7 @@
SRC_URI="https://github.com/tsyrogit/zxcvbn-c/archive/refs/tags/v${PV}.tar.gz ->
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm"
PATCHES=(
"${FILESDIR}"/${P}-gcc15.patch
[gentoo-commits] repo/gentoo:master commit in: dev-libs/zxcvbn-c/
commit: 466bac5f6ef067a0cb56d2dfa5226d5bed4b8dfd
Author: Sam James gentoo org>
AuthorDate: Sun Jun 8 01:06:09 2025 +
Commit: Sam James gentoo org>
CommitDate: Sun Jun 8 01:06:09 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=466bac5f
dev-libs/zxcvbn-c: Keyword 2.5 arm64, #957541
Signed-off-by: Sam James gentoo.org>
dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
b/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
index c9980cdd5f28..c95e5cccd747 100644
--- a/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
+++ b/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild
@@ -9,7 +9,7 @@
SRC_URI="https://github.com/tsyrogit/zxcvbn-c/archive/refs/tags/v${PV}.tar.gz ->
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm"
+KEYWORDS="~amd64 ~arm ~arm64"
PATCHES=(
"${FILESDIR}"/${P}-gcc15.patch
[gentoo-commits] repo/gentoo:master commit in: dev-libs/zxcvbn-c/, dev-libs/zxcvbn-c/files/
commit: 6c78230a2d18b16890c2389533bf45e489a797fd Author: Sam James gentoo org> AuthorDate: Sun Jun 8 00:02:21 2025 + Commit: Sam James gentoo org> CommitDate: Sun Jun 8 00:03:18 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c78230a dev-libs/zxcvbn-c: new package, add 2.5 I considered blessing it with LO's keywords but I'd like the testsuite to be run once for each arch instead (which is part of why I love unbundling). Bug: https://bugs.gentoo.org/957161 Closes: https://bugs.gentoo.org/916961 Signed-off-by: Sam James gentoo.org> dev-libs/zxcvbn-c/Manifest | 1 + dev-libs/zxcvbn-c/files/zxcvbn-c-2.5-gcc15.patch | 14 ++ .../files/zxcvbn-c-2.5-makefile-install.patch | 30 ++ dev-libs/zxcvbn-c/metadata.xml | 11 dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild | 22 5 files changed, 78 insertions(+) diff --git a/dev-libs/zxcvbn-c/Manifest b/dev-libs/zxcvbn-c/Manifest new file mode 100644 index ..d338281e13c8 --- /dev/null +++ b/dev-libs/zxcvbn-c/Manifest @@ -0,0 +1 @@ +DIST zxcvbn-c-2.5.gh.tar.gz 1404434 BLAKE2B f0f22fc8643f785e8f9ed42033d6654c2e67aa4e258bbc4fecf533efcf8b86b6d7e67f9042326247c311c42a4e2b24b844e0bae65cdb2e46ea043a2974ffd857 SHA512 d7199b3cc36cd0e401bd8f857132425908307aefcdb1bb635ee81c34cf71ccbcdf0fe36a336a55da1281692b508881b54773afa41379a448863095f4abd5c0e8 diff --git a/dev-libs/zxcvbn-c/files/zxcvbn-c-2.5-gcc15.patch b/dev-libs/zxcvbn-c/files/zxcvbn-c-2.5-gcc15.patch new file mode 100644 index ..f57969f78cfb --- /dev/null +++ b/dev-libs/zxcvbn-c/files/zxcvbn-c-2.5-gcc15.patch @@ -0,0 +1,14 @@ +https://bugs.gentoo.org/957161 +https://github.com/tsyrogit/zxcvbn-c/commit/b9f30993c88d9057d7d95a1b059989f7853fd1b0 +https://src.fedoraproject.org/rpms/zxcvbn-c/blob/rawhide/f/gcc15-c++23_fix.patch + +--- a/dict-generate.cpp b/dict-generate.cpp +@@ -22,6 +22,7 @@ + * + **/ + ++#include + #include + #include + #include diff --git a/dev-libs/zxcvbn-c/files/zxcvbn-c-2.5-makefile-install.patch b/dev-libs/zxcvbn-c/files/zxcvbn-c-2.5-makefile-install.patch new file mode 100644 index ..a45138e6f3f4 --- /dev/null +++ b/dev-libs/zxcvbn-c/files/zxcvbn-c-2.5-makefile-install.patch @@ -0,0 +1,30 @@ +Based on rpm/libzxcvbn-2.4-makefile-install.patch in the upstream repo. +--- a/makefile b/makefile +@@ -13,6 +13,8 @@ CPPFLAGS += -I. + TARGET_LIB = libzxcvbn.so.0.0.0 + SONAME = libzxcvbn.so.0 + ++LIBDIR := $(or $(LIBDIR),$(/usr/lib)) ++ + WORDS = words-eng_wiki.txt words-female.txt words-male.txt words-passwd.txt words-surname.txt words-tv_film.txt + + all: test-file test-inline test-c++inline test-c++file test-shlib test-statlib test-internals +@@ -101,6 +103,17 @@ test: test-internals test-file test-inline test-c++inline test-c++file test-shli + ./test-c++inline -t testcases.txt + @echo Finished + ++package: $(TARGET_LIB) libzxcvbn.a dict-crc.h dict-src.h ++ ++install: package ++ mkdir -p $(DESTDIR)/usr/include/zxcvbn $(DESTDIR)/usr/share/zxcvbn $(DESTDIR)/usr/bin $(DESTDIR)$(LIBDIR) ++ install -m 0644 *.h $(DESTDIR)/usr/include/zxcvbn ++ install -m 0644 $(TARGET_LIB) libzxcvbn.a $(DESTDIR)$(LIBDIR) ++ ln -s $(TARGET_LIB) $(DESTDIR)$(LIBDIR)/$(SONAME) ++ ln -s $(SONAME) $(basename $(DESTDIR)$(LIBDIR)/$(SONAME)) ++ install -m 0755 dictgen $(DESTDIR)/usr/bin/zxcvbn-dictgen ++ install -m 0644 zxcvbn.dict $(DESTDIR)/usr/share/zxcvbn ++ + clean: + rm -f test-file zxcvbn-file.o test-c++file zxcvbn-c++file.o + rm -f test-inline test-internals zxcvbn-inline.o zxcvbn-inline-pic.o test-c++inline zxcvbn-c++inline.o diff --git a/dev-libs/zxcvbn-c/metadata.xml b/dev-libs/zxcvbn-c/metadata.xml new file mode 100644 index ..46af6cef0a27 --- /dev/null +++ b/dev-libs/zxcvbn-c/metadata.xml @@ -0,0 +1,11 @@ + +https://www.gentoo.org/dtd/metadata.dtd";> + + + [email protected] + Gentoo Office project + + + tsyrogit/zxcvbn-c + + diff --git a/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild b/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild new file mode 100644 index ..30116a977b3c --- /dev/null +++ b/dev-libs/zxcvbn-c/zxcvbn-c-2.5.ebuild @@ -0,0 +1,22 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="C/C++ version of the zxcvbn password strength estimator" +HOMEPAGE="https://github.com/tsyrogit/zxcvbn-c"; +SRC_URI="https://github.com/tsyrogit/zxcvbn-c/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +PATCHES=( + "${FILESDIR}"/${P}-gcc15.patch + "${FILESDIR}"/${PN}-2.5-makefile-install.patch +) + +src_install() { + emake DESTDIR="${ED}" LIBDIR="/usr/
