Subject: CVS commit: pkgsrc/security/p5-IO-Socket-SSL
From: Thomas Klausner
Date: 2006-08-05 19:47:25
Message id: 20060805174725.79DFC211CA@cvs.netbsd.org

Log Message:
Update to 0.997:

v0.997
        - fix readline (e.g. getline,getlines,<>) so that it behaves
          regarding $/ like written in the $/ dokumentation.
v0.996
        - removed links and comments to inofficial release of
          Net::SSLeay, because there is a newer version already
v0.995
        - add support for Diffie Hellman Key Exchange.
          See parameter SSL_dh_file and SSL_dh.
v0.994
        - hide DEBUG statements and remove test to load Debug.pm
          because packets like Spamassisin cannot cope with it
          (at least the OpenBSD port)
v0.993
        - 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)
v0.992
        - _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
          (http://rt.cpan.org/Public/Bug/Display.html?id=20563, patch
          by alexchorny at gmail dot com)
v0.991
        - 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
v0.99
        - just upgrade Version number because I've screwed up upload
	  of v0.98 to cpan
v0.98
	- 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
	    to SSL_WANT_READ or SSL_WANT_WRITE
	  . syswrite returns undef and sets $!,$SSL_ERROR if it fails
	    to write instead of returning 0.
	- Bugfixes (http://rt.cpan.org/Public/Bug/Display.html?id=Bugid)
	  . 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

Files:
RevisionActionfile
1.21modifypkgsrc/security/p5-IO-Socket-SSL/Makefile
1.9modifypkgsrc/security/p5-IO-Socket-SSL/distinfo