public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Crypt-DES] rawhide: Update to 2.09 (rhbz#2513719)
@ 2026-08-11 10:38 Paul Howarth
  0 siblings, 0 replies; only message in thread
From: Paul Howarth @ 2026-08-11 10:38 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/perl-Crypt-DES
            Branch : rawhide
            Commit : 4312bbd1fdd0d42bf496f864ec992d5f5839dd7f
            Author : Paul Howarth <paul@city-fan.org>
            Date   : 2026-08-11T11:32:53+01:00
            Stats  : +16/-39 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/perl-Crypt-DES/c/4312bbd1fdd0d42bf496f864ec992d5f5839dd7f?branch=rawhide

            Log:
            Update to 2.09 (rhbz#2513719)

- New upstream release 2.09
  - New maintainer (TIMLEGGE)
  - Fix failure to build on newer GCC with implicit-function-declaration
    (CPAN RT#133363, CPAN RT#133412)
  - Add Security Policy (DES is insecure)
  - Add a Security Considerations section to the pod
  - Minor packaging updates
  - Clarify module recommendations
  - Add a Changes file
  - Move new Module::Whatever to Module::Whatever->new() in pod and tests

---
diff --git a/perl-Crypt-DES-fedora-c99.patch b/perl-Crypt-DES-fedora-c99.patch
deleted file mode 100644
index b3f3474..0000000
--- a/perl-Crypt-DES-fedora-c99.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff -rup a/DES.xs b/DES.xs
---- a/DES.xs	2013-07-23 11:23:00.000000000 -0400
-+++ b/DES.xs	2023-03-15 15:50:47.568400586 -0400
-@@ -36,7 +36,7 @@ _des_expand_key(key)
- 		if (key_len != sizeof(des_user_key))
- 			croak("Invalid key");
- 
--		perl_des_expand_key((i8 *)key, ks);
-+		perl_des_expand_key((unsigned char *)key, ks);
- 
- 		ST(0) = sv_2mortal(newSVpv((char *)ks, sizeof(ks)));
- 	}
-@@ -66,7 +66,8 @@ _des_crypt(input, output, ks, enc_flag)
- 
- 		(SvUPGRADE(output, SVt_PV));
- 
--		perl_des_crypt(input, SvGROW(output, output_len), (i32 *)ks, enc_flag);
-+		perl_des_crypt((unsigned char *)input, (unsigned char *)SvGROW(output, output_len),
-+			       (unsigned long *)ks, enc_flag);
- 
- 		SvCUR_set(output, output_len);
- 		*SvEND(output) = '\0';
-diff -rup a/_des.h b/_des.h
---- a/_des.h	2005-12-08 10:53:47.000000000 -0500
-+++ b/_des.h	2023-03-13 21:37:53.334642006 -0400
-@@ -5,3 +5,5 @@ typedef unsigned long des_ks[32];
- void _des_crypt( des_cblock in, des_cblock out, des_ks key, int encrypt );
- void _des_expand_key( des_user_key userKey, des_ks key );
- 
-+void perl_des_expand_key(des_user_key userKey, des_ks ks);
-+void perl_des_crypt( des_cblock input, des_cblock output, des_ks ks, int encrypt );

diff --git a/perl-Crypt-DES.spec b/perl-Crypt-DES.spec
index 1c4abff..6b955f3 100644
--- a/perl-Crypt-DES.spec
+++ b/perl-Crypt-DES.spec
@@ -6,14 +6,13 @@
 %endif
 
 Name:           perl-Crypt-DES
-Version:        2.07
-Release:        45%{?dist}
+Version:        2.09
+Release:        1%{?dist}
 Summary:        Perl DES encryption module
 License:        BSD-Systemics
 URL:            https://metacpan.org/release/Crypt-DES
 Source0:        https://cpan.metacpan.org/modules/by-module/Crypt/Crypt-DES-%{version}.tar.gz
 Patch0:         perl-Crypt-DES-init-braces.patch
-Patch99:        perl-Crypt-DES-fedora-c99.patch
 # Build
 BuildRequires:  coreutils
 BuildRequires:  findutils
@@ -48,9 +47,6 @@ DES encryption module. The module implements the Crypt::CBC interface.
 # Fix "warning: missing braces around initializer [-Wmissing-braces]"
 %patch -P 0
 
-# Fix C99 compatibility (CPAN RT#133363)
-%patch -P 99 -p1
-
 %build
 perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{optflags}"
 %{make_build}
@@ -65,12 +61,24 @@ make test
 
 %files
 %license COPYRIGHT
-%doc README
+%doc Changes README SECURITY.md
 %{perl_vendorarch}/auto/Crypt/
 %{perl_vendorarch}/Crypt/
 %{_mandir}/man3/Crypt::DES.3*
 
 %changelog
+* Tue Aug 11 2026 Paul Howarth <paul@city-fan.org> - 2.09-1
+- Update to 2.09 (rhbz#2513719)
+  - New maintainer (TIMLEGGE)
+  - Fix failure to build on newer GCC with implicit-function-declaration
+    (CPAN RT#133363, CPAN RT#133412)
+  - Add Security Policy (DES is insecure)
+  - Add a Security Considerations section to the pod
+  - Minor packaging updates
+  - Clarify module recommendations
+  - Add a Changes file
+  - Move new Module::Whatever to Module::Whatever->new() in pod and tests
+
 * Wed Jul 22 2026 Jitka Plesnikova <jplesnik@redhat.com> - 2.07-45
 - Perl 5.44 rebuild
 

diff --git a/sources b/sources
index 9b98256..779ad02 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e845d24cf383ca4a30a3380a2735feac  Crypt-DES-2.07.tar.gz
+SHA512 (Crypt-DES-2.09.tar.gz) = a2f699d38adab350e6297de5cdd5f22544543f9be4558a0cab310712bcaf41b11cfc4954881faa910a687f94771dc81cb396f02b7e381be499bd28fc4ebdfdf8

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-11 10:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-11 10:38 [rpms/perl-Crypt-DES] rawhide: Update to 2.09 (rhbz#2513719) Paul Howarth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox