head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.36 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.34 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.32 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.30 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.28 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.26 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.24 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.22 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.20 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.18 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.16 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.14 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.12 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.10 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.8 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.6 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.4 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.2 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.3.0.20 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.18 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.16 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.14 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.12 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.10 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.8 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.6 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.4 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.3.0.2 netbsd-1-6-1-base:1.3 netbsd-1-6:1.2.0.8 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.2.0.4 pkgviews-base:1.2 buildlink2:1.2.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.2 netbsd-1-5-PATCH001:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2006.01.20.20.39.07; author wiz; state dead; branches; next 1.3; 1.3 date 2003.02.09.08.09.09; author shell; state Exp; branches; next 1.2; 1.2 date 2002.01.19.03.19.13; author mjl; state Exp; branches; next 1.1; 1.1 date 2001.03.10.14.16.52; author wiz; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.03.10.14.16.52; author wiz; state Exp; branches; next ; desc @@ 1.4 log @Complete move of p5-SSLeay to p5-Crypt-SSLeay @ text @$NetBSD: patch-aa,v 1.3 2003/02/09 08:09:09 shell Exp $ --- Makefile.PL.orig Sun Feb 9 14:08:27 2003 +++ Makefile.PL @@@@ -13,7 +13,7 @@@@ my $currdir = dirname($0) || '.'; chdir($currdir) || die("can't change to $currdir: $!"); # FIND POSSIBLE SSL INSTALLATIONS -my @@POSSIBLE_SSL_DIRS = qw(/usr/local/openssl /usr/local/ssl /local/ssl /opt/ssl /usr/local /local /usr); +my @@POSSIBLE_SSL_DIRS = qw(%%SSLBASE%%); if($^O eq 'MSWin32') { unshift(@@POSSIBLE_SSL_DIRS, 'c:/openssl'); } @@@@ -40,7 +40,8 @@@@ if (@@CANDIDATE == 1) { } } -my $SSL_DIR; +my $SSL_DIR = $CANDIDATE[0][0]; +<<__SKIP__; if($opt_default && (@@CANDIDATE == 1) && $CANDIDATE[0][0]) { $SSL_DIR = $CANDIDATE[0][0]; print "Using --default OpenSSL candidate found at $SSL_DIR\n"; @@@@ -51,9 +52,10 @@@@ if($opt_default && (@@CANDIDATE == 1) && unless($CANDIDATE[0][0]) { print "No OpenSSL installation found, usually in $POSSIBLE_SSL_DIRS[0]\n"; } - $SSL_DIR = prompt "Which OpenSSL build path do you want to link against?", $CANDIDATE[0][0]; + $SSL_DIR = $CANDIDATE[0][0]; } } +__SKIP__ my $candidate = &Candidate($SSL_DIR); unless($candidate) { @ 1.3 log @Updated to p5-SSLeay-0.47 Changes from 0.45 + Added patch from Pavel Hlavnicka for freeing memory leaks from SSL_CTX_use_pkcs12_file() whose functionality is triggered by the $ENV{HTTPS_PKCS12_*} settings + Set timeout to 15 seconds for ./net_ssl_test and lwp-ssl-test sample scripts for better testing of timeout behavior + Added alarm() during Net::SSL->read() to honor socket timeout setting for more robust applications. read() will die_with_error() which in consistent with previous semantics used during SSL read() failure Thanks to Pavel Hlavnicka for prompting this change. + Removed code that supported versions of SSLeay before version 0.8 I believe SSLeay v.8 was released back in 1998 + Added patch from Devin Heitmueller so that initial random seed would be taken from /dev/urandom if available via RAND_load_file API @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update p5-Crypt-SSLeay to 0.35 + Set local $SIG{PIPE} = \&die before $ssl->connect() to capture the "broken pipe" error associated with connecting to a computer that is not running a SSL web server + Documented differences / conflicts between LWP proxy support and Crypt::SSLeay which seems to be a source of confusion for users. + Added Net::SSL::get_peer_verify call so the warning header from LWP that says: Client-SSL-Warning: Peer certificate not verified can be suppressed when HTTPS_CA_FILE & HTTPS_CA_DIR environment variables are set to invoke peer certificate verification. + $ENV{HTTPS_DEBUG} activates Crypt::SSLeay specific debugging, so one can debug from LWP:: calls without using ./net_ssl_test script - removed exit from Makefile.PL + Streamlined *CA* patches so only in $CTX->set_verify() which gets called every time now. + Throw error instead of return undef in Net::SSL->connect() because we loose the errors otherwise. - Turn SSL_MODE_AUTO_RETRY on so clients can survive changes in SSLVerifyClient changes in the modssl connection + Integrated patches from Gamid Isayev for CA peer verification. - Client certs weren't working correctly, setup certs earlier in connection now, also create new CTX per request, so cert settings don't remain sticky from one request to the next. + update ./net_ssl_test to do smart parsing of host, where host can now be of the form http://www.nodeworks.com:443/ - local $@@ in Net::SSL::DESTROY so we don't kill real errors - return undef in Net::SSL::connect() instead of die() for better LWP support & error handling. + alarm() on Unix platforms around ssl ctx connect, which can hang for process for way too long when trying to connect to dead https SSL servers. Fixes PR/15053 by Shell Hung. @ text @d3 1 a3 1 --- Makefile.PL.orig Fri Aug 17 06:03:38 2001 d5 1 a5 1 @@@@ -13,7 +13,7 @@@@ d11 14 a24 4 my @@CANDIDATE; my $open_ssl = 0; my $dir; @@@@ -47,7 +47,7 @@@@ d32 1 d34 2 @ 1.1 log @Initial revision @ text @d3 1 a3 1 --- Makefile.PL.orig Sat Nov 25 18:22:32 2000 d5 1 a5 1 @@@@ -8,7 +8,7 @@@@ d10 1 a10 1 +my @@POSSIBLE_SSL_DIRS = qw(@@SSLBASE@@); d14 6 a19 3 @@@@ -38,7 +38,7 @@@@ unless($CANDIDATE[0][0]) { print "No OpenSSL installation found, usually in $POSSIBLE_SSL_DIRS[0]\n"; a20 2 - $SSL_DIR = prompt "Which OpenSSL build path do you want to link against?", $CANDIDATE[0][0]; + $SSL_DIR = $CANDIDATE[0][0]; d22 1 a22 2 my $candidate = &Candidate($SSL_DIR); unless($candidate) { @ 1.1.1.1 log @Initial import of p5-SSLeay. Package by Damon Brodie in pkg/11600. OpenSSL glue for perl that provides https support. @ text @@