Commit Graph

80 Commits

Author SHA1 Message Date
Paul Howarth
debac67ef8 Update to 1.66
- New upstream release 1.66
  - Fixed compile problem with perl prior to 5.8.8, similar to CPAN RT#76267
  - Fixed a problem with Socket::IPPROTO_TCP on early perls
  - After discussions with the community and the original author Sampo
    Kellomaki, the license conditions have been changed to "Perl Artistic
    License 2.0"
- License changed to Artistic 2.0
- Use %license where possible
2014-09-08 19:53:06 +01:00
Jitka Plesnikova
701bf5cf00 Perl 5.20 rebuild 2014-08-28 12:38:41 +02:00
Peter Robinson
446a436c6c - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 17:03:02 +00:00
Paul Howarth
96e67fa1ce Update to 1.65
- New upstream release 1.65
  - Added note to docs to make it clear that X509_get_subjectAltNames returns a
    packed binary IP address for type 7 - GEN_IPADD
  - Improvements to SSL_OCSP_response_verify to compile under non-c99 compilers
  - Port to Android, includes Android-specific version of RSA_generate_key
  - Added LibreSSL support
  - Patch that fixes the support for SSL_set_info_callback and adds
    SSL_CTX_set_info_callback and SSL_set_state; support for these functions is
    necessary to either detect renegotiation or to enforce renegotiation
  - Fixed a problem with SSL_set_state not available on some early OpenSSLs
  - Removed arbitrary size limits from calls to tcp_read_all in tcpcat() and
    http_cat()
  - Removed unnecessary Debian_CPANTS.txt from MANIFEST - again
2014-07-15 12:05:44 +01:00
Paul Howarth
68b146d974 Update to 1.64
- New upstream release 1.64
  - Test ocsp.t now does not fail if HTTP::Tiny is not installed
  - Fixed repository in META.yml
  - Fixed a problem with SSL_get_peer_cert_chain: if the SSL handshake results
    in an anonymous authentication, like ADH-DES-CBC3-SHA, get_peer_cert_chain
    will not return an empty list, but instead return the SSL object
  - Fixed a problem where patch
    https://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=3009244d
    caused a failed test in t/local/33_x509_create_cert.t
2014-06-11 16:09:11 +01:00
Paul Howarth
7fa37f8470 Fix failing test with openssl-1.0.1h (upstream commit 414, CPAN RT#96256) 2014-06-08 14:06:13 +01:00
Dennis Gilmore
5d034c2ee5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 03:09:19 -05:00
Paul Howarth
c7b175eea3 Update to 1.63
- New upstream release 1.63
  - Improvements to OCSP support: it turns out that some CAs (like Verisign)
    sign the OCSP response with the CA we have in the trust store and don't
    attach this certifcate in the response, but OpenSSL by itself only
    considers the certificates included in the response and
    SSL_OCSP_response_verify added the certificates in the chain too, so now
    we also add the trusted CA from the store which signed the lowest chain
    certificate, at least if we could not verify the OCSP response without
    doing it
  - Fixed some compiler warnings
- BR: perl(HTTP::Tiny) for test suite
2014-05-19 16:50:00 +01:00
Paul Howarth
dc6bbd7cd0 Update to 1.61
- New upstream release 1.61
  - Fixed a typo in an error message
  - Fixed a problem with building with openssl that does not support OCSP
  - Fixed some newly introduced warnings if compiled with -Wall
  - Fixed format string issue causing build failures
  - Changed calloc to Newx and free to Safefree, otherwise there might be
    problems because calloc is done from a different memory pool than free
    (depends on the build options for perl, but seen on Windows)
2014-05-12 22:10:02 +01:00
Paul Howarth
8f84ff56ab Update to 1.59
- New upstream release 1.59
  - Fixed local/30_error.t so that tests do not fail if diagnostics are enabled
  - Fixed error messages about undefined strings used with length or split
  - Improvements to configuration of OPTIMIZE flags, to prevent overriding of
    perl's expected optimization flags
  - SSL_peek() now returns openssl error code as second item when called in
    array context, same as SSL_read
  - Fixed some warnings
  - Added support for tlsv1.1 tlsv1.2 via $Net::SSLeay::ssl_version
  - Improve examples in 'Using other perl modules based on Net::SSLeay'
  - Added support for OCSP
  - Added missing t/external/ocsp.t
- Add patch to stop gcc complaining about format string usage
2014-05-10 22:52:21 +01:00
Paul Howarth
32a9e5c547 Update to 1.58
- New upstream release 1.58
  - always use size_t for strlen() return value
  - t/external/20_cert_chain.t was missing from dist
  - version number in META.yml was incorrect
  - improvements to test t/external/20_cert_chain.t to provoke following bug:
    fixed crash due to SSL_get_peer_cert_chain incorrectly free'ing the chain
    after use
  - fixed a problem when compiling against openssl where OPENSSL_NO_EC is set
- Drop Fedora/EL ECC support patch, no longer needed
2014-01-15 12:28:25 +00:00
Paul Howarth
bd95528fce Update to 1.57
- New upstream release 1.57
  - fixed remaining problems with test suite: pod coverage and kwalitee tests
    are only enabled with RELEASE_TESTING=1
2014-01-12 15:42:58 +00:00
Paul Howarth
85b22ba2ee Update to 1.56
- New upstream release 1.56
  - fixed a typo in documentation of BEAST Attack
  - added LICENSE file copied from OpenSSL distribution to prevent complaints
    from various versions of kwalitee
  - adjusted license: in META.yml to be 'openssl'
  - adds support for the basic operations necessary to support ECDH for PFS,
    e.g. EC_KEY_new_by_curve_name, EC_KEY_free and SSL_CTX_set_tmp_ecdh
  - improvements to t/handle/external/50_external.t to handle the case when a
    test connection was not possible
  - added support for ALPN TLS extension
  - fixed a use-after-free error
  - fixed a problem with invalid comparison on OBJ_cmp result in
    t/local/36_verify.t
  - added support for get_peer_cert_chain()
  - fixed a bug that could cause stack faults: mixed up PUTBACK with SPAGAIN in
    ssleay_RSA_generate_key_cb_invoke(); a final PUTBACK is needed here
  - fixed cb->data checks and wrong refcounts on &PL_sv_undef
  - deleted support for SSL_get_tlsa_record_byname: it is not included in
    OpenSSL git master
- Drop upstreamed patch for CPAN RT#91215
- Skip the Pod Coverage test, as there are naked subroutines in this release
- ECC support not available in Fedora/EL until OpenSSL 1.0.1e, so patch the
  source accordingly to fix builds for F-12 .. F-17
2014-01-08 14:59:01 +00:00
Paul Howarth
a16de53dba Fix usage of OBJ_cmp in the test suite (CPAN RT#91215) 2013-12-06 14:05:04 +00:00
Paul Howarth
75743f4a16 Don't try to run the external tests as they'll fail in koji 2013-12-01 20:03:11 +00:00
Paul Howarth
e02441a24f Drop the kwalitee test for now as it's too fussy for the current code 2013-12-01 13:39:21 +00:00
Jitka Plesnikova
6af7ad1ff1 Perl 5.18 re-rebuild of bootstrapped packages 2013-08-14 17:47:29 +02:00
Dennis Gilmore
bf85e02ae1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 18:57:21 -05:00
Petr Písař
3bc2cad3ca Perl 5.18 rebuild 2013-07-22 06:11:50 +02:00
Paul Howarth
8ed2ca85ed Update to 1.55
- New upstream release 1.55
  - added support for TLSV1_1 and TLSV1_2 methods with SSL_CTX_tlsv1_1_new(),
    SSL_CTX_tlsv1_2_new(), TLSv1_1_method() and TLSv1_2_method(), where
    available in the underlying openssl
  - added CRL support functions X509_CRL_get_ext(), X509_CRL_get_ext_by_NID(),
    X509_CRL_get_ext_count()
  - fixed a problem that could cause content with a value of '0' to be
    incorrectly encoded by do_httpx3 and friends (CPAN RT#85417)
  - added support for SSL_get_tlsa_record_byname() required for DANE support in
    openssl-1.0.2 and later
  - testing with openssl-1.0.2-stable-SNAP-20130521
  - added X509_NAME_new and X509_NAME_hash
2013-06-08 22:40:35 +01:00
Paul Howarth
d4bac335e9 Update to 1.54
- New upstream release 1.54
  - added support for SSL_export_keying_material where present (i.e. in OpenSSL
    1.0.1 and later)
  - changed t/handle/external/50_external.t to use www.airspayce.com instead of
    perldition.org, who no longer have an https server
  - patch to fix a crash: P_X509_get_crl_distribution_points on an X509
    certificate with values in the CDP extension that do not have an ia5 string
    would cause a segmentation fault when accessed
  - change in t/local/32_x509_get_cert_info.t to not use
    Net::SSLeay::ASN1_INTEGER_get, since it works differently on 32 and 64 bit
    platforms
  - updated author and distribution location details to airspayce.com
  - improvement to test 07_sslecho.t so that if set_cert_and_key fails we can
    tell why
2013-03-23 19:06:37 +00:00
Dennis Gilmore
72f8e29621 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 08:09:04 -06:00
Paul Howarth
f0bb229c2b Update to 1.52
- New upstream release 1.52
  - rebuild package with gnu format tar, to prevent problems with unpacking on
    other systems such as old Solaris
2013-01-09 14:16:02 +00:00
Paul Howarth
989ee0bd37 Fix bogus date in spec changelog 2012-12-14 11:23:00 +00:00
Paul Howarth
8f32f124f2 Update to 1.51
- New upstream release 1.51
  - fixed a problem where SSL_set_SSL_CTX is not available with
    OpenSSL < 0.9.8f (CPAN RT#81940)
2012-12-14 11:14:51 +00:00
Paul Howarth
690893433e Update to 1.50
- New upstream release 1.50
  - fixed a problem where t/handle/external/50_external.t would crash if any of
    the test sites were not contactable
  - now builds on VMS, added README.VMS
  - fixed a few compiler warnings in SSLeay.xs; most of them are just
    signed/unsigned pointer mismatches but there is one that actually fixes
    returning what would be an arbitrary value off the stack from
    get_my_thread_id if it happened to be called in a non-threaded build
  - added SSL_set_tlsext_host_name, SSL_get_servername, SSL_get_servername_type,
    SSL_CTX_set_tlsext_servername_callback for server side Server Name
    Indication (SNI) support
  - fixed a problem with C++ comments preventing builds on AIX and HPUX
  - perdition.org not available for tests, changed to www.open.com.au
  - added SSL_FIPS_mode_set
  - improvements to test suite so it succeeds with and without FIPS mode
    enabled
  - added documentation, warning not to pass UTF-8 data in the content
    argument to post_https
2012-12-13 12:16:05 +00:00
Paul Howarth
f7578e8adc Update to 1.49
- New upstream release 1.49
  - fixed problem where on some platforms test t/local/07_tcpecho.t would bail
    out if it could not bind port 1212; it now tries a number of ports to bind
    to until successful
  - improvements to unsigned casting
  - improvements to Net::SSLeay::read to make it easier to use with
    non-blocking IO: it modifies Net::SSLeay::read() to return the result from
    SSL_read() as the second return value, if Net::SSLeay::read() is called in
    list context (its behavior should be unchanged if called in scalar or void
    context)
  - fixed a problem where t/local/kwalitee.t fails with
    Module::CPANTS::Analyse 0.86
  - fixed a number of typos
  - fixed a compiler warning from Compiling with gcc-4.4 and -Wall
  - Fixed problems with get_https4: documentation was wrong, $header_ref was
    not correctly set and $server_cert was not returned
  - fixed a problem that could cause a Perl exception about no blength method
    on undef (CPAN RT#79309)
  - added documentation about how to mitigate various SSL/TLS vulnerabilities
  - SSL_MODE_* are now available as constants
- Drop upstreamed pod encoding patch
2012-09-25 16:41:34 +01:00
Paul Howarth
6e9992354d Fix POD encoding (CPAN RT#78281)
- Fix POD encoding (CPAN RT#78281)
- Classify buildreqs by usage
- BR:/R: perl(XSLoader)
2012-08-20 12:13:50 +01:00
Petr Písař
a97d30e119 Specify all dependencies 2012-08-13 17:36:21 +02:00
Dennis Gilmore
6d45de6a35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-20 12:47:28 -05:00
Petr Písař
a7f3983e2f Perl 5.16 re-rebuild of bootstrapped packages 2012-07-10 17:39:34 +02:00
Petr Písař
13bb68eb42 Perl 5.16 rebuild 2012-06-14 01:45:45 +02:00
Paul Howarth
327192316b Update to 1.48
- New upstream release 1.48
  - removed unneeded Debian_CPANTS.txt from MANIFEST
  - fixed incorrect documentation about the best way to call CTX_set_options
  - fixed problem that caused "Undefined subroutine utf8::encode" in
    t/local/33_x509_create_cert.t (on perl 5.6.2)
  - in examples and pod documentation, changed #!/usr/local/bin/perl to
    #!/usr/bin/perl
  - t/local/06_tcpecho.t now tries a number of ports to bind to until
    successful
- No longer need to fix shellbangs in examples
2012-04-25 10:00:54 +01:00
Paul Howarth
21741bcfca Simplify Test::Kwalitee conditional 2012-04-19 14:15:28 +01:00
Marcela Mašláňová
e2b5365ff6 make module Kwalitee conditional on distribution 2012-04-19 14:54:06 +02:00
Paul Howarth
2bbbe67b57 Update to 1.47
- New upstream release 1.47
  - fixed overlong lines and spelling errors in pod
  - fixed extra "garbage" files in 1.46 tarball
  - fixed incorrect fail reports on some 64 bit platforms
  - fix to avoid FAIL reports from cpantesters with missing openssl
  - use my_snprintf from ppport.h to prevent link failures with perl 5.8 and
    earlier when compiled with MSVC
2012-04-04 09:25:53 +01:00
Paul Howarth
4297dde3f4 Update to 1.46
- New upstream release 1.46 (see Changes file for details)
- BR: openssl as well as openssl-devel, needed for building
- No longer need help to find openssl
- Upstream no longer shipping TODO
- Drop %defattr, redundant since rpm 4.4
2012-04-03 11:56:18 +01:00
Paul Howarth
f27f8d17a6 Update to 1.45
- New upstream release 1.45 (see Changes file for full details)
  - added thread safety and dynamic locking, which should complete thread
    safety work, making Net::SSLeay completely thread-safe
  - lots of improved documentation
- BR: perl(Test::Pod::Coverage)
- Install Net/SSLeay.pod as %doc
2012-02-25 13:41:31 +00:00
Paul Howarth
056ddeb3b9 Spec clean-up
- Use DESTDIR rather than PERL_INSTALL_ROOT
- Use %{_fixperms} macro rather than our own chmod incantation
- BR: perl(AutoLoader), perl(Exporter), perl(Socket)
2012-01-12 15:40:51 +00:00
Paul Howarth
1173552387 Update to 1.42
- New upstream release 1.42
  - fixed incorrect documentation of how to enable CRL checking
  - fixed incorrect letter in Sebastien in Credits
  - changed order of the Changes file to be reverse chronological
  - fixed a compile error when building on Windows with MSVC6
- Drop UTF8 patch, no longer needed
2011-10-03 10:06:33 +01:00
Paul Howarth
5af17268bb Update to 1.41
- New upstream release 1.41
  - fixed incorrect const signatures for 1.0 that were causing warnings; now
    have clean compile with 0.9.8a through 1.0.0
- BR: perl(Carp)
2011-09-25 15:11:01 +01:00
Paul Howarth
df7ee41712 Update to 1.40
- New upstream release 1.40
  - fixed incorrect argument type in call to SSL_set1_param
  - fixed a number of issues with pointer sizes; removed redundant pointer cast
    tests from t/
  - added Perl version requirements to SSLeay.pm
2011-09-23 12:11:07 +01:00
Paul Howarth
e9fab8348e Update to 1.39
- New upstream release 1.39
  - Downgraded Module::Install to 0.93 since 1.01 was causing problems in the
    Makefile
2011-09-21 12:40:33 +01:00
Paul Howarth
8024750a61 Update to 1.38
- New upstream release 1.38
  - fixed a problem with various symbols that only became available in OpenSSL
    0.9.8 such as X509_VERIFY_PARAM and X509_POLICY_NODE, causing build
    failures with older versions of OpenSSL (CPAN RT#71013)
2011-09-16 13:54:07 +01:00
Paul Howarth
1e2b5d5222 Update to 1.37
- New upstream release 1.37
  - added X509_get_fingerprint
  - added support for SSL_CTX_set1_param, SSL_set1_param and selected
    X509_VERIFY_PARAM_* OBJ_* functions
  - fixed the prototype for randomize()
  - fixed an uninitialized value warning in $Net::SSLeay::proxyauth
  - allow net-ssleay to compile if SSLV2 is not present
  - fixed a problem where sslcat (and possibly other functions) expect RSA
    keys and will not load DSA keys for client certificates
  - removed SSL_CTX_v2_new and SSLv2_method() for OpenSSL 1.0 and later
  - added CTX_use_PKCS12_file
- This release by MIKEM => update source URL
2011-09-16 13:23:58 +01:00
Petr Sabata
f38520393f Perl mass rebuild 2011-07-19 14:00:07 +02:00
Paul Howarth
7c63ac193f Trivial tidy up 2011-07-14 09:20:59 +01:00
Paul Howarth
48ad409131 Stop running the tests in verbose mode 2011-07-14 09:19:34 +01:00
Paul Howarth
a3bb1c6fac Modernize provides filter 2011-07-14 09:18:28 +01:00
Paul Howarth
7c6314a3df BR: perl(Test::Kwalitee) if we're not bootstrapping; explicitly BR: pkgconfig 2011-07-14 09:15:39 +01:00