
Notes to the standalone version of dftp
---------------------------------------

Starting with version 4.0, dftp uses the pkg-order Perl library for
checking dependencies of packages and ordering packages for
installation.

For the standalone version of dftp, this means that it can't be a
single perl script anymore, but that some pkg-order modules have to be
included. Therefore, this is now a tar archive instead of a single
file.

The file 'dftp' is the Perl script as before. Additionally, there are
some Perl modules (*.pm files) in the directory Debian/Package. These
modules make up the pkg-order library. You have to install them
somewhere where your Perl looks for its include files. To find out
where this is, use the command

  perl -e 'print join("\n",@INC),"\n";'

Choose one of the directories listed (preferrably not one of those
that contain version numbers or architecture names), best is usually
one with a "site_perl" component in it. Then install the Debian
directory and its contents to there. For example, if you get the
output:

  /local/perl-5.003/lib/sun4-solaris/5.003
  /local/perl-5.003/lib
  /local/perl-5.003/lib/site_perl/sun4-solaris
  /local/perl-5.003/lib/site_perl
  .

and choose /local/perl-5.003/lib/site_perl, then do

  cp -r Debian /local/perl-5.003/lib/site_perl

If you don't have write access to the system's Perl installation, copy
the files to somewhere under your home directory, e.g. ~/perl/lib, and
modify the first line of the dftp script as follows:

  #!/usr/bin/perl -wI$HOME/perl/lib

Subsitute $HOME with the actual path before, environment substitutions
aren't supported at that point. And, of course, use the path you've
choosen...

You also may have to change the path to the perl executable after the
"#!", if it resides somewhere else and not in /usr/bin.

Roman
