perl-ssl.patch 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. Index: Crypt-SSLeay-0.57/Makefile.PL
  2. --- Crypt-SSLeay-0.57/Makefile.PL.orig 2007-09-17 22:36:59 +0200
  3. +++ Crypt-SSLeay-0.57/Makefile.PL 2007-09-18 08:28:09 +0200
  4. @@ -35,15 +35,7 @@
  5. }
  6. else {
  7. # Unix and the rest
  8. - @POSSIBLE_SSL_DIRS = qw(
  9. - /local
  10. - /local/ssl
  11. - /opt/ssl
  12. - /usr
  13. - /usr/local
  14. - /usr/local/ssl
  15. - /usr/local/openssl
  16. - );
  17. + @POSSIBLE_SSL_DIRS = qw(/usr);
  18. }
  19. my @CANDIDATE = do {
  20. Index: IO-Socket-SSL-1.12/Makefile.PL
  21. --- IO-Socket-SSL-1.12/Makefile.PL.orig 2007-08-10 10:54:23 +0200
  22. +++ IO-Socket-SSL-1.12/Makefile.PL 2007-09-18 08:28:09 +0200
  23. @@ -71,3 +71,4 @@
  24. 'dist' => { COMPRESS => 'gzip', SUFFIX => 'gz', },
  25. 'NO_META' => 1,
  26. );
  27. +
  28. Index: IO-Socket-SSL-1.12/SSL.pm
  29. --- IO-Socket-SSL-1.12/SSL.pm.orig 2007-09-13 21:19:34 +0200
  30. +++ IO-Socket-SSL-1.12/SSL.pm 2007-09-18 08:28:09 +0200
  31. @@ -388,10 +388,7 @@
  32. sub read {
  33. my $self = shift;
  34. - return $self->generic_read(
  35. - $self->blocking ? \&Net::SSLeay::ssl_read_all : \&Net::SSLeay::read,
  36. - @_
  37. - );
  38. + return $self->generic_read(\&Net::SSLeay::read, @_);
  39. }
  40. # contrary to the behavior of read sysread can read partial data
  41. Index: Net-SSLeay-1.32/Makefile.PL
  42. --- Net-SSLeay-1.32/Makefile.PL.orig 2007-09-18 08:28:10 +0200
  43. +++ Net-SSLeay-1.32/Makefile.PL 2007-09-18 08:28:40 +0200
  44. @@ -11,10 +11,8 @@
  45. ssleay();
  46. build_requires('Sub::Uplevel');
  47. -build_requires('Test::Exception');
  48. build_requires('Array::Compare');
  49. build_requires('Tree::DAG_Node');
  50. -build_requires('Test::Warn');
  51. requires('MIME::Base64');
  52. clean_files(map { fixpath($_) } qw(
  53. @@ -33,3 +31,4 @@
  54. auto_install();
  55. WriteAll();
  56. +