[MINI2440] Updated defconfig to add (optional) packages
[openwrt/mini2440.git] / package / openssl / patches / 150-no_engines.patch
blob127ce98a2ce21b613814efe330c9fbf514c9cbf0
1 diff -ur openssl-0.9.8i.orig/Configure openssl-0.9.8i/Configure
2 --- openssl-0.9.8i.orig/Configure 2008-05-31 17:31:04.000000000 +0200
3 +++ openssl-0.9.8i/Configure 2008-05-31 17:30:47.000000000 +0200
4 @@ -1714,6 +1714,11 @@
5 close(OUT);
8 +# ugly hack to disable engines
9 +if($target eq "mingwx") {
10 + system("sed -e s/^LIB/XLIB/g -i engines/Makefile");
13 print <<EOF;
15 Configured for $target.
16 diff -ur openssl-0.9.8i.orig/util/libeay.num openssl-0.9.8i/util/libeay.num
17 --- openssl-0.9.8i.orig/util/libeay.num 2008-05-31 17:27:46.000000000 +0200
18 +++ openssl-0.9.8i/util/libeay.num 2008-05-31 17:30:47.000000000 +0200
19 @@ -2071,7 +2071,6 @@
20 UI_add_error_string 2633 EXIST::FUNCTION:
21 KRB5_CHECKSUM_free 2634 EXIST::FUNCTION:
22 OCSP_REQUEST_get_ext 2635 EXIST::FUNCTION:
23 -ENGINE_load_ubsec 2636 EXIST::FUNCTION:ENGINE,STATIC_ENGINE
24 ENGINE_register_all_digests 2637 EXIST::FUNCTION:ENGINE
25 PKEY_USAGE_PERIOD_it 2638 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE:
26 PKEY_USAGE_PERIOD_it 2638 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION:
27 @@ -2545,7 +2544,6 @@
28 AES_set_encrypt_key 3024 EXIST::FUNCTION:AES
29 OCSP_resp_count 3025 EXIST::FUNCTION:
30 KRB5_CHECKSUM_new 3026 EXIST::FUNCTION:
31 -ENGINE_load_cswift 3027 EXIST::FUNCTION:ENGINE,STATIC_ENGINE
32 OCSP_onereq_get0_id 3028 EXIST::FUNCTION:
33 ENGINE_set_default_ciphers 3029 EXIST::FUNCTION:ENGINE
34 NOTICEREF_it 3030 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE:
35 @@ -2576,7 +2574,6 @@
36 i2d_EXTENDED_KEY_USAGE 3052 EXIST::FUNCTION:
37 i2d_OCSP_SIGNATURE 3053 EXIST::FUNCTION:
38 asn1_enc_save 3054 EXIST::FUNCTION:
39 -ENGINE_load_nuron 3055 EXIST::FUNCTION:ENGINE,STATIC_ENGINE
40 _ossl_old_des_pcbc_encrypt 3056 EXIST::FUNCTION:DES
41 PKCS12_MAC_DATA_it 3057 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE:
42 PKCS12_MAC_DATA_it 3057 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION:
43 @@ -2600,7 +2597,6 @@
44 i2d_KRB5_CHECKSUM 3072 EXIST::FUNCTION:
45 ENGINE_set_table_flags 3073 EXIST::FUNCTION:ENGINE
46 AES_options 3074 EXIST::FUNCTION:AES
47 -ENGINE_load_chil 3075 EXIST::FUNCTION:ENGINE,STATIC_ENGINE
48 OCSP_id_cmp 3076 EXIST::FUNCTION:
49 OCSP_BASICRESP_new 3077 EXIST::FUNCTION:
50 OCSP_REQUEST_get_ext_by_NID 3078 EXIST::FUNCTION:
51 @@ -2667,7 +2663,6 @@
52 OCSP_CRLID_it 3127 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION:
53 i2d_KRB5_AUTHENTBODY 3128 EXIST::FUNCTION:
54 OCSP_REQUEST_get_ext_count 3129 EXIST::FUNCTION:
55 -ENGINE_load_atalla 3130 EXIST::FUNCTION:ENGINE,STATIC_ENGINE
56 X509_NAME_it 3131 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE:
57 X509_NAME_it 3131 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION:
58 USERNOTICE_it 3132 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE:
59 @@ -2762,8 +2757,6 @@
60 DES_read_password 3207 EXIST::FUNCTION:DES
61 UI_UTIL_read_pw 3208 EXIST::FUNCTION:
62 UI_UTIL_read_pw_string 3209 EXIST::FUNCTION:
63 -ENGINE_load_aep 3210 EXIST::FUNCTION:ENGINE,STATIC_ENGINE
64 -ENGINE_load_sureware 3211 EXIST::FUNCTION:ENGINE,STATIC_ENGINE
65 OPENSSL_add_all_algorithms_noconf 3212 EXIST:!VMS:FUNCTION:
66 OPENSSL_add_all_algo_noconf 3212 EXIST:VMS:FUNCTION:
67 OPENSSL_add_all_algorithms_conf 3213 EXIST:!VMS:FUNCTION:
68 @@ -2772,7 +2765,6 @@
69 AES_ofb128_encrypt 3215 EXIST::FUNCTION:AES
70 AES_ctr128_encrypt 3216 EXIST::FUNCTION:AES
71 AES_cfb128_encrypt 3217 EXIST::FUNCTION:AES
72 -ENGINE_load_4758cca 3218 EXIST::FUNCTION:ENGINE,STATIC_ENGINE
73 _ossl_096_des_random_seed 3219 EXIST::FUNCTION:DES
74 EVP_aes_256_ofb 3220 EXIST::FUNCTION:AES
75 EVP_aes_192_ofb 3221 EXIST::FUNCTION:AES
76 @@ -3107,7 +3099,6 @@
77 STORE_method_set_modify_function 3530 EXIST:!VMS:FUNCTION:
78 STORE_meth_set_modify_fn 3530 EXIST:VMS:FUNCTION:
79 STORE_parse_attrs_next 3531 EXIST::FUNCTION:
80 -ENGINE_load_padlock 3532 EXIST::FUNCTION:ENGINE
81 EC_GROUP_set_curve_name 3533 EXIST::FUNCTION:EC
82 X509_CERT_PAIR_it 3534 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE:
83 X509_CERT_PAIR_it 3534 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: