-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.xml
176 lines (175 loc) · 8.72 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
<?xml version="1.0" encoding="UTF-8"?>
<package version="2.1" xmlns="http://pear.php.net/dtd/package-2.1" 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.1 http://pear.php.net/dtd/package-2.1.xsd">
<name>PEAR2_Net_Transmitter</name>
<channel>pear2.php.net</channel>
<summary>Wrapper for network stream functionality.
</summary>
<description>PHP has built in support for various types of network streams, such as HTTP and TCP sockets. One problem that arises with them is the fact that a single fread/fwrite call might not read/write all the data you intended, regardless of whether you're in blocking mode or not. While the PHP manual offers a workaround in the form of a loop with a few variables, using it every single time you want to read/write can be tedious.
This package abstracts this away, so that when you want to get exactly N amount of bytes, you can be sure the upper levels of your app will be dealing with N bytes. Oh, and the functionality is nicely wrapped in an object (but that's just the icing on the cake).</description>
<lead>
<name>Vasil Rangelov</name>
<user>boen_robot</user>
<email>[email protected]</email>
<active>yes</active>
</lead>
<date>2017-05-13</date>
<time>16:35:14</time>
<version>
<release>1.0.0b2</release>
<api>1.0.0</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<license uri="http://www.gnu.org/copyleft/lesser.html">LGPL License 2.1</license>
<notes>* Fixed "failed to parse address" error that occurs in patched PHP versions for Debian 7 and Ubuntu 16.04.
- **NOTE:** Persistent connections still fail in those environments, and there's no possible workaround, short of getting a non-patched PHP version or upgrading to Debian 8 or Ubuntu 16.10.</notes>
<contents>
<dir name="/">
<dir name="docs" baseinstalldir="/">
<file role="doc" name="apigen.neon">
<tasks:replace type="pear-config" to="php_dir" from="../src"/>
</file>
<file role="doc" name="doxygen.ini">
<tasks:replace type="pear-config" to="php_dir" from="../src"/>
<tasks:replace type="package-info" to="version" from="GIT: $Id$"/>
</file>
<file role="doc" name="phpdoc.dist.xml">
<tasks:replace type="pear-config" to="php_dir" from="../src"/>
</file>
<file role="doc" name="sami.php">
<tasks:replace type="package-info" to="version" from="GIT: $Id$"/>
</file>
</dir>
<dir name="src" baseinstalldir="/">
<dir name="PEAR2">
<dir name="Net">
<dir name="Transmitter">
<file role="php" name="Exception.php">
<tasks:replace type="package-info" to="version" from="GIT: $Id$"/>
<tasks:replace type="package-info" to="summary" from="~~summary~~"/>
<tasks:replace type="package-info" to="description" from="~~description~~"/>
</file>
<file role="php" name="FilterCollection.php">
<tasks:replace type="package-info" to="version" from="GIT: $Id$"/>
<tasks:replace type="package-info" to="summary" from="~~summary~~"/>
<tasks:replace type="package-info" to="description" from="~~description~~"/>
</file>
<file role="php" name="LockException.php">
<tasks:replace type="package-info" to="version" from="GIT: $Id$"/>
<tasks:replace type="package-info" to="summary" from="~~summary~~"/>
<tasks:replace type="package-info" to="description" from="~~description~~"/>
</file>
<file role="php" name="NetworkStream.php">
<tasks:replace type="package-info" to="version" from="GIT: $Id$"/>
<tasks:replace type="package-info" to="summary" from="~~summary~~"/>
<tasks:replace type="package-info" to="description" from="~~description~~"/>
</file>
<file role="php" name="SocketException.php">
<tasks:replace type="package-info" to="version" from="GIT: $Id$"/>
<tasks:replace type="package-info" to="summary" from="~~summary~~"/>
<tasks:replace type="package-info" to="description" from="~~description~~"/>
</file>
<file role="php" name="Stream.php">
<tasks:replace type="package-info" to="version" from="GIT: $Id$"/>
<tasks:replace type="package-info" to="summary" from="~~summary~~"/>
<tasks:replace type="package-info" to="description" from="~~description~~"/>
</file>
<file role="php" name="StreamException.php">
<tasks:replace type="package-info" to="version" from="GIT: $Id$"/>
<tasks:replace type="package-info" to="summary" from="~~summary~~"/>
<tasks:replace type="package-info" to="description" from="~~description~~"/>
</file>
<file role="php" name="TcpClient.php">
<tasks:replace type="package-info" to="version" from="GIT: $Id$"/>
<tasks:replace type="package-info" to="summary" from="~~summary~~"/>
<tasks:replace type="package-info" to="description" from="~~description~~"/>
</file>
<file role="php" name="TcpServerConnection.php">
<tasks:replace type="package-info" to="version" from="GIT: $Id$"/>
<tasks:replace type="package-info" to="summary" from="~~summary~~"/>
<tasks:replace type="package-info" to="description" from="~~description~~"/>
</file>
</dir>
</dir>
</dir>
</dir>
<dir name="tests" baseinstalldir="/">
<file role="test" name="bootstrap.php">
<tasks:replace type="pear-config" to="php_dir" from="../src"/>
<tasks:replace type="package-info" to="version" from="GIT: $Id$"/>
</file>
<file role="test" name="ClientEncryptedTest.php"/>
<file role="test" name="ClientTest.php"/>
<file role="test" name="phpunit.xml">
<tasks:replace type="pear-config" to="php_dir" from="../src"/>
</file>
<file role="test" name="secondaryPeer.bat">
<tasks:windowseol/>
</file>
<file role="test" name="secondaryPeer.xml">
<tasks:replace type="pear-config" to="php_dir" from="../src"/>
</file>
<file role="test" name="selfSigned.cer"/>
<file role="test" name="selfSigned.pfx"/>
<file role="test" name="ServerEncryptedTest.php"/>
<file role="test" name="ServerTest.php"/>
<file role="test" name="UnconnectedTest.php"/>
</dir>
</dir>
</contents>
<dependencies>
<required>
<php>
<min>5.3.0</min>
</php>
<pearinstaller>
<min>1.4.0</min>
</pearinstaller>
</required>
<optional>
<package>
<name>PEAR2_Autoload</name>
<channel>pear2.php.net</channel>
<min>0.3.0</min>
</package>
<package>
<name>PEAR2_Cache_SHM</name>
<channel>pear2.php.net</channel>
<min>0.2.0</min>
</package>
<extension>
<name>openssl</name>
</extension>
</optional>
</dependencies>
<phprelease>
<filelist>
<install name="docs/apigen.neon" as="apigen.neon"/>
<install name="docs/doxygen.ini" as="doxygen.ini"/>
<install name="docs/phpdoc.dist.xml" as="phpdoc.dist.xml"/>
<install name="docs/sami.php" as="sami.php"/>
<install name="src/PEAR2/Net/Transmitter/Exception.php" as="PEAR2/Net/Transmitter/Exception.php"/>
<install name="src/PEAR2/Net/Transmitter/FilterCollection.php" as="PEAR2/Net/Transmitter/FilterCollection.php"/>
<install name="src/PEAR2/Net/Transmitter/LockException.php" as="PEAR2/Net/Transmitter/LockException.php"/>
<install name="src/PEAR2/Net/Transmitter/NetworkStream.php" as="PEAR2/Net/Transmitter/NetworkStream.php"/>
<install name="src/PEAR2/Net/Transmitter/SocketException.php" as="PEAR2/Net/Transmitter/SocketException.php"/>
<install name="src/PEAR2/Net/Transmitter/Stream.php" as="PEAR2/Net/Transmitter/Stream.php"/>
<install name="src/PEAR2/Net/Transmitter/StreamException.php" as="PEAR2/Net/Transmitter/StreamException.php"/>
<install name="src/PEAR2/Net/Transmitter/TcpClient.php" as="PEAR2/Net/Transmitter/TcpClient.php"/>
<install name="src/PEAR2/Net/Transmitter/TcpServerConnection.php" as="PEAR2/Net/Transmitter/TcpServerConnection.php"/>
<install name="tests/bootstrap.php" as="bootstrap.php"/>
<install name="tests/ClientEncryptedTest.php" as="ClientEncryptedTest.php"/>
<install name="tests/ClientTest.php" as="ClientTest.php"/>
<install name="tests/phpunit.xml" as="phpunit.xml"/>
<install name="tests/secondaryPeer.bat" as="secondaryPeer.bat"/>
<install name="tests/secondaryPeer.xml" as="secondaryPeer.xml"/>
<install name="tests/selfSigned.cer" as="selfSigned.cer"/>
<install name="tests/selfSigned.pfx" as="selfSigned.pfx"/>
<install name="tests/ServerEncryptedTest.php" as="ServerEncryptedTest.php"/>
<install name="tests/ServerTest.php" as="ServerTest.php"/>
<install name="tests/UnconnectedTest.php" as="UnconnectedTest.php"/>
</filelist>
</phprelease>
</package>