[package] openssl: add a patch to support DTLS compatibility with Cisco AnyConnect...
[openwrt-10.03/.git] / package / openssl / patches / 130-perl-path.patch
1 Index: openssl-0.9.8e/Configure
2 ===================================================================
3 --- openssl-0.9.8e.orig/Configure       2007-06-04 13:23:32.217836040 +0200
4 +++ openssl-0.9.8e/Configure    2007-06-04 13:23:32.598778128 +0200
5 @@ -1,4 +1,4 @@
6 -:
7 +#!/usr/bin/perl
8  eval 'exec perl -S $0 ${1+"$@"}'
9      if $running_under_some_shell;
10  ##
11 Index: openssl-0.9.8e/tools/c_rehash.in
12 ===================================================================
13 --- openssl-0.9.8e.orig/tools/c_rehash.in       2007-06-04 13:23:32.074857776 +0200
14 +++ openssl-0.9.8e/tools/c_rehash.in    2007-06-04 13:23:32.598778128 +0200
15 @@ -1,4 +1,4 @@
16 -#!/usr/local/bin/perl
17 +#!/usr/bin/perl
18  
19  
20  # Perl c_rehash script, scan all files in a directory
21 Index: openssl-0.9.8e/util/clean-depend.pl
22 ===================================================================
23 --- openssl-0.9.8e.orig/util/clean-depend.pl    2007-06-04 13:23:32.080856864 +0200
24 +++ openssl-0.9.8e/util/clean-depend.pl 2007-06-04 13:23:32.598778128 +0200
25 @@ -1,4 +1,4 @@
26 -#!/usr/local/bin/perl -w
27 +#!/usr/bin/perl -w
28  # Clean the dependency list in a makefile of standard includes...
29  # Written by Ben Laurie <ben@algroup.co.uk> 19 Jan 1999
30  
31 Index: openssl-0.9.8e/util/mkdef.pl
32 ===================================================================
33 --- openssl-0.9.8e.orig/util/mkdef.pl   2007-06-04 13:23:32.085856104 +0200
34 +++ openssl-0.9.8e/util/mkdef.pl        2007-06-04 13:23:32.599777976 +0200
35 @@ -1,4 +1,4 @@
36 -#!/usr/local/bin/perl -w
37 +#!/usr/bin/perl
38  #
39  # generate a .def file
40  #
41 Index: openssl-0.9.8e/util/mkerr.pl
42 ===================================================================
43 --- openssl-0.9.8e.orig/util/mkerr.pl   2007-06-04 13:23:32.091855192 +0200
44 +++ openssl-0.9.8e/util/mkerr.pl        2007-06-04 13:23:32.599777976 +0200
45 @@ -1,4 +1,4 @@
46 -#!/usr/local/bin/perl -w
47 +#!/usr/bin/perl
48  
49  my $config = "crypto/err/openssl.ec";
50  my $debug = 0;
51 Index: openssl-0.9.8e/util/mkstack.pl
52 ===================================================================
53 --- openssl-0.9.8e.orig/util/mkstack.pl 2007-06-04 13:23:32.096854432 +0200
54 +++ openssl-0.9.8e/util/mkstack.pl      2007-06-04 13:23:32.600777824 +0200
55 @@ -1,4 +1,4 @@
56 -#!/usr/local/bin/perl -w
57 +#!/usr/bin/perl
58  
59  # This is a utility that searches out "DECLARE_STACK_OF()"
60  # declarations in .h and .c files, and updates/creates/replaces
61 Index: openssl-0.9.8e/util/pod2man.pl
62 ===================================================================
63 --- openssl-0.9.8e.orig/util/pod2man.pl 2007-06-04 13:23:32.102853520 +0200
64 +++ openssl-0.9.8e/util/pod2man.pl      2007-06-04 13:23:32.600777824 +0200
65 @@ -1,4 +1,4 @@
66 -: #!/usr/bin/perl-5.005
67 +#!/usr/bin/perl
68      eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
69         if $running_under_some_shell;
70  
71 Index: openssl-0.9.8e/util/selftest.pl
72 ===================================================================
73 --- openssl-0.9.8e.orig/util/selftest.pl        2007-06-04 13:23:32.109852456 +0200
74 +++ openssl-0.9.8e/util/selftest.pl     2007-06-04 13:23:32.600777824 +0200
75 @@ -1,4 +1,4 @@
76 -#!/usr/local/bin/perl -w
77 +#!/usr/bin/perl
78  #
79  # Run the test suite and generate a report
80  #