Package: php-phpseclib / 2.0.15-1

0001-Use-homemade-autoload.php.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Sat, 26 Sep 2015 17:04:25 -0400
Subject: Use homemade autoload.php

Forwarded: not-needed
---
 phpseclib/Crypt/AES.php        | 2 +-
 phpseclib/Crypt/Blowfish.php   | 2 +-
 phpseclib/Crypt/DES.php        | 2 +-
 phpseclib/Crypt/Hash.php       | 2 +-
 phpseclib/Crypt/RC2.php        | 2 +-
 phpseclib/Crypt/RC4.php        | 2 +-
 phpseclib/Crypt/RSA.php        | 4 ++--
 phpseclib/Crypt/Random.php     | 2 +-
 phpseclib/Crypt/Rijndael.php   | 2 +-
 phpseclib/Crypt/TripleDES.php  | 2 +-
 phpseclib/Crypt/Twofish.php    | 2 +-
 phpseclib/Net/SCP.php          | 2 +-
 phpseclib/Net/SFTP.php         | 2 +-
 phpseclib/Net/SSH1.php         | 4 ++--
 phpseclib/Net/SSH2.php         | 4 ++--
 phpseclib/System/SSH/Agent.php | 2 +-
 16 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/phpseclib/Crypt/AES.php b/phpseclib/Crypt/AES.php
index 7d8cb8b..013c141 100644
--- a/phpseclib/Crypt/AES.php
+++ b/phpseclib/Crypt/AES.php
@@ -23,7 +23,7 @@
  * Here's a short example of how to use this library:
  * <code>
  * <?php
- *    include 'vendor/autoload.php';
+ *    include 'phpseclib/autoload.php';
  *
  *    $aes = new \phpseclib\Crypt\AES();
  *
diff --git a/phpseclib/Crypt/Blowfish.php b/phpseclib/Crypt/Blowfish.php
index 74cc49d..6ab527c 100644
--- a/phpseclib/Crypt/Blowfish.php
+++ b/phpseclib/Crypt/Blowfish.php
@@ -14,7 +14,7 @@
  * Here's a short example of how to use this library:
  * <code>
  * <?php
- *    include 'vendor/autoload.php';
+ *    include 'phpseclib/autoload.php';
  *
  *    $blowfish = new \phpseclib\Crypt\Blowfish();
  *
diff --git a/phpseclib/Crypt/DES.php b/phpseclib/Crypt/DES.php
index 9a8225f..bf4c498 100644
--- a/phpseclib/Crypt/DES.php
+++ b/phpseclib/Crypt/DES.php
@@ -16,7 +16,7 @@
  * Here's a short example of how to use this library:
  * <code>
  * <?php
- *    include 'vendor/autoload.php';
+ *    include 'phpseclib/autoload.php';
  *
  *    $des = new \phpseclib\Crypt\DES();
  *
diff --git a/phpseclib/Crypt/Hash.php b/phpseclib/Crypt/Hash.php
index a616682..0ea30f6 100644
--- a/phpseclib/Crypt/Hash.php
+++ b/phpseclib/Crypt/Hash.php
@@ -18,7 +18,7 @@
  * Here's a short example of how to use this library:
  * <code>
  * <?php
- *    include 'vendor/autoload.php';
+ *    include 'phpseclib/autoload.php';
  *
  *    $hash = new \phpseclib\Crypt\Hash('sha1');
  *
diff --git a/phpseclib/Crypt/RC2.php b/phpseclib/Crypt/RC2.php
index b2b9d48..10dcdc1 100644
--- a/phpseclib/Crypt/RC2.php
+++ b/phpseclib/Crypt/RC2.php
@@ -14,7 +14,7 @@
  * Here's a short example of how to use this library:
  * <code>
  * <?php
- *    include 'vendor/autoload.php';
+ *    include 'phpseclib/autoload.php';
  *
  *    $rc2 = new \phpseclib\Crypt\RC2();
  *
diff --git a/phpseclib/Crypt/RC4.php b/phpseclib/Crypt/RC4.php
index 25e4ff8..9784bf6 100644
--- a/phpseclib/Crypt/RC4.php
+++ b/phpseclib/Crypt/RC4.php
@@ -18,7 +18,7 @@
  * Here's a short example of how to use this library:
  * <code>
  * <?php
- *    include 'vendor/autoload.php';
+ *    include 'phpseclib/autoload.php';
  *
  *    $rc4 = new \phpseclib\Crypt\RC4();
  *
diff --git a/phpseclib/Crypt/RSA.php b/phpseclib/Crypt/RSA.php
index 6af7811..a6c5a64 100644
--- a/phpseclib/Crypt/RSA.php
+++ b/phpseclib/Crypt/RSA.php
@@ -8,7 +8,7 @@
  * Here's an example of how to encrypt and decrypt text with this library:
  * <code>
  * <?php
- *    include 'vendor/autoload.php';
+ *    include 'phpseclib/autoload.php';
  *
  *    $rsa = new \phpseclib\Crypt\RSA();
  *    extract($rsa->createKey());
@@ -26,7 +26,7 @@
  * Here's an example of how to create signatures and verify signatures with this library:
  * <code>
  * <?php
- *    include 'vendor/autoload.php';
+ *    include 'phpseclib/autoload.php';
  *
  *    $rsa = new \phpseclib\Crypt\RSA();
  *    extract($rsa->createKey());
diff --git a/phpseclib/Crypt/Random.php b/phpseclib/Crypt/Random.php
index 01e34cc..9483ca8 100644
--- a/phpseclib/Crypt/Random.php
+++ b/phpseclib/Crypt/Random.php
@@ -8,7 +8,7 @@
  * Here's a short example of how to use this library:
  * <code>
  * <?php
- *    include 'vendor/autoload.php';
+ *    include 'phpseclib/autoload.php';
  *
  *    echo bin2hex(\phpseclib\Crypt\Random::string(8));
  * ?>
diff --git a/phpseclib/Crypt/Rijndael.php b/phpseclib/Crypt/Rijndael.php
index 3648a19..943d3f6 100644
--- a/phpseclib/Crypt/Rijndael.php
+++ b/phpseclib/Crypt/Rijndael.php
@@ -28,7 +28,7 @@
  * Here's a short example of how to use this library:
  * <code>
  * <?php
- *    include 'vendor/autoload.php';
+ *    include 'phpseclib/autoload.php';
  *
  *    $rijndael = new \phpseclib\Crypt\Rijndael();
  *
diff --git a/phpseclib/Crypt/TripleDES.php b/phpseclib/Crypt/TripleDES.php
index a2c4166..d6818f6 100644
--- a/phpseclib/Crypt/TripleDES.php
+++ b/phpseclib/Crypt/TripleDES.php
@@ -10,7 +10,7 @@
  * Here's a short example of how to use this library:
  * <code>
  * <?php
- *    include 'vendor/autoload.php';
+ *    include 'phpseclib/autoload.php';
  *
  *    $des = new \phpseclib\Crypt\TripleDES();
  *
diff --git a/phpseclib/Crypt/Twofish.php b/phpseclib/Crypt/Twofish.php
index 70980a2..d2a9bec 100644
--- a/phpseclib/Crypt/Twofish.php
+++ b/phpseclib/Crypt/Twofish.php
@@ -14,7 +14,7 @@
  * Here's a short example of how to use this library:
  * <code>
  * <?php
- *    include 'vendor/autoload.php';
+ *    include 'phpseclib/autoload.php';
  *
  *    $twofish = new \phpseclib\Crypt\Twofish();
  *
diff --git a/phpseclib/Net/SCP.php b/phpseclib/Net/SCP.php
index cf13496..7ee9c8d 100644
--- a/phpseclib/Net/SCP.php
+++ b/phpseclib/Net/SCP.php
@@ -10,7 +10,7 @@
  * Here's a short example of how to use this library:
  * <code>
  * <?php
- *    include 'vendor/autoload.php';
+ *    include 'phpseclib/autoload.php';
  *
  *    $ssh = new \phpseclib\Net\SSH2('www.domain.tld');
  *    if (!$ssh->login('username', 'password')) {
diff --git a/phpseclib/Net/SFTP.php b/phpseclib/Net/SFTP.php
index bf3407c..eaa538d 100644
--- a/phpseclib/Net/SFTP.php
+++ b/phpseclib/Net/SFTP.php
@@ -14,7 +14,7 @@
  * Here's a short example of how to use this library:
  * <code>
  * <?php
- *    include 'vendor/autoload.php';
+ *    include 'phpseclib/autoload.php';
  *
  *    $sftp = new \phpseclib\Net\SFTP('www.domain.tld');
  *    if (!$sftp->login('username', 'password')) {
diff --git a/phpseclib/Net/SSH1.php b/phpseclib/Net/SSH1.php
index 514b20a..0099cff 100644
--- a/phpseclib/Net/SSH1.php
+++ b/phpseclib/Net/SSH1.php
@@ -8,7 +8,7 @@
  * Here's a short example of how to use this library:
  * <code>
  * <?php
- *    include 'vendor/autoload.php';
+ *    include 'phpseclib/autoload.php';
  *
  *    $ssh = new \phpseclib\Net\SSH1('www.domain.tld');
  *    if (!$ssh->login('username', 'password')) {
@@ -22,7 +22,7 @@
  * Here's another short example:
  * <code>
  * <?php
- *    include 'vendor/autoload.php';
+ *    include 'phpseclib/autoload.php';
  *
  *    $ssh = new \phpseclib\Net\SSH1('www.domain.tld');
  *    if (!$ssh->login('username', 'password')) {
diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php
index dae4a28..6802164 100644
--- a/phpseclib/Net/SSH2.php
+++ b/phpseclib/Net/SSH2.php
@@ -8,7 +8,7 @@
  * Here are some examples of how to use this library:
  * <code>
  * <?php
- *    include 'vendor/autoload.php';
+ *    include 'phpseclib/autoload.php';
  *
  *    $ssh = new \phpseclib\Net\SSH2('www.domain.tld');
  *    if (!$ssh->login('username', 'password')) {
@@ -22,7 +22,7 @@
  *
  * <code>
  * <?php
- *    include 'vendor/autoload.php';
+ *    include 'phpseclib/autoload.php';
  *
  *    $key = new \phpseclib\Crypt\RSA();
  *    //$key->setPassword('whatever');
diff --git a/phpseclib/System/SSH/Agent.php b/phpseclib/System/SSH/Agent.php
index 99dcecf..371244d 100644
--- a/phpseclib/System/SSH/Agent.php
+++ b/phpseclib/System/SSH/Agent.php
@@ -8,7 +8,7 @@
  * Here are some examples of how to use this library:
  * <code>
  * <?php
- *    include 'vendor/autoload.php';
+ *    include 'phpseclib/autoload.php';
  *
  *    $agent = new \phpseclib\System\SSH\Agent();
  *