diff mbox series

[bug#61821] gnu: perl-encode: Update to 3.19.

Message ID 8cce3c1f20480065e4a901dbc6aa0410a0203703.1677436115.git.mirai@makinata.eu
State New
Headers show
Series [bug#61821] gnu: perl-encode: Update to 3.19. | expand

Commit Message

Bruno Victal Feb. 26, 2023, 6:29 p.m. UTC
* gnu/packages/perl.scm (perl-encode): Update to 3.19.
(propagated-inputs): Remove.
---

Fixes CVE-2021-36770.

 gnu/packages/perl.scm | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

Comments

Tobias Geerinckx-Rice Feb. 26, 2023, 10:01 p.m. UTC | #1
Bruno,

Bruno Victal 写道:
> * gnu/packages/perl.scm (perl-encode): Update to 3.19.

Thanks!  Pushed as 6bae14f61479f04a40fee44b1d1d89a33d9e93c0. 
Rebase your thing.

> (propagated-inputs): Remove.

Detail: [], not (), for fields.

> Fixes CVE-2021-36770.

As a rule, we put this right in the commit title, like so:

  gnu: perl-encode: Update to 3.19 [fixes CVE-2021-36770].

When there's no assigned CVE (or TROVE, or…) identifier:

  gnu: perl-encode: Update to 3.19 [security fixes].

We also use the latter format when there are too many CVEs to list 
in the title — insert joke about your ‘favourite’ project — and 
list them all in the commit message.

Kind regards,

T G-R
diff mbox series

Patch

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 7b97e7adfa..41b68baea8 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -4144,17 +4144,15 @@  (define-public perl-dynaloader-functions
 (define-public perl-encode
   (package
     (name "perl-encode")
-    (version "3.10")
+    (version "3.19")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "mirror://cpan/authors/id/D/DA/DANKOGAI/"
                            "Encode-" version ".tar.gz"))
        (sha256
-        (base32 "1a8rwcrxxhq81jcdvdwns05c65jwr5r6bxvby6vdcr3ny5m91my2"))))
+        (base32 "1x9f0naqskv9v7dif480vrzfmn8zhvq9g0w3r164v7pnxr4ghqwi"))))
     (build-system perl-build-system)
-    (propagated-inputs
-     (list perl-exporter perl-storable perl-parent))
     (home-page "https://metacpan.org/dist/Encode")
     (synopsis "Character encodings in Perl")
     (description "Encode module provides the interface between Perl strings and