The NetBSD Project

CVS log for pkgsrc/security/p5-IO-Socket-SSL/Makefile

[BACK] Up to [] / pkgsrc / security / p5-IO-Socket-SSL

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.137 / (download) - annotate - [select for diffs], Sat May 20 07:08:12 2023 UTC (2 weeks, 5 days ago) by wiz
Branch: MAIN
Changes since 1.136: +2 -2 lines
Diff to previous 1.136 (colored)

p5-IO-Socket-SSL: update to 2.081.

2.081 2023/01/25
- new function set_msg_callback for user defined callback on each SSL message
- showcase function in example/ and example/ for
  computing JA3S/JA3 fingerprints
- fix tracing added in 2.076 to no longer include SSL3_RT_HEADER (noise)
2.080 2023/01/18
- move certs into t/ so that distributions like CentOS don't install the
  test certificates as part of the documentation any longer.
2.079 2023/01/16
- properly extract IPv6 address for verification from PeerAddr if not explicitly
  given as SSL_verifycn_name.
2.078 2022/12/11
- revert decision from 2014 to not verify hostname by default if hostname is
  IP address but no explicit verification scheme given
2.077 2022/11/21
- fix memory leak in session cache, thanks to genuaboro
- more race conditions in tests fixed thanks to jddurand
2.076 2022/11/12
- added curl like tracing based on contribution from jddurand
- fixed race condition in t/sni_verify.t based on analysis from jddurand
- treat SSL_write returning 0 same as previously -1, as suggested by both
  OpenSSL and LibreSSL documentation
- propagate error from SSL_shutdown, but if the shutdown is caused by an outer
  SSL error keep the original error
- small tests fixes

Revision 1.136 / (download) - annotate - [select for diffs], Sat Aug 6 16:43:30 2022 UTC (10 months ago) by ast
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3
Changes since 1.135: +2 -3 lines
Diff to previous 1.135 (colored)

security/p5-IO-Socket-SSL update to 2.074
Changes from upstream:
- add SSL_ciphersuites option for TLS 1.3 ciphers
- no longer use own default for ciphers, instead use system default but disable
  some weak ciphers which might still be enabled on older systems
- fix behavior and tests for openssl 3.0.1
- fix #110 - prevent internal error warning in some cases

Revision 1.135 / (download) - annotate - [select for diffs], Tue Jun 28 11:35:48 2022 UTC (11 months, 1 week ago) by wiz
Branch: MAIN
Changes since 1.134: +2 -1 lines
Diff to previous 1.134 (colored)

*: recursive bump for perl 5.36

Revision 1.134 / (download) - annotate - [select for diffs], Sun Sep 12 07:20:31 2021 UTC (20 months, 3 weeks ago) by wen
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3
Changes since 1.133: +2 -2 lines
Diff to previous 1.133 (colored)

Update to 2.072

Upstream changes:
- add PEM_certs2file and PEM_file2certs in IO::Socket::SSL::Utils based
  on idea by rovo89 in #101
- certs/*.p12 used for testing should now work with OpenSSL 3.0 too #108
- update public suffix database

Revision 1.133 / (download) - annotate - [select for diffs], Tue Jul 6 03:38:56 2021 UTC (23 months ago) by wen
Branch: MAIN
Changes since 1.132: +2 -3 lines
Diff to previous 1.132 (colored)

Update to 2.071

Upstream changes:
2.071 2021/05/23
- fix t/nonblock.t race on some systems. Fixes issue #102, maybe #98 too.

Revision 1.132 / (download) - annotate - [select for diffs], Mon May 24 19:54:03 2021 UTC (2 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2
Changes since 1.131: +2 -1 lines
Diff to previous 1.131 (colored)

*: recursive bump for perl 5.34

Revision 1.131 / (download) - annotate - [select for diffs], Tue Apr 27 12:15:23 2021 UTC (2 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.130: +2 -2 lines
Diff to previous 1.130 (colored)

p5-IO-Socket-SSL: update to 2.070.

2.070 2021/02/26
- changed bugtracker in Makefile.PL to github, away from obsolete
2.069 2021/01/22
- IO::Socket::Utils CERT_asHash and CERT_create now support subject and issuer
  with multiple same parts (like multiple OU). In this case an array ref instead
  of a scalar is used as hash value.

Revision 1.130 / (download) - annotate - [select for diffs], Mon Sep 7 14:17:20 2020 UTC (2 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3
Changes since 1.129: +2 -3 lines
Diff to previous 1.129 (colored)

p5-IO-Socket-SSL: update to 2.068.

2.068 2020/03/31
- treat OpenSSL 1.1.1e as broken and refuse to build with it in order to
  prevent follow-up problems in tests and user code
- update PublicSuffix with latest data from

Revision 1.129 / (download) - annotate - [select for diffs], Mon Aug 31 18:11:18 2020 UTC (2 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.128: +2 -1 lines
Diff to previous 1.128 (colored)

*: bump PKGREVISION for perl-5.32.

Revision 1.128 / (download) - annotate - [select for diffs], Sun Mar 22 21:19:34 2020 UTC (3 years, 2 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.127: +3 -4 lines
Diff to previous 1.127 (colored)

p5-IO-Socket-SSL: Update to 2.067

2.067 2020/02/14
- fix memory leak on incomplete handshake
  Thanks to olegwtf
- add support for SSL_MODE_RELEASE_BUFFERS via SSL_mode_release_buffers
  This can decrease memory usage at the costs of more allocations
- more detailed error messages when loading of certificate file failed
- fix for ip_in_cn == 6 in verify_hostname scheme
- deal with new MODE_AUTO_RETRY default in OpenSSL 1.1.1
- fix warning when no ecdh support is available
- documentation update regarding use of select and TLS 1.3
- various fixes in documentation
- stability fix t/core.t

2.066 2019/03/06
- fix test t/verify_partial_chain.t by using the newly exposed function
  can_partial_chain instead of guessing (wrongly) if the functionality is

2.065 2019/03/05
- make sure that Net::SSLeay::CTX_get0_param is defined before using
  X509_V_FLAG_PARTIAL_CHAIN. Net::SSLeay 1.85 defined only the second with
  LibreSSL 2.7.4 but not the first
- prefer AES for server side cipher default since it is usually

2.064 2019/03/04
- make algorithm for fingerprint optional, i.e. detect based on length of
  fingerprint -
- fix t/sessions.t and improve stability of t/verify_hostname.t on windows
- use CTX_set_ecdh_auto when needed (OpenSSL 1.0.2) if explicit curves are set
- update fingerprints for live tests

2.063 2019/03/01
- support for both RSA and ECDSA certificate on same domain
- update PublicSuffix
- Refuse to build if Net::SSLeay is compiled with one version of OpenSSL but
  then linked against another API-incompatible version (ie. more than just the
  patchlevel differs).

2.062 2019/02/24
- Enable X509_V_FLAG_PARTIAL_CHAIN if supported by Net::SSLeay (1.83+) and
  OpenSSL (1.1.0+). This makes leaf certificates or intermediate certificates in
  the trust store be usable as full trust anchors too.

2.061 2019/02/23
- Support for TLS 1.3 session reuse. Needs Net::SSLeay 1.86+.
  Note that the previous (and undocumented) API for the session cache has been
- Support for multiple curves, automatic setting of curves and setting of
  supported curves in client. Needs Net::SSLeay 1.86+.
- Enable Post-Handshake-Authentication (TLSv1.3 feature) client-side when
  client certificates are provided. Thanks to jorton[AT]redhat[DOT]com.
  Needs Net::SSLeay 1.86+.

Revision 1.127 / (download) - annotate - [select for diffs], Sun Aug 11 13:22:57 2019 UTC (3 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.126: +2 -1 lines
Diff to previous 1.126 (colored)

Bump PKGREVISIONs for perl 5.30.0

Revision 1.126 / (download) - annotate - [select for diffs], Sun Jun 30 20:16:42 2019 UTC (3 years, 11 months ago) by nia
Branch: MAIN
Changes since 1.125: +2 -2 lines
Diff to previous 1.125 (colored)

Update packages using a HOMEPAGE to

The former now redirects to the latter.

This covers the most simple cases where
can be changed to

Reviewed by hand to hopefully make sure no unwanted changes sneak in.

Revision 1.125 / (download) - annotate - [select for diffs], Tue Oct 2 01:03:33 2018 UTC (4 years, 8 months ago) by wen
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.124: +2 -3 lines
Diff to previous 1.124 (colored)

Update to 2.060

Upstream changes:
2.060 2018/09/16
- support for TLS 1.3 with OpenSSL 1.1.1 (needs support in Net::SSLeay too)
  Thanks to ppisar[AT] for major help
  see also
  TLS 1.3 support is not complete yet for session resume

Revision 1.124 / (download) - annotate - [select for diffs], Wed Aug 22 09:46:27 2018 UTC (4 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.123: +2 -1 lines
Diff to previous 1.123 (colored)

Recursive bump for perl5-5.28.0

Revision 1.123 / (download) - annotate - [select for diffs], Tue Aug 21 12:06:03 2018 UTC (4 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.122: +2 -2 lines
Diff to previous 1.122 (colored)

p5-IO-Socket-SSL: update to 2.059.

2.059 2018/08/15
- fix memleak when CRL are used.
  Thanks to Franz Skale for report and patch
- fix memleak when using stop_SSL and threads, reported by Paul Evans
2.058 2018/07/19
- fix t/session_ticket.t: it failed with OpenSSL 1.1.* since this version
  expects the extKeyUsage of clientAuth in the client cert also to be allowed
  by the CA if CA uses extKeyUsage
2.057 2018/07/18
- fix memory leak which occured with explicit stop_SSL in connection with
  non-blocking sockets or timeout -
  Thanks to Paul Evans for reporting
- fix redefine warnings in case Socket6 is installed but neither IO::Socket::IP
  nor IO::Socket::INET6 -
- IO::Socket::SSL::Intercept - optional 'serial' argument can be starting number
  or callback to create serial number based on the original certificate
- new function get_session_reused to check if a session got reused
- IO::Socket::SSL::Utils::CERT_asHash: fingerprint_xxx now set to the correct value

Revision 1.122 / (download) - annotate - [select for diffs], Sun Feb 25 18:47:31 2018 UTC (5 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.121: +2 -2 lines
Diff to previous 1.121 (colored)

p5-IO-Socket-SSL: update to 2.056.

2.056 2018/02/19
- Intercept - fix creation of serial number: base it on binary digest instead of
  treating hex fingerprint as binary. Allow use of own serial numbers again.
- t/io-socket-ip.t - skip test if no IPv6 support on system RT#124464
- update PublicSuffix
2.055 2018/02/15
- use SNI also if hostname was given all-uppercase
- Utils::CERT_create - don't add authority key for issuer since Chrome does
  not like this
- Intercept:
  - change behavior of code based cache to better support synchronizing
    within multiprocess/threaded setups
  - don't use counter for serial number but somehow base it on original
    certificate in order to avoid conflicts with reuse of serial numbers
    after restart
- RT#124431 - better support platforms w/o IPv6
- RT#124306 - spelling fixes in documentation
2.054 2018/01/22
- added missing test certificates to MANIFEST
2.053 2018/01/21
- small behavior fixes
  - if SSL_fingerprint is used and matches don't check for OCSP
  - Utils::CERT_create - small fixes to properly specific purpose, ability to
    use predefined complex purpose but disable some features
- update PublicSuffix
- updates for documentation, especially regarding pitfalls with forking or using
  non-blocking sockets. Spelling fixes.
- test fixes and improvements
  - stability improvements for live tests
  - regenerate certificate in certs/ and make sure they are limited to the
    correct purpose. Checkin program used to generate certificates.
  - adjust tests since certificates have changed and some tests used
    certificates intended for client authentication as server certificates,
    which now no longer works

Revision 1.121 / (download) - annotate - [select for diffs], Wed Nov 8 21:07:32 2017 UTC (5 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4
Changes since 1.120: +2 -2 lines
Diff to previous 1.120 (colored)

p5-IO-Socket-SSL: update to 2.052.

2.052 2017/10/22
- disable NPN support if LibreSSL>=2.6.1 is detected since they've replaced the
  functions with dummies instead of removing NPN completly or setting
- t/01loadmodule.t shows more output helpful in debugging problems
- update fingerprints for extenal tests
- update documentation to make behavior of syswrite more clear

Revision 1.120 / (download) - annotate - [select for diffs], Fri Sep 8 08:48:32 2017 UTC (5 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.119: +2 -2 lines
Diff to previous 1.119 (colored)

Updated p5-IO-Socket-SSL to 2.051.

2.051 2017/09/05
- syswrite: if SSL_write sets SSL_ERROR_SYSCALL but no $! (as seen with
  OpenSSL 1.1.0 on Windows) set $! to EPIPE to propagate a useful error up

Revision 1.119 / (download) - annotate - [select for diffs], Mon Sep 4 12:26:14 2017 UTC (5 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.118: +2 -2 lines
Diff to previous 1.118 (colored)

Updated p5-IO-Socket-SSL to 2.050.

2.050 2017/08/18
- removed unecessary settings of SSL_version and SSL_cipher_list from tests
- protocol_version.t can now deal when TLS 1.0 and/or TLS 1.1 are not supported
  as is the case with openssl versions in latest Debian (buster)

Revision 1.118 / (download) - annotate - [select for diffs], Wed Jun 14 13:07:54 2017 UTC (5 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.117: +2 -3 lines
Diff to previous 1.117 (colored)

Updated p5-IO-Socket-SSL to 2.049.

2.049 2017/06/12A
- fixed problem caused by typo in the context of session cache
- update PublicSuffix information from

Revision 1.117 / (download) - annotate - [select for diffs], Mon Jun 5 14:24:33 2017 UTC (6 years ago) by ryoon
Branch: MAIN
Changes since 1.116: +2 -1 lines
Diff to previous 1.116 (colored)

Recursive revbump from lang/perl5 5.26.0

Revision 1.116 / (download) - annotate - [select for diffs], Wed Apr 19 13:46:18 2017 UTC (6 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.115: +2 -2 lines
Diff to previous 1.115 (colored)

Updated p5-IO-Socket-SSL to 2.048.

2.048 2017/04/16
- fixed small memory leaks during destruction of socket and context, RT#120643

Revision 1.115 / (download) - annotate - [select for diffs], Sun Feb 19 08:49:46 2017 UTC (6 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1
Changes since 1.114: +2 -2 lines
Diff to previous 1.114 (colored)

Updated p5-IO-Socket-SSL to 2.047.

2.047 2017/02/16
- better fix for problem which 2.046 tried to fix but broke LWP this way
2.046 2017/02/15
- cleanup everything in DESTROY and make sure to start with a fresh %{*self}
  in configure_SSL because it can happen that a GLOB gets used again without
  calling DESTROY (

Revision 1.114 / (download) - annotate - [select for diffs], Thu Feb 16 15:07:02 2017 UTC (6 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.113: +2 -2 lines
Diff to previous 1.113 (colored)

Updated p5-IO-Socket-SSL to 2.045.

2.045 2017/02/13
- fixed memory leak caused by not destroying CREATED_IN_THIS_THREAD for SSL
  objects -> github pull#55
- optimization: don't track SSL objects and CTX in *CREATED_IN_THIS_THREAD
  if perl is compiled w/o thread support
- small fix in t/protocol_version.t to use older versions of Net::SSLeay
  with openssl build w/o SSLv3 support
- when setting SSL_keepSocketOnError to true the socket will not be closed
  on fatal error. This is a modified version of

Revision 1.113 / (download) - annotate - [select for diffs], Tue Feb 7 12:02:04 2017 UTC (6 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.112: +2 -2 lines
Diff to previous 1.112 (colored)

Updated p5-IO-Socket-SSL to 2.044.

2.044 2017/01/26
- protect various 'eval'-based capability detections at startup with a localized
  __DIE__ handler. This way dynamically requiring IO::Socket::SSL as done by
  various third party software should cause less problems even if there is a
  global __DIE__ handler which does not properly deal with 'eval'.

Revision 1.112 / (download) - annotate - [select for diffs], Mon Jan 16 09:28:45 2017 UTC (6 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.111: +2 -2 lines
Diff to previous 1.111 (colored)

Updated p5-IO-Socket-SSL to 2.043.

2.043 2017/01/06
- make t/session_ticket.t work with OpenSSL 1.1.0. With this version the
  session does not get reused any longer if it was not properly closed which
  is now done using an explicit close by the client which causes a
  proper SSL_shutdown
2.042 2017/01/05
- enable session ticket callback with Net::SSLeay>=1.80

Revision 1.111 / (download) - annotate - [select for diffs], Wed Jan 4 14:44:23 2017 UTC (6 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.110: +2 -2 lines
Diff to previous 1.110 (colored)

Updated p5-IO-Socket-SSL to 2.041.

2.041 2017/01/04
- leave session ticket callback off for now until the needed patch is
  included in Net::SSLeay. See

Revision 1.110 / (download) - annotate - [select for diffs], Mon Dec 19 09:32:48 2016 UTC (6 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4
Changes since 1.109: +2 -2 lines
Diff to previous 1.109 (colored)

Updated p5-IO-Socket-SSL to 2.040.

2.040 2016/12/17
- fix detection of default CA path for OpenSSL 1.1.x
- Utils::CERT_asHash now includes the signature algorithm used
- Utils::CERT_asHash can now deal with large serial numbers

Revision 1.109 / (download) - annotate - [select for diffs], Mon Nov 28 13:00:16 2016 UTC (6 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.108: +2 -2 lines
Diff to previous 1.108 (colored)

Updated p5-IO-Socket-SSL to 2.039.

2.039 2016/11/20
- OpenSSL 1.1.0c changed the behavior of SSL_read so that it now returns -1 on
  EOF without proper SSL shutdown. Since it looks like that this behavior will
  be kept at least for 1.1.1+ adapt to the changed API by treating errno=NOERR

Revision 1.108 / (download) - annotate - [select for diffs], Sun Sep 18 22:03:10 2016 UTC (6 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3
Changes since 1.107: +2 -2 lines
Diff to previous 1.107 (colored)

Updated p5-IO-Socket-SSL to 2.038.

2.038 2016/09/17
- restrict session ticket callback to Net::SSLeay 1.79+ since version before
  contains bug. Add test for session reuse
- extend SSL fingerprint to pubkey digest, i.e. 'sha1$pub$xxxxxx....'
- fix t/external/ocsp.t to use different server (under my control) to check
  OCSP stapling

Revision 1.107 / (download) - annotate - [select for diffs], Wed Aug 24 05:58:33 2016 UTC (6 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.106: +2 -2 lines
Diff to previous 1.106 (colored)

Updated p5-IO-Socket-SSL to 2.037.

2.037 2016/08/22
- fix session cache del_session: it freed the session but did not properly
  remove it from the cache. Further reuse causes crash.

Revision 1.106 / (download) - annotate - [select for diffs], Fri Aug 19 15:26:23 2016 UTC (6 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.105: +2 -2 lines
Diff to previous 1.105 (colored)

Updated p5-IO-Socket-SSL to 2.036.

Changes for 2.036 not documented.

2.035 2016/08/11
- fixes for issues introduced in 2.034
  - return with error in configure_SSL if context creation failed. This
    might otherwise result in an segmentation fault later.
  - apply builtin defaults before any (user configurable) global settings
    (i.e. done with set_defaults, set_default_context...) so that builtins
    don't replace user settings
    Thanks to joel[DOT]a[DOT]berger[AT]gmail[DOT]com for reporting

Revision 1.105 / (download) - annotate - [select for diffs], Mon Aug 8 22:33:25 2016 UTC (6 years, 10 months ago) by mef
Branch: MAIN
Changes since 1.104: +2 -2 lines
Diff to previous 1.104 (colored)

Updated security/p5-IO-Socket-SSL to 2.034
2.034 2016/08/08
- move handling of global SSL arguments into creation of context, so that these
  get also applied when creating a context only.

Revision 1.104 / (download) - annotate - [select for diffs], Thu Jul 21 12:29:56 2016 UTC (6 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.103: +2 -2 lines
Diff to previous 1.103 (colored)

Updated p5-IO-Socket-SSL to 2.033.

2.033 2016/07/15
- support for session ticket reuse over multiple contexts and processes
  (if supported by Net::SSLeay)
- small optimizations, like saving various Net::SSLeay constants into variables
  and access variables instead of calling the constant sub all the time
- make t/dhe.t work with openssl 1.1.0
2.032 2016/07/12
- Set session id context only on the server side. Even if the documentation for
  SSL_CTX_set_session_id_context makes clear that this function is server side
  only it actually affects hndling of session reuse on the client side too and
  can result in error "SSL3_GET_SERVER_HELLO:attempt to reuse session in
  different context" at the client.
2.031 2016/07/08
- fix for bug in session handling introduced in 2.031, RT#115975
  Thanks to paul[AT]city-fan[DOT]org for reporting
2.030 2016/07/08
- Utils::CERT_create - don't add given extensions again if they were already
  added. Firefox croaks with sec_error_extension_value_invalid if (specific?)
  extensions are given twice.
- assume that Net::SSLeay::P_PKCS12_load_file will return the CA certificates
  with the reverse order as in the PKCS12 file, because that's what it does.
- support for creating ECC keys in Utils once supported by Net::SSLeay
- remove internal sub session_cache and access cache directly (faster)

Revision 1.103 / (download) - annotate - [select for diffs], Thu Jun 30 17:44:18 2016 UTC (6 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.102: +2 -3 lines
Diff to previous 1.102 (colored)

Updated p5-IO-Socket-SSL to 2.029.

2.029 2016/07/26
- fix del_session method in case a single item was in the cache
- use SSL_session_key as the real key for the cache and not some derivate of it,
  so that it works to remove the entry using the same key
2.028 2016/07/26
- add del_session method to session cache

Revision 1.102 / (download) - annotate - [select for diffs], Wed Jun 8 19:24:23 2016 UTC (7 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.101: +2 -1 lines
Diff to previous 1.101 (colored)

Bump PKGREVISION for perl-5.24.

Revision 1.101 / (download) - annotate - [select for diffs], Sun Apr 24 06:30:22 2016 UTC (7 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.100: +2 -2 lines
Diff to previous 1.100 (colored)

Updated p5-IO-Socket-SSL to 2.027.

2.027 2016/04/20
- only added Changes for 2.026
2.026 2016/04/20
- update default server and client ciphers based on recommendation of
  Mozilla and what the current browsers use. Notably this finally disables
  RC4 for the client (was disabled for server long ago) and adds CHACHA20.

Revision 1.100 / (download) - annotate - [select for diffs], Fri Apr 8 15:09:37 2016 UTC (7 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.99: +2 -2 lines
Diff to previous 1.99 (colored)

Update p5-IO-Socket-SSL to 2.025.

2.025 2016/04/04
- Resolved memleak if SSL_crl_file was used: RT#113257, RT#113530
  Thanks to avi[DOT]maslati[AT]forescout[DOT]com and
  mark[DOT]kurman[AT]gmail[DOT]com for reporting the problem

Revision 1.99 / (download) - annotate - [select for diffs], Fri Feb 26 09:41:06 2016 UTC (7 years, 3 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.98: +6 -9 lines
Diff to previous 1.98 (colored)


Revision 1.98 / (download) - annotate - [select for diffs], Sun Feb 7 14:16:59 2016 UTC (7 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.97: +2 -2 lines
Diff to previous 1.97 (colored)

Update p5-IO-Socket-SSL to 2.024:

2.024 2016/02/06
- Work around issue where the connect fails on systems having only a loopback
  interface and where IO::Socket::IP is used as super class (default when
  available). Since IO::Socket::IP sets AI_ADDRCONFIG by default connect to
  localhost would fail on this systems. This happened at least for the tests,
  Workaround is to explicitely set GetAddrInfoFlags to 0 if no GetAddrInfoFlags
  is set but the Family/Domain is given. In this case AI_ADDRCONFIG would not
  be useful anyway but would cause at most harm.

Revision 1.97 / (download) - annotate - [select for diffs], Sun Jan 31 02:49:08 2016 UTC (7 years, 4 months ago) by mef
Branch: MAIN
Changes since 1.96: +2 -2 lines
Diff to previous 1.96 (colored)

Update to 2.023
2.023 2016/01/30
- OpenSSL 1.0.2f changed the behavior of SSL shutdown in case the TLS connection
  was not fully established (commit: f73c737c7ac908c5d6407c419769123392a3b0a9).
  This somehow resulted in Net::SSLeay::shutdown returning 0 (i.e. keep trying)
  which caused an endless loop. It will now ignore this result in case the TLS
  connection was not yet established and consider the TLS connection closed

Revision 1.96 / (download) - annotate - [select for diffs], Sun Dec 13 08:18:37 2015 UTC (7 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.95: +2 -2 lines
Diff to previous 1.95 (colored)

Update p5-IO-Socket-SSL to 2.022:

2.022 2015/12/10
- fix stringification of IPv6 inside subjectAltNames in Utils::CERT_asHash.
  Thanks to Mark.Martinec[AT]ijs[DOT]si for reporting in #110253

Revision 1.95 / (download) - annotate - [select for diffs], Sun Dec 6 10:51:37 2015 UTC (7 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.94: +2 -2 lines
Diff to previous 1.94 (colored)

Update p5-IO-Socket-SSL to 2.021:

2.021 2015/12/02
- Fixes for documentation and typos thanks to DavsX and jwilk.
- Update PublicSuffx with latest version from

Revision 1.94 / (download) - annotate - [select for diffs], Wed Sep 30 20:25:05 2015 UTC (7 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.93: +2 -2 lines
Diff to previous 1.93 (colored)

Update to 2.020:

2.020 2015/09/20
- support multiple directories in SSL_ca_path as proposed in RT#106711
  by dr1027[AT]evocat[DOT]ne. Directories can be given as array or as string
  with a path separator, see documentation.
- typos fixed thanks to jwilk

Revision 1.93 / (download) - annotate - [select for diffs], Tue Sep 1 23:27:21 2015 UTC (7 years, 9 months ago) by mef
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3
Changes since 1.92: +2 -2 lines
Diff to previous 1.92 (colored)

Update to 2.019
2.019 2015/09/01
- work around different behavior of getnameinfo from Socket and Socket6 by
  using a different wrapper depending on which module I use for IPv6.
  Thanks to bluhm for reporting.

Revision 1.92 / (download) - annotate - [select for diffs], Sun Aug 30 14:40:26 2015 UTC (7 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.91: +2 -2 lines
Diff to previous 1.91 (colored)

Update to 2.018:

2.018 2015/08/27
- RT#106687 - startssl.t failed on darwin with old openssl since server
  requested client certificate but offered also anon ciphers

Revision 1.91 / (download) - annotate - [select for diffs], Wed Aug 26 11:48:26 2015 UTC (7 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.90: +2 -3 lines
Diff to previous 1.90 (colored)

Update to 2.017:

2.017 2015/08/24
- checks for readability of files/dirs for certificates and CA no longer use
  -r because this is not safe when ACLs are used. Thanks to BBYRD, RT#106295
- new method sock_certificate similar to peer_certificate based on idea of
  Paul Evans, RT#105733
- get_fingerprint can now take optional certificate as argument and compute
  the fingerprint of it. Useful in connection with sock_certificate.
- check for both EWOULDBLOCK and EAGAIN since these codes are different on
  some platforms. Thanks to Andy Grundman, RT#106573
- enforce default verification scheme if none was specified, i.e. no longer
  just warn but accept. If really no verification is wanted a scheme of
  'none' must be explicitely specified.
- support different cipher suites per SNI hosts

Revision 1.90 / (download) - annotate - [select for diffs], Fri Jun 12 10:51:08 2015 UTC (7 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.89: +2 -1 lines
Diff to previous 1.89 (colored)

Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.

Revision 1.89 / (download) - annotate - [select for diffs], Wed Jun 3 07:15:14 2015 UTC (8 years ago) by wiz
Branch: MAIN
Changes since 1.88: +2 -2 lines
Diff to previous 1.88 (colored)

Update to 2.016:

2.016 2015/06/02
- add flag X509_V_FLAG_TRUSTED_FIRST by default if available in OpenSSL
  (since 1.02) and available with Net::SSLeay. RT#104759 (thanks GAAS)
- work around hanging prompt() with older perl in Makefile.PL RT#104731
- make t/memleak_bad_handshake.t work on cygwin and other systems having
  /proc/pid/statm, see RT#104659
- add better debugging based on patch from H.Merijn Brand

Revision 1.88 / (download) - annotate - [select for diffs], Wed May 27 21:38:01 2015 UTC (8 years ago) by wiz
Branch: MAIN
Changes since 1.87: +2 -2 lines
Diff to previous 1.87 (colored)

Update to 2.015:

2.014 2015/05/13
- work around problem with IO::Socket::INET6 on windows, by explicitly using
  Domain AF_INET in the tests.
  Fixes RT#104226 reported by CHORNY

Revision 1.87 / (download) - annotate - [select for diffs], Wed May 6 07:45:15 2015 UTC (8 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.86: +2 -2 lines
Diff to previous 1.86 (colored)

Update to 2.014:

2.014 2015/05/05
- Utils::CERT_create - work around problems with authorityInfoAccess, where
  OpenSSL i2v does not create the same string as v2i expects
- Intercept - don't clone some specific extensions which make only sense with
  the original certificate

Revision 1.86 / (download) - annotate - [select for diffs], Sun May 3 09:58:01 2015 UTC (8 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored)

Update to 2.013:

2.013 2015/05/01
- assign severities to internal error handling and make sure that follow-up
  errors like "configuration failed" or "certificate verify error" don't
  replace more specific "hostname verification failed" when reporting in
  sub errstr/$SSL_ERROR. see also RT#103423
- enhanced documentation thanks to Chase Whitener

Revision 1.85 / (download) - annotate - [select for diffs], Wed Feb 4 12:19:07 2015 UTC (8 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.84: +3 -2 lines
Diff to previous 1.84 (colored)

Update to 2.012. Depend on p5-Mozilla-CA.

2.012 2014/02/02
- fix t/ocsp.t in case no HTTP::Tiny is installed
2.011 2014/02/01
- fix t/ocsp.t - don't count on using OCSP stapling #101855
- added option 'purpose' to Utils::CERT_create to get better control of the
  certificates purpose. Default is 'server,client' for non-CA (contrary to
  only 'server' before)
- removed RC4 from default cipher suites on the server site
- refactoring of some tests using Test::More thanks to Sweet-kid and the
  2015 Pull Request Challenge

Revision 1.84 / (download) - annotate - [select for diffs], Fri Jan 23 06:22:20 2015 UTC (8 years, 4 months ago) by obache
Branch: MAIN
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 (colored)

simplify MASTER_SITES subdirectory.

Revision 1.83 / (download) - annotate - [select for diffs], Sun Jan 18 18:58:17 2015 UTC (8 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.82: +2 -2 lines
Diff to previous 1.82 (colored)

Update to 2.010:

2.010 2014/01/14
- new options SSL_client_ca_file and SSL_client_ca to let the server send
  the list of acceptable CAs for the client certificate.
- t/protocol_version.t - fix in case SSLv3 is not supported in Net::SSLeay.
  RT#101485, thanks to TEAM.

Revision 1.82 / (download) - annotate - [select for diffs], Wed Jan 14 13:23:10 2015 UTC (8 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (colored)

Update to 2.009:

2.009 2014/01/12
- remove util/ This tool is now together with other SSL tools in
- added ALPN support (needs OpenSSL1.02, Net::SSLeay 1.56+) thanks to TEAM,

Revision 1.81 / (download) - annotate - [select for diffs], Tue Dec 30 12:56:13 2014 UTC (8 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.80: +2 -2 lines
Diff to previous 1.80 (colored)

Update to 2.008:

2.008 2014/12/16
- work around recent OCSP verification errors for (badly signed
  OCSP response, Firefox also complains about it) in test t/external/ocsp.t.
- util/ - report more details about preferred cipher for specific TLS

Revision 1.80 / (download) - annotate - [select for diffs], Sun Nov 30 13:16:11 2014 UTC (8 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored)

Update to 2.007:
2.007 2014/11/26
- make getline/readline fall back to super class if class is not sslified yet,
  i.e. behave the same as sysread, syswrite etc.
  This fixes RT#100529

Revision 1.79 / (download) - annotate - [select for diffs], Sun Nov 23 13:06:40 2014 UTC (8 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.78: +2 -2 lines
Diff to previous 1.78 (colored)

Update to 2.006:

2.006 2014/11/22
- Make (hopefully) non-blocking work on windows by using EWOULDBLOCK instead of
  EAGAIN. While this is the same on UNIX it is different on Windows and socket
  operations return there (WSA)EWOULDBLOCK and not EAGAIN. Enable non-blocking
  tests on Windows too.
- make PublicSuffix::_default_data thread safe
- update PublicSuffix with latest list from

Revision 1.78 / (download) - annotate - [select for diffs], Sun Nov 16 12:11:55 2014 UTC (8 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.77: +2 -2 lines
Diff to previous 1.77 (colored)

Update to 2.005:

2.005 2014/11/15
- next try to fix t/protocol_version.t for OpenSSL w/o SSLv3 support
2.004 2014/11/15
- only test fix: fix t/protocol_version.t to deal with OpenSSL installations
  which are compiled without SSLv3 support.
2.003 2014/11/14
- make SSLv3 available even if the SSL library disables it by default in
  SSL_CTX_new (like done in LibreSSL). Default will stay to disable SSLv3,
  so this will be only done when setting SSL_version explicitly.
- fix possible segmentation fault when trying to use an invalid certificate,
  reported by Nick Andrew.
- Use only the ICANN part of the default public suffix list and not the
  private domains. This makes existing exceptions for and obsolete. Thanks to Gervase Markham from

Revision 1.77 / (download) - annotate - [select for diffs], Thu Oct 23 07:24:06 2014 UTC (8 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.76: +2 -2 lines
Diff to previous 1.76 (colored)

Update to 2.002:

2.002 2014/10/21
- fix check for (invalid) IPv4 when validating hostname against certificate. Do
  not use inet_aton any longer because it can cause DNS lookups for malformed
  IP. RT#99448, thanks to justincase[AT]yopmail[DOT]com.
- Update PublicSuffix with latest version from - lots of new
  top level domains.
- Add exception to PublicSuffix for - RT#99702, thanks to
2.001 2014/10/21
- Add SSL_OP_SINGLE_(DH|ECDH)_USE to default options to increase PFS security.
  Thanks to Heikki Vatiainen for suggesting.
- Update external tests with currently expected fingerprints of hosts.
- Some fixes to make it still work on 5.8.1.

Revision 1.76 / (download) - annotate - [select for diffs], Mon Oct 20 08:58:14 2014 UTC (8 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.75: +2 -2 lines
Diff to previous 1.75 (colored)

Update to 2.000:

2.000 2014/10/15
- consider SSL3.0 as broken because of POODLE and disable it by default.
- Skip live tests without asking if environment NO_NETWORK_TESTING is set.
  Thanks to ntyni[AT]debian[DOT]org for suggestion.
- skip tests which require fork on non-default windows setups without proper
  fork. Thanks to SHAY for

Revision 1.75 / (download) - annotate - [select for diffs], Sun Oct 12 14:37:15 2014 UTC (8 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored)

Update to 1.999:

1.999 2014/10/09
- make sure we don't use version 0.30 of IO::Socket::IP
- make sure that PeerHost is checked on all places where PeerAddr is
  checked, because these are synonyms and IO::Socket::IP prefers PeerHost
  while others prefer PeerAddr. Also accept PeerService additionally to
  See for details.
- add ability to use client certificates and to overwrite hostname with

Revision 1.74 / (download) - annotate - [select for diffs], Thu Oct 9 14:06:55 2014 UTC (8 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.73: +1 -3 lines
Diff to previous 1.73 (colored)

Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.

Revision 1.73 / (download) - annotate - [select for diffs], Thu Oct 9 13:44:56 2014 UTC (8 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.72: +1 -2 lines
Diff to previous 1.72 (colored)

Remove SVR4_PKGNAME, per discussion on tech-pkg.

Revision 1.72 / (download) - annotate - [select for diffs], Sun Sep 14 13:42:33 2014 UTC (8 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored)

Update to 1.998:

1.998 2014/09/07
- make client authentication work at the server side when SNI is in by use
  having CA path and other settings in all SSL contexts instead of only the main
  one.  Based on code from lundstrom[DOT]jerry[AT]gmail[DOT]com,

Revision 1.71 / (download) - annotate - [select for diffs], Sat Sep 6 12:16:28 2014 UTC (8 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored)

Update to 1.997:

1.997 2014/07/12
- thanks to return code 1 from Net::SSLeay::library_init if the library needed
  initialization and 0 if not we can now clearly distinguish if initialization
  was needed and do not need any work-arounds for perlcc by the user.
1.996 2014/07/12
- move initialization of OpenSSL-internals out of INIT again because this
  breaks if module is used with require. Since there is no right place to
  work in all circumstances just document the work-arounds needed for
  perlcc. RT#97166
1.995 2014/07/11
- RT#95452 - move initialization and creation of OpenSSL-internals into INIT
  section, so they get executed after compilation and perlcc is happy.
- refresh option for peer_certificate, so that it checks if the certificate
  changed in the mean time (on renegotiation)
- fix fingerprint checking - now applies only to topmost certificate
- IO::Socket::SSL::Utils - accept extensions within CERT_create
- documentations fixes thanks to frioux
- fix documentation bug RT#96765, thanks to Salvatore Bonaccorso.
1.994 2014/06/22
- IO::Socket::SSL can now be used as dual-use socket, e.g. start plain, upgrade
  to SSL and downgrade again all with the same object. See documentation of
  SSL_startHandshake and chapter Advanced Usage.
- try to apply SSL_ca* even if verify_mode is 0, but don't complain if this
  fails. This is needed if one wants to explicitly verify OCSP lookups even if
  verification is otherwise off, because otherwise the signature check would
  fail. This is mostly useful for testing.
- reorder documentation of attributes for new, so that the more important ones
  are at the top.
1.993 2014/06/13
- major rewrite of documentation, now in separate file
- rework error handling to distinguish between SSL errors and internal errors
  (like missing capabilities).
- fix handling of default_ca if given during the run of the program (Debian#750646)
- util/ - fix hostname check if SNI does not work

Revision 1.70 / (download) - annotate - [select for diffs], Mon Jun 9 19:43:51 2014 UTC (9 years ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.69: +2 -3 lines
Diff to previous 1.69 (colored)

Update to 1.992. From the changelog:

1.992 2014/06/01
- set $! to undef before doing IO (accept, read..). On Winwdows a connection
  reset could cause SSL read error without setting $!, so make sure we don't
  keep the old value and maybe thus run into endless loop.

1.991 2014/05/27
- new option SSL_OCSP_TRY_STAPLE to enforce staple request even if
- work around for RT#96013 in peer_certificates

1.990 2014/05/27
- added option SSL_ocsp_staple_callback to get the stapled OCSP response
  and verify it somewhere else
- try to fix warnings on Windows again (#95967)
- work around temporary OCSP error in t/external/ocsp.t

1.989 2014/05/24
- fix #95881 (warnings on windows), thanks to TMHALL

1.988 2014/05/17
- add transparent support for DER and PKCS#12 files to specify cert and key,
  e.g. it will autodetect the format
- if SSL_cert_file is PEM and no SSL_key_file is given it will check if
  the key is in SSL_cert_file too

1.987 2014/05/17
- fix t/verify_hostname_standalone.t on systems without usable IDNA or IPv6
  #95719, thanks srchulo
- enable IPv6 support only if we have a usable inet_pton
- remove stale entries from MANIFEST (thanks seen[AT]myfairpoint[DOT]net)

1.986 2014/05/16
- allow IPv4 in common name, because browsers allow this too. But only for
  scheme www/http, not for rfc2818 (because RC2818 does not allow this).
  In default scheme IPv6 and IPv4 are allowed in CN.
  Thanks to heiko[DOT]hund[AT]sophos[DOT]com for reporting the problem.
- Fix handling of public suffix. Add exemption for *
  wildcard, which should be better not allowed according to public suffix
  list but actually is used.
- Add hostname verification test based on older test of chromium. But change
  some of the test expectations because we don't want to support IP as SAN
  DNS and because we enforce a public suffix list (and thus * should
  not be allowed)

Revision 1.69 / (download) - annotate - [select for diffs], Thu May 29 23:37:24 2014 UTC (9 years ago) by wiz
Branch: MAIN
Changes since 1.68: +2 -1 lines
Diff to previous 1.68 (colored)

Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.

Revision 1.68 / (download) - annotate - [select for diffs], Thu May 15 10:01:43 2014 UTC (9 years ago) by wiz
Branch: MAIN
Changes since 1.67: +4 -4 lines
Diff to previous 1.67 (colored)

Update to 1.985:

1.985 2014/05/15
- make OCSP callback return 1 even if it was called on the server side
  because of bad setup of the socket. Otherwise we get an endless calling
  of the OCSP callback.
- consider an OCSP response which is not yet or no longer valid a soft error
  instead of an hard error
- fix skip in t/external/ocsp.t in case fingerprint does not match
- RT#95633 call EVP_PKEY_free not EVP_KEY_free in
  IO::Socket::SSL::Utils::KEY_free. Thanks to paul[AT]city-fan[DOT]org
- util/ - with --show-chain check if chain with SNI is different
  from chain w/o SNI.
1.984 2014/05/10
- added OCSP support:
  - needs Net::SSLeay >=1.59
  - for usage see documentation of IO::Socket::SSL (examples and anything with
    OCSP in the name)
- new tool util/ which is intended to help in debugging of SSL
  problems and to get information about capabilities of server. Works also
  as en example of how to use various features (like OCSP, SNI..)
- fix peer_certificates (returns leaf certificate only once on client side)
- added timeout for stop_SSL (either with Timeout or with the default
  timeout for IO::Socket)
- fix IO::Socket::SSL::Utils mapping between ASN1_TIME and time_t when local
  time is not GMT. Use Net::SSLeay::ASN1_TIME_timet if available.
- fix t/external/usable_ca.t for system with junk in CA files
1.983 2014/05/03
- fix public suffix handling: should be ok even if
  is in public suffix list (e.g. check one level less)
  #95317, thanks to purification[AT]ukr[DOT]net
- usable_ca.t - update fingerprints after heartbleed attack
- usable_ca.t - make sure we have usable CA for tested hosts in CA store
1.982 2014/04/24
- fix for using subroutine as argument to set_args_filter_hack
1.981 2014/04/08
- #95432 fix ecdhe Test for openssl1.0.1d, thanks to  paul[AT]city-fan[DOT]org
- fix detection of openssl1.0.1d (detected 1.0.1e instead)
- new function can_ecdh in IO::Socket::SSL
1.980 2014/04/08
- fixed incorrect calculation of certificate fingerprint in get_fingerprint*
  and comparison in SSL_fingerprint. Thanks to
  david[DT]palmer[AT]gradwell[DOT]com for reporting.
- disable elliptic curve support for openssl 1.0.1d on 64bit because of
  openssl rt#2975
1.979 2014/04/06
- hostname checking:
  - configuration of 'leftmost' is renamed to 'full_label', but the old
    version is kept for compatibility reasons.
  - documentation of predefined schemes fixed to match reality
1.978 2014/04/04
- RT#94424 again, fix test on older openssl version with no SNI support
1.977 2014/04/04
- fix publicsuffix for IDNA, more tests with various IDNA libs
  RT#94424. Thanks to paul[AT]city-fan[DOT]org
- reuse result of IDN lib detection from in
- add more checks to external/usable_ca.t. Now it is enough that at least
  one of the hosts verifies against the builtin CA store
- add openssl and Net::SSleay version to diagnostics in load test
1.976 2014/04/03
- added public prefix checking to verification of wildcard certificates,
  e.g. accept * but not *
  See documentation of SSL_verifycn_publicsuffix and
  Thanks to noloader for pointing out the problem.
1.975 2014/04/02
- BEHAVIOR CHANGE: work around TEA misfeature on OS X builtin openssl, e.g.
  guarantee that only the explicitly given CA or the openssl default CA will
  be used. This means that certificates inside the OS X keyring will no
  longer be used, because there is no way to control the use by openssl
  (e.g. certificate pinning etc)
- make external tests run by default to make sure default CA works on all
  platforms, it skips automatically on network problems like timeouts or ssl
  interception, can also use http(s)_proxy environment variables
1.974 2014/04/02
- new function peer_certificates to get the whole certificate chain, needs
- extended IO::Socket::Utils::CERT_asHash to provide way more information,
  like issuer information, cert and pubkey digests, all extensions, CRL
  distributions points and OCSP uri
1.973 2014/03/25
- with SSL_ca certificate handles can now be used additionally to
  SSL_ca_file and SSL_ca_path
- do not complain longer if SSL_ca_file and SSL_ca_path are both given,
  instead add both as options to the CA store
- Shortcut 'issuer' to give both issuer_cert and issuer_key in CERT_create.
1.972 2014/03/23
- make sure t/external/usable_ca.t works also with older openssl without
  support for SNI. RT#94117. Thanks to paul[AT]city-fan[DOT]org
1.971 2014/03/22
- try to use SSL_hostname for hostname verification if no SSL_verifycn_name
  is given. This way hostname for SNI and verification can be specified in
  one step.
- new test program example/
1.970 2014/03/19
- fix rt#93987 by making sure sub default_ca does use a local $_ and not a
  version of an outer scope which might be read-only.  Thanks to gshank
1.969 2014/03/13
- fix set_defaults to match documentation regarding short names
- new function set_args_filter_hack to make it possible to override bad SSL
  settings from other code at the last moment.
- determine default_ca on module load (and not on first use in each thread)
- don't try default hostname verification if verify_mode 0
- fix hostname verification when reusing context
1.968 2014/03/13
- BEHAVIOR CHANGE: removed implicit defaults of certs/server-{cert,key}.pem
  for SSL_{cert,key}_file and ca/,certs/my-ca.pem for SSL_ca_file.
  These defaults were depreceated since 1.951 (2013/7/3).
- Usable CA verification path on Windows etc:
  Do not use Net::SSLeay::CTX_set_default_verify_paths any longer to set
  system/build dependended default verification path, because there was no
  way to retrieve these default values and check if they contained usable
  CA. Instead re-implement the same algorithm and export the results with
  public function default_ca() and make it possible to overwrite it.
  Also check for usable verification path during build.
  If no usable path are detected require Mozilla::CA at build and try to
  use it at runtime.

Revision 1.67 / (download) - annotate - [select for diffs], Sun Feb 16 12:13:00 2014 UTC (9 years, 3 months ago) by sno
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored)

Updating package for Perl5 module IO::Socket::SSL from CPAN in
security/p5-IO-Socket-SSL from 1.953 to 1.967.

Upstream changes:
1.967 2014/02/06
- verify the hostname inside a certificate by default with a superset of
  common verification schemes instead of not verifying identity at all.
  For now it will only complain if name verification failed, in the future
  it will fail certificate verification, forcing you to set the expected
  SSL_verifycn_name if you want to accept the certificate.
- new option SSL_fingerprint and new methods get_fingerprint and
  get_fingerprint_bin. Together they can be used to selectively accept
  specific certificates which would otherwise fail verification, like
  self-signed, outdated or from unknown CAs.
  This makes another reason to disable verification obsolete.
- Utils:
  - default RSA key length 2048
  - digest algorithm to sign certificate in CERT_create can be given,
    defaults to SHA-256
  - CERT_create can now issue non-CA selfsigned certificate
  - CERT_create add some more useful constraints to certificate
- spelling fixes, thanks to ville[dot]skytta[at]iki[dot]fi
1.966 2014/01/21
- fixed bug introduced in 1.964 - disabling TLSv1_2 worked no longer with
  specifying !TLSv12, only !TLSv1_2 worked
- fixed leak of session objects in SessionCache, if another session
  replaced an existing session (introduced in 1.965)
1.965 2014/01/16
- new key SSL_session_key to influence how sessions are inserted and looked
  up in the clients session cache. This makes it possible to share sessions
  over different ip:host (like required with some FTPS servers)
- t/core.t - handle case, were default loopback source is not, like
  in FreeBSD jails
1.964 2014/01/15
- Disabling TLSv1_1 did not work, because the constant was wrong. Now it gets
  the constants from calling Net::SSLeay::SSL_OP_NO_TLSv1_1 etc
- The new syntax for the protocols is TLSv1_1 instead of TLSv11. This matches
  the syntax from OpenSSL. The old syntax continues to work in SSL_version.
- New functions get_sslversion and get_sslversion_int which get the SSL version
  of the establish session as string or int.
- disable t/io-socket-inet6.t if Acme::Override::INET is installed
1.963 2014/01/13
- fix behavior of stop_SSL: for blocking sockets it now enough to call it
  once, for non-blocking it should be called again as long as EAGAIN and
- don't call blocking if start_SSL failed and downgraded socket has no
  blocking method, thanks to tokuhirom
- documentation enhancements:
  - special section for differences to IO::Socket
  - describe problem with blocking accept on non-blocking socket
  - describe arguments to new_from_fd and make clear, that for upgrading an
    existing IO::Socket start_SSL should be used directly
1.962 2013/11/27
- work around problems with older F5 BIG-IP by offering fewer ciphers on the
  client side by default, so that the client hello stays below 255 byte
1.961 2013/11/26
- IO::Socket::SSL::Utils::CERT_create can now create CA-certificates which
  are not self-signed (by giving issuer_*)
1.960 2013/11/12
only documentation enhancements:
- clarify with text and example code, that within event loops not only
  select/poll should be used, but also pending has to be called.
- better introduction into SSL, at least mention anonymous authentication as
  something you don't want and should take care with the right cipher
- make it more clear, that user better does not change the cipher list, unless
  he really know what he is doing
1.959 2013/11/12
- bugfix test core.t windows only
1.958 2013/11/11
- cleanup: remove workaround for old IO::Socket::INET6 but instead require at
  least version 2.55 which is now 5 years old
- fix t/session.t #RT90240, thanks to  paul[AT]city-fan[DOT]org
1.957 2013/11/11
- fixed t/core.t: test uses cipher_list of HIGH, which includes anonymous
  authorization. With the DH param given by default since 1.956 old versions of
  openssl (like 0.9.8k) used cipher ADH-AES256-SHA (e.g. anonymous
  authorization) instead of AES256-SHA and thus the check for the peer
  certificate failed (because ADH does not exchanges certificates).
  Fixed by explicitly specifying HIGH:!aNULL as cipher
  RT#90221, thanks to  paul[AT]city-fan[DOT]org
- cleaned up tests:
  - remove ssl_settings.req and 02settings.t, because all tests now create a
    simple socket at and thus global settings are no longer needed.
  - some tests did not have use strict(!), fixed it.
  - removed special handling for older Net::SSLeay versions, which are less than
    our minimum requirement
  - some syntax enhancements, removed some SSL_version and SSL_cipher_list
    options where they were not really needed
1.956 2013/11/10
lots of behavior changes for more secure defaults:
- BEHAVIOR CHANGE: make default cipher list more secure, especially
  - no longer support MD5 by default (broken)
  - no longer support anonymous authentication by default (vulnerable to man in
    the middle attacks)
  - prefer ECDHE/DHE ciphers and add necessary ECDH curve and DH keys, so that
    it uses by default forward secrecy, if underlying Net::SSLeay/openssl
    supports it
  - move RC4 at the end, e.g. 3DES is preferred (BEAST attack should hopefully
    been fixed and now RC4 is considered less safe than 3DES)
  - default SSL_honor_cipher_order to 1, e.g. when used as server it tries to
    get the best cipher even if client prefers other ciphers
  PLEASE NOTE that this might break connections with older, less secure
  implementations. In this case revert to 'ALL:!LOW:!EXP:!aNULL' or so.
- BEHAVIOR CHANGE: SSL_cipher_list now gets set on context not SSL object and
  thus gets reused if context gets reused. PLEASE NOTE that using
  SSL_cipher_list together with SSL_reuse_ctx has no longer effect on the
  ciphers of the context.
- rework hostname verification schemes
  - add rfc names as scheme (e.g. 'rfc2818',...)
  - add SIP, SNMP, syslog, netconf, GIST
  - BEHAVIOR CHANGE: fix SMTP - now accept wildcards in CN and subjectAltName
  - BEHAVIOR CHANGE: fix IMAP, POP3, ACAP, NNTP - now accept wildcards in CN
- BEHAVIOR CHANGE: anywhere wildcards like www* now match only 'www1', 'www2'..
  but not 'www'
- anywhere wildcards like x* are no longer applied to IDNA names (which start
  with 'xn--')
- fix crash of Utils::CERT_free
- support TLSv11, TLSv12 as handshake protocols
1.955 2013/10/11
- support for forward secrecy using ECDH, if the Net::SSLeay/openssl version
  supports it.
1.954 2013/9/15
- accept older versions of ExtUtils::MakeMaker and add meta information
  like link to repository only for newer versions.

Revision 1.66 / (download) - annotate - [select for diffs], Wed Jan 1 16:04:25 2014 UTC (9 years, 5 months ago) by bsiegert
Branch: MAIN
Changes since 1.65: +10 -1 lines
Diff to previous 1.65 (colored)

Lower the minimum required OpenSSL version to 0.9.7 for MirBSD.

The MirBSD version contains fixes so the comment in Makefile.PL does
not apply.

Revision 1.65 / (download) - annotate - [select for diffs], Thu Sep 5 19:39:04 2013 UTC (9 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3
Changes since 1.64: +2 -3 lines
Diff to previous 1.64 (colored)

Update to 1.953:

1.953 2013/7/22
- fixes to IO::Socket::SSL::Utils, thanks to rurban[AT]x-ray[DOT]at,
1.952 2013/7/11
- fix t/acceptSSL-timeout.t on Win32, RT#86862
1.951 2013/7/3
- better document builtin defaults for key,cert,CA and how they are depreceated
- use Net::SSLeay::SSL_CTX_set_default_verify_paths to use openssl's builtin
  defaults for CA unless CA path/file was given (or IO::Socket::SSL builtins
1.950 2013/7/3
  ssl_verify_mode now defaults to verify_peer for client.
  Until now it used verify_none, but loudly complained since 1.79 about it.
  It will not complain any longer, but the connection might probably fail.
  Please don't simply disable ssl verification, but instead set SSL_ca_file
  etc so that verification succeeds!
  it will now complain if the builtin defaults of certs/my-ca.pem or ca/
  for CA and certs/{server,client}-{key,cert}.pem for cert and key are used,
  e.g. no certificates are specified explicitly.
  In the future these insecure (relative path!) defaults will be removed
  and the CA replaced with the system defaults.
v1.94 2013.06.01
- Makefile.PL reported wrong version of openssl, if Net::SSLeay was not
  installed instead of reporting missing dependency to Net::SSLeay.
v1.93 2013.05.31
- need at least OpenSSL version 0.9.8 now, since last 0.9.7 was released 6
  years ago. Remove code to work around older releases.
- changed AUTHOR in Makefile.PL from array back to string, because the
  array feature is not available in MakeMaker shipped with 5.8.9 (RT#85739)
v1.92 2013.05.30
- Intercept: use sha1-fingerprint of original cert for id into cache unless
  otherwise given
- Fix pod error in IO::Socket::SSL::Utils RT#85733
v1.91 2013.05.30
- added IO::Socket::SSL::Utils for easier manipulation of certificates and keys
- moved SSL interception into IO::Socket::SSL::Intercept and simplified it
  using IO::Socket::SSL::Utils
- enhance meta information in Makefile.PL
v1.90 2013.05.27
- RT#85290, support more digest, especially SHA-2.
  Thanks to ujvari[AT]microsec[DOT]hu
- added support for easy SSL interception (man in the middle) based
  on ideas found in mojo-mitm proxy (which was written by Karel Miko)
- make 1.46 the minimal required version for Net::SSLeay, because it
  introduced lots of useful functions.
v1.89 2013.05.14
- if IO::Socket::IP is used it should be at least version 0.20, otherwise
  we get problems with HTTP::Daemon::SSL and maybe others (RT#81932)
- Spelling corrections, thanks to dsteinbrunner
v1.88 2013.05.02
- consider a value of '' the same as undef for SSL_ca_(path|file), SSL_key*
  and SSL_cert* - some apps like Net::LDAP use it that way.
  Thanks to alexander[AT]kuehn[AT]nagilum[DOT]de for reporting the problem.
v1.87 2013.04.24
- RT#84829 - complain if given SSL_(key|cert|ca)_(file|path) do not exist or
  if they are not readable. Thanks to perl[AT]minty[DOT]org
- fix use of SSL_key|SSL_file objects instead of files, broken with 1.83

Revision 1.64 / (download) - annotate - [select for diffs], Fri May 31 12:41:56 2013 UTC (10 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.63: +2 -1 lines
Diff to previous 1.63 (colored)

Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.

Revision 1.63 / (download) - annotate - [select for diffs], Fri Apr 19 09:12:50 2013 UTC (10 years, 1 month ago) by hiramatsu
Branch: MAIN
Changes since 1.62: +2 -3 lines
Diff to previous 1.62 (colored)

Update p5-IO-Socket-SSL to 1.86.

Changes from previous:
v1.86 2013.04.17
- RT#84686 - don't complain about SSL_verify_mode is SSL_reuse_ctx,
  thanks to CLEACH
v1.85 2013.04.14
- probe for available modules with local __DIE__ and __WARN__handlers.
  fixes RT#84574, thanks to FRAZER
- fix warning, when IO::Socket::IP is installed and inet6 support gets explictly
  requested. RT#84619, thanks to Prashant[DOT]Tekriwal[AT]netapp[DOT]com
v1.84 2013.02.15
- disabled client side SNI for openssl version < 1.0.0 because of RT#83289
- added functions can_client_sni, can_server_sni, can_npn to check avaibility
  of SNI and NPN features. Added more documentation for SNI and NPN.
v1.83_1 2013.02.14
- seperated documention of non-blocking I/O from error handling
- changed and documented behavior of readline to return the read
  data on EAGAIN/EWOULDBLOCK in case of non-blocking socket.
  See, thanks to
v1.83 2013.02.03
- Server Name Indication (SNI) support on the server side, inspired by
  patch provided by karel[DOT]miko[AT]gmail[DOT]com.
- reworked part of the documentation, like providing better examples.
v1.82 2013.01.28
- sub error sets $SSL_ERROR etc only if there really is an error,
  otherwise it will keep the latest error. This causes
  IO::Socket::SSL->new.. to report the correct problem, even if
  the problem is deeper in the code (like in connect)
- correct spelling, rt#8270. Thanks to ETHER
v1.81 2012.12.06
- deprecated set_ctx_defaults, new name ist set_defaults (but old name
  still available)
- changed handling of default path for SSL_(ca|cert|key)* keys: either
  if one of these keys is user defined don't add defaults for the
  others, e.g.  don't mix user settings and defaults
- cleaner handling of module defaults vs. global settings vs. socket
  specific settings. Global and socket specific settings are both
  provided by the user, while module defaults not.
- make IO::Socket::INET6 and IO::Socket::IP specific tests run both,
  even if both modules are installed by faking a failed load of the
  other module.
v1.80 2012.11.30
- removed some warnings in test (missing SSL_verify_mode => 0) which
  caused tests to hang on Windows.
v1.79 2012.11.25
- prepare transition to a more secure default for SSL_verify_mode.
  The use of the current default SSL_VERIFY_NONE will cause a big warning
  for clients, unless SSL_verify_mode was explicitly set inside the
  application to this insecure value.
  In the near future the default will be SSL_VERIFY_PEER, and thus
  causing verification failures in unchanged applications.
v1.78 2012.11.25
- use getnameinfo instead of unpack_sockaddr_in6 to get PeerAddr and
  PeerPort from sockaddr in _update_peer, because this provides scope
  too. Thanks to bluhm[AT]genua[DOT]de.
- work around systems which don't defined AF_INET6
  Thanks to GAAS for reporting

Revision 1.62 / (download) - annotate - [select for diffs], Tue Oct 23 18:16:45 2012 UTC (10 years, 7 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.61: +1 -2 lines
Diff to previous 1.61 (colored)

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.61 / (download) - annotate - [select for diffs], Sun Oct 21 22:22:36 2012 UTC (10 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.60: +2 -3 lines
Diff to previous 1.60 (colored)

Update to 1.77:

v1.77 2012.10.05
- update_peer for IPv6 also, applied fix to by

Revision 1.60 / (download) - annotate - [select for diffs], Wed Oct 3 21:57:32 2012 UTC (10 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.59: +2 -1 lines
Diff to previous 1.59 (colored)

Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.

Revision 1.59 / (download) - annotate - [select for diffs], Fri Jul 6 13:19:11 2012 UTC (10 years, 11 months ago) by sno
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (colored)

Updating package for Perl 5 module IO::Socket::SSL in
security/p5-IO-Socket-SSL from 1.74 to 1.76.

Upstream changes:
v1.76 2012.06.18
- no longer depend on 1.95 for inet_pton, but use if
  no current is available. Thanks to paul[AT]city-fan[DOT]org
  for pointing out the problem and providing first patch
v1.75 2012.06.15
- made it possible to explicitly disable TLSv11 and TLSv12 in SSL_version

Revision 1.58 / (download) - annotate - [select for diffs], Thu May 31 08:50:01 2012 UTC (11 years ago) by sno
Branch: MAIN
CVS Tags: pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

Updating package for Perl module IO::Socket::SSL from CPAN in
security/p5-IO-Socket-SSL from 1.66 to 1.74.

Upstream changes:
v1.74 2012.05.13
- accept a version of SSLv2/3 as SSLv23, because older documentation
  could be interpreted like this
v1.73 2012.05.11
- make test t/dhe.t hopefully work for more version of openssl
  Thanks to paul[AT]city-fan[DOT]org for providing bug reports and
  testing environment
v1.72 2012.05.10
  Thanks to dcostas[AT]gmail[DOT]com for problem report
v1.71 2012.05.09
- 1.70 done right. Also don't disable SSLv2 ciphers, SSLv2 support is better
  disabled by the default SSL_version of 'SSLv23:!SSLv2'
v1.70 2012.05.08
- make it possible to disable protols using SSL_version, make SSL_version
  default to 'SSLv23:!SSLv2'
v1.69 2012.05.08
- re-added workaround in t/dhe.t
v1.68 2012.05.07
- remove SSLv2 from default cipher list, which makes failed tests after last
  change work again, fix behvior for empty cipher list (use default)
v1.67 2012.05.07
  thanks to d[DOT]thomas[AT]its[DOT]uq[DOT]edu[DOT]au for reporting
  - if no explicit cipher list is given it will now default to ALL:!LOW instead
    of the openssl default, which usually includes weak ciphers like DES.
  - new config key SSL_honor_cipher_order and documented how to use it to fight
    BEAST attack.

Revision 1.57 / (download) - annotate - [select for diffs], Sun Apr 22 11:50:34 2012 UTC (11 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)

Update to 1.66:

v1.66 2012.04.16
- make it thread safer, thanks to bug report from vega[DOT]james[AT]gmail
v1.65 2012.04.16
- added NPN (Next Protocol Negotiation) support based on patch from kmx
v1.64 2012.04.06
- clarify some behavior regarding hostname verfication.
  Thanks to DOHERTY for reporting.
v1.63 2012.04.06
- applied patch of DOUGDUDE to ignore die from within eval to make tests
  more stable on Win32,
v1.62 2012.03.28
- small fix to last version
v1.61 2012.03.27
- call CTX_set_session_id_context so that servers session caching works with
  client certificates too.
v1.60 2012.03.20
- don't make blocking readline if socket was set nonblocking, but return as
  soon no more data are available
- fix BUG section about threading so that it shows package as thread safe
  as long as Net::SSLeay >= 1.43 is used
v1.59 2012.03.08
- if SSLv2 is not supported by Net::SSLeay set SSL_ERROR with useful
  message when attempting to use it.
- modify constant declarations so that 5.6.1 should work again
v1.58 2012.02.26
- fix t/dhe.t again to enable the workaround only for newer openssl
  versions, because this would cause failures on older versions
v1.57 2012.02.26
- fix t/dhe.t for openssl 1.0.1 beta by forcing tlsv1, so that it does
  not complain about the too small rsa key which it should not use anyway.
  Thanks to paul[AT]city-fan[DOT]org  for reporting.
v1.56 2012.02.22
- add automatic or explicit (via SSL_hostname) SNI support, needed for
  multiple SSL hostnames with same IP. Currently only supported for the
v1.55 2012.02.20
- work around IO::Sockets work around for systems returning EISCONN etc
  on connect retry for non-blocking sockets by clearing $! if SUPER::connect
  returned true.
  Thanks for Manoj Kumar for reporting.
v1.54 2012.01.11
- return 0 instead of undef in SSL_verify_callback to fix unitialized
  warnings.  Thanks to d[DOT]thomas[AT]its[DOT]uq[DOT]edu[DOT]au for
  reporting the bug and MIKEM for the fix.
v1.53 2011.12.11
- kill child in t/memleak_bad_hanshake.t if test fails
  Thanks to CLEACH ofr reporting
v1.52 2011.12.07
- fix syntax error in t/memleak_bad_handshake.t
  thanks to cazzaniga[DOT]sandro[AT]gmail[DOT]com for reporting
v1.51 2011.12.06
- disable t/memleak_bad_handshake.t on AIX, because it might hang
v1.50 2011.12.06
  Thanks to HMBRAND for reporting and Rainer Tammer tammer[AT]tammer[DOT]net for
  providing access to AIX system
v1.49 2011.10.28
- another regression for readline fix, this time it failed to return lines
  at eof which don't end with newline. Extended t/readline.t to catch this
  case and the fix for 1.48
  Thanks to christoph[DOT]mallon[AT]gmx[DOT]de for reporting
v1.48 2011.10.26
- bugfix for readline fix in 1.45. If the pending data where false
  (like '0') it failed to read rest of line.
  Thanks to Victor Popov for reporting
v1.47 2011.10.21
- fix for 1.46 - check for mswin32 needs to be /i. Thanks to
  Alexandr Ciornii for reporting
v1.46 2011.10.18
- disable test t/signal-readline.t on windows, because signals are
  not relevant for this platform and test does not work.
v1.45 2011.10.12
- fix readline to continue when getting interrupt waiting for more
  data. Thanks to kgc[AT]corp[DOT]sonic[DOT]net for reporting problem

Revision 1.56 / (download) - annotate - [select for diffs], Sun Sep 4 05:03:53 2011 UTC (11 years, 9 months ago) by hiramatsu
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3
Changes since 1.55: +2 -3 lines
Diff to previous 1.55 (colored)

Update p5-IO-Socket-SSL to 1.44.

Changes from 1.35:

v1.44 2011.05.27
- fix invalid call to inet_pton in verify_hostname_of_cert when
  identity should be verified as ipv6 address, because it contains
v1.43_1 2011.05.12
- try to make t/nonblock.t more stable, especially on Mac OS X
v1.43 2011.05.11
- fix t/nonblock.t
- stability improvements t/inet6.t
v1.42 2011.05.10
- add SSL_create_ctx_callback to have a way to adjust context on
- describe problem of fake memory leak because of big session cache
  and how to fix it, see
v1.41 2011.05.09
- fix issue in stop_SSL where it did not issue a shutdown of the
  SSL connection if it first received the shutdown from the other
  side. Thanks to fencingleo[AT]gmail[DOT]com for reporting
- try to make t/nonblock.t more reliable, at least report the real
  cause of ssl connection errors
v1.40 2011.05.02
- integrated patch from GAAS to get IDN support from URI.
v1.39_1 2011.05.02
- fix in exampel/async_https_server.
  Thanks to DetlefPilzecker[AT]web[DOT]de for reporting
v1.39 2011.03.03
- fixed documentation of http verification: wildcards in cn is allowed
v1.38_1 2011.01.24
- close should undef _SSL_fileno, because the fileno is no longer
  valid (SSL connection and socket are closed)
v1.38 2011.01.18
- fixed wildcards_in_cn setting for http (wrongly set in 1.34 to 1
  instead of anywhere). Thanks to dagolden[AT]cpan[DOT]org for
v1.37 2010.12.09
- don't complain about invalid certificate locations if user explicitly
  set SSL_ca_path and SSL_ca_file to undef. Assume that user knows what
  he is doing and will work around the problems by itself.
v1.36 2010.12.08
- update documentation for SSL_verify_callback based on

Revision 1.55 / (download) - annotate - [select for diffs], Sun Aug 14 14:42:50 2011 UTC (11 years, 9 months ago) by obache
Branch: MAIN
Changes since 1.54: +2 -1 lines
Diff to previous 1.54 (colored)

Revision bump after updating perl5 to 5.14.1.

Revision / (download) - annotate - [select for diffs], Sun Dec 12 18:04:03 2010 UTC (12 years, 5 months ago) by tron
Branch: pkgsrc-2010Q3
Changes since 1.52: +2 -3 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Pullup ticket #3305 - requested by spz
security/p5-IO-Socket-SSL: security updated

Revisions pulled up:
- security/p5-IO-Socket-SSL/Makefile		1.53-1.54
- security/p5-IO-Socket-SSL/distinfo		1.38-1.39
Module Name:	pkgsrc
Committed By:	wiz
Date:		Thu Dec	 2 12:25:05 UTC 2010

Modified Files:
	pkgsrc/security/p5-IO-Socket-SSL: Makefile distinfo

Log Message:
Update to 1.34:

v1.34 2010.11.01
- schema http for certificate verification changed to
  wildcards_in_cn=1, because according to rfc2818 this is valid and
  also seen in the wild
- if upgrading socket from inet to ssl fails due to handshake problems
  the socket gets downgraded, but is still open.
- deprecate kill_socket, just use close()
Module Name:	pkgsrc
Committed By:	gls
Date:		Tue Dec	 7 20:15:01 UTC 2010

Modified Files:
	pkgsrc/security/p5-IO-Socket-SSL: Makefile distinfo

Log Message:
Update security/p5-IO-Socket-SSL to 1.35

Security fix

v1.35 2010.12.06
- if verify_mode is not VERIFY_NONE and the ca_file/ca_path cannot be
verified as valid it will no longer fall back to VERIFY_NONE but throw
an error. Thanks to Salvatore Bonaccorso and Daniel Kahn Gillmor for
pointing out the problem, see also

Revision 1.54 / (download) - annotate - [select for diffs], Tue Dec 7 20:15:00 2010 UTC (12 years, 6 months ago) by gls
Branch: MAIN
CVS Tags: pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

Update security/p5-IO-Socket-SSL to 1.35

Security fix

v1.35 2010.12.06
- if verify_mode is not VERIFY_NONE and the ca_file/ca_path cannot be
verified as valid it will no longer fall back to VERIFY_NONE but throw
an error. Thanks to Salvatore Bonaccorso and Daniel Kahn Gillmor for
pointing out the problem, see also

Revision 1.53 / (download) - annotate - [select for diffs], Thu Dec 2 12:25:04 2010 UTC (12 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.52: +2 -3 lines
Diff to previous 1.52 (colored)

Update to 1.34:

v1.34 2010.11.01
- schema http for certificate verification changed to
  wildcards_in_cn=1, because according to rfc2818 this is valid and
  also seen in the wild
- if upgrading socket from inet to ssl fails due to handshake problems
  the socket gets downgraded, but is still open.
- deprecate kill_socket, just use close()

Revision 1.52 / (download) - annotate - [select for diffs], Sat Aug 21 16:35:44 2010 UTC (12 years, 9 months ago) by seb
Branch: MAIN
CVS Tags: pkgsrc-2010Q3-base
Branch point for: pkgsrc-2010Q3
Changes since 1.51: +2 -1 lines
Diff to previous 1.51 (colored)

Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!

Revision 1.51 / (download) - annotate - [select for diffs], Wed May 5 22:47:20 2010 UTC (13 years, 1 month ago) by seb
Branch: MAIN
CVS Tags: pkgsrc-2010Q2-base, pkgsrc-2010Q2
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

Update p5-IO-Socket-SSL from version 1.32 to version 1.33.

Upstream changes:
v1.33 2010.03.17
- attempt to make t/memleak_bad_handshake.t more stable, it fails
  for unknown reason on various systems
- fix hostname checking: an IP should only be checked against
  subjectAltName GEN_IPADD, never against GEN_DNS or CN.
  Thanks to rusch[AT]genua[DOT]de for bug report

Revision 1.50 / (download) - annotate - [select for diffs], Tue Feb 23 19:04:23 2010 UTC (13 years, 3 months ago) by sno
Branch: MAIN
CVS Tags: pkgsrc-2010Q1-base, pkgsrc-2010Q1
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

Updating security/p5-IO-Socket-SSL from 1.31 to 1.32

Upstream changes:
v1.32 2010.02.22
- Makefile.PL: die if Scalar::Util has no dualvar support instead of
  only complaining. Thanks to w[DOT]phillip[DOT]moore[AT]gmail[DOT]com
  for reporting.

Revision 1.49 / (download) - annotate - [select for diffs], Sun Oct 11 08:01:27 2009 UTC (13 years, 8 months ago) by sno
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

Updating security/p5-IO-Socket-SSL from 1.30 to 1.31

Upstream changes:
v1.31 2009.09.25
- add and export constants for SSL_VERIFY_*
- set SSL_use_cert if cert is given and not SSL_server
- support alternative CRL file with SSL_crl_file thanks to patch of

Revision 1.48 / (download) - annotate - [select for diffs], Thu Aug 20 05:32:21 2009 UTC (13 years, 9 months ago) by sno
Branch: MAIN
CVS Tags: pkgsrc-2009Q3-base, pkgsrc-2009Q3
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

Updating security/p5-IO-Socket-SSL from 1.27 to 1.30

Upstream changes:
v1.30 2009.08.19
- fix test t/memleak_bad_handshake.t
v1.29 2009.08.19
- fixed thanks for version 1.28
v1.28 2009.08.19
- fix memleak when SSL handshake failed.
  Thanks richardhundtu[AT]gmail[DOT]com

Revision 1.47 / (download) - annotate - [select for diffs], Tue Jul 28 06:32:34 2009 UTC (13 years, 10 months ago) by sno
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

Updating package for p5 module IO::Socket::SSL from 1.26 to 1.27

Upstream changes:
v1.27 2009.07.24
- changed possible local/utf-8 depended \w in some regex against more
  explicit [a-zA-Z0-9_]. Fixed one regex, where it assumed, that service
  names can't have '-' inside
- fixed bug
  where eli[AT]dvns[DOT]com reported warnings when perl -w was used.
  While there made it more aware of errors in Net::ssl_write_all (return
  undef not 0 in generic_write)

Revision / (download) - annotate - [select for diffs], Thu Jul 16 21:18:40 2009 UTC (13 years, 10 months ago) by tron
Branch: pkgsrc-2009Q2
Changes since 1.45: +3 -2 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Pullup ticket #2816 - requested by obache
p5-IO-Socket-SSL: security update

Revisions pulled up:
- security/p5-IO-Socket-SSL/Makefile		1.46
- security/p5-IO-Socket-SSL/distinfo		1.32
Module Name:	pkgsrc
Committed By:	sno
Date:		Tue Jul  7 22:27:52 UTC 2009

Modified Files:
	pkgsrc/security/p5-IO-Socket-SSL: Makefile distinfo

Log Message:
Updating package for p5 module IO::Socket::SSL from 1.24 to 1.26 and
set license to ${PERL5_LICENSE} according to module's documentation (POD).

Upstream changes:
v1.26 2009.07.03
  fix Bug in verify_hostname_of_cert where it matched only the prefix for
  the hostname when no wildcard was given, e.g. matched
  against a certificate with name www.exam in it
  Thanks to MLEHMANN for reporting

v1.25 2009.07.02
- t/nonblock.t: increase number of bytes written to fix bug with OS X 10.5

Revision 1.46 / (download) - annotate - [select for diffs], Tue Jul 7 22:27:52 2009 UTC (13 years, 11 months ago) by sno
Branch: MAIN
Changes since 1.45: +3 -2 lines
Diff to previous 1.45 (colored)

Updating package for p5 module IO::Socket::SSL from 1.24 to 1.26 and
set license to ${PERL5_LICENSE} according to module's documentation (POD).

Upstream changes:
v1.26 2009.07.03
  fix Bug in verify_hostname_of_cert where it matched only the prefix for
  the hostname when no wildcard was given, e.g. matched
  against a certificate with name www.exam in it
  Thanks to MLEHMANN for reporting

v1.25 2009.07.02
- t/nonblock.t: increase number of bytes written to fix bug with OS X 10.5

Revision 1.45 / (download) - annotate - [select for diffs], Sun Apr 12 00:40:08 2009 UTC (14 years, 1 month ago) by sno
Branch: MAIN
CVS Tags: pkgsrc-2009Q2-base
Branch point for: pkgsrc-2009Q2
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

PkgSrc changes:
  - updating package to 1.24

Upstream changes:
v1.24 2009.04.01
- add verify hostname scheme ftp, same as http
- renew test certificates again (root CA expired, now valid for 10 years)

Revision 1.44 / (download) - annotate - [select for diffs], Wed Feb 25 20:33:12 2009 UTC (14 years, 3 months ago) by sno
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

pkgsrc Changes:

Update dependency to security/p5-Net-SSLeay to 1.33 as notes in modules

Upstream Changes:

v1.23 2009.02.23
- if neither SSL_ca_file nor SSL_ca_path are known (e.g not given and the
  default values have no existing file|path) disable checking of
  certificates, but carp about the problem
- new test certificates, the old ones expired and caused tests to fail

Revision 1.43 / (download) - annotate - [select for diffs], Sat Feb 21 14:02:08 2009 UTC (14 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

Update to 1.22:

v1.22 2009.01.24
- Net::SSLeay stores verify callbacks inside hash and never clears them, so
  set verify callback to NULL in destroy of context

v1.21 2009.01.22
- auto verification of name in certificate created circular reference between
  SSL and CTX object with the verify_callback, which caused the objects to be
  destroyed only at program end. Fix it be no longer access $self from inside
  the callback.
  Thanks to odenbach[AT]uni-paderborn[DOT]de for reporting

v1.20 2009.01.15
- only changes on test suite to make it ready for win32
  (tested with strawberry perl 5.8.8)

Revision 1.42 / (download) - annotate - [select for diffs], Wed Jan 7 12:41:50 2009 UTC (14 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

Update to 1.19:

v1.19 2008.12.31
- fix verfycn_name autodetection from PeerAddr/PeerHost

Revision 1.41 / (download) - annotate - [select for diffs], Thu Dec 18 21:50:34 2008 UTC (14 years, 5 months ago) by he
Branch: MAIN
CVS Tags: pkgsrc-2008Q4-base, pkgsrc-2008Q4
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

Update from version 1.17 to 1.18.

Fixes PR#40188, though the dependency bump is not done
(is not reflected in the module's META.yml).

Upstream changes:

v1.18 2008.11.17
- fixed typo in argument: wildcars_in_cn -> wildcards_in_cn
  thanks to ludwig[DOT]nussel[AT]suse[DOT]de for reporting

Revision 1.40 / (download) - annotate - [select for diffs], Wed Nov 5 15:24:40 2008 UTC (14 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.39: +7 -5 lines
Diff to previous 1.39 (colored)

Update to 1.17. Add dependencies on p5-Net-LibIDN and p5-IO-Socket-INET6
for IDN and inet6 support.

v.17 2008.10.13
- no code changes, publish v.16_3 as v.17 because it looks better
  than v.16
- document win32 behavior regarding non-blocking and timeouts

v.16_3   2008.09.25
- fix t/nonblock.t with workaround for problems with
  IO::Socket::INET on some systems (Mac,5.6.2) where it cannot do
  nonblocking connect and leaves socket blocked.
- make some tests less verbose by fixing diag in t/testlib.t
  (send output to STDOUT not STDERR and prefix with '#')

v.16_2   2008.09.24
- work around Bug in IO::Socket::INET6 on BSD systems
  by setting Domain based on PeerAddr
  Thanks to srezic for report and support
- remove tests of recv/send from t/core.t. Might badly interact
  with SSL handshake and cause crashes as seen on OS X 10.4

v.16_1   2008.09.19
- better support for IPv6:
  - IPv6 is enabled by default if IO::Socket::INET6 is available
  - t/inet6.t for basic tests

Revision 1.39 / (download) - annotate - [select for diffs], Sun Oct 19 19:18:46 2008 UTC (14 years, 7 months ago) by he
Branch: MAIN
Changes since 1.38: +2 -1 lines
Diff to previous 1.38 (colored)

Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

The list of packages is computed by finding all packages which end
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").

Revision 1.38 / (download) - annotate - [select for diffs], Thu Oct 9 13:17:50 2008 UTC (14 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

Update to 1.16:

	- change code for SSL_check_crl to use X509_STORE_set_flags instead of
          X509_STORE_CTX_set_flags based on bug report from
          <tjtoocool[AT]phreaker[DOT]net >
        - change opened() to report -1 if the IO::Handle is open, but the
          SSL connection failed, needed with HTTP::Daemon::SSL which will send
          an error mssage over the unencrypted socket

Revision 1.37 / (download) - annotate - [select for diffs], Sat Sep 6 15:44:04 2008 UTC (14 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2008Q3-base, pkgsrc-2008Q3, cube-native-xorg-base, cube-native-xorg
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

Update to 1.15:

	- change internal behavior when SSL handshake failed (like when verify
          callback returned an error) in the hope to fix spurios errors in

Revision 1.36 / (download) - annotate - [select for diffs], Sun Aug 3 20:47:11 2008 UTC (14 years, 10 months ago) by he
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

Update from version 1.13 to 1.14.  Changes:

	- added support for verification of hostname from certificate
          including subjectAltNames, support for IDN etc based on patch and
          input from christopher[AT]odenbachs[DOT]de and
          It is also possible to get more information from peer_certificate
          based on this patch. See documentation for peer_certificate and
	- automatic verification of hostnames with SSL_verifycn_scheme and
        - global setting of default context options like SSL_verifycn_scheme,
          SSL_verify_mode with set_ctx_defaults
        - fix import of inet4,inet6 which got broken within 1.13_X.
          Thanks to <at[AT]altlinux[DOT]ru> for bugreport and patch
	- clarified and enhanced debugging supppport based on bugreport

	- put information into README regarding the supported and recommanded
	  version of Net::SSLeay

Revision 1.35 / (download) - annotate - [select for diffs], Tue Feb 5 11:36:04 2008 UTC (15 years, 4 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, cwrapper
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

Update p5-IO-Socket-SSL to 1.13.

        - removed CLONE_SKIP which was added in 1.03 because this breaks
          windows forking. Handled threads/windows forking better by making
          sure that CTX from Net::SSLeay gets not freed multiple times from
          different threads after cloning/forking
        - removed setting LocalPort to 0 in tests, instead leave it undef
          if a random port should be allocated. This should fix build problems
          with 5.6.1. Thanks to <andrew[DOT]benham[AT]thus[DOT]net>

Revision 1.34 / (download) - annotate - [select for diffs], Thu Nov 1 08:31:40 2007 UTC (15 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

Update to 1.12:

	- treat timeouts of 0 for accept_SSL and connect_SSL like no timeout,
          like IO::Socket does.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Oct 17 20:50:05 2007 UTC (15 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

Update to 1.11:

	- fixed errors in accept_SSL which would work when called from start_SSL
          but not from accept
	- start_SSL, accept_SSL and connect_SSL have argument for Timeout
          so that the SSL handshake will not block forever. Only used if the
          socket is blocking. If not set the Timeout value from the underlying
          IO::Socket is used

Revision 1.32 / (download) - annotate - [select for diffs], Tue Sep 18 21:17:18 2007 UTC (15 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Update to 1.09:

        - new method stop_SSL as opposite of start_SSL based on a idea
          of Bron Gondwana <brong[AT]fastmail[DOT]fm>
          To support this method the SSL_shutdown handling had to be
          fixed, e.g. in close a proper unidirectional shutdown
          should be done while in stop_SSL a bidirectional shutdown
        - try to make it clearer that thread support is buggy

Revision 1.31 / (download) - annotate - [select for diffs], Thu Aug 30 06:12:11 2007 UTC (15 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Update to 1.08:

	- make sure that Scalar::Util has support for dualvar
          (Makefile.PL, because the perl-only version has
          has no dualvar

Revision 1.30 / (download) - annotate - [select for diffs], Tue Jun 12 23:02:40 2007 UTC (15 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

Update to 1.07:

        - fix t/nonblock.t on systems which have by default a larger
          socket buffer. Set SO_SNDBUF explicitly with setsockopt
          to force smaller writes on the socket

Revision 1.29 / (download) - annotate - [select for diffs], Fri Jun 8 08:02:15 2007 UTC (16 years ago) by wiz
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Update to 1.06:

        - instead of setting undef args to '' in configure_SSL drop
          them. This makes Net::SMTP::SSL working again because it
          does not give LocalPort of '' to IO::Socket::INET any more

Revision 1.28 / (download) - annotate - [select for diffs], Thu May 3 12:30:20 2007 UTC (16 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

Update to 1.05:
        - make session cache working even if the IO::Socket::SSL object
          was not created with IO::Socket::SSL->new but with
          IO::Socket::SSL->start_SSL on an established socket

Revision 1.27 / (download) - annotate - [select for diffs], Sun Apr 15 13:06:26 2007 UTC (16 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Update to 1.04:

        - added way to create SSL object with predefined session
	  cache, thus making it possible to share the cache between
	  objects even if the rest of the context is not shared
          key SSL_session_cache
          Note that the arguments of IO::Socket::SSL::SessionCache::new
          changed (but you should never have used this class directly
          because it's internal to IO::Socket::SSL)

Revision 1.26 / (download) - annotate - [select for diffs], Fri Mar 16 20:52:55 2007 UTC (16 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2007Q1-base, pkgsrc-2007Q1
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Update to 1.03:

        - add CLONE_SKIP as proposed by
          Jarrod Johnson jbjohnso at us dot ibm dot com

Revision 1.25 / (download) - annotate - [select for diffs], Fri Feb 2 19:05:12 2007 UTC (16 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Update to 1.02:

	- added some info to BUGS and to BUGS section of pod
	- added TELL and BINMODE to IO::Socket::SSL::SSL_HANDLE, even
          if they do nothing useful.
	- all tests allocate now the ports dynamically, so there should
          be no longer a conflict with open ports on the system where
          the tests run
	- work around Bug in Net::HTTPS where it defines sub blocking
          as {}, e.g. force scalar context when calling sub blocking
          (in IO::Socket::SSL::write)
	- fix depreciated and practically undocumented function
          get_peer_certificate so that LWP Net::HTTPS works again
        - set arg 'Blocking' while calling SUPER::configure only
          if it was set by the caller to work around Problem in LWP

Revision 1.24 / (download) - annotate - [select for diffs], Sun Nov 5 17:35:59 2006 UTC (16 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4
Changes since 1.23: +4 -3 lines
Diff to previous 1.23 (colored)

DESTDIR support.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Sep 5 11:21:00 2006 UTC (16 years, 9 months ago) by abs
Branch: MAIN
CVS Tags: pkgsrc-2006Q3-base, pkgsrc-2006Q3
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Update security/p5-IO-Socket-SSL from 0.998 to 0.999
- If SSL_cipher_list is not given it uses the openssl default
  instead of setting it to 'ALL:!LOW:!EXP' like before. The old
  value included ADH and this might be a bad idea, see BUGS why.
Resolves PR pkg/34392 by Martin Wilke

Revision 1.22 / (download) - annotate - [select for diffs], Tue Aug 15 12:07:33 2006 UTC (16 years, 9 months ago) by abs
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

Update security/p5-IO-Socket-SSL from 0.997 to 0.998.
        - declare socket as opened before calling fatal_ssl_error
          because the SSL_error_trap set up from HTTP::Daemon
          needs this
        - accept_SSL sets errors on $socket (the accepted socket)
          not $self (the listening socket if called from accept)
          so it can be queried from SSL_error_trap
        - note in BUGS section that IO::Socket::SSL is not thread-safe

Note: The previous update from 0.97 broke all https:// URLs in p5-libwww,
will address that in next commit (to p5-libwww)

Revision 1.21 / (download) - annotate - [select for diffs], Sat Aug 5 17:47:25 2006 UTC (16 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

Update to 0.997:

        - fix readline (e.g. getline,getlines,<>) so that it behaves
          regarding $/ like written in the $/ dokumentation.
        - removed links and comments to inofficial release of
          Net::SSLeay, because there is a newer version already
        - add support for Diffie Hellman Key Exchange.
          See parameter SSL_dh_file and SSL_dh.
        - hide DEBUG statements and remove test to load
          because packets like Spamassisin cannot cope with it
          (at least the OpenBSD port)
        - added SSL_cert and SSL_key parameter which do not take
          a file name like SSL_cert_file and SSL_key_file but
          an internal X509* resp. EVP_PKEY* value. Useful for
          dynamically created certificates and keys.
        - added test for sysread/syswrite behavior (which was changed
          in v0.991)
        - _set_rw_error does $!||=EAGAIN only if error is one of
          SSL_WANT_READ|SSL_WANT_WRITE (patch from Mike Smith
          <mike at mailchannels dot com>)
        - Fix Makefile.PL to allow detectection of failures in PREREQ_PM
          (, patch
          by alexchorny at gmail dot com)
        - sysread and syswrite ar no longer the same as read and write,
          but can return already if only parts of the data are read
          or written (which is the usual semantic for sysread and syswrite)
          This should fix problems with HTTP::Daemon::SSL
        - just upgrade Version number because I've screwed up upload
	  of v0.98 to cpan
	- Maintainer changed to <Steffen_Ullrich at genua dot de>
	- Better support for nonblocking sockets:
	  . exports $SSL_ERROR which contains the latest error from
	    the openssl library. Exports constants SSL_WANT_READ and
	    SSL_WANT_WRITE es special errors which will be set if
	    openssl wants to write or read during nonblocking connects,
	    accepts, reads or writes.
	  . accept,accept_SSL,connect and connect_SSL don't block
	    anymore if the socket is nonblocking.
	    Instead $! will be set from the underlying IO::Socket::INET
	    connect or accept if it failed there (usually EAGAIN or
	    EINPROGRESS) or if the underlying openssl needs to read or
	    write $! will be set to EAGAIN and $SSL_ERROR will be set
	  . syswrite returns undef and sets $!,$SSL_ERROR if it fails
	    to write instead of returning 0.
	- Bugfixes (
	  . Bug 18439: fileno 0 should be valid
	  . Bug 15001: sysread interpretes buffer "0" as ""
	- peer_certifcate returns X509 struct string if no field
	  for extraction was specified
	- get_peer_certificate returns the certificate instead of the
	  IO::Socket::SSL object

Revision 1.20 / (download) - annotate - [select for diffs], Sat Mar 4 21:30:37 2006 UTC (17 years, 3 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Point MAINTAINER to in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't

Revision 1.19 / (download) - annotate - [select for diffs], Sun Oct 16 08:46:07 2005 UTC (17 years, 7 months ago) by heinz
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.18: +2 -3 lines
Diff to previous 1.18 (colored)

Updated to version 0.97.

No pkgsrc changes.

Changes since version 0.96:
        - Writes now correctly return errors.  (Problem noted by
          Dominique Quatravaux <dom at>).
        - CA paths now work without passing an empty SSL_ca_file
          argument.  (Problem found by Phil Pennock, <phil.pennock
        - IO::Socket::SSL now automatically passes Proto => tcp (if
          not already specified) to IO::Socket::INET to work around
          /etc/services files with udp entries listed first.  (Fix
          suggested by Phil Pennock).
        - $socket->accept() now returns the peer address in array
          context for better conformance with IO::Socket::INET.
          However, if you were doing "map { $_->accept } (@sockets)",
          or similar tricks, you will need to use "scalar" to get the
          old behavior back.  (Problem noted by Nils Sowen, <n.sowen
        - IO::Socket::SSL should now properly block on reads larger
          than the buffer size of Net::SSLeay.  (Problem found by Eric
          Jergensen, <eric at>).
        - IO::Socket::SSL should now send CA Certs (if necessary)
          along with certificates.  (Problem found by <roy at
        - Timeouts should now work, but be aware that if multiple
          reads/writes are necessary to complete a connection, then
          each one may have a separate timeout.  (Request from
          Dominique Quatravaux <dom at>).
        - In certain cases, start_SSL() would misplace a socket's
          fileno, causing problems with starting SSL.  This should now
          be fixed.  (Problem found by <russ at>).
        - IO::Socket::SSL now requires a minimum of Net::SSLeay 1.21.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Aug 6 06:19:30 2005 UTC (17 years, 10 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored)

Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jul 13 18:01:39 2005 UTC (17 years, 10 months ago) by jlam
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary

Revision 1.16 / (download) - annotate - [select for diffs], Mon Apr 11 21:47:16 2005 UTC (18 years, 2 months ago) by tv
Branch: MAIN
CVS Tags: pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.15: +1 -2 lines
Diff to previous 1.15 (colored)

Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Feb 18 13:12:12 2005 UTC (18 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1
Changes since 1.14: +3 -4 lines
Diff to previous 1.14 (colored)

Update to 0.96:
	- Makefile's error messages now correct if output is
	  redirected (patch from Ilya Zakharevich).
	- Non-blocking connects/accepts now work (Problem found by
	  Uri Guttman).
	- new_from_fd() now works.
	- getline() and <> in scalar context now return undef
	  instead of '' when the read failed.  (Problem found by
	  Christian Gilmore).
	- Broken pipe signals are now ignored during socket close
	  to prevent a SSL shutdown message from killing the parent
	  program.  (Problem found by Christian Gilmore).
	- Tests should proceed much more quickly, and a semi-race was
	  fixed, meaning that on slow machines the tests should be
	  more reliable.
	- Check for Scalar::Util and Weakref now uses default
	  $SIG{__DIE__} instead of a potentially user-altered one
	  (suggestion from Olaf Schneider).  This only applies to Perl 5.6.0 & above.
	- Session caching support (patch from Marko Asplund).
	- set_default_context() added to alter the behavior of
	  modules that use IO::Socket::SSL from the main program.
	- get_ssl_object() renamed to _get_ssl_object() to reflect
	  the fact that it's only supposed to be used internally
	  (not that you should have cared, of course).
	- Added patch for Net::SSLeay to take advantage of
	  client-side session caching. (i.e. use 1.26 of Net-SSLeay)

Revision 1.14 / (download) - annotate - [select for diffs], Mon Dec 20 11:31:08 2004 UTC (18 years, 5 months ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

since perl is now built with threads on most platforms, the perl archlib
module directory has changed (eg. "darwin-2level" vs.

binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.

addresses PR pkg/28619 from H. Todd Fujinaka.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Mar 26 02:27:53 2004 UTC (19 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2, pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Mar 21 01:03:20 2004 UTC (19 years, 2 months ago) by heinz
Branch: MAIN
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored)

Uses no compiler, so USE_LANGUAGES is empty

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jan 5 22:16:25 2004 UTC (19 years, 5 months ago) by jlam
Branch: MAIN
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored)


Revision 1.10 / (download) - annotate - [select for diffs], Sat Sep 13 12:24:20 2003 UTC (19 years, 8 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Updated security/p5-IO-Socket-SSL to 0.95.  Changes version version 0.93

        - Better opened() behavior when sockets close unexpectedly.
        - Added support for WeakRef and Scalar::Util to allow
          IO::Socket::SSL objects to auto-destroy themselves when
          they go out of scope.
        - Added croak()ing for unimplemented send() and recv() methods
          so they are not accidentally used to transmit unencrypted
          data.  The Perl builtin functions cannot be reliably trapped
          and are still dangerous, a fact that the POD now reflects
        - Changed accept() to use inherited accept() instead of
          IO::Socket::accept, so that IPv6 inheritance is possible.
        - Added options to import() so that a user could specify
          IPv6 or IPv4 mode of operation.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jul 21 17:20:22 2003 UTC (19 years, 10 months ago) by martti
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

COMMENT should start with a capital letter.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Jul 17 22:53:07 2003 UTC (19 years, 10 months ago) by grant
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)


Revision 1.7 / (download) - annotate - [select for diffs], Mon Jun 2 01:17:07 2003 UTC (20 years ago) by jschauma
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.

Revision 1.6 / (download) - annotate - [select for diffs], Sun May 25 02:20:25 2003 UTC (20 years ago) by heinz
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

Update p5-IO-Socket-SSL to version 0.92.

From the change log:
  - Changed the fileno() function to support returning the fileno
    of server sockets.  (Problem found by Roland Giersig
    <RGiersig at cpan org>).
  - Fixed SSL_version incorrectly defaulting to SSLv2 (patch from
    Roland Alder <roland.alder at celeris ch>).

Revision 1.5 / (download) - annotate - [select for diffs], Fri Sep 27 09:35:43 2002 UTC (20 years, 8 months ago) by shell
Branch: MAIN
CVS Tags: netbsd-1-6-1-base, netbsd-1-6-1
Changes since 1.4: +4 -7 lines
Diff to previous 1.4 (colored)

Updated to p5-IO-Socket-SSL-0.91

Two recent changes :
  - Added support for SSL_peek and SSL_pending (peek() and
    pending()).  Updated documentation, tests, etc. to reflect

v0.901  2002.08.19
  - Fixed the warning that happens when sockets are not explicitly
    closed() before the program terminates.

For full log, please see Changes

Revision 1.4 / (download) - annotate - [select for diffs], Wed Apr 17 11:10:44 2002 UTC (21 years, 1 month ago) by shell
Branch: MAIN
CVS Tags: pkgviews-base, pkgviews, netbsd-1-6-RELEASE-base, netbsd-1-6, buildlink2-base, buildlink2
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Updated to p5-IO-Socket-SSL-0.81

- fmt on DESCR

Changes :

 - calling context_init twice destroyed global context. fix from
   Jason Heiss <>.
 - file handle tying interface implementation moved to a separate
   class to prevent problems resulting from self-tying filehandles.
   Harmon S. Nine <>.
 - docs/debugging.txt file added
 - require Net::SSLeay v1.08
 - preliminary support for non-blocking read/write
 - socketToSSL() now respects context's SSL verify setting
   reported by Uri Guttman <>.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Nov 26 06:50:17 2001 UTC (21 years, 6 months ago) by jlam
Branch: MAIN
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.2: +4 -3 lines
Diff to previous 1.2 (colored)

Buildlinkify, in the sense that only the perl headers are found in
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Oct 18 15:20:38 2001 UTC (21 years, 7 months ago) by veego
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

SVR4 packages have a limit of 9 chars for a package name.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.

Revision / (download) - annotate - [select for diffs] (vendor branch), Thu Sep 27 07:42:05 2001 UTC (21 years, 8 months ago) by jlam
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

p5-IO-Socket-SSL - perl5 SSL socket interface class

IO::Socket::SSL is a class implementing an object-oriented interface to 
SSL sockets. The class is a descendent of IO::Socket::INET and provides a 
subset of the base class's interface methods as well as SSL-specific methods.

Provided in pkg/14036 by Sen Nagata <>.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Sep 27 07:42:05 2001 UTC (21 years, 8 months ago) by jlam
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>