New Upstream Release - libcrypt-openssl-x509-perl

Ready changes

Summary

Merged new upstream version: 1.9.15 (was: 1.9.14).

Resulting package

Built on 2023-07-05T00:28 (took 4m11s)

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-releases libcrypt-openssl-x509-perl-dbgsymapt install -t fresh-releases libcrypt-openssl-x509-perl

Lintian Result

Diff

diff --git a/Changes.md b/Changes.md
index 83db7e0..31666f7 100644
--- a/Changes.md
+++ b/Changes.md
@@ -1,5 +1,9 @@
 # Revision history for Perl extension Crypt::OpenSSL::X509
 
+## 1.9.15 2023-06-16
+
+- Applied patch for issue [#112](https://github.com/dsully/perl-crypt-openssl-x509/issues/112) from @dakkar, via PR [#113]((https://github.com/dsully/perl-crypt-openssl-x509/pull/113) by @jonasbn
+
 ## 1.9.14 2022-05-03
 
 - Applied PR [#109](https://github.com/dsully/perl-crypt-openssl-x509/pull/108) from @ikedas fixing a bug found in 1.9.14-TRIAL, where the wrong API was called, propably due to a typo in the name
diff --git a/LICENSE b/LICENSE
index 429a0e8..a8d7fad 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-This software is copyright (c) 2004-2021 by Dan Sully.
+This software is copyright (c) 2004-2023 by Dan Sully.
 
 This is free software; you can redistribute it and/or modify it under
 the same terms as the Perl 5 programming language system itself.
@@ -12,7 +12,7 @@ b) the "Artistic License"
 
 --- The GNU General Public License, Version 1, February 1989 ---
 
-This software is Copyright (c) 2004-2021 by Dan Sully.
+This software is Copyright (c) 2004-2023 by Dan Sully.
 
 This is free software, licensed under:
 
@@ -272,7 +272,7 @@ That's all there is to it!
 
 --- The Artistic License 1.0 ---
 
-This software is Copyright (c) 2004-2021 by Dan Sully.
+This software is Copyright (c) 2004-2023 by Dan Sully.
 
 This is free software, licensed under:
 
diff --git a/MANIFEST b/MANIFEST
index 3a9f18f..727768a 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.024.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.030.
 Changes.md
 LICENSE
 MANIFEST
@@ -24,7 +24,6 @@ certs/vsign1.pem
 cpanfile
 dist.ini
 maint/Makefile_header.PL
-perl-crypt-openssl-x509.code-workspace
 ppport.h
 t/00-version.t
 t/author-pod-syntax.t
diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP
index f9c3182..fd04c69 100644
--- a/MANIFEST.SKIP
+++ b/MANIFEST.SKIP
@@ -1,17 +1,17 @@
 \B\.git\b
 \B\.gitignore
+\B\.gitattributes
 \B.vstags
 \B.github
 \.gz
 \.tar
 \.bak
-.travis.yml
 ^Makefile$
 blib/
-X509.bs
-X509.c
-X509.o
+X509\.bs
+X509\.c
+X509\.o
 pm_to_blib
-MYMETA.*
+MYMETA\.*
 prototypes
-.gitattributes
+\.code-workspace
diff --git a/META.json b/META.json
index 567cbd6..677b01f 100644
--- a/META.json
+++ b/META.json
@@ -4,7 +4,7 @@
       "Dan Sully"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "Dist::Zilla version 6.024, CPAN::Meta::Converter version 2.150010",
+   "generated_by" : "Dist::Zilla version 6.030, CPAN::Meta::Converter version 2.150010",
    "license" : [
       "perl_5"
    ],
@@ -51,16 +51,16 @@
          "web" : "https://github.com/dsully/perl-crypt-openssl-x509"
       }
    },
-   "version" : "1.914",
+   "version" : "1.915",
    "x_contributors" : [
       "TIMLEGGE <timlegge@cpan.org>",
       "SKAJI <skaji@cpan.org>"
    ],
-   "x_generated_by_perl" : "v5.34.0",
+   "x_generated_by_perl" : "v5.36.1",
    "x_maintainers" : [
       "JONASBN <jonasbn@cpan.org>"
    ],
-   "x_serialization_backend" : "Cpanel::JSON::XS version 4.27",
+   "x_serialization_backend" : "Cpanel::JSON::XS version 4.36",
    "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later"
 }
 
diff --git a/META.yml b/META.yml
index 464050e..f30bdb6 100644
--- a/META.yml
+++ b/META.yml
@@ -9,7 +9,7 @@ configure_requires:
   Crypt::OpenSSL::Guess: '0'
   ExtUtils::MakeMaker: '0'
 dynamic_config: 0
-generated_by: 'Dist::Zilla version 6.024, CPAN::Meta::Converter version 2.150010'
+generated_by: 'Dist::Zilla version 6.030, CPAN::Meta::Converter version 2.150010'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -21,12 +21,12 @@ resources:
   bugtracker: https://github.com/dsully/perl-crypt-openssl-x509/issues
   homepage: https://github.com/dsully/perl-crypt-openssl-x509
   repository: https://github.com/dsully/perl-crypt-openssl-x509.git
-version: '1.914'
+version: '1.915'
 x_contributors:
   - 'TIMLEGGE <timlegge@cpan.org>'
   - 'SKAJI <skaji@cpan.org>'
-x_generated_by_perl: v5.34.0
+x_generated_by_perl: v5.36.1
 x_maintainers:
   - 'JONASBN <jonasbn@cpan.org>'
-x_serialization_backend: 'YAML::Tiny version 1.73'
+x_serialization_backend: 'YAML::Tiny version 1.74'
 x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'
diff --git a/Makefile.PL b/Makefile.PL
index 0170578..18ee042 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -70,7 +70,7 @@ my %WriteMakefileArgs = (
   "TEST_REQUIRES" => {
     "Test::Pod" => "1.00"
   },
-  "VERSION" => "1.914",
+  "VERSION" => "1.915",
   "test" => {
     "TESTS" => "t/*.t"
   }
diff --git a/README b/README
index 9e6e4cb..bd351be 100644
--- a/README
+++ b/README
@@ -1,12 +1,12 @@
 This archive contains the distribution Crypt-OpenSSL-X509,
-version 1.914:
+version 1.915:
 
   Perl extension to OpenSSL's X509 API.
 
-This software is copyright (c) 2004-2021 by Dan Sully.
+This software is copyright (c) 2004-2023 by Dan Sully.
 
 This is free software; you can redistribute it and/or modify it under
 the same terms as the Perl 5 programming language system itself.
 
 
-This README file was generated by Dist::Zilla::Plugin::Readme v6.024.
+This README file was generated by Dist::Zilla::Plugin::Readme v6.030.
diff --git a/X509.pm b/X509.pm
index 0436031..2c17577 100644
--- a/X509.pm
+++ b/X509.pm
@@ -8,7 +8,7 @@ use base qw(Exporter);
 
 use Convert::ASN1;
 
-our $VERSION = '1.914';
+our $VERSION = '1.915';
 
 our @EXPORT_OK = qw(
   FORMAT_UNDEF FORMAT_ASN1 FORMAT_TEXT FORMAT_PEM
@@ -410,6 +410,20 @@ Return a hash of Extensions indexed by OID or name.
 
 Return true if the certificate has the extension specified by C<OID>.
 
+=item subjectaltname ( )
+
+Uses Convert::ASN1 to extract the Subject Alternative Names from the X509 object.
+subjectaltname ( ) returns an array of "rfc822Name"s
+
+    [
+        {
+            'rfc822Name' => 'altuser@mpi-sws.org'
+        },
+        {
+            'rfc822Name' => 'user@mpi-sws.org'
+        },
+    ]
+
 =back
 
 =head2 X509::Extension METHODS
diff --git a/X509.xs b/X509.xs
index 9898bec..88deaf5 100644
--- a/X509.xs
+++ b/X509.xs
@@ -329,9 +329,7 @@ BOOT:
   }
 #if OPENSSL_VERSION_NUMBER < 0x10100000
   ERR_load_crypto_strings();
-# ifdef OPENSSL_LOAD_CONF
-  OPENSSL_add_all_algorithms_conf;
-# endif
+  OPENSSL_add_all_algorithms_conf();
 #endif
 }
 
diff --git a/debian/changelog b/debian/changelog
index bcdac73..834eb54 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libcrypt-openssl-x509-perl (1.9.15-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 05 Jul 2023 00:24:40 -0000
+
 libcrypt-openssl-x509-perl (1.9.14-2) unstable; urgency=medium
 
   * Replace no_crypt-openssl-guess.patch with build dependency on
diff --git a/dist.ini b/dist.ini
index 005e251..69df247 100644
--- a/dist.ini
+++ b/dist.ini
@@ -4,7 +4,7 @@ author = Dan Sully
 main_module = X509.pm
 license = Perl_5
 copyright_holder = Dan Sully
-copyright_year = 2004-2021
+copyright_year = 2004-2023
 
 ; REF: https://metacpan.org/pod/Dist::Zilla::PluginBundle::Filter
 [@Filter]
diff --git a/perl-crypt-openssl-x509.code-workspace b/perl-crypt-openssl-x509.code-workspace
deleted file mode 100644
index 876a149..0000000
--- a/perl-crypt-openssl-x509.code-workspace
+++ /dev/null
@@ -1,8 +0,0 @@
-{
-	"folders": [
-		{
-			"path": "."
-		}
-	],
-	"settings": {}
-}
\ No newline at end of file

Debdiff

[The following lists of changes regard files as different if they have different names, permissions or owners.]

Files in second set of .debs but not in first

-rw-r--r--  root/root   /usr/lib/debug/.build-id/56/d89a98b4ad51877acaea5b47a557dc390a3836.debug
-rw-r--r--  root/root   /usr/lib/x86_64-linux-gnu/perl5/5.36/Crypt/OpenSSL/X509.pm
-rw-r--r--  root/root   /usr/lib/x86_64-linux-gnu/perl5/5.36/auto/Crypt/OpenSSL/X509/X509.so

Files in first set of .debs but not in second

-rw-r--r--  root/root   /usr/lib/debug/.build-id/bf/ffbcd3e48f73476e29fd2cfcf4a00b9112cfbc.debug
-rw-r--r--  root/root   /usr/lib/x86_64-linux-gnu/perl5/5.34/Crypt/OpenSSL/X509.pm
-rw-r--r--  root/root   /usr/lib/x86_64-linux-gnu/perl5/5.34/auto/Crypt/OpenSSL/X509/X509.so

Control files of package libcrypt-openssl-x509-perl: lines which differ (wdiff format)

  • Depends: perl (>= 5.34.0-5), 5.36.0-7), perl-openssl-abi-3, perlapi-5.34.0, perlapi-5.36.0, libc6 (>= 2.34), 2.4), libssl3 (>= 3.0.0), libconvert-asn1-perl (>= 0.33)

Control files of package libcrypt-openssl-x509-perl-dbgsym: lines which differ (wdiff format)

  • Build-Ids: bfffbcd3e48f73476e29fd2cfcf4a00b9112cfbc 56d89a98b4ad51877acaea5b47a557dc390a3836

More details

Full run details