public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Emmanuel Seyman <emmanuel@seyman.fr>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-GD-SecurityImage] rawhide: use Crypt::URandom::MonkeyPatch to override built-in rand
Date: Sun, 11 Oct 2026 13:19:15 GMT	[thread overview]
Message-ID: <179172475532.1.13932721275017194545.rpms-perl-GD-SecurityImage-28efe2148215@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/perl-GD-SecurityImage
Branch : rawhide
Commit : 28efe214821506cf1721bb0715b80933c01975ee
Author : Emmanuel Seyman <emmanuel@seyman.fr>
Date   : 2026-10-11T15:19:07+02:00
Stats  : +11/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-GD-SecurityImage/c/28efe214821506cf1721bb0715b80933c01975ee?branch=rawhide

Log:
use Crypt::URandom::MonkeyPatch to override built-in rand

---
diff --git a/perl-GD-SecurityImage.spec b/perl-GD-SecurityImage.spec
index 3ce44d5..4a788aa 100644
--- a/perl-GD-SecurityImage.spec
+++ b/perl-GD-SecurityImage.spec
@@ -1,12 +1,12 @@
 Name:           perl-GD-SecurityImage
 Version:        1.75
-Release:        23%{?dist}
+Release:        24%{?dist}
 Summary:        Security image (captcha) generator
-# Automatically converted from old format: GPL+ or Artistic - review is highly recommended.
 License:        GPL-1.0-or-later OR Artistic-1.0-Perl
 
-URL:            https://metacpan.org/release/GD-SecurityImage
+URL:            https://metacpan.org/dist/GD-SecurityImage
 Source0:        https://cpan.metacpan.org/authors/id/B/BU/BURAK/GD-SecurityImage-%{version}.tar.gz
+Patch0:         CVE-2026-13082-r1.patch
 BuildArch:      noarch
 # build requirements
 BuildRequires:  glibc-common
@@ -16,6 +16,7 @@ BuildRequires:  perl-generators
 BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
 # runtime requirements
 BuildRequires:  perl(Carp)
+BuildRequires:  perl(Crypt::URandom::MonkeyPatch)
 BuildRequires:  perl(GD) >= 2.45
 BuildRequires:  perl(Image::Magick) >= 6.66
 BuildRequires:  perl(Math::Trig)
@@ -46,13 +47,14 @@ gives you a basic interface to create such an image.
 
 %prep
 %setup -q -n GD-SecurityImage-%{version}
+%patch -P 0 -p1
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
-make %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
+%{make_build}
 
 %install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
+%{make_install}
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
@@ -65,6 +67,9 @@ AUTHOR_TESTING=1 RELEASE_TESTING=1 make test
 %{_mandir}/man3/GD*
 
 %changelog
+* Sun Oct 11 2026 Emmanuel Seyman <emmanuel@seyman.fr> - 1.75-24
+- use Crypt::URandom::MonkeyPatch to override built-in rand (CVE-2026-13082)
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.75-23
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

                 reply	other threads:[~2026-10-11 13:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179172475532.1.13932721275017194545.rpms-perl-GD-SecurityImage-28efe2148215@fedoraproject.org \
    --to=emmanuel@seyman.fr \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox