-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.xml
254 lines (252 loc) · 9 KB
/
package.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.7.1" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
<name>PharUtil</name>
<channel>pear.kotowicz.net</channel>
<summary>Security-oriented utilities for Phar archives</summary>
<description>Command line utilities for building, signing and verifyng Phar archives with OpenSSL public/private key.
Both local and remote deployment of Phar archives is possible, enabling secure execution of code fetched
from remote locations without the risk of Arbitraty Remote Code Execution.
</description>
<lead>
<name>Krzysztof Kotowicz</name>
<user>koto</user>
<email>kkotowicz@gmail.com</email>
<active>yes</active>
</lead>
<date>2012-01-22</date>
<version>
<release>0.6.1</release>
<api>0.1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="http://www.opensource.org/licenses/mit-license.html">MIT</license>
<notes>
- issue #16 fixed (error in condition in file RemotePharVerifier)
</notes>
<contents>
<dir name="/">
<file name="LICENSE" role="data" />
<file name="README.md" role="data" />
<dir name="PharUtil">
<file name="RemotePharVerifier.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="SignatureVerificationException.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir>
<dir name="test" >
<dir name="PharUtil">
<file name="RemotePharVerifierTest.php" role="test" />
<dir name="data">
<dir name="cert">
<file name="priv.pem" role="test" />
<file name="pub.pem" role="test" />
<file name="trash.pem" role="test" />
</dir>
<dir name="phar">
<file name="modified.phar" role="test" />
<file name="nosig.phar" role="test" />
<file name="nosigmodified.phar" role="test" />
<file name="test.phar" role="test" />
<file name="test.phar.gz" role="test" />
<file name="wrongsig.phar" role="test" />
</dir>
</dir>
</dir>
</dir>
<dir name="example">
<dir name="build">
<file name="keep_me" role="doc" />
</dir>
<dir name="cert">
<file name="README" role="doc" />
</dir>
<dir name="src">
<file name="index.php" role="doc" />
<file name="test.php" role="doc" />
</dir>
<dir name="tmp">
<file name="keep_me" role="doc" />
</dir>
<dir name="verified">
<file name="keep_me" role="doc" />
</dir>
<file name="local.php" role="doc" />
<file name="remote.php" role="doc" />
<file name="README" role="doc" />
</dir>
<file name="phar-build.php" role="script">
<tasks:replace from="/usr/bin/env php" to="php_bin" type="pear-config"/>
<tasks:replace from="@php_bin@" to="php_bin" type="pear-config" />
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="phar-build.bat" role="script">
<tasks:replace from="@php_bin@" to="php_bin" type="pear-config" />
<tasks:replace from="@bin_dir@" to="bin_dir" type="pear-config" />
</file>
<file name="phar-extract.php" role="script">
<tasks:replace from="/usr/bin/env php" to="php_bin" type="pear-config"/>
<tasks:replace from="@php_bin@" to="php_bin" type="pear-config" />
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="phar-extract.bat" role="script">
<tasks:replace from="@php_bin@" to="php_bin" type="pear-config" />
<tasks:replace from="@bin_dir@" to="bin_dir" type="pear-config" />
</file>
<file name="phar-verify.php" role="script">
<tasks:replace from="/usr/bin/env php" to="php_bin" type="pear-config"/>
<tasks:replace from="@php_bin@" to="php_bin" type="pear-config" />
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="phar-verify.bat" role="script">
<tasks:replace from="@php_bin@" to="php_bin" type="pear-config" />
<tasks:replace from="@bin_dir@" to="bin_dir" type="pear-config" />
</file>
<file name="phar-generate-cert.php" role="script">
<tasks:replace from="/usr/bin/env php" to="php_bin" type="pear-config"/>
<tasks:replace from="@php_bin@" to="php_bin" type="pear-config" />
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="phar-generate-cert.bat" role="script">
<tasks:replace from="@php_bin@" to="php_bin" type="pear-config" />
<tasks:replace from="@bin_dir@" to="bin_dir" type="pear-config" />
</file>
<file name="phar-file-checksums.php" role="script">
<tasks:replace from="/usr/bin/env php" to="php_bin" type="pear-config"/>
<tasks:replace from="@php_bin@" to="php_bin" type="pear-config" />
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="phar-file-checksums.bat" role="script">
<tasks:replace from="@php_bin@" to="php_bin" type="pear-config" />
<tasks:replace from="@bin_dir@" to="bin_dir" type="pear-config" />
</file>
</dir>
</contents>
<dependencies>
<required>
<php>
<min>5.2.1</min>
</php>
<pearinstaller>
<min>1.4.0</min>
</pearinstaller>
<package>
<name>Console_CommandLine</name>
<channel>pear.php.net</channel>
<min>1.1.3</min>
</package>
<extension>
<name>Phar</name>
</extension>
</required>
<optional>
<extension>
<name>openssl</name>
</extension>
</optional>
</dependencies>
<phprelease>
<installconditions>
<os>
<name>windows</name>
</os>
</installconditions>
<filelist>
<install as="phar-build" name="phar-build.php" />
<install as="phar-build.bat" name="phar-build.bat" />
<install as="phar-extract" name="phar-extract.php" />
<install as="phar-extract.bat" name="phar-extract.bat" />
<install as="phar-verify" name="phar-verify.php" />
<install as="phar-verify.bat" name="phar-verify.bat" />
<install as="phar-generate-cert" name="phar-generate-cert.php" />
<install as="phar-generate-cert.bat" name="phar-generate-cert.bat" />
<install as="phar-file-checksums" name="phar-file-checksums.php" />
<install as="phar-file-checksums.bat" name="phar-file-checksums.bat" />
</filelist>
</phprelease>
<phprelease>
<filelist>
<install as="phar-build" name="phar-build.php" />
<install as="phar-extract" name="phar-extract.php" />
<install as="phar-verify" name="phar-verify.php" />
<install as="phar-generate-cert" name="phar-generate-cert.php" />
<install as="phar-file-checksums" name="phar-file-checksums.php" />
<ignore name="phar-build.bat" />
<ignore name="phar-extract.bat" />
<ignore name="phar-verify.bat" />
<ignore name="phar-generate-cert.bat" />
<ignore name="phar-file-checksums.bat" />
</filelist>
</phprelease>
<changelog>
<release>
<version>
<release>0.5.0</release>
<api>0.1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2010-08-09</date>
<license uri="http://www.opensource.org/licenses/mit-license.html">MIT</license>
<notes>phar-generate-cert is now rewritten in php</notes>
</release>
<release>
<version>
<release>0.4</release>
<api>0.1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2010-08-06</date>
<license uri="http://www.opensource.org/licenses/mit-license.html">MIT</license>
<notes>phar-build supports excluding files/directories</notes>
</release>
<release>
<version>
<release>0.3</release>
<api>0.1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2010-08-06</date>
<license uri="http://www.opensource.org/licenses/mit-license.html">MIT</license>
<notes>Added phar-verify toolset, small changes</notes>
</release>
<release>
<version>
<release>0.2</release>
<api>0.1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2010-08-06</date>
<license uri="http://www.opensource.org/licenses/mit-license.html">MIT</license>
<notes>Added phar-extract toolset, small changes</notes>
</release>
<release>
<version>
<release>0.1</release>
<api>0.1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2010-08-05</date>
<license uri="http://www.opensource.org/licenses/mit-license.html">MIT</license>
<notes>First release</notes>
</release>
</changelog>
</package>