File: index.html

package info (click to toggle)
libhttp-dav-perl 0.50-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 584 kB
  • sloc: perl: 3,931; xml: 90; sh: 20; makefile: 8
file content (205 lines) | stat: -rw-r--r-- 7,097 bytes parent folder | 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
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>PerlDAV</title>
<link rel="stylesheet" href="perldav.css" type="text/css" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:root@localhost" />
</head>

<body>




<div id="content">
<H1>PerlDAV -- A WebDAV client library for Perl5</H1>
</div><div id="content">

<p>PerlDAV is a Perl library for modifying content on webservers using the WebDAV protocol. Now you can LOCK, DELETE and PUT files and much more on a DAV-enabled webserver.</p>

<p>The PerlDAV library consists of:</p>

<ul>

<li><p><b>HTTP::DAV</b> - an object-oriented Web-DAV client API.</p>

</li>
<li><p><b>dave</b> - the DAV Explorer, an end-user Unix console program for interacting with WebDAV servers. dave looks and feels like a standard Unix ftp program.</p>

</li>
</ul>

<h1 id="LATEST-VERSION-AND-WHATS-NEW">LATEST VERSION AND WHAT&#39;S NEW</h1>

<p>See the included <code>Changes</code> file for the full changelog.</p>

<h1 id="INSTALLING-HTTP::DAV">INSTALLING HTTP::DAV</h1>

<p>The lazy way to install PerlDAV:</p>

<pre><code>$ cpan HTTP::DAV</code></pre>

<p>Or the normal way:</p>

<p>Retrieve the latest copy from CPAN: https://metacpan.org/module/HTTP-DAV/</p>

<pre><code>$ perl Makefile.PL # Creates the Makefile
$ make             # Runs the makefile
$ make test        # Optional (See Interopability below)
$ make install     # Installs dave and HTTP::DAV</code></pre>

<p>With this method you will first have to install the pre-requisites: LWP and XML::DOM, see <a href="#what-are-the-prerequisites">&quot;what are the prerequisites?&quot;</a>.</p>

<p>When you install PerlDAV, the HTTP::DAV library will be installed to your Perl library location (usually /usr/local/lib/perl5)</p>

<p><code>dave</code> will be installed to /usr/local/bin. This suits most people but you can modify this by using the INSTALLBIN flag:</p>

<pre><code>$ perl Makefile.PL INSTALLBIN=&quot;/home/user/bin&quot;</code></pre>

<h2 id="What-Are-The-Prerequisites">What Are The Prerequisites?</h2>

<ul>

<li><p>Perl 5.6.0+</p>

</li>
<li><p>LWP (Have not tested lower than v5.48)</p>

</li>
<li><p>Scalar::Util (standard library from 5.8.0+)</p>

</li>
<li><p>XML::DOM (Have not tested lower than v1.26). Requires James Clark&#39;s expat library:</p>

</li>
<li><p>To access SSL urls you will need <a>Crypt::SSLeay</a> and/or <a>IO::Socket::SSL</a>.</p>

</li>
</ul>

<h2 id="Optional-Prerequisites">Optional Prerequisites.</h2>

<ul>

<li><p>Crypt::SSLeay if you&#39;d like to use https. Crypt::SSLeay requires the openssl library as well. See Crypt::SSLeay&#39;s excellent install instructions for how to get https support into LWP (and hence HTTP::DAV). I&#39;ve tested HTTP::DAV and Crypt::SSLeay against Apache/mod_dav with the mod_ssl plugin. Works seamlessly.</p>

</li>
<li><p>MD5 if you&#39;d like to use LWP&#39;s Digest authentication.</p>

</li>
</ul>

<p>To get the latest versions of these prerequisite modules you can simply type this at the command prompt:</p>

<pre><code>   $ &lt;install expat&gt;
then:
   $ perl -MCPAN -e shell
   cpan&gt; install LWP
   cpan&gt; install XML::DOM</code></pre>

<p>or if you just &#39;install HTTP::DAV&#39; the lovely CPAN module should just magically install all of the prerequisites for you (you&#39;ll still need to manually instal expat though).</p>

<h2 id="What-Systems-Does-It-Work-With">What Systems Does It Work With?</h2>

<p>HTTP::DAV and dave are pure perl so only needs Perl 5.6.0 (or later). PerlDAV is known to run under Windows (although I haven&#39;t tried it myself) and should run under all Unix systems.</p>

<h1 id="WHERE-ARE-THE-MANUALS">WHERE ARE THE MANUALS?</h1>

<p>Once you&#39;ve installed PerlDAV, you can type:</p>

<pre><code>$ perldoc HTTP::DAV
$ man dave</code></pre>


<P>Or you can view them here:
<A HREF="HTTP-DAV.html">HTTP::DAV</A>,
<A HREF="dave.html">dave</A>.</P>

<h1 id="GETTING-HELP">GETTING HELP</h1>

<h2 id="The-perldav-mailing-list">The perldav mailing list</h2>

<p>There is a mailing list for PerlDAV for use by Developers and Users. Please see http://mailman.webdav.org/mailman/listinfo/perldav</p>

<h1 id="THE-TEST-SUITE-INTEROPERABILITY">THE TEST SUITE &amp; INTEROPERABILITY</h1>

<p>You will notice that the standard <code>make test</code> command invokes a large set of test procedures, but most will be skipped. This standard test is sufficient to give you a good indication that PerlDAV has installed properly.</p>

<p>If you&#39;d like to see how well PerlDAV performs against a particular DAV server then you should set the URL (and username,password) in the test suite t/TestDetails.pm. Then you can run <code>make test</code> again and watch the test suite perform as many operations as the server supports. Please note that the test suite will perofrm well over 200 HTTP requests to your server.</p>

<p>I have tested PerlDAV against IIS5, mod_dav and the Xythos WFS.</p>

<p>Out of the box, the test suite should NOT fail on any tests.</p>

<p>The test suite is the best way to test interopability between PerlDAV and other servers. I&#39;d really like help with testing PerlDAV&#39;s interoperability. So if one or more tests fail against your server please follow the following steps:</p>

<ul>

<li><p>Determine which test is failing.</p>

</li>
<li><p>set DEBUG to on: edit the script and change HTTP::DAV::DebugLevel(0) to (3).</p>

</li>
<li><p>Delete previous server output: rm /tmp/perldav_debug.txt</p>

</li>
<li><p>Run that single test again:</p>

<p>$make test TEST_FILES=t/thetest.t TEST_VERBOSE=1 &gt; testoutput.log</p>

</li>
<li><p>Then gzip and mail me both testoutput.log and /tmp/perldav_debug.txt with details of the test environment. (My email is at the bottom)</p>

</li>
</ul>

<p>Alternatively, you could have a shot at solving the bug yourself :)</p>

<h1 id="BUGS-and-TODO">BUGS and TODO</h1>

<p>Need to convert XML::DOM to a DOM Level 2 compliant parser like XML::Gdome.</p>


<P>See <A HREF="TODO.html">TODO</A> for what is left to be done.</P>

<h1 id="AUTHOR-AND-COPYRIGHT">AUTHOR AND COPYRIGHT</h1>

<p>This module is Copyright (C) 2001 by</p>

<pre><code>Patrick Collins
G03 Gloucester Place, Kensington
Sydney, Australia

mailto:pcollins@cpan.org
Phone: +61 2 9663 4916</code></pre>

<p>All rights reserved.</p>

<h1 id="MAINTAINER">MAINTAINER</h1>

<p>The current maintainer of HTTP-DAV is Cosimo Streppone for Kahoot!, and previously for Opera Software ASA. You can contact me at <code>cosimo@cpan.org</code>.</p>

<h1 id="GITHUB-REPOSITORY">GITHUB REPOSITORY</h1>

<p>The official repository for HTTP-DAV is now on Github:</p>

<pre><code>https://github.com/cosimo/perl5-http-dav</code></pre>

<h1 id="LICENSE">LICENSE</h1>

<p>You may distribute this module under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file.</p>

<p>$Id$</p>


</div>


</body>

</html>