dev-perl/Bytes-Random-Secure: style tweaks

* IUSE+RESTRICT for test aren't needed w/ >= EAPI 8 in perl-module.eclass
* Move PATCHES to the end
* Add bug link to patch

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2026-07-18 08:29:03 +01:00
parent 7208e9e86f
commit 6cf91f545e
2 changed files with 10 additions and 7 deletions

View File

@@ -9,14 +9,10 @@ DIST_EXAMPLES=("examples/*")
inherit perl-module
DESCRIPTION="Extension to generate cryptographically-secure random bytes"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="minimal test"
RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}/Bytes-Random-Secure-0.290.0-CVE-2026-11625.patch"
)
IUSE="minimal"
RDEPEND="
dev-perl/Crypt-Random-Seed
@@ -24,7 +20,8 @@ RDEPEND="
dev-perl/Math-Random-ISAAC
>=virtual/perl-Scalar-List-Utils-1.210.0
"
BDEPEND="${RDEPEND}
BDEPEND="
${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.560.0
test? (
>=virtual/perl-Test-Simple-0.980.0
@@ -33,6 +30,7 @@ BDEPEND="${RDEPEND}
)
)
"
PERL_RM_FILES=(
t/00-boilerplate.t
t/01-manifest.t
@@ -44,3 +42,7 @@ PERL_RM_FILES=(
t/07-meta-json.t
t/09-changes.t
)
PATCHES=(
"${FILESDIR}/${PN}-0.290.0-CVE-2026-11625.patch"
)

View File

@@ -1,4 +1,5 @@
https://security.metacpan.org/patches/B/Bytes-Random-Secure/0.29/CVE-2026-11625-r1.patch
https://bugs.gentoo.org/979426
From: Robert Rothenberg <perl@rhizomnic.com>
Date: Thu, 25 Jun 2026 14:43:11 +0100