--- lftp-2.4.9.orig/intl/po2tbl.sed
+++ lftp-2.4.9/intl/po2tbl.sed
@@ -0,0 +1,60 @@
+1 {
+  i\
+/* Automatically generated by po2tbl.sed from @PACKAGE NAME@.pot.  */\
+\
+#if HAVE_CONFIG_H\
+# include <config.h>\
+#endif\
+\
+#include "libgettext.h"\
+\
+const struct _msg_ent _msg_tbl[] = {
+  h
+  s/.*/0/
+  x
+}
+/^msgid/ {
+  s/msgid[ 	]*\(".*"\)/  {\1/
+  tb
+  :b
+  N
+  s/\(.*\)"\(\n\)"\(.*"\)/\1\2\3/
+  ta
+  s/\(.*\)\n.*/\1/
+  bc
+  :a
+  s/\(.*\)\(\n.*\)/\1\\\2/
+  P
+  s/.*\n\(.*\)/\1/
+  tb
+  :c
+  x
+  td
+  :d
+  s/9\(_*\)$/_\1/
+  td
+  s/^\(_*\)$/0\1/
+  s/8\(_*\)$/9\1/
+  s/7\(_*\)$/8\1/
+  s/6\(_*\)$/7\1/
+  s/5\(_*\)$/6\1/
+  s/4\(_*\)$/5\1/
+  s/3\(_*\)$/4\1/
+  s/2\(_*\)$/3\1/
+  s/1\(_*\)$/2\1/
+  s/0\(_*\)$/1\1/
+  s/_/0/g
+  x
+  G
+  s/\(.*\)\n\([0-9]*\)/\1, \2},/
+  s/\(.*\)"$/\1/
+  p
+}
+$ {
+  i\
+};\
+
+  g
+  s/0*\(.*\)/int _msg_tbl_length = \1;/p
+}
+d
--- lftp-2.4.9.orig/po/Makefile.in.in
+++ lftp-2.4.9/po/Makefile.in.in
@@ -69,7 +69,7 @@
 
 .po.gmo:
 	file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
-	  && rm -f $$file && $(GMSGFMT) --statistics -o $$file $<
+	  && $(GMSGFMT) --statistics -o $$file $<
 
 
 all: all-@USE_NLS@
--- lftp-2.4.9.orig/po/lftp.pot
+++ lftp-2.4.9/po/lftp.pot
@@ -6,7 +6,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2002-01-27 11:56+0300\n"
+"POT-Creation-Date: 2002-02-24 21:25-0300\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
--- lftp-2.4.9.orig/po/es.po
+++ lftp-2.4.9/po/es.po
@@ -3,9 +3,9 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: lftp 2.2.1\n"
-"POT-Creation-Date: 2002-01-27 11:56+0300\n"
-"PO-Revision-Date: 2000-08-26 00:01-0300\n"
+"Project-Id-Version: lftp 2.4\n"
+"POT-Creation-Date: 2002-02-24 21:25-0300\n"
+"PO-Revision-Date: 2001-08-12 22:46-0300\n"
 "Last-Translator: Nicolás Lichtmaier <nick@debian.org>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=ISO-8859-1\n"
@@ -311,9 +311,8 @@
 msgstr "valor lógico inválido"
 
 #: src/ResMgr.cc:421
-#, fuzzy
 msgid "invalid boolean/auto value"
-msgstr "valor lógico inválido"
+msgstr "valor lógico/auto inválido"
 
 #: src/ResMgr.cc:445 src/ResMgr.cc:476
 msgid "invalid number"
@@ -343,7 +342,7 @@
 
 #: src/ResMgr.cc:791
 msgid "Invalid IPv4 numeric address"
-msgstr ""
+msgstr "Dirección numérica IPv4 inválida"
 
 #: src/ResMgr.cc:797
 msgid "no closure defined for this setting"
@@ -359,9 +358,9 @@
 msgstr "tiempo fuera resolviendo el nombre de host"
 
 #: src/Resolver.cc:301
-#, fuzzy, c-format
+#, c-format
 msgid "---- %d address$|es$ found\n"
-msgstr "No se encontró ninguna dirección"
+msgstr "---- Se encontr$ó|aron$ %d dirección$|es$\n"
 
 #: src/Resolver.cc:772
 msgid "Host name lookup failure"
@@ -382,9 +381,8 @@
 msgstr "falló execlp(%s): %s\n"
 
 #: src/commands.cc:107
-#, fuzzy
 msgid "!<shell-command>"
-msgstr "!<orden_de_shell>"
+msgstr "!<orden-de-shell>"
 
 #: src/commands.cc:108
 msgid "Launch shell or shell command\n"
@@ -621,7 +619,6 @@
 "el parámetro cmd:move-background.\n"
 
 #: src/commands.cc:225
-#, fuzzy
 msgid ""
 "Usage: find [OPTS] [directory]\n"
 "Print contents of specified directory of current directory recursively.\n"
@@ -629,10 +626,11 @@
 "You can redirect output of this command.\n"
 " -d, --maxdepth=LEVELS  Descend at most LEVELS of directories.\n"
 msgstr ""
-"Uso: find [directorio]\n"
+"Uso: find [OPCS] [directorio]\n"
 "Muestra el contenido del directorio especificado, recursivamente.\n"
-"Los directorios en la listá serán marcados con un '/' al final.\n"
+"Los directorios en la lista serán marcados con un '/' al final.\n"
 "Se puede redireccionar la salida de esta orden.\n"
+" -d, --maxdepth=N  Desciende N niveles de directorios como mucho.\n"
 
 #: src/commands.cc:230
 msgid "get [OPTS] <rfile> [-o <lfile>]"
@@ -885,7 +883,6 @@
 msgstr "module nombre [args]"
 
 #: src/commands.cc:322
-#, fuzzy
 msgid ""
 "Load module (shared object). The module should contain function\n"
 "   void module_init(int argc,const char *const *argv)\n"
@@ -895,7 +892,7 @@
 "Inserta módulo (objeto compartido). El módulo debe contener la función\n"
 "   void module_init(int argc,const char *const *argv)\n"
 "Si el nombre contiene una barra el módulo es buscado en el directorio\n"
-"actual, sino en PKGLIBDIR.\n"
+"actual, sino en los directorios especificados por la variable module:path.\n"
 
 #: src/commands.cc:326
 msgid "more <files>"
@@ -1043,6 +1040,7 @@
 msgstr ""
 
 #: src/commands.cc:368
+#, fuzzy
 msgid ""
 "\n"
 "       queue [-n num] <command>\n"
@@ -1061,6 +1059,23 @@
 "Move the given items before the given queue index, or to the end if no\n"
 "destination is given.\n"
 msgstr ""
+"Uso:\n"
+"       queue [-n núm] <orden>\n"
+"\n"
+"Agrega la orden a la cola del sitio actual. Cada sitio tiene su propia\n"
+"cola de órdenes. `-n' agrega la órden antes del ítem de la cola con ese\n"
+"número. Es posible encolar una tarea activa mediante la órden\n"
+"`queue wait <númtarea>'.\n"
+"\n"
+"       queue --delete|-d [índice o expresión comodín]\n"
+"\n"
+"Borra uno o más items de la cola. Si no se especifica un argumento, se\n"
+"borra última entrada.\n"
+"\n"
+"       queue --move|-m <índice o expresión comodín> [índice]\n"
+"\n"
+"Mueve los items indicados adelante del índice de la cola dado, o al\n"
+"final si no se especifica destino.\n"
 
 #: src/commands.cc:383
 msgid "quote <cmd>"
@@ -1080,53 +1095,56 @@
 "momento debido a una reconexión.\n"
 
 #: src/commands.cc:389
-#, fuzzy
 msgid ""
 "recls [<args>]\n"
 "Same as `cls', but don't look in cache\n"
-msgstr "Igual que `ls', pero sin tomar en cuenta el caché\n"
+msgstr ""
+"recls [<args>]\n"
+"Igual a `cls', pero sin tomar en cuenta el caché\n"
 
 #: src/commands.cc:392
-#, fuzzy
 msgid ""
 "Usage: reget [OPTS] <rfile> [-o <lfile>]\n"
 "Same as `get -c'\n"
-msgstr "reget [OPCS] <arch_r> [-o <arch_l>]"
+msgstr ""
+"Uso: reget [OPCS] <arch_r> [-o <arch_l>]\n"
+"Igual a `get -c'\n"
 
 #: src/commands.cc:395
-#, fuzzy
 msgid ""
 "Usage: rels [<args>]\n"
 "Same as `ls', but don't look in cache\n"
-msgstr "Igual que `ls', pero sin tomar en cuenta el caché\n"
+msgstr ""
+"Uso: rels [<args>]\n"
+"Igual a `ls', pero sin tomar en cuenta el caché\n"
 
 #: src/commands.cc:398
-#, fuzzy
 msgid ""
 "Usage: renlist [<args>]\n"
 "Same as `nlist', but don't look in cache\n"
-msgstr "Igual que `nlist', pero sin tomar en cuenta el caché\n"
+msgstr ""
+"Uso: renlist [<args>]\n"
+"Igual a `nlist', pero sin tomar en cuenta el caché\n"
 
 #: src/commands.cc:400
 msgid "repeat [delay] [command]"
-msgstr ""
+msgstr "repeat [lapso] [órden]"
 
 #: src/commands.cc:401
-#, fuzzy
 msgid ""
 "Repeat specified command with a delay between iterations.\n"
 "Default delay is one second, default command is empty.\n"
 msgstr ""
-"Uso: repeat [demora] [orden]\n"
 "Repite la orden especificada con una demora entre iteraciones.\n"
 "La demora por omisión es de un segundo, la orden por omisión es nada.\n"
 
 #: src/commands.cc:404
-#, fuzzy
 msgid ""
 "Usage: reput <lfile> [-o <rfile>]\n"
 "Same as `put -c'\n"
-msgstr "reput <arch_l> [-o <arch_r>]"
+msgstr ""
+"Uso: reput <arch_l> [-o <arch_r>]\n"
+"Igual a `put -c'\n"
 
 #: src/commands.cc:406
 msgid "rm [-r] [-f] <files>"
@@ -1260,14 +1278,12 @@
 msgstr "Igual que more, pero filtra cada archivo a través de zcat\n"
 
 #: src/commands.cc:447
-#, fuzzy
 msgid "Same as cat, but filter each file through bzcat\n"
-msgstr "Igual que cat, pero filtra cada archivo a través de zcat\n"
+msgstr "Igual que cat, pero filtra cada archivo a través de bzcat\n"
 
 #: src/commands.cc:449
-#, fuzzy
 msgid "Same as more, but filter each file through bzcat\n"
-msgstr "Igual que more, pero filtra cada archivo a través de zcat\n"
+msgstr "Igual que more, pero filtra cada archivo a través de bzcat\n"
 
 #: src/commands.cc:498
 #, c-format
@@ -1312,7 +1328,7 @@
 #: src/commands.cc:719
 #, c-format
 msgid "Usage: %s [-e cmd] [-p port] [-u user[,pass]] <host|url>\n"
-msgstr "Uso: %s [-e cmd] [-p port] [-u usuario[,clave]] <servidor|url>\n"
+msgstr "Uso: %s [-e cmd] [-p puerto] [-u usuario[,clave]] <servidor|url>\n"
 
 #: src/DummyProto.cc:79 src/commands.cc:787 src/commands.cc:1802
 msgid " - not supported protocol"
@@ -1340,12 +1356,12 @@
 #: src/commands.cc:1034 src/commands.cc:1064
 #, c-format
 msgid "%s: No queue is active.\n"
-msgstr ""
+msgstr "%s: Ninguna cola está activa.\n"
 
 #: src/commands.cc:1056
-#, fuzzy, c-format
+#, c-format
 msgid "%s: -m: Number expected as second argument. "
-msgstr "%s: -n: Se esperaba un número. "
+msgstr "%s: -m: Se esperaba un número como segundo argumento. "
 
 #: src/commands.cc:1087
 msgid "Can only edit plain queues.\n"
@@ -1354,12 +1370,12 @@
 #: src/commands.cc:1100
 #, c-format
 msgid "Couldn't create temporary file `%s': %s.\n"
-msgstr ""
+msgstr "No se pudo crear el archivo temporario `%s': %s.\n"
 
 #: src/commands.cc:1106
 #, c-format
 msgid "%s: error writing %s: %s\n"
-msgstr ""
+msgstr "%s: error escribiendo %s: %s\n"
 
 #: src/commands.cc:1161
 #, c-format
@@ -1368,20 +1384,19 @@
 
 #: src/commands.cc:1231
 msgid "invalid argument for `--sort'"
-msgstr ""
+msgstr "argumento inválido para `--sort'"
 
 #. silly getopt won't give us its error instead of printing it, oh well.
 #. * we only need to never print errors for completion and validation; for
 #. * cls itself we could do it, but that'd be a special case ...
 #: src/commands.cc:1271
-#, fuzzy
 msgid "invalid option"
-msgstr "número inválido"
+msgstr "opción inválida"
 
 #: src/commands.cc:1300
-#, fuzzy, c-format
+#, c-format
 msgid "%s: %s.\n"
-msgstr "Uso: %s\n"
+msgstr "%s: %s.\n"
 
 #: src/commands.cc:1366
 #, c-format
@@ -1530,9 +1545,9 @@
 msgstr "Orden ambigua `%s'. Use `help' para ver las órdenes disponibles.\n"
 
 #: src/commands.cc:2244
-#, fuzzy, c-format
+#, c-format
 msgid "Lftp | Version %s | Copyright (c) 1996-2002 Alexander V. Lukyanov\n"
-msgstr "Lftp | Versión %s | Copyright (c) 1996-2001 Alexander V. Lukyanov\n"
+msgstr "Lftp | Versión %s | Copyright (c) 1996-2002 Alexander V. Lukyanov\n"
 
 #: src/commands.cc:2246
 msgid ""
@@ -1565,20 +1580,22 @@
 msgid "%s: import type required (netscape,ncftp)\n"
 msgstr "%s: se requiere el tipo a importar (netscape, ncftp)\n"
 
+# Es la ayuda del comando find.
 #: src/commands.cc:2435
-#, fuzzy, c-format
+#, c-format
 msgid "Usage: %s [-d #] dir\n"
-msgstr "Uso: %s [-p]\n"
+msgstr "Uso: %s [-d N] dir\n"
 
 #: src/commands.cc:2529
-#, fuzzy, c-format
+#, c-format
 msgid "%s: invalid block size `%s'\n"
-msgstr "%s: Número inválido para size\n"
+msgstr "%s: tamaño inválido de bloque `%s'\n"
 
+# Es la ayuda del comando find.
 #: src/commands.cc:2543
-#, fuzzy, c-format
+#, c-format
 msgid "Usage: %s [options] <dirs>\n"
-msgstr "Uso: %s [-p]\n"
+msgstr "Uso: %s [opciones] <dirs>\n"
 
 #: src/commands.cc:2549
 #, c-format
@@ -1622,7 +1639,7 @@
 #: src/ftpclass.cc:245
 msgid "Data connection peer has wrong port number"
 msgstr ""
-"El otro extremo de la conexión de datos tiene un úmero equivocado de puerto"
+"El otro extremo de la conexión de datos tiene un número equivocado de puerto"
 
 #: src/ftpclass.cc:251
 msgid "Data connection peer has mismatching address"
@@ -1634,15 +1651,15 @@
 
 #: src/ftpclass.cc:402
 msgid "Server reply matched ftp:retry-530, retrying"
-msgstr ""
+msgstr "La respuesta del servidor califica según ftp:retry-530, reintentando"
 
 #: src/ftpclass.cc:410
 msgid "Server reply matched ftp:retry-530-anonymous, retrying"
-msgstr ""
+msgstr "La respuesta del servidor califica según ftp:retry-530-anonymous, reintentando"
 
 #: src/ftpclass.cc:434
 msgid "Account is required, set ftp:acct variable"
-msgstr ""
+msgstr "Se necesita una cuenta, asigne la variable ftp:acct"
 
 #: src/ftpclass.cc:459
 msgid "ftp:skey-force is set and server does not support OPIE nor S/KEY"
@@ -1680,7 +1697,7 @@
 #: src/ftpclass.cc:1831
 #, c-format
 msgid "Connecting data socket to (%s) port %u"
-msgstr "Conectando socket de datos a (%s) port %u"
+msgstr "Conectando socket de datos a (%s) puerto %u"
 
 #: src/ftpclass.cc:1856 src/ftpclass.cc:3436
 msgid "Switching passive mode off"
@@ -1950,7 +1967,7 @@
 
 #: src/resource.cc:156
 msgid "ftp:ssl-auth must be one of: SSL, TLS, TLS-P, TLS-C"
-msgstr ""
+msgstr "ftp:ssl-auth debe estar entre: SSL, TLS, TLS-P, TLS-C"
 
 #: src/FtpDirList.cc:145 src/FtpSplitList.cc:182 src/HttpDir.cc:1116
 #: src/NetAccess.cc:692
@@ -2063,11 +2080,11 @@
 #. both ways failed. Fall back to normal copying.
 #: src/FileCopyFtp.cc:87
 msgid "**** FXP: giving up, reverting to plain copy\n"
-msgstr "**** FXP: me dindo, se usará copiado simple\n"
+msgstr "**** FXP: me rindo, se usará copiado simple\n"
 
 #: src/FileCopyFtp.cc:100
 msgid "**** FXP: trying to reverse ftp:fxp-passive-source\n"
-msgstr ""
+msgstr "**** FXP: intentando invertir ftp:fxp-passive-source\n"
 
 #: src/Filter.cc:135
 msgid "chain output error"
@@ -2091,7 +2108,7 @@
 #: src/NetAccess.cc:210
 #, c-format
 msgid "Connecting to %s%s (%s) port %u"
-msgstr "Conectándose a %s%s (%s) port %u"
+msgstr "Conectándose a %s%s (%s) puerto %u"
 
 #: src/NetAccess.cc:265
 msgid "Timeout - reconnecting"
@@ -2119,7 +2136,7 @@
 #: src/SleepJob.cc:113
 #, c-format
 msgid "\tRepeat count: %d\n"
-msgstr ""
+msgstr "\tRepeticiones: %d\n"
 
 #: src/SleepJob.cc:136
 #, c-format
@@ -2131,10 +2148,12 @@
 "Enter date, or blank line to exit.\n"
 "\t> "
 msgstr ""
+"Ingrese fecha, o una línea en blanco para salir.\n"
+"\t> "
 
 #: getdate.y:1020
 msgid "Bad format - couldn't convert.\n"
-msgstr ""
+msgstr "Formato incorrecto - no se pudo convertir.\n"
 
 #: src/module.cc:181
 #, c-format
@@ -2145,6 +2164,12 @@
 msgid "modules are not supported on this system"
 msgstr "este sistema no soporta el uso de módulos"
 
+#~ msgid "dns cache hit\n"
+#~ msgstr "acierto en el cache dns\n"
+
+#~ msgid "child returned invalid data"
+#~ msgstr "proceso hijo devolvió datos inválidos"
+
 #~ msgid "List remote file names\n"
 #~ msgstr "Lista nombres de archivos remotos\n"
 
@@ -2154,31 +2179,19 @@
 #~ msgid "Same as `put -c'\n"
 #~ msgstr "Igual que `put -c'\n"
 
-#, fuzzy
 #~ msgid "bzcat <files>"
-#~ msgstr "zcat <archivos>"
+#~ msgstr "bzcat <archivos>"
 
-#, fuzzy
 #~ msgid "bzmore <files>"
-#~ msgstr "zmore <archivos>"
-
-#~ msgid "dns cache hit\n"
-#~ msgstr "acierto en el cache dns\n"
-
-#~ msgid "child returned invalid data"
-#~ msgstr "proceso hijo devolvió datos inválidos"
+#~ msgstr "bzmore <archivos>"
 
 #~ msgid "\tCommands queued:\n"
 #~ msgstr "\tComandos encolados:\n"
 
-#, fuzzy
 #~ msgid ""
-#~ "Usage: queue -e|-s <file>|<command>\n"
-#~ " -e|--edit    Edit the queue\n"
-#~ " -s|--source <file> adds the contents of a file to the end of the queue\n"
-#~ "<command>     Add the command to queue for current site. Each site has "
-#~ "its\n"
-#~ "own command queue. It is possible to queue up a running job by using\n"
+#~ "Usage: queue <command>\n"
+#~ "Add the command to queue for current site. Each site has its own\n"
+#~ "command queue. It is possible to queue up a running job by using\n"
 #~ "command `queue wait <jobno>'.\n"
 #~ msgstr ""
 #~ "Uso: queue <orden>\n"
@@ -2186,10 +2199,6 @@
 #~ "cola de órdenes. Es posible encolar una tarea activa mediante la orden\n"
 #~ "`queue wait <númtarea>'.\n"
 
-#, fuzzy
-#~ msgid "Usage: %s -e|-s|command args...\n"
-#~ msgstr "Uso: %s orden parámetros ...\n"
-
 #~ msgid "apache listing matched"
 #~ msgstr "listado estilo apache"
 
@@ -2404,7 +2413,7 @@
 #~ "Usage: open [-e cmd] [-u user[,pass]] [-p port] <host|url>\n"
 #~ msgstr ""
 #~ "open - selecciona un servidor ftp\n"
-#~ "Uso: open [-e cmd] [-p port] [-u usuario[,clave]] <servidor|url>\n"
+#~ "Uso: open [-e cmd] [-p puerto] [-u usuario[,clave]] <servidor|url>\n"
 
 #~ msgid "source: %s\n"
 #~ msgstr "fuente: %s\n"
--- lftp-2.4.9.orig/po/pt_BR.po
+++ lftp-2.4.9/po/pt_BR.po
@@ -4,7 +4,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: lftp 1.0\n"
-"POT-Creation-Date: 2002-01-27 11:56+0300\n"
+"POT-Creation-Date: 2002-02-24 21:25-0300\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Arnaldo Carvalho de Melo <acme@conectiva.com.br>\n"
 "Language-Team: pt_BR <pt@li.org>\n"
@@ -79,9 +79,8 @@
 msgstr "\tEsperanto término do serviço [%d]\n"
 
 #: src/CmdExec.cc:743
-#, fuzzy
 msgid "\tWaiting for termination of jobs: "
-msgstr "Esperando término da filtragem"
+msgstr "\tEsperando término da serviços: "
 
 #: src/CmdExec.cc:754
 #, c-format
@@ -89,9 +88,8 @@
 msgstr "\tExecutando\n"
 
 #: src/CmdExec.cc:758
-#, fuzzy
 msgid "\tWaiting for command\n"
-msgstr "Atenção: descartando comando incompleto\n"
+msgstr "\tEsperando comando\n"
 
 #: src/CmdExec.cc:1258
 #, c-format
@@ -148,9 +146,9 @@
 msgstr ""
 
 #: src/FtpListInfo.cc:237 src/NetAccess.cc:879
-#, fuzzy, c-format
+#, c-format
 msgid "Getting directory contents (%lld)"
-msgstr "Buscando conteúdo do diretório (%ld)"
+msgstr "Buscando conteúdo do diretório (%lld)"
 
 #: src/FtpListInfo.cc:247 src/NetAccess.cc:885
 #, c-format
@@ -280,9 +278,9 @@
 msgstr ""
 
 #: src/MirrorJob.cc:822
-#, fuzzy, c-format
+#, c-format
 msgid "Removing old remote directory `%s'"
-msgstr "Removendo arquivo remoto antigo `%s'"
+msgstr "Removendo diretório remoto antigo `%s'"
 
 #: src/MirrorJob.cc:842
 #, c-format
@@ -312,18 +310,16 @@
 msgstr "valor booleano inválido"
 
 #: src/ResMgr.cc:421
-#, fuzzy
 msgid "invalid boolean/auto value"
-msgstr "valor booleano inválido"
+msgstr "valor booleano/auto inválido"
 
 #: src/ResMgr.cc:445 src/ResMgr.cc:476
 msgid "invalid number"
 msgstr "número inválido"
 
 #: src/ResMgr.cc:460
-#, fuzzy
 msgid "invalid floating point number"
-msgstr "número inválido"
+msgstr "número de ponto flotante inválido"
 
 #. debug only
 #: src/ResMgr.cc:550
@@ -370,9 +366,9 @@
 msgstr ""
 
 #: src/Resolver.cc:804
-#, fuzzy, c-format
+#, c-format
 msgid "no such %s service"
-msgstr "variável desconhecida"
+msgstr "serviço %s desconhecido"
 
 #: src/Resolver.cc:826
 msgid "No address found"
@@ -384,9 +380,8 @@
 msgstr "falha em execlp(%s): %s\n"
 
 #: src/commands.cc:107
-#, fuzzy
 msgid "!<shell-command>"
-msgstr "!<comando_shell>"
+msgstr "!<comando-shell>"
 
 #: src/commands.cc:108
 msgid "Launch shell or shell command\n"
@@ -475,18 +470,16 @@
 "                  minutos (x=m), horas (x=h) ou dias (x=d)\n"
 
 #: src/commands.cc:139
-#, fuzzy
 msgid "cat [-b] <files>"
-msgstr "cat [-u] <arquivos>"
+msgstr "cat [-b] <arquivos>"
 
 #: src/commands.cc:140
-#, fuzzy
 msgid ""
 "cat - output remote files to stdout (can be redirected)\n"
 " -b  use binary mode (ascii is the default)\n"
 msgstr ""
-"cat - mostra conteúdo de arquivos remotos\n"
-" -u  tente reconhecer URLs\n"
+"cat - mostra conteúdo de arquivos remotos (pode ser redirigido)\n"
+" -b  modo binario (ascii é o padrão)\n"
 
 #: src/commands.cc:142
 msgid "cd <rdir>"
@@ -586,9 +579,8 @@
 " -o <arquivo>  redireciona a saída do debug para o arquivo.\n"
 
 #: src/commands.cc:200
-#, fuzzy
 msgid "du [options] <dirs>"
-msgstr "rm [-r] <arquivos>"
+msgstr ""
 
 #: src/commands.cc:201
 msgid ""
@@ -613,9 +605,8 @@
 msgstr ""
 
 #: src/commands.cc:218
-#, fuzzy
 msgid "exit [<code>|bg]"
-msgstr "exit [<código>]"
+msgstr "exit [<código>|bg]"
 
 #: src/commands.cc:219
 #, fuzzy
@@ -765,9 +756,8 @@
 "listagem execute `rels' ou `cache flush'.\n"
 
 #: src/commands.cc:282
-#, fuzzy
 msgid "mget [OPTS] <files>"
-msgstr "rm [-r] <arquivos>"
+msgstr "mget [OPÇÕES] <arquivos>"
 
 #: src/commands.cc:283
 #, fuzzy
@@ -846,18 +836,16 @@
 msgstr ""
 
 #: src/commands.cc:326
-#, fuzzy
 msgid "more <files>"
-msgstr "rm [-r] <arquivos>"
+msgstr "more <arquivos>"
 
 #: src/commands.cc:327
 msgid "Same as `cat <files> | more'. if PAGER is set, it is used as filter\n"
 msgstr ""
 
 #: src/commands.cc:328
-#, fuzzy
 msgid "mput [OPTS] <files>"
-msgstr "rm [-r] <arquivos>"
+msgstr "mput [OPÇÕES] <arquivos>"
 
 #: src/commands.cc:329
 #, fuzzy
@@ -878,7 +866,7 @@
 
 #: src/commands.cc:336
 msgid "mrm <files>"
-msgstr ""
+msgstr "mrm <arquivos>"
 
 #: src/commands.cc:337
 msgid "Removes specified files with wildcard expansion\n"
@@ -886,16 +874,15 @@
 
 #: src/commands.cc:338
 msgid "mv <file1> <file2>"
-msgstr ""
+msgstr "mv <arquivo1> <arquivo2>"
 
 #: src/commands.cc:339
 msgid "Rename <file1> to <file2>\n"
 msgstr ""
 
 #: src/commands.cc:340
-#, fuzzy
 msgid "[re]nlist [<args>]"
-msgstr "ls [<argumentos>]"
+msgstr "[re]nlist [<args>]"
 
 #: src/commands.cc:341
 #, fuzzy
@@ -938,9 +925,8 @@
 msgstr ""
 
 #: src/commands.cc:356
-#, fuzzy
 msgid "put [OPTS] <lfile> [-o <rfile>]"
-msgstr "get [OPÇÕES] <arquivo_remoto> [-o <arquivo_local>]"
+msgstr "put [OPÇÕES] <arquivo_local> [-o <arquivo_remoto>]"
 
 #: src/commands.cc:357
 #, fuzzy
@@ -1039,16 +1025,14 @@
 msgstr ""
 
 #: src/commands.cc:404
-#, fuzzy
 msgid ""
 "Usage: reput <lfile> [-o <rfile>]\n"
 "Same as `put -c'\n"
-msgstr "get [OPÇÕES] <arquivo_remoto> [-o <arquivo_local>]"
+msgstr ""
 
 #: src/commands.cc:406
-#, fuzzy
 msgid "rm [-r] [-f] <files>"
-msgstr "rm [-r] <arquivos>"
+msgstr "rm [-r] [-f] <arquivos>"
 
 #: src/commands.cc:407
 msgid ""
@@ -1058,9 +1042,8 @@
 msgstr ""
 
 #: src/commands.cc:410
-#, fuzzy
 msgid "rmdir [-f] <dirs>"
-msgstr "rm [-r] <arquivos>"
+msgstr ""
 
 #: src/commands.cc:411
 msgid "Remove remote directories\n"
@@ -1075,9 +1058,8 @@
 msgstr ""
 
 #: src/commands.cc:414
-#, fuzzy
 msgid "set [OPT] [<var> [<val>]]"
-msgstr "get [OPÇÕES] <arquivo_remoto> [-o <arquivo_local>]"
+msgstr "set [OPÇÕES] [<var> <val>]]"
 
 #: src/commands.cc:415
 msgid ""
@@ -1141,18 +1123,16 @@
 msgstr ""
 
 #: src/commands.cc:442
-#, fuzzy
 msgid "zcat <files>"
-msgstr "cat [-u] <arquivos>"
+msgstr "zcat <arquivos>"
 
 #: src/commands.cc:443
 msgid "Same as cat, but filter each file through zcat\n"
 msgstr ""
 
 #: src/commands.cc:444
-#, fuzzy
 msgid "zmore <files>"
-msgstr "rm [-r] <arquivos>"
+msgstr "zmore <arquivos>"
 
 #: src/commands.cc:445
 msgid "Same as more, but filter each file through zcat\n"
@@ -1209,9 +1189,8 @@
 msgstr ""
 
 #: src/DummyProto.cc:79 src/commands.cc:787 src/commands.cc:1802
-#, fuzzy
 msgid " - not supported protocol"
-msgstr "%s: %s - protocolo não suportado\n"
+msgstr " - protocolo não suportado"
 
 #: src/commands.cc:833 src/commands.cc:1786
 msgid "Password: "
@@ -1269,9 +1248,8 @@
 #. * we only need to never print errors for completion and validation; for
 #. * cls itself we could do it, but that'd be a special case ...
 #: src/commands.cc:1271
-#, fuzzy
 msgid "invalid option"
-msgstr "número inválido"
+msgstr "opção inválida"
 
 #: src/commands.cc:1300
 #, c-format
@@ -1556,7 +1534,7 @@
 
 #: src/Http.cc:764 src/ftpclass.cc:1070
 msgid "Closing idle connection"
-msgstr ""
+msgstr "Fechando coneção `idle'"
 
 #: src/Http.cc:892 src/ftpclass.cc:1151
 #, c-format
@@ -1568,9 +1546,8 @@
 msgstr ""
 
 #: src/ftpclass.cc:1681 src/ftpclass.cc:1721
-#, fuzzy
 msgid "unsupported network protocol"
-msgstr "%s: %s - protocolo não suportado\n"
+msgstr "protocolo de red não suportado"
 
 #: src/ftpclass.cc:1831
 #, c-format
@@ -1591,11 +1568,11 @@
 
 #: src/ftpclass.cc:2446
 msgid "Closing control socket"
-msgstr ""
+msgstr "Fechando socket de control"
 
 #: src/ftpclass.cc:2528
 msgid "Closing data socket"
-msgstr ""
+msgstr "Fechando socket de dados"
 
 #: src/ftpclass.cc:3277
 msgid "saw file size in response"
@@ -1643,9 +1620,8 @@
 msgstr ""
 
 #: src/ftpclass.cc:3580
-#, fuzzy
 msgid "Connected"
-msgstr "Não conectado"
+msgstr "Conectado"
 
 #: src/ftpclass.cc:3582
 msgid "Logging in..."
@@ -1717,9 +1693,9 @@
 msgstr "Transferência de %d de %d arquivos falhou\n"
 
 #: src/mkdirJob.cc:134
-#, fuzzy, c-format
+#, c-format
 msgid "%s ok, %d director$y|ies$ created\n"
-msgstr "%s: nenhum arquivo encontrado\n"
+msgstr "%s ok, %d diretorio$s|$ creados\n"
 
 #: src/mvJob.cc:72
 #, c-format
@@ -1749,7 +1725,7 @@
 #: src/rmJob.cc:40
 #, c-format
 msgid "%s ok, `%s' removed\n"
-msgstr ""
+msgstr "%s ok, `%s' removido\n"
 
 #: src/rmJob.cc:47
 #, fuzzy, c-format
@@ -1768,7 +1744,7 @@
 
 #: src/Http.cc:164
 msgid "Closing HTTP connection"
-msgstr ""
+msgstr "Fechando coneção HTTP"
 
 #: src/Http.cc:172
 msgid "POST method failed"
@@ -1853,9 +1829,9 @@
 msgstr "\tExecutando comando embutido `%s' [%s]\n"
 
 #: src/CopyJob.cc:78
-#, fuzzy, c-format
+#, c-format
 msgid "`%s' at %lld %s%s%s%s"
-msgstr "`%s' em %lu %s%s%s[%s]"
+msgstr "`%s' em %lld %s%s%s%s"
 
 #: src/CopyJob.cc:233
 #, fuzzy, c-format
@@ -1882,9 +1858,8 @@
 msgstr ""
 
 #: src/FileCopy.cc:158
-#, fuzzy
 msgid "seek failed"
-msgstr "Falha na conexão"
+msgstr "Falhou seek"
 
 #. we lose... How about a large buffer?
 #: src/FileCopy.cc:180
@@ -2039,13 +2014,11 @@
 msgid "modules are not supported on this system"
 msgstr ""
 
-#, fuzzy
 #~ msgid "bzcat <files>"
-#~ msgstr "cat [-u] <arquivos>"
+#~ msgstr "bzcat <arquivos>"
 
-#, fuzzy
 #~ msgid "bzmore <files>"
-#~ msgstr "rm [-r] <arquivos>"
+#~ msgstr "bzmore <arquivos>"
 
 #, fuzzy
 #~ msgid "Getting size of `%s' [%s]"
--- lftp-2.4.9.orig/Makefile.am
+++ lftp-2.4.9/Makefile.am
@@ -1,6 +1,6 @@
 EXTRA_DIST = lftp.conf lftp.lsm FAQ acconfig.h README README.debug-levels\
  README.modules MIRRORS BUGS FEATURES
-SUBDIRS = include readline-4.2 lib doc intl src po m4
+SUBDIRS = include lib doc intl src po m4
 AUTOMAKE_OPTIONS = foreign
 M4DIR = $(srcdir)/m4
 ACLOCAL_AMFLAGS = -I $(M4DIR)
--- lftp-2.4.9.orig/Makefile.in
+++ lftp-2.4.9/Makefile.in
@@ -1,7 +1,6 @@
-# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
 
-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
-# Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -11,7 +10,6 @@
 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 # PARTICULAR PURPOSE.
 
-@SET_MAKE@
 
 SHELL = @SHELL@
 
@@ -33,9 +31,13 @@
 mandir = @mandir@
 includedir = @includedir@
 oldincludedir = /usr/include
+
+DESTDIR =
+
 pkgdatadir = $(datadir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
+
 top_builddir = .
 
 ACLOCAL = @ACLOCAL@
@@ -44,11 +46,11 @@
 AUTOHEADER = @AUTOHEADER@
 
 INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
 INSTALL_DATA = @INSTALL_DATA@
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_HEADER = $(INSTALL_DATA)
 transform = @program_transform_name@
+
 NORMAL_INSTALL = :
 PRE_INSTALL = :
 POST_INSTALL = :
@@ -95,6 +97,7 @@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 LOCALE_DIR = @LOCALE_DIR@
+MAKEINFO = @MAKEINFO@
 MKINSTALLDIRS = @MKINSTALLDIRS@
 MODULES = @MODULES@
 MODULES_LA = @MODULES_LA@
@@ -124,63 +127,72 @@
 am__quote = @am__quote@
 install_sh = @install_sh@
 
-EXTRA_DIST = lftp.conf lftp.lsm FAQ acconfig.h README README.debug-levels\
- README.modules MIRRORS BUGS FEATURES
+EXTRA_DIST = lftp.conf lftp.lsm FAQ acconfig.h README README.debug-levels  README.modules MIRRORS BUGS FEATURES
 
-SUBDIRS = include readline-4.2 lib doc intl src po m4
+SUBDIRS = include lib doc intl src po m4
 AUTOMAKE_OPTIONS = foreign
 M4DIR = $(srcdir)/m4
 ACLOCAL_AMFLAGS = -I $(M4DIR)
 
 REL_DIR = /ftp/pub/software/unix/net/ftp/client/lftp
-subdir = .
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/include/config.h
-CONFIG_CLEAN_FILES = readline-4.2/Makefile intl/Makefile
-DIST_SOURCES =
-
-RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
-	uninstall-info-recursive all-recursive install-data-recursive \
-	install-exec-recursive installdirs-recursive install-recursive \
-	uninstall-recursive check-recursive installcheck-recursive
-DIST_COMMON = README ABOUT-NLS COPYING ChangeLog INSTALL Makefile.am \
-	Makefile.in NEWS THANKS TODO acconfig.h aclocal.m4 config.guess \
-	config.sub configure configure.in depcomp install-sh ltmain.sh \
-	missing mkinstalldirs
-DIST_SUBDIRS = $(SUBDIRS)
-all: all-recursive
+CONFIG_HEADER = ./include/config.h
+CONFIG_CLEAN_FILES = 
+DIST_COMMON =  README ABOUT-NLS COPYING ChangeLog INSTALL Makefile.am \
+Makefile.in NEWS THANKS TODO acconfig.h aclocal.m4 config.guess \
+config.sub configure configure.in include/config.h.in \
+include/stamp-h.in install-sh ltmain.sh missing mkinstalldirs
 
-.SUFFIXES:
 
-mostlyclean-libtool:
-	-rm -f *.lo
+DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
+
+TAR = tar
+GZIP_ENV = --best
+all: all-redirect
+.SUFFIXES:
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
+	cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
 
-clean-libtool:
-	-rm -rf .libs _libs
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
+	cd $(top_builddir) \
+	  && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
-distclean-libtool:
-	-rm -f libtool
-$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
-	cd $(top_srcdir) && \
-	  $(AUTOMAKE) --foreign  Makefile
-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
-	cd $(top_builddir) && \
-	  CONFIG_HEADERS= CONFIG_LINKS= \
-	  CONFIG_FILES=$@ $(SHELL) ./config.status
+$(ACLOCAL_M4):  configure.in 
+	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
 
-$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+config.status: $(srcdir)/configure.in $(CONFIG_STATUS_DEPENDENCIES)
 	$(SHELL) ./config.status --recheck
-$(srcdir)/configure:  $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
+$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
 	cd $(srcdir) && $(AUTOCONF)
 
-$(ACLOCAL_M4):  configure.in 
-	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
-readline-4.2/Makefile: $(top_builddir)/config.status $(top_srcdir)/readline-4.2/Makefile.in
-	cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
-intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
-	cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
-uninstall-info-am:
+include/config.h: include/stamp-h
+	@if test ! -f $@; then \
+		rm -f include/stamp-h; \
+		$(MAKE) include/stamp-h; \
+	else :; fi
+include/stamp-h: $(srcdir)/include/config.h.in $(top_builddir)/config.status
+	cd $(top_builddir) \
+	  && CONFIG_FILES= CONFIG_HEADERS=include/config.h \
+	     $(SHELL) ./config.status
+	@echo timestamp > include/stamp-h 2> /dev/null
+$(srcdir)/include/config.h.in: $(srcdir)/include/stamp-h.in
+	@if test ! -f $@; then \
+		rm -f $(srcdir)/include/stamp-h.in; \
+		$(MAKE) $(srcdir)/include/stamp-h.in; \
+	else :; fi
+$(srcdir)/include/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
+	cd $(top_srcdir) && $(AUTOHEADER)
+	@echo timestamp > $(srcdir)/include/stamp-h.in 2> /dev/null
+
+mostlyclean-hdr:
+
+clean-hdr:
+
+distclean-hdr:
+	-rm -f include/config.h
+
+maintainer-clean-hdr:
 
 # This directory's subdirectories are mostly independent; you can cd
 # into them and run `make' without going through this Makefile.
@@ -188,7 +200,12 @@
 # (1) if the variable is set in `config.status', edit `config.status'
 #     (which will cause the Makefiles to be regenerated when you run `make');
 # (2) otherwise, pass the desired values on the `make' command line.
-$(RECURSIVE_TARGETS):
+
+@SET_MAKE@
+
+all-recursive install-data-recursive install-exec-recursive \
+installdirs-recursive install-recursive uninstall-recursive  \
+check-recursive installcheck-recursive info-recursive dvi-recursive:
 	@set fnord $(MAKEFLAGS); amf=$$2; \
 	dot_seen=no; \
 	target=`echo $@ | sed s/-recursive//`; \
@@ -211,16 +228,11 @@
 maintainer-clean-recursive:
 	@set fnord $(MAKEFLAGS); amf=$$2; \
 	dot_seen=no; \
-	case "$@" in \
-	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
-	  *) list='$(SUBDIRS)' ;; \
-	esac; \
-	rev=''; for subdir in $$list; do \
-	  if test "$$subdir" = "."; then :; else \
-	    rev="$$subdir $$rev"; \
-	  fi; \
+	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+	  rev="$$subdir $$rev"; \
+	  test "$$subdir" = "." && dot_seen=yes; \
 	done; \
-	rev="$$rev ."; \
+	test "$$dot_seen" = "no" && rev=". $$rev"; \
 	target=`echo $@ | sed s/-recursive//`; \
 	for subdir in $$rev; do \
 	  echo "Making $$target in $$subdir"; \
@@ -239,66 +251,89 @@
 
 tags: TAGS
 
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
-	unique=`for i in $$list; do \
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-	  done | \
-	  $(AWK) '    { files[$$0] = 1; } \
+ID: $(HEADERS) $(SOURCES) $(LISP)
+	list='$(SOURCES) $(HEADERS)'; \
+	unique=`for i in $$list; do echo $$i; done | \
+	  awk '    { files[$$0] = 1; } \
 	       END { for (i in files) print i; }'`; \
-	mkid -fID $$unique $(LISP)
+	here=`pwd` && cd $(srcdir) \
+	  && mkid -f$$here/ID $$unique $(LISP)
 
-TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-		$(TAGS_FILES) $(LISP)
+TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
 	tags=; \
 	here=`pwd`; \
 	list='$(SUBDIRS)'; for subdir in $$list; do \
-	  if test "$$subdir" = .; then :; else \
+   if test "$$subdir" = .; then :; else \
 	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
-	  fi; \
+   fi; \
 	done; \
-	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
-	unique=`for i in $$list; do \
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-	  done | \
-	  $(AWK) '    { files[$$0] = 1; } \
+	list='$(SOURCES) $(HEADERS)'; \
+	unique=`for i in $$list; do echo $$i; done | \
+	  awk '    { files[$$0] = 1; } \
 	       END { for (i in files) print i; }'`; \
 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
-	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
 
-GTAGS:
-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
-	  && cd $(top_srcdir) \
-	  && gtags -i $(GTAGS_ARGS) $$here
+mostlyclean-tags:
+
+clean-tags:
 
 distclean-tags:
-	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+	-rm -f TAGS ID
 
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+maintainer-clean-tags:
 
-top_distdir = .
-# Avoid unsightly `./'.
 distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
 
-GZIP_ENV = --best
-
+# This target untars the dist file and tries a VPATH configuration.  Then
+# it guarantees that the distribution is self-contained by making another
+# tarfile.
+distcheck: dist
+	-rm -rf $(distdir)
+	GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
+	mkdir $(distdir)/=build
+	mkdir $(distdir)/=inst
+	dc_install_base=`cd $(distdir)/=inst && pwd`; \
+	cd $(distdir)/=build \
+	  && ../configure --with-included-gettext --srcdir=.. --prefix=$$dc_install_base \
+	  && $(MAKE) $(AM_MAKEFLAGS) \
+	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
+	  && $(MAKE) $(AM_MAKEFLAGS) check \
+	  && $(MAKE) $(AM_MAKEFLAGS) install \
+	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+	  && $(MAKE) $(AM_MAKEFLAGS) dist
+	-rm -rf $(distdir)
+	@banner="$(distdir).tar.gz is ready for distribution"; \
+	dashes=`echo "$$banner" | sed s/./=/g`; \
+	echo "$$dashes"; \
+	echo "$$banner"; \
+	echo "$$dashes"
+dist: distdir
+	-chmod -R a+r $(distdir)
+	GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
+	-rm -rf $(distdir)
+dist-all: distdir
+	-chmod -R a+r $(distdir)
+	GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
+	-rm -rf $(distdir)
 distdir: $(DISTFILES)
-	-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
+	-rm -rf $(distdir)
 	mkdir $(distdir)
-	$(mkinstalldirs) $(distdir)/intl $(distdir)/po $(distdir)/readline-4.2
+	-chmod 777 $(distdir)
+	here=`cd $(top_builddir) && pwd`; \
+	top_distdir=`cd $(distdir) && pwd`; \
+	distdir=`cd $(distdir) && pwd`; \
+	cd $(top_srcdir) \
+	  && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
 	@for file in $(DISTFILES); do \
-	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
-	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
-	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
-	    $(mkinstalldirs) "$(distdir)/$$dir"; \
-	  fi; \
+	  d=$(srcdir); \
 	  if test -d $$d/$$file; then \
-	    cp -pR $$d/$$file $(distdir) \
-	    || exit 1; \
+	    cp -pr $$d/$$file $(distdir)/$$file; \
 	  else \
 	    test -f $(distdir)/$$file \
-	    || cp -p $$d/$$file $(distdir)/$$file \
-	    || exit 1; \
+	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+	    || cp -p $$d/$$file $(distdir)/$$file || :; \
 	  fi; \
 	done
 	for subdir in $(SUBDIRS); do \
@@ -306,144 +341,83 @@
 	    test -d $(distdir)/$$subdir \
 	    || mkdir $(distdir)/$$subdir \
 	    || exit 1; \
-	    (cd $$subdir && \
-	      $(MAKE) $(AM_MAKEFLAGS) \
-	        top_distdir="$(top_distdir)" \
-	        distdir=../$(distdir)/$$subdir \
-	        distdir) \
+	    chmod 777 $(distdir)/$$subdir; \
+	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
 	      || exit 1; \
 	  fi; \
 	done
-	$(MAKE) $(AM_MAKEFLAGS) \
-	  top_distdir="${top_distdir}" distdir="$(distdir)" \
-	  dist-hook
-	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
-	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
-	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
-	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
-	|| chmod -R a+r $(distdir)
-dist: distdir
-	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
-	-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
-
-# This target untars the dist file and tries a VPATH configuration.  Then
-# it guarantees that the distribution is self-contained by making another
-# tarfile.
-distcheck: dist
-	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
-	GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
-	chmod -R a-w $(distdir); chmod a+w $(distdir)
-	mkdir $(distdir)/=build
-	mkdir $(distdir)/=inst
-	chmod a-w $(distdir)
-	dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
-	  && cd $(distdir)/=build \
-	  && ../configure --srcdir=.. --prefix=$$dc_install_base \
-	    --with-included-gettext \
-	  && $(MAKE) $(AM_MAKEFLAGS) \
-	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
-	  && $(MAKE) $(AM_MAKEFLAGS) check \
-	  && $(MAKE) $(AM_MAKEFLAGS) install \
-	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
-	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
-	  && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
-	     || (echo "Error: files left after uninstall" 1>&2; \
-	         exit 1) ) \
-	  && $(MAKE) $(AM_MAKEFLAGS) dist \
-	  && $(MAKE) $(AM_MAKEFLAGS) distclean \
-	  && rm -f $(distdir).tar.gz \
-	  && (test `find . -type f -print | wc -l` -eq 0 \
-	     || (echo "Error: files left after distclean" 1>&2; \
-	         exit 1) )
-	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
-	@echo "$(distdir).tar.gz is ready for distribution" | \
-	  sed 'h;s/./=/g;p;x;p;x'
+	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+info-am:
+info: info-recursive
+dvi-am:
+dvi: dvi-recursive
 check-am: all-am
 check: check-recursive
-all-am: Makefile
-installdirs: installdirs-recursive
-installdirs-am:
-
-install: install-recursive
+installcheck-am:
+installcheck: installcheck-recursive
+install-exec-am:
 install-exec: install-exec-recursive
+
+install-data-am: install-data-local
 install-data: install-data-recursive
-uninstall: uninstall-recursive
 
 install-am: all-am
 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-recursive
+install: install-recursive
+uninstall-am: uninstall-local
+uninstall: uninstall-recursive
+all-am: Makefile
+all-redirect: all-recursive
 install-strip:
-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-	  `test -z '$(STRIP)' || \
-	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
+installdirs: installdirs-recursive
+installdirs-am:
+
+
 mostlyclean-generic:
 
 clean-generic:
 
 distclean-generic:
-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
 
 maintainer-clean-generic:
-	@echo "This command is intended for maintainers to use"
-	@echo "it deletes files that may require special tools to rebuild."
-clean: clean-recursive
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-dist-all: distdir
-	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
-	-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
-distclean: distclean-recursive
-	-rm -f config.status config.cache config.log
-distclean-am: clean-am distclean-generic distclean-libtool \
-	distclean-tags
-
-dvi: dvi-recursive
+mostlyclean-am:  mostlyclean-hdr mostlyclean-tags mostlyclean-generic
 
-dvi-am:
-
-info: info-recursive
-
-info-am:
+mostlyclean: mostlyclean-recursive
 
-install-data-am: install-data-local
+clean-am:  clean-hdr clean-tags clean-generic mostlyclean-am
 
-install-exec-am:
+clean: clean-recursive
 
-install-info: install-info-recursive
+distclean-am:  distclean-hdr distclean-tags distclean-generic clean-am
+	-rm -f libtool
 
-install-man:
+distclean: distclean-recursive
+	-rm -f config.status
 
-installcheck-am:
+maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-tags \
+		maintainer-clean-generic distclean-am
+	@echo "This command is intended for maintainers to use;"
+	@echo "it deletes files that may require special tools to rebuild."
 
 maintainer-clean: maintainer-clean-recursive
+	-rm -f config.status
 
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-recursive
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-uninstall-am: uninstall-info-am uninstall-local
-
-uninstall-info: uninstall-info-recursive
-
-.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
-	clean-generic clean-libtool clean-recursive dist dist-all \
-	distcheck distclean distclean-generic distclean-libtool \
-	distclean-recursive distclean-tags distdir dvi dvi-am \
-	dvi-recursive info info-am info-recursive install install-am \
-	install-data install-data-am install-data-local \
-	install-data-recursive install-exec install-exec-am \
-	install-exec-recursive install-info install-info-am \
-	install-info-recursive install-man install-recursive \
-	install-strip installcheck installcheck-am installdirs \
-	installdirs-am installdirs-recursive maintainer-clean \
-	maintainer-clean-generic maintainer-clean-recursive mostlyclean \
-	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
-	tags tags-recursive uninstall uninstall-am uninstall-info-am \
-	uninstall-info-recursive uninstall-local uninstall-recursive
+.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
+install-data-recursive uninstall-data-recursive install-exec-recursive \
+uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
+all-recursive check-recursive installcheck-recursive info-recursive \
+dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
+maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
+distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
+install-exec install-data-local install-data-am install-data install-am \
+install uninstall-local uninstall-am uninstall all-redirect all-am all \
+installdirs-am installdirs mostlyclean-generic distclean-generic \
+clean-generic maintainer-clean-generic clean mostlyclean distclean \
+maintainer-clean
 
 
 install-data-local:
@@ -485,6 +459,7 @@
 	    rm -f $(PACKAGE).tar.gz && ln -s $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE).tar.gz)
 	mutt -s add lsm@execpc.com < $(PACKAGE).lsm
 	cvs tag $(PACKAGE)-`echo $(VERSION) | sed 's/\./-/g'` .
+
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
--- lftp-2.4.9.orig/missing
+++ lftp-2.4.9/missing
@@ -229,6 +229,33 @@
     exit 1
     ;;
 
+ msgfmt)
+    echo 1>&2 "\
+WARNING: \`$1' is missing on your system. You should only need it if
+         you have modified a \`.po' file. You might want
+         to install the \`GNU gettext' package."
+    file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
+    if test -z "$file"; then
+	file=messages
+    fi
+    touch $file
+;;
+
+ xgettext)
+    echo 1>&2 "\
+WARNING: \`$1' is missing on your system. You should only need it if
+         you have modified a translatable string in the source. You might want
+         to install the \`GNU gettext' package."
+    file=`echo "$*" | sed -n 's/.*--default-domain \([^ ]*\).*/\1/p'`
+    if test -z "$file"; then
+        file=`echo "$*" | sed -n 's/.*--d \([^ ]*\).*/\1/p'`
+        if test -z "$file"; then
+            file=messages
+        fi
+    fi
+    cp ${file}.pot ${file}.po
+;;
+
   *)
     echo 1>&2 "\
 WARNING: \`$1' is needed, and you do not seem to have it handy on your
--- lftp-2.4.9.orig/lftp.conf
+++ lftp-2.4.9/lftp.conf
@@ -73,4 +73,4 @@
 
 ## If you don't like advertising lftp or servers hate it, set this:
 # set ftp:anon-pass "mozilla@"
-# set http:user-agent "Mozilla/4.7 [en] (WinNT; I)"
+# set http:user-agent "Mozilla/4.7 [en] (Linux; U)"
--- lftp-2.4.9.orig/FAQ
+++ lftp-2.4.9/FAQ
@@ -6,7 +6,7 @@
 A: Try `debug 3'. It is disabled by default to keep screen clear in case
    of several simultaneous connections.
 
-Q: Why does'nt lftp download files like this: `lftp ftp://host/path/file'?
+Q: Why doesn't lftp download files like this: `lftp ftp://host/path/file'?
 A: It expects an URL of directory. To download a file use `lftpget URL'.
 
 Q: What is the %2F in ftp URL's?
--- lftp-2.4.9.orig/README.debug-levels
+++ lftp-2.4.9/README.debug-levels
@@ -9,7 +9,7 @@
    => Anything that causes a Discon+Retry or a "giveup" message.
 
 Level 1
-   Important or inaccessable state information.
+   Important or inaccessible state information.
    => Connection start, Idle disconnection.
 
 Level 2
--- lftp-2.4.9.orig/doc/lftpget.1
+++ lftp-2.4.9/doc/lftpget.1
@@ -0,0 +1,74 @@
+.\"
+.\" lftpget.1 - gets files via FTP using lftp
+.\"
+.\" This file is part of lftp.
+.\"
+.\" This program is free software; you can redistribute it and/or modify
+.\" it under the terms of the GNU General Public License as published by
+.\" the Free Software Foundation; either version 2 of the License , or
+.\" (at your option) any later version.
+.\"
+.\" This program is distributed in the hope that it will be useful,
+.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
+.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+.\" GNU General Public License for more details.
+.\"
+.\" You should have received a copy of the GNU General Public License
+.\" along with this program; see the file COPYING.  If not, write to
+.\" the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+.\"
+.TH lftpget 1 "11 Sep 1999"
+.SH NAME
+lftpget \- gets files via FTP using lftp
+.SH SYNTAX
+.BI "lftpget [" \-c "] [" \-d "] [" \-v "] " "URL " [ URL ...]
+
+.SH "DESCRIPTION"
+.B lftpget
+will get a file from a remote host. It will reconnect if needed until
+the transfer is done.
+.PP
+.B lftpget
+is just a shell script that calls
+.BR lftp (1).
+
+.SH OPTIONS
+.TP
+.B \-c
+Continue a previous transfer, reget.
+.TP
+.B \-d
+Debug output.
+.TP
+.B \-v
+Verbose output.
+
+.SH FILES
+.TP
+.I "/etc/lftp.conf"
+System wide startup file for lftp, affects this script.
+
+.TP
+.I "~/.lftp/rc," "~/.lftprc"
+These files are executed on lftp startup after \fI/etc/lftp.conf\fR.
+.TP
+.I "~/.lftp/log"
+The file things are logged to when lftp moves into the background in
+nohup mode.
+.TP
+.I "~/.netrc"
+
+The file is consulted to get default login to ftp server. It's
+documented in the
+.BR ftp (1)
+manpage.
+
+.SH SEE ALSO
+.BR ftp "(1), " lftp (1)
+
+.SH AUTHOR
+Alexander V. Lukyanov <lav@yars.free.net>
+
+.SH ACKNOWLEDGMENTS
+This manual page was originally written by Nicolás Lichtmaier
+<nick@debian.org>, for the Debian GNU/Linux system.
--- lftp-2.4.9.orig/src/CatJob.cc
+++ lftp-2.4.9/src/CatJob.cc
@@ -143,7 +143,7 @@
       {
 	 const char *pager=getenv("PAGER");
 	 if(pager==NULL)
-	    pager="more";
+	    pager="/usr/bin/pager";
 	 global=new OutputFilter(pager);
       }
    }
--- lftp-2.4.9.orig/src/ResMgr.h
+++ lftp-2.4.9/src/ResMgr.h
@@ -26,6 +26,7 @@
 #include "trio.h"
 #include <sys/types.h>
 #include <time.h>
+#include <langinfo.h>
 #include "xmalloc.h"
 #include "TimeDate.h"
 
@@ -35,6 +36,32 @@
 class ResValue;
 class ResDecl;
 
+static inline double strtod_x(const char *nptr, char **endptr)
+{
+	const char *point=nl_langinfo(RADIXCHAR), *x=nptr;
+	double r;
+	if(*point!='.')
+	{
+		x=strdup(nptr);
+		char *p=strrchr((char*)x,'.');
+		if(p)
+			*p=*point;
+	}
+	r=strtod(x,endptr);
+	if(*point!='.')
+	{
+		if(endptr)
+			(*endptr)=((char*)nptr) + (*endptr - x);
+		free((char*)x);
+	}
+	return r;
+}
+
+static inline double atof_x(const char *nptr)
+{
+	return strtod_x(nptr,NULL);
+}
+
 class ResMgr
 {
    friend class ResDecl;
@@ -145,11 +172,11 @@
       }
    operator double()
       {
-	 return atof(s);
+	 return atof_x(s);
       }
    operator float()
       {
-	 return atof(s);
+	 return atof_x(s);
       }
    operator const char*()
       {
--- lftp-2.4.9.orig/src/ResMgr.cc
+++ lftp-2.4.9/src/ResMgr.cc
@@ -452,11 +452,12 @@
 const char *ResMgr::FloatValidate(char **value)
 {
    char *v=*value;
+   char *endptr;
+   int n;
 
-   int n=0;
-
-   double f;
-   if(1>sscanf(v,"%lf%n",&f,&n))
+   double f = strtod_x(v,&endptr);
+   n=endptr-v;
+   if(n==0)
       return _("invalid floating point number");
 
    v[n]=0;
@@ -669,10 +670,12 @@
       double prec;
       char ch='s';
       int pos1=strlen(s+pos);
-      int n=sscanf(s+pos,"%lf%c%n",&prec,&ch,&pos1);
-      if(n<1)
+      char *endptr;
+      prec=strtod_x(s+pos, &endptr);
+      pos1=1+endptr-(s+pos);
+      if(pos1==1)
 	 break;
-      ch=tolower((unsigned char)ch);
+      ch=tolower((unsigned char)*endptr);
       if(ch=='m')
 	 prec*=MINUTE;
       else if(ch=='h')
--- lftp-2.4.9.orig/src/lftp.cc
+++ lftp-2.4.9/src/lftp.cc
@@ -305,7 +305,7 @@
 #endif
 
    setlocale (LC_ALL, "");
-   setlocale (LC_NUMERIC, "C");
+//   setlocale (LC_NUMERIC, "C");
    bindtextdomain (PACKAGE, LOCALEDIR);
    textdomain (PACKAGE);
 
--- lftp-2.4.9.orig/src/lftp_rl.c
+++ lftp-2.4.9/src/lftp_rl.c
@@ -50,7 +50,7 @@
    return ret;
 }
 
-int lftp_history_expand(const char *what, char **where)
+int lftp_history_expand(char *what, char **where)
 {
    return history_expand((char*)what,where);
 }
--- lftp-2.4.9.orig/src/lftp_rl.h
+++ lftp-2.4.9/src/lftp_rl.h
@@ -26,7 +26,7 @@
 CDECL_BEGIN
 
 void lftp_readline_init (void);
-int  lftp_history_expand (const char *, char **);
+int  lftp_history_expand (char *, char **);
 char *lftp_readline (const char *prompt);
 void lftp_add_history_nodups(const char *cmd);
 void lftp_history_clear();
--- lftp-2.4.9.orig/debian/changelog
+++ lftp-2.4.9/debian/changelog
@@ -0,0 +1,649 @@
+lftp (2.4.9-1) unstable; urgency=low
+
+  * New upstream release (closes:Bug#12085,Bug#117416,Bug#108725,Bug#135251).
+    Fixes:
+    * Has a `du' command (closes:Bug#101225).
+    * With the new ftp:home lftp behaviour for interpreting URLS can be
+      modified (closes:Buf#67653).
+  * Modify default aliases for dir and ls for not passing arguments
+    to ls (closes:Bug#111956,Bug#53881,Bug#87656).
+  * Minor fix to description (closes:Bug#124864).
+  * Undone upstream change. Back to using setlocale for all locale
+    categories so that numbers are properly localized. Instead, to fix
+    problems with atof, included an atof wrapper that works always in the C
+    locale.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sun, 24 Feb 2002 22:04:24 -0300
+
+lftp (2.4.8-0.1) unstable; urgency=low
+
+  * NMU
+  * New upstream release (Closes: #116068, #120805, #95679, #65460, 95679).
+  * debian/control:
+    - Clean up description, fix spelling errors (Closes: #124864)
+  
+ -- Colin Walters <walters@debian.org>  Mon, 31 Dec 2001 21:06:42 -0500
+
+lftp (2.4.1-1) unstable; urgency=low
+
+  * New upstream release.
+    * No longer says `programme gratuit' (closes:Bug#106721).
+  * Updated Spanish translation.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sun, 12 Aug 2001 22:48:07 -0300
+
+lftp (2.3.11-1) unstable; urgency=low
+
+  * New upstream release.
+  * Removed ftpget from description.
+  * The debian/rules file now sets DH_COMPAT to 3, and it was changed
+    accordingly (like using debian/lftp instead of debian/tmp).
+  * In debian/rules it now uses $(DESTIDOR) when installing in debian/lftp.
+  * Now lftp installs its configuration file by itself, removed manual
+    installation.
+  * It seems that lftp take all the steps to avoid depending on C++
+    libraries, so I've removed all the hacks for doing so in debian/rules.
+  * Added Build-Depends header to debian/control.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sat, 26 May 2001 01:43:17 -0300
+
+lftp (2.3.10-1) unstable; urgency=low
+
+  * New upstream release.
+    * Now it doesn't send user's email address by default
+      (closes:Bug#97251).
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sun, 13 May 2001 18:38:15 -0300
+
+lftp (2.3.9-1) unstable; urgency=low
+
+  * New upstream release.
+    * Copes with printf being a macro in GCC 3.0 (part of #95669).
+  * Removed menu hint "Clients" (closes:Bug#82103).
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sun,  6 May 2001 18:49:19 -0300
+
+lftp (2.3.8-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Mon, 26 Feb 2001 23:43:23 -0300
+
+lftp (2.3.7-1) unstable; urgency=low
+
+  * New upstream release.
+  * Added FAQ file to package.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sat, 10 Feb 2001 17:42:15 -0300
+
+lftp (2.3.6-1) unstable; urgency=low
+
+  * New upstream release.
+  * Small updates in Spanish messages.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sun,  7 Jan 2001 17:44:16 -0300
+
+lftp (2.3.5-2) unstable; urgency=low
+
+  * Added hints to menu file (closes:Bug#80047).
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sun, 24 Dec 2000 03:02:59 -0300
+
+lftp (2.3.5-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Mon,  4 Dec 2000 01:42:44 -0300
+
+lftp (2.3.4-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Mon, 30 Oct 2000 08:32:23 -0300
+
+lftp (2.3.3-1) unstable; urgency=low
+
+  * New upstream release:
+    * Fixes: ls: cannot seek on data source (closes:Bug#72314).
+    * Fixed failing assertion (rate_limit!=0) (closes:Bug#72063).
+    * Added Japanese translation (closes:Bug#72591).
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sun,  1 Oct 2000 15:54:17 -0300
+
+lftp (2.3.2-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sat, 30 Sep 2000 03:30:56 -0300
+
+lftp (2.3.0-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Wed, 20 Sep 2000 23:01:30 -0300
+
+lftp (2.2.99.A00907-1) unstable; urgency=low
+
+  * New upstream release:
+    * workaround for server returning address from private network for PASV.
+    * support for redirection in mirror (untested).
+    * fix for http forgotting to skip some data on input (rare).
+    * keep original file mode in get (if the file already existed).
+    * fix for EPLF without mtime.
+    * russian translation updated.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Mon, 11 Sep 2000 02:44:47 -0300
+
+lftp (2.2.99.A00826-1) unstable; urgency=low
+
+  * New upstream release:
+    * ftp/ssl tested and fixed.
+    * cd follows redirections (mirror still does not).
+    * french translation added.
+    * translate more strings.
+    * //path support.
+  * Added a README.Debian.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sun, 27 Aug 2000 00:17:19 -0300
+
+lftp (2.2.99.A00823-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Fri, 25 Aug 2000 00:10:18 -0300
+
+lftp (2.2.99.A00820-1) unstable; urgency=low
+
+  * New upstream release.
+  * Fixes to Spanish translation.
+  * Removed BUGS from package, it has only one bug, and it was fixed long
+    time ago.
+  * Disabled support for ssl when configuring. I will probably make a
+    lftp-ssl package sometime. Or, as I hope, Debian could start including
+    crypto in the main archive.
+  * Updated Spanish translation.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sun, 20 Aug 2000 19:18:24 -0300
+
+lftp (2.2.5-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Wed,  2 Aug 2000 02:36:28 -0300
+
+lftp (2.2.4-1) unstable; urgency=low
+
+  * New upstream release.
+    * Fixes chmod for mirror (closes:Bug#67028).
+  * Updates to Spanish translation.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sat, 15 Jul 2000 22:49:02 -0300
+
+lftp (2.2.3-1) unstable; urgency=low
+
+  * New upstream release.
+  * Small fix in Spanish translation.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Mon, 19 Jun 2000 17:46:41 -0300
+
+lftp (2.2.1a-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sun, 23 Apr 2000 02:54:39 -0300
+
+lftp (2.2.0a-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Thu, 30 Mar 2000 03:43:34 -0300
+
+lftp (2.1.99.pre4-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sun, 26 Mar 2000 04:29:12 -0300
+
+lftp (2.1.99.pre3-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Tue, 21 Mar 2000 21:05:21 -0300
+
+lftp (2.1.99.pre2-1) unstable; urgency=low
+
+  * New upstream release.
+  * Updated Spanish translation for lftp 2.2 messages.
+  * Listed more lftp features in the package description.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sun, 19 Mar 2000 17:19:59 -0300
+
+lftp (2.1.10-1) frozen unstable; urgency=low
+
+  * New upstream release with a fix for a core dump with long prompts.
+    (closes:Bug#59952).
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sun, 12 Mar 2000 04:15:02 -0300
+
+lftp (2.1.9-1) frozen unstable; urgency=low
+
+  * New upstream release with small fixes. Accumulated changelog.
+   * fixed command `mv'. It was broken for a year.
+   * fixed a stupid bug in PWD reply extraction.
+   * fixed assertion failure in ftpclass.cc (closes:Bug#56236).
+   * fixed handling of PWD reply when it does not include a quoted path.
+   * `mirror -R' now checks time stamps again.
+  * Parens missing in a message in the Spanish translation
+    (closes:Bug#58223).
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Wed, 23 Feb 2000 03:01:19 -0300
+
+lftp (2.1.6-1) unstable; urgency=low
+
+  * New upstream release.
+  * Included `BUGS' file.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sat, 15 Jan 2000 00:49:21 -0300
+
+lftp (2.1.5-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sun,  9 Jan 2000 15:02:51 -0300
+
+lftp (2.1.4-3) unstable; urgency=low
+
+  * Rebuilt with new readline and ncurses libraries.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sun,  9 Jan 2000 04:44:56 -0300
+
+lftp (2.1.4-2) unstable; urgency=low
+
+  * Rebuilt with correct libreadlineg2 shlibs file, now depends on
+    libreadlineg2 (>=2.1-15) (closes:Bug#53311,Bug#51075).
+  * Call gcc instead of egcc (closes:Bug#47604).
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sat,  1 Jan 2000 17:31:44 -0300
+
+lftp (2.1.4-1) unstable; urgency=low
+
+  * New upstream release with some bugfixes (memery leak, PUT method,
+    parsing Squid output, base-href in hftp, proxies which don't support
+    HEAD). LFTP can now also login to proxy servers.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sun,  7 Nov 1999 21:33:55 -0300
+
+lftp (2.1.3-1) unstable; urgency=low
+
+  * New upstream release:
+    * get: don't create output file early (closes:Bug#22452).
+    * http: list parser for Mini-Proxy added (closes:Bug#47118).
+  * Modified `more' command to use /usr/bin/pager if the
+    PAGER variable is not defined (closes#47510).
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sat, 16 Oct 1999 22:56:34 -0300
+
+lftp (2.1.2-1) unstable; urgency=low
+
+  * New upstream release. Creates directories with 777 perms
+    (closes:Bug#36909). "ls -C" works with http (closes:Bug#46546).
+    Fixed coredump in mirror command (closes:Bug#46849).
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sat,  9 Oct 1999 19:20:54 -0300
+
+lftp (2.1.1-1) unstable; urgency=low
+
+  * New upstream major release.
+  * Updated Spanish messages.
+  * When going to background it closes its tty related fds and do a setsid
+    (does not do a "cd /" though) (closes:Bug#45881).
+  * No longer include readline Makefile in patch.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sun,  3 Oct 1999 22:02:48 -0300
+
+lftp (2.0.5-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sat, 18 Sep 1999 18:43:12 -0300
+
+lftp (2.0.4-2) unstable; urgency=low
+
+  * Applied patch from upstream author to stop lftp from giving
+    `Invalid argument' errors (closes: Bug#43783).
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sat, 18 Sep 1999 04:19:18 -0300
+
+lftp (2.0.4-1) unstable; urgency=low
+
+  * New upstream release (closes: Bug#43250).
+  * Updated `Stadards-Version' to 3.0.1.
+  * Moved docs and manpages under /usr/share.
+  * Written a manpage for lftpget.
+  * Updated description to say that it supports IPv6 and to include
+    lftpget (a script to get an URL).
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sat, 11 Sep 1999 23:28:54 -0300
+
+lftp (2.0.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Updated Spanish translation.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sun,  4 Jul 1999 20:26:07 -0300
+
+lftp (2.0.0-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Sun, 20 Jun 1999 16:48:50 -0300
+
+lftp (1.990602-1) unstable; urgency=low
+
+  * New upstream release. Fixes Bug#34487.
+  * Updated maintainer address.
+  * Somewhat updated Spanish translation.
+  * Updated description.
+
+ -- Nicolás Lichtmaier <nick@debian.org>  Thu,  3 Jun 1999 01:36:55 -0300
+
+lftp (1.2-1) unstable; urgency=low
+
+  * Somes updates to Portiguese translation.
+  * Updated Spanish translation.
+  * Fixed typo in description.
+  * Link with egcc instead of gcc.
+  * New upstream release.
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Sat, 12 Dec 1998 22:50:27 -0300
+
+lftp (1.1.981023-1) unstable; urgency=low
+
+  * Built with new libreadline so it doesn't depend on older ncurses.
+  * New upstream release.
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Sun, 25 Oct 1998 03:00:05 -0300
+
+lftp (1.1.981013-1) unstable; urgency=low
+
+  * Switched to debhelper.
+  * New upstream release, fixes ugly bug in filename completion. It was
+    #28063 and #27932.
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Sat, 17 Oct 1998 06:01:53 -0300
+
+lftp (1.1.981007-1) unstable; urgency=low
+
+  * Updated Spanish transation.
+  * Built with ncurses 4.2, but it still depend on the on the old one
+    because realine hasn't been rebuilt yet.
+  * New upstream release.
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Mon, 12 Oct 1998 00:57:13 -0300
+
+lftp (1.1.980915-1) unstable; urgency=low
+
+  * Fixed the menu entry file.
+  * Now compiled with egcs c++.
+  * Removed hack that caused the bug #26164.
+  * New upstream release.
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Fri, 25 Sep 1998 12:12:54 -0300
+
+lftp (1.0.980805-1) unstable; urgency=low
+
+  * Some updates to Spanish translation.
+  * New upstream release, fixes bug #23962.
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Sun,  9 Aug 1998 20:52:18 -0300
+
+lftp (1.0-1) frozen unstable; urgency=low
+
+  * New upstream release.
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Fri,  1 May 1998 03:25:43 -0300
+
+lftp (0.99.980424-1) frozen unstable; urgency=low
+
+  * New upstream release:
+    * used readline-2.2.
+    * correct help and man page for `pget -u'.
+    * show `open' status.
+    * debug print `resolving host name'.
+  * Updated Italian translation, thanks
+    to Giovanni Bortolozzo <borto@pluto.linux.it>.
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Sat, 25 Apr 1998 00:35:04 -0300
+
+lftp (0.14.3.980416-1) unstable; urgency=low
+
+  * Fixes to Spanish translation.
+  * New upstream release (pre-1.0 release!):
+    * show cd status.
+    * use sysconfdir for lftp.conf; /etc for prefix=/usr.
+    * output current transfer rate in `jobs', also in pget.
+    * in pget, don't show chunks by default; use `jobs -v' to see them.
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Thu, 16 Apr 1998 23:57:30 -0300
+
+lftp (0.14.3.980408-1) frozen unstable; urgency=low
+
+  * Check if `cc' contains c++. if not, use `c++'. Should fix bug #20863.
+  * New upstream release. Upstream changelog:
+    * spanish translation updated (Nicolás Lichtmaier).
+    * man page updated (James Troup, me).
+    * help for cd and lcd updated.
+    * automake-1.2h used.
+      No bugs found yet, strange.
+  * Completed Spanish translation.
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Sun, 12 Apr 1998 09:32:11 -0300
+
+lftp (0.14.3.980402-1) frozen unstable; urgency=low
+
+  * New upstream release:
+     * null dereference in rglob.cc fixed (very nasty bug! lftp was giving
+       coredump by pressing twice the tab key).
+     * fixed sync-mode for some ftp sites.
+     * fixed ^C for `more' when pager has not started yet.
+     * some messages cleanup.
+     * some code cleanup.
+     * russian translation almost completed.
+  * Allow building when gettext is not installed, fixes bug #20386.
+  * Updated Spanish translation.
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Thu,  2 Apr 1998 22:40:47 -0300
+
+lftp (0.14.3.980328-1) frozen unstable; urgency=low
+
+  * Remove readline's Makefile when cleaning to avoid having it in the diff.
+  * Updated Spanish translation.
+  * Upstream version now include my patches to the i18n.
+  * Fix from upstream author to a nasty bug in `cd'.
+  * It seems that after all these uptream bugfix releases there will
+    be an 1.0 version! (It can go in hamm since no new features are
+    planned).
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Sat, 28 Mar 1998 23:53:31 -0300
+
+lftp (0.14.3.980324-1) frozen unstable; urgency=low
+
+  * Patch from author fixes:
+    * several problems with reverse mirror fixed
+    * fixed recursive alias expansion in case of 'alias a "a;a"'
+    * fixed parse bug in line join construct
+    * fixed a bug that forced re-creation of symlinks in mirror
+  * New upstream release.
+  * Updated Spanish translation.
+  * Added Italian translation (needs update).
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Wed, 25 Mar 1998 22:43:07 -0300
+
+lftp (0.14.3.980318-2) frozen unstable; urgency=low
+
+  * Updated Spanish translation.
+  * Fixed bug when cleaning that prevented make from rebuilding the .mo
+    (translated messages) file.
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Sun, 22 Mar 1998 15:56:13 -0300
+
+lftp (0.14.3.980318-1) frozen unstable; urgency=low
+
+  * This time this should be in frozen =/.
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Wed, 18 Mar 1998 23:05:52 -0300
+
+lftp (0.14.3.980312-3) unstable; urgency=low
+
+  * Updated Spanish translation.
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Sun, 15 Mar 1998 22:30:23 -0300
+
+lftp (0.14.3.980312-2) unstable; urgency=low
+
+  * Updated Spanish translation.
+  * Marked more translatable strings in the code.
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Fri, 13 Mar 1998 23:36:07 -0300
+
+lftp (0.14.3.980312-1) unstable; urgency=low
+
+  * Removed parallelftp from the description (its functionality was
+    included in lftp). Fixes bug #19259.
+  * Added THANKS file.
+  * New upstream release.
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Thu, 12 Mar 1998 20:58:37 -0300
+
+lftp (0.14.2-1) unstable; urgency=low
+
+  * Added upstream author to copyright file, fixes bug #18640.
+  * New upstream release.
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Sun,  8 Mar 1998 23:24:32 -0300
+
+lftp (0.14.1-2) unstable; urgency=low
+
+  * Fix from upstream to fix `-u' option, fixes bug #18535.
+  * Cosmetic changes in manpages, with help from
+    James R. Van Zandt <jrv@vanzandt.mv.com>.
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Sat, 28 Feb 1998 02:19:16 -0300
+
+lftp (0.14.1-1) unstable; urgency=low
+
+  * Changed `Standards-Version' to 2.4.0.0.
+  * Compiled with new debmake, fixes md5 file.
+  * New upstream release.
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Sun, 22 Feb 1998 14:57:01 -0300
+
+lftp (0.14.0-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Wed, 28 Jan 1998 23:13:57 -0300
+
+lftp (0.13.2-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Sat, 15 Nov 1997 02:38:31 -0300
+
+lftp (0.13.1-1) unstable; urgency=low
+
+  * New upstream release, with all my changes included by the author.
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Thu, 30 Oct 1997 21:34:18 -0300
+
+lftp (0.13.0-1) unstable; urgency=low
+
+  * Command completion now also looks in the alias list when the completed
+    word is a command (i.e. is at the begining of the line).
+  * Use pristine sources.
+  * New upstream release.
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Sat, 18 Oct 1997 14:14:34 -0300
+
+lftp (0.12.2-2) unstable; urgency=low
+
+  * Command completion now handles aliases when decidinf if a file is
+    remote.
+  * Fixed typo in online help.
+  * Updated copyright file.
+  * Changed maintaner address.
+  * Fixes in ftpget(1).
+  * Changes to debian/rules. It now preserves files' original date and
+    doesn't use debian/dirs.
+
+ -- Nicolás Lichtmaier <nick@feedback.net.ar>  Sun, 10 Aug 1997 16:36:33 -0300
+
+lftp (0.12.2-1) unstable; urgency=low
+
+  * Applied glibc2 patches from Michael Dorman, fixes #11386.
+  * New upstream release
+
+ -- Nicolás Lichtmaier <nick@feedback.com.ar>  Sun, 20 Jul 1997 07:07:49 -0300
+
+lftp (0.12.1-1) unstable; urgency=low
+
+  * Minor change to manpage.
+  * New upstream release
+
+ -- Nicolás Lichtmaier <nick@feedback.com.ar>  Mon, 14 Jul 1997 13:55:51 -0300
+
+lftp (0.12.0-1) unstable; urgency=low
+
+  * New upstream release, fixes bug #10760 (now supports passive mode).
+
+ -- Nicolás Lichtmaier <nick@feedback.com.ar>  Fri,  4 Jul 1997 15:47:03 -0300
+
+lftp (0.11.1-2) unstable; urgency=low
+
+  * Built with libc6.
+
+ -- Nicolás Lichtmaier <nick@feedback.com.ar>  Sat, 21 Jun 1997 00:38:27 -0300
+
+lftp (0.11.1-1) unstable; urgency=low
+
+  * Small fix in lftp(1) manpage.
+  * New upstream release
+
+ -- Nicolás Lichtmaier <nick@feedback.com.ar>  Tue, 13 May 1997 16:28:12 -0300
+
+lftp (0.11.0-2) unstable; urgency=low
+
+  * Built with CXX=cc so binaries aren't linked against libstdc++
+    and libm.
+  * Changed menu entry to 1.x format.
+  * Changed `Priority:' to `optional'.
+  * Added dependency on netbase.
+  * Made manpage look nicer.
+  * Changed description.
+
+ -- Nicolás Lichtmaier <nick@feedback.com.ar>  Thu, 8 May 1997 18:07:40 -0300
+
+lftp (0.11.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Nicolás Lichtmaier <nick@feedback.com.ar>  Sun, 20 Apr 1997 19:48:17 -0300
+
+lftp (0.10.7-1) unstable; urgency=low
+
+  * Removed Debian specific manpages, since the have been included in
+    the upstream version.
+  * New maintainer.
+  * New upstream release
+
+ -- Nicolás Lichtmaier <nick@feedback.com.ar>  Sat, 5 Apr 1997 16:56:35 -0300
+
+lftp (0.10.0-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Christoph Lameter <clameter@debian.org>  Thu, 6 Feb 1997 18:50:09 -0800
+
+Local variables:
+mode: debian-changelog
+End:
--- lftp-2.4.9.orig/debian/copyright
+++ lftp-2.4.9/debian/copyright
@@ -0,0 +1,10 @@
+This package was debianized by Christoph Lameter <clameter@debian.org> on
+Thu, 6 Feb 1997 18:50:09 -0800.
+
+It's currently being maintained by Nicolás Lichtmaier <nick@feedback.net.ar>
+with sources downloaded from
+
+  ftp://ftp.yars.free.net/pub/software/unix/net/ftp/client
+
+Author: Alexander V. Lukyanov <lav@yars.free.net>
+License: GNU GENERAL PUBLIC LICENSE  Version 2
--- lftp-2.4.9.orig/debian/menu
+++ lftp-2.4.9/debian/menu
@@ -0,0 +1,4 @@
+?package(lftp):needs="text" section="Apps/Net" \
+title="Lftp" command="/usr/bin/lftp" \
+hints="FTP" \
+description="Reliable, easy and powerful ftp command-line client"
--- lftp-2.4.9.orig/debian/control
+++ lftp-2.4.9/debian/control
@@ -0,0 +1,31 @@
+Source: lftp
+Section: net
+Priority: optional
+Maintainer: Nicolás Lichtmaier <nick@debian.org>
+Standards-Version: 3.1.1
+Build-Depends: debhelper (>> 2.2.0), libreadline4-dev (>= 4.2-3), gettext
+
+Package: lftp
+Architecture: any
+Depends: ${shlibs:Depends}, netbase
+Description: Sophisticated command-line FTP/HTTP client programs
+ Lftp is a file retrieving tool that supports FTP and HTTP protocols under
+ both IPv4 and IPv6. Lftp has an amazing set of features, while preserving
+ its interface as simple and easy as possible.
+ .
+ The main two advantages over other ftp clients are reliability and ability
+ to perform tasks in background. It will reconnect and reget the file being
+ transferred if the connection broke. You can start a transfer in background
+ and continue browsing on the ftp site. It does this all in one process. When
+ you have started background jobs and feel you are done, you can just exit
+ lftp and it automatically moves to nohup mode and completes the transfers.
+ It has also such nice features as reput and mirror. It can also download a
+ file as soon as possible by using several connections at the same time.
+ .
+ Lftp can also be scriptable, it can be used to mirror sites, it let you
+ copy files among remote servers (even between FTP and HTTP). It has an
+ extensive online help. It supports bookmarks, and connecting to several
+ ftp/http sites at the same time.
+ .
+ This package also includes lftpget - A simple non-interactive
+ tool for downloading files.
--- lftp-2.4.9.orig/debian/rules
+++ lftp-2.4.9/debian/rules
@@ -0,0 +1,63 @@
+#!/usr/bin/make -f
+
+SHELL = /bin/bash
+
+export DH_COMPAT=3
+
+build:
+	dh_testversion 2.2
+	dh_testdir
+	./configure --prefix=/usr '--mandir=$${datadir}/man' --without-ssl
+	test -s po/es.gmo-saved || cp -p po/es.gmo po/es.gmo-saved
+	test -s po/ru.gmo-saved || cp -p po/ru.gmo po/ru.gmo-saved
+	test -s po/it.gmo-saved || cp -p po/it.gmo po/it.gmo-saved
+	test -s po/pt_BR.gmo-saved || cp -p po/pt_BR.gmo po/pt_BR.gmo-saved
+	make
+	touch build
+
+clean:
+	dh_testdir
+	rm -f build
+	if [ -r Makefile ]; then \
+		make distclean; \
+	fi
+	rm -f config.{log,cache,status} Makefile \
+		{doc,include,lib,src,readline-4.*}/Makefile \
+		libtool
+	find . -name "*~" | xargs -r rm -f
+	rm -rf debian/lftp debian/files* core debian/substvars include/{poll,config}.h
+	if [ -s po/es.gmo-saved ]; then mv po/es.gmo-saved po/es.gmo ; fi
+	if [ -s po/ru.gmo-saved ]; then mv po/ru.gmo-saved po/ru.gmo ; fi
+	if [ -s po/it.gmo-saved ]; then mv po/it.gmo-saved po/it.gmo ; fi
+	if [ -s po/pt_BR.gmo-saved ]; then mv po/pt_BR.gmo-saved po/pt_BR.gmo ; fi
+	dh_clean
+
+binary-indep: build
+	dh_testroot
+	dh_testdir
+# There are no architecture-independent files to be uploaded
+# generated by this package.  If there were any they would be
+# made here.
+
+binary-arch: build
+	dh_testroot
+	dh_testdir
+	rm -rf debian/lftp
+	make install DESTDIR=$(CURDIR)/debian/lftp INSTALL="/usr/bin/install -p"
+	dh_installdirs
+	dh_installdocs README TODO THANKS FAQ FEATURES README.debug-levels po/lftp.pot
+	dh_installchangelogs NEWS
+	dh_installmenu
+	dh_installmanpages -plftp
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_shlibdeps
+	dh_gencontrol
+	dh_installdeb
+	dh_md5sums
+	dh_builddeb
+
+binary:	binary-indep binary-arch
+
+.PHONY: binary binary-arch binary-indep clean
--- lftp-2.4.9.orig/debian/README.Debian
+++ lftp-2.4.9/debian/README.Debian
@@ -0,0 +1,29 @@
+Modules
+=======
+
+This version does not include support for lftp loadable modules, if you have
+a need for this feature, please let me know.
+
+SSL support
+===========
+
+Lftp supports SSL connections, but currently Debian isn't packaging any
+cryptographic software in their main archives. There are two choices:
+
+   * Wait for Debian to acknowledge the US government relaxation of export
+     restrictions (I'm doing that just fine).
+
+   * Create an lftp-ssl package and put it in main. This package would
+     provide, conflict, enhance, supersede, etc, etc this one you have
+     installed. I can do this if someone needs it, so: let me know.
+
+Translations
+============
+
+I have included in this package the .pot file, so if you speak a language
+other than de, es, fr, it, ko, pl, pt_BR, ru and zh_CN, please contribute to
+lftp by renaming the file to XX.po (where XX is you language 2-letter code)
+and translating all the messages (adding the translation in the "" below
+each message).
+
+Nicolás Lichtmaier <nick@debian.org>
