| 1 |
|
| 2 |
--------------------------------------------------------------------------- |
| 3 |
|
| 4 |
This file is for maintainers of a software distribution which would like |
| 5 |
to include Libwhisker. I thought I'd document a few things in order to |
| 6 |
make your life easier. |
| 7 |
|
| 8 |
--------------------------------------------------------------------------- |
| 9 |
|
| 10 |
If there are any changes which would make your life as an distribution |
| 11 |
package maintainer easier, feel free to let me know. I will try to |
| 12 |
accomodate as best I can. I appreciate your time and effort in helping |
| 13 |
distribute libwhisker2, so I would like to make the process as painless |
| 14 |
as possible for you. |
| 15 |
|
| 16 |
--------------------------------------------------------------------------- |
| 17 |
|
| 18 |
First, here's a brief recommended description of Libwhisker for use. If |
| 19 |
it's too long, then just use the first two sentences. |
| 20 |
|
| 21 |
Libwhisker is a Perl library useful for HTTP testing scripts. It |
| 22 |
contains a pure-Perl implementation of functionality found in the LWP, |
| 23 |
URI, Digest::MD5, Digest::MD4, Data::Dumper, Authen::NTLM, HTML::Parser, |
| 24 |
HTML::FormParser, CGI::Upload, MIME::Base64, and GetOpt::Std modules. |
| 25 |
Libwhisker is designed to be portable (a single perl file), fast (general |
| 26 |
benchmarks show libwhisker is faster than LWP), and flexible (great care |
| 27 |
was taken to ensure the library does exactly what you want to do, even |
| 28 |
if it means breaking the protocol). |
| 29 |
|
| 30 |
--------------------------------------------------------------------------- |
| 31 |
|
| 32 |
You need to make sure the LW2.pm is installed in the system perl module |
| 33 |
directory. I very, very, *very* STRONGLY suggest that you depreciate any |
| 34 |
Libwhisker 1.x packages and instead install the LW.pm included in the |
| 35 |
Libwhisker 2.x compat/ directory (this can be done with the 'install_lw1' |
| 36 |
Makefile.pl command). The compatible-LW.pm provides the normal Libwhisker |
| 37 |
1.x functionality using the Libwhisker 2.x library. This allows both |
| 38 |
Libwhisker 1.x and 2.x support to be contained in a single Libwhisker |
| 39 |
package (preferred). |
| 40 |
|
| 41 |
Documentation for LW2 is embedded inside the final LW2.pm (unless you build |
| 42 |
with the 'nopod' option). You should use pod2man and store the resulting |
| 43 |
output amongst the local collection of Perl module manpages. The |
| 44 |
Makefile.pl will automatically install the POD page (assuming you haven't |
| 45 |
used the 'nopod' option) when you run the 'install' command. |
| 46 |
|
| 47 |
The files in docs/ and scripts/ are for programming references, and as |
| 48 |
such, should not be installed with a normal package. If you truly do want |
| 49 |
to include supporting files, then I recommend only the following: |
| 50 |
|
| 51 |
docs/crawler.txt |
| 52 |
docs/whisker_hash.txt |
| 53 |
docs/logo-builton.gif |
| 54 |
docs/logo-name.gif |
| 55 |
docs/logo-plain.gif |
| 56 |
scripts/api_demo.pl |
| 57 |
scripts/crawl_demo.pl |
| 58 |
scripts/simple_demo.pl |
| 59 |
|
| 60 |
--------------------------------------------------------------------------- |
| 61 |
|