Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Crypt-OpenSSL-RSA for 
openSUSE:Factory checked in at 2021-10-20 20:22:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Crypt-OpenSSL-RSA (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Crypt-OpenSSL-RSA.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Crypt-OpenSSL-RSA"

Wed Oct 20 20:22:48 2021 rev:22 rq:924833 version:0.32

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.changes
    2018-10-15 10:05:38.945909774 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Crypt-OpenSSL-RSA.new.1890/perl-Crypt-OpenSSL-RSA.changes
  2021-10-20 20:23:05.465333882 +0200
@@ -1,0 +2,14 @@
+Thu Oct  7 17:40:02 UTC 2021 - Pedro Monreal <[email protected]>
+
+- updated to 0.32
+   see /usr/share/doc/packages/perl-Crypt-OpenSSL-RSA/Changes
+
+  0.32 Wed Sep 8 2021
+      - Prefix internal bn2sv function so it doesn't collide with Net::SSLeay
+      - Ensure that verify() leaves openssl error stack clean on failure
+      - Fixed broken SEE ALSO links.
+      - prevent outer $SIG{__DIE__} handler from being called during optional 
require.
+      - omit done_testing since it does not work for older perl versions
+  * Rebase Crypt-OpenSSL-RSA.patch
+
+-------------------------------------------------------------------

Old:
----
  Crypt-OpenSSL-RSA-0.31.tar.gz

New:
----
  Crypt-OpenSSL-RSA-0.32.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Crypt-OpenSSL-RSA.spec ++++++
--- /var/tmp/diff_new_pack.j8xYKR/_old  2021-10-20 20:23:05.981334200 +0200
+++ /var/tmp/diff_new_pack.j8xYKR/_new  2021-10-20 20:23:05.985334202 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Crypt-OpenSSL-RSA
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,18 +16,16 @@
 #
 
 
+%define cpan_name Crypt-OpenSSL-RSA
 Name:           perl-Crypt-OpenSSL-RSA
-Version:        0.31
+Version:        0.32
 Release:        0
-%define cpan_name Crypt-OpenSSL-RSA
 Summary:        RSA encoding and decoding, using the openSSL libraries
 License:        Artistic-1.0 OR GPL-1.0-or-later
-Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/Crypt-OpenSSL-RSA/
+URL:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/T/TO/TODDR/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
-Patch0:         %{cpan_name}.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Patch0:         Crypt-OpenSSL-RSA.patch
 BuildRequires:  openssl-devel
 BuildRequires:  perl
 BuildRequires:  perl-macros
@@ -48,12 +46,11 @@
 documented) behavior is no longer the case.
 
 %prep
-%setup -q -n %{cpan_name}-%{version}
-%patch0
+%autosetup -n %{cpan_name}-%{version}
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
-make %{?_smp_mflags}
+%make_build
 
 %check
 make test
@@ -64,7 +61,6 @@
 %perl_gen_filelist
 
 %files -f %{name}.files
-%defattr(-,root,root,755)
 %doc Changes README README.md
 %license LICENSE
 

++++++ Crypt-OpenSSL-RSA-0.31.tar.gz -> Crypt-OpenSSL-RSA-0.32.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Crypt-OpenSSL-RSA-0.31/Changes 
new/Crypt-OpenSSL-RSA-0.32/Changes
--- old/Crypt-OpenSSL-RSA-0.31/Changes  2018-09-24 19:28:11.000000000 +0200
+++ new/Crypt-OpenSSL-RSA-0.32/Changes  2021-09-08 17:49:07.000000000 +0200
@@ -1,5 +1,12 @@
 Revision history for Perl extension Crypt::OpenSSL::RSA.
 
+0.32 Wed Sep 8 2021
+    - Prefix internal bn2sv function so it doesn't collide with Net::SSLeay
+    - Ensure that verify() leaves openssl error stack clean on failure
+    - Fixed broken SEE ALSO links.
+    - prevent outer $SIG{__DIE__} handler from being called during optional 
require.
+    - omit done_testing since it does not work for older perl versions
+
 0.31 Mon Sep 24 2018
     - Remove default of SHA256 for RSA keys. This has caused significant
       problems with downstream modules and it has always been possible to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Crypt-OpenSSL-RSA-0.31/MANIFEST 
new/Crypt-OpenSSL-RSA-0.32/MANIFEST
--- old/Crypt-OpenSSL-RSA-0.31/MANIFEST 2018-09-24 19:21:49.000000000 +0200
+++ new/Crypt-OpenSSL-RSA-0.32/MANIFEST 2021-09-08 17:49:08.000000000 +0200
@@ -4,18 +4,20 @@
 Makefile.PL
 MANIFEST
 MANIFEST.SKIP
-META.json
-META.yml
 README
 README.md
 RSA.pm
 RSA.xs
 t/bignum.t
+t/fakelib/Crypt/OpenSSL/Bignum.pm
 t/format.t
 t/rsa.t
+t/sig_die.t
 t/z_kwalitee.t
 t/z_meta.t
 t/z_perl_minimum_version.t
 t/z_pod-coverage.t
 t/z_pod.t
 typemap
+META.yml                                 Module YAML meta-data (added by 
MakeMaker)
+META.json                                Module JSON meta-data (added by 
MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Crypt-OpenSSL-RSA-0.31/MANIFEST.SKIP 
new/Crypt-OpenSSL-RSA-0.32/MANIFEST.SKIP
--- old/Crypt-OpenSSL-RSA-0.31/MANIFEST.SKIP    2018-09-24 19:21:49.000000000 
+0200
+++ new/Crypt-OpenSSL-RSA-0.32/MANIFEST.SKIP    2020-01-20 08:41:53.000000000 
+0100
@@ -1,12 +1,8 @@
-\.appveyor.cmd
-\.appveyor.yml
-\.gitignore
 \.perltidyrc
-\.travis.yml
 cpanfile
-\.git/
 ^MANIFEST.bak
-^MYMETA.json
-^MYMETA.yml
 ^Makefile$
-
+^.github/
+^.git/
+^MYMETA.*
+^.gitignore
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Crypt-OpenSSL-RSA-0.31/META.json 
new/Crypt-OpenSSL-RSA-0.32/META.json
--- old/Crypt-OpenSSL-RSA-0.31/META.json        2018-09-24 19:32:27.000000000 
+0200
+++ new/Crypt-OpenSSL-RSA-0.32/META.json        2021-09-08 17:49:08.000000000 
+0200
@@ -4,7 +4,7 @@
       "Ian Robertson <[email protected]>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter 
version 2.150010",
+   "generated_by" : "ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter 
version 2.150010",
    "license" : [
       "perl_5"
    ],
@@ -56,6 +56,6 @@
          "url" : "http://github.com/toddr/Crypt-OpenSSL-RSA";
       }
    },
-   "version" : "0.31",
-   "x_serialization_backend" : "JSON::PP version 2.97001"
+   "version" : "0.32",
+   "x_serialization_backend" : "JSON::PP version 4.04"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Crypt-OpenSSL-RSA-0.31/META.yml 
new/Crypt-OpenSSL-RSA-0.32/META.yml
--- old/Crypt-OpenSSL-RSA-0.31/META.yml 2018-09-24 19:32:27.000000000 +0200
+++ new/Crypt-OpenSSL-RSA-0.32/META.yml 2021-09-08 17:49:08.000000000 +0200
@@ -9,7 +9,7 @@
   Crypt::OpenSSL::Guess: '0.11'
   ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 
2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter version 
2.150010'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -30,5 +30,5 @@
   homepage: http://github.com/toddr/Crypt-OpenSSL-RSA
   license: http://dev.perl.org/licenses/
   repository: http://github.com/toddr/Crypt-OpenSSL-RSA
-version: '0.31'
+version: '0.32'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Crypt-OpenSSL-RSA-0.31/RSA.pm 
new/Crypt-OpenSSL-RSA-0.32/RSA.pm
--- old/Crypt-OpenSSL-RSA-0.31/RSA.pm   2018-09-24 19:29:30.000000000 +0200
+++ new/Crypt-OpenSSL-RSA-0.32/RSA.pm   2021-09-08 17:49:02.000000000 +0200
@@ -5,7 +5,7 @@
 
 use Carp;    # Removing carp will break the XS code.
 
-our $VERSION = '0.31';
+our $VERSION = '0.32';
 
 our $AUTOLOAD;
 use AutoLoader 'AUTOLOAD';
@@ -14,8 +14,11 @@
 XSLoader::load 'Crypt::OpenSSL::RSA', $VERSION;
 
 BEGIN {
-    eval { require Crypt::OpenSSL::Bignum };
-}            ## no critic qw(RequireCheckingReturnValueOfEval);
+    eval {
+        local $SIG{__DIE__};    # prevent outer handlers from being called
+        require Crypt::OpenSSL::Bignum;
+    };
+}    ## no critic qw(RequireCheckingReturnValueOfEval);
 
 1;
 
@@ -321,8 +324,11 @@
 
 =head1 SEE ALSO
 
-L<perl(1)>, L<Crypt::OpenSSL::Random(3)>, L<Crypt::OpenSSL::Bignum(3)>,
-L<rsa(3)>, L<RSA_new(3)>, L<RSA_public_encrypt(3)>, L<RSA_size(3)>,
-L<RSA_generate_key(3)>, L<RSA_check_key(3)>
+L<perl(1)>, L<Crypt::OpenSSL::Random>, L<Crypt::OpenSSL::Bignum>, 
+L<rsa(3)>, L<RSA_new(3)|http://man.he.net/?topic=RSA_new&section=3>, 
+L<RSA_public_encrypt(3)|http://man.he.net/?topic=RSA_public_encrypt&section=3>,
 
+L<RSA_size(3)|http://man.he.net/?topic=RSA_size&section=3>,
+L<RSA_generate_key(3)|http://man.he.net/?topic=RSA_generate_key&section=3>, 
+L<RSA_check_key(3)|http://man.he.net/?topic=RSA_check_key&section=3>
 
 =cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Crypt-OpenSSL-RSA-0.31/RSA.xs 
new/Crypt-OpenSSL-RSA-0.32/RSA.xs
--- old/Crypt-OpenSSL-RSA-0.31/RSA.xs   2018-09-24 19:23:02.000000000 +0200
+++ new/Crypt-OpenSSL-RSA-0.32/RSA.xs   2021-09-08 17:49:02.000000000 +0200
@@ -152,7 +152,7 @@
     }
 }
 
-SV* bn2sv(const BIGNUM* p_bn)
+SV* cor_bn2sv(const BIGNUM* p_bn)
 {
     return p_bn != NULL
         ? sv_2mortal(newSViv((IV) BN_dup(p_bn)))
@@ -467,14 +467,14 @@
     RSA_get0_factors(rsa, &p, &q);
     RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp);
 #endif
-    XPUSHs(bn2sv(n));
-    XPUSHs(bn2sv(e));
-    XPUSHs(bn2sv(d));
-    XPUSHs(bn2sv(p));
-    XPUSHs(bn2sv(q));
-    XPUSHs(bn2sv(dmp1));
-    XPUSHs(bn2sv(dmq1));
-    XPUSHs(bn2sv(iqmp));
+    XPUSHs(cor_bn2sv(n));
+    XPUSHs(cor_bn2sv(e));
+    XPUSHs(cor_bn2sv(d));
+    XPUSHs(cor_bn2sv(p));
+    XPUSHs(cor_bn2sv(q));
+    XPUSHs(cor_bn2sv(dmp1));
+    XPUSHs(cor_bn2sv(dmq1));
+    XPUSHs(cor_bn2sv(iqmp));
 }
 
 SV*
@@ -706,7 +706,7 @@
                       p_rsa->rsa))
     {
         case 0:
-            CHECK_OPEN_SSL(ERR_peek_error());
+            ERR_clear_error();
             XSRETURN_NO;
             break;
         case 1:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Crypt-OpenSSL-RSA-0.31/t/fakelib/Crypt/OpenSSL/Bignum.pm 
new/Crypt-OpenSSL-RSA-0.32/t/fakelib/Crypt/OpenSSL/Bignum.pm
--- old/Crypt-OpenSSL-RSA-0.31/t/fakelib/Crypt/OpenSSL/Bignum.pm        
1970-01-01 01:00:00.000000000 +0100
+++ new/Crypt-OpenSSL-RSA-0.32/t/fakelib/Crypt/OpenSSL/Bignum.pm        
2021-09-08 17:49:02.000000000 +0200
@@ -0,0 +1,3 @@
+package Crypt::OpenSSL::Bignum;
+
+0;    # make require fail
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Crypt-OpenSSL-RSA-0.31/t/sig_die.t 
new/Crypt-OpenSSL-RSA-0.32/t/sig_die.t
--- old/Crypt-OpenSSL-RSA-0.31/t/sig_die.t      1970-01-01 01:00:00.000000000 
+0100
+++ new/Crypt-OpenSSL-RSA-0.32/t/sig_die.t      2021-09-08 17:49:02.000000000 
+0200
@@ -0,0 +1,13 @@
+use strict;
+use Test::More;
+
+use lib 't/fakelib';
+
+my $handler_called;
+$SIG{__DIE__} = sub { ++$handler_called };
+
+require Crypt::OpenSSL::RSA;
+
+plan tests => 1;
+
+ok !$handler_called, 'outer $SIG{__DIE__} handler not called';

++++++ Crypt-OpenSSL-RSA.patch ++++++
--- /var/tmp/diff_new_pack.j8xYKR/_old  2021-10-20 20:23:06.049334242 +0200
+++ /var/tmp/diff_new_pack.j8xYKR/_new  2021-10-20 20:23:06.049334242 +0200
@@ -1,7 +1,7 @@
-Index: RSA.xs
+Index: Crypt-OpenSSL-RSA-0.32/RSA.xs
 ===================================================================
---- RSA.xs.orig        2011-08-25 00:57:35.000000000 +0200
-+++ RSA.xs     2011-11-29 16:23:42.703033157 +0100
+--- Crypt-OpenSSL-RSA-0.32.orig/RSA.xs
++++ Crypt-OpenSSL-RSA-0.32/RSA.xs
 @@ -40,7 +40,7 @@ void croakSsl(char* p_file, int p_line)
  
  #define CHECK_OPEN_SSL(p_result) if (!(p_result)) croakSsl(__FILE__, 
__LINE__);

++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.j8xYKR/_old  2021-10-20 20:23:06.069334254 +0200
+++ /var/tmp/diff_new_pack.j8xYKR/_new  2021-10-20 20:23:06.069334254 +0200
@@ -7,11 +7,10 @@
 #sources:
 #  - source1
 #  - source2
-#patches:
-#  foo.patch: -p1
-#  bar.patch:
-#preamble: |-
-# BuildRequires:  gcc-c++
+patches:
+  Crypt-OpenSSL-RSA.patch: -p1
+preamble: |-
+ BuildRequires:  openssl-devel
 #post_prep: |-
 # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s,  *,,g'`
 # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL 

Reply via email to