Permalink
Browse files

Merge remote-tracking branch 'github/master'

Conflicts:
	ChangeLog
	FEATURES
	MIRRORS
	Makefile.am
	NEWS
	README
	README.dnssec
	THANKS
	TODO
	autogen.sh
	configure.ac
	doc/ChangeLog
	doc/ftpget.1
	doc/lftp.1
	lftp.lsm
	lftp.spec
	lib/.cvsignore
	lib/hstrerror.c
	m4/.cvsignore
	m4/gnulib-cache.m4
	po/ChangeLog
	po/POTFILES.in
	po/cs.po
	po/de.po
	po/es.po
	po/fr.po
	po/it.po
	po/ja.po
	po/ko.po
	po/lftp.pot
	po/pl.po
	po/pt_BR.po
	po/ru.po
	po/zh_CN.po
	po/zh_HK.po
	po/zh_TW.po
	src/ArgV.cc
	src/ArgV.h
	src/Bencode.cc
	src/Bencode.h
	src/Cache.cc
	src/Cache.h
	src/CatJob.cc
	src/CatJob.h
	src/ChangeLog
	src/CharReader.cc
	src/CharReader.h
	src/ChmodJob.cc
	src/ChmodJob.h
	src/CmdExec.cc
	src/CmdExec.h
	src/ColumnOutput.cc
	src/ColumnOutput.h
	src/ConnectionSlot.cc
	src/ConnectionSlot.h
	src/CopyJob.cc
	src/CopyJob.h
	src/DirColors.cc
	src/DirColors.h
	src/DummyProto.cc
	src/DummyProto.h
	src/Error.cc
	src/Error.h
	src/FileAccess.cc
	src/FileAccess.h
	src/FileCopy.cc
	src/FileCopy.h
	src/FileCopyFtp.cc
	src/FileCopyFtp.h
	src/FileCopyOutputJob.cc
	src/FileCopyOutputJob.h
	src/FileFeeder.cc
	src/FileFeeder.h
	src/FileGlob.cc
	src/FileGlob.h
	src/FileSet.cc
	src/FileSet.h
	src/FileSetOutput.cc
	src/FileSetOutput.h
	src/Filter.cc
	src/Filter.h
	src/FindJob.cc
	src/FindJob.h
	src/FindJobDu.cc
	src/FindJobDu.h
	src/Fish.cc
	src/Fish.h
	src/FtpDirList.cc
	src/FtpDirList.h
	src/FtpListInfo.cc
	src/FtpListInfo.h
	src/GetFileInfo.cc
	src/GetFileInfo.h
	src/GetJob.cc
	src/GetJob.h
	src/GetPass.cc
	src/GetPass.h
	src/Http.cc
	src/Http.h
	src/HttpDir.cc
	src/HttpDir.h
	src/HttpDirXML.cc
	src/IdNameCache.cc
	src/IdNameCache.h
	src/Job.cc
	src/Job.h
	src/LocalAccess.cc
	src/LocalAccess.h
	src/LocalDir.cc
	src/LocalDir.h
	src/LsCache.cc
	src/LsCache.h
	src/Makefile.am
	src/MirrorJob.cc
	src/MirrorJob.h
	src/NetAccess.cc
	src/NetAccess.h
	src/OutputJob.cc
	src/OutputJob.h
	src/PatternSet.cc
	src/PatternSet.h
	src/PollVec.cc
	src/PollVec.h
	src/ProcWait.cc
	src/ProcWait.h
	src/ProtoLog.cc
	src/ProtoLog.h
	src/PtyShell.cc
	src/PtyShell.h
	src/QueueFeeder.cc
	src/QueueFeeder.h
	src/RateLimit.cc
	src/RateLimit.h
	src/Ref.h
	src/ResMgr.cc
	src/ResMgr.h
	src/Resolver.cc
	src/Resolver.h
	src/SFtp.cc
	src/SFtp.h
	src/SMTask.cc
	src/SMTask.h
	src/SSH_Access.cc
	src/SSH_Access.h
	src/SignalHook.cc
	src/SignalHook.h
	src/SleepJob.cc
	src/SleepJob.h
	src/Speedometer.cc
	src/Speedometer.h
	src/StatusLine.cc
	src/StatusLine.h
	src/StringPool.cc
	src/StringPool.h
	src/StringSet.cc
	src/StringSet.h
	src/SysCmdJob.cc
	src/SysCmdJob.h
	src/TimeDate.cc
	src/TimeDate.h
	src/Timer.cc
	src/Timer.h
	src/Torrent.cc
	src/Torrent.h
	src/TreatFileJob.cc
	src/TreatFileJob.h
	src/alias.cc
	src/alias.h
	src/ascii_ctype.h
	src/attach.cc
	src/attach.h
	src/bookmark.cc
	src/bookmark.h
	src/buffer.cc
	src/buffer.h
	src/buffer_ssl.cc
	src/buffer_ssl.h
	src/buffer_std.cc
	src/buffer_std.h
	src/commands.cc
	src/complete.cc
	src/complete.h
	src/echoJob.cc
	src/echoJob.h
	src/fg.cc
	src/fg.h
	src/ftp-opie.c
	src/ftpclass.cc
	src/ftpclass.h
	src/ftpget
	src/history.cc
	src/history.h
	src/keyvalue.cc
	src/keyvalue.h
	src/lftp.cc
	src/lftp_pty.c
	src/lftp_pty.h
	src/lftp_rl.c
	src/lftp_rl.h
	src/lftp_ssl.cc
	src/lftp_ssl.h
	src/lftp_tinfo.cc
	src/lftp_tinfo.h
	src/lftpget
	src/log.cc
	src/log.h
	src/mgetJob.cc
	src/mgetJob.h
	src/misc.cc
	src/misc.h
	src/mkdirJob.cc
	src/mkdirJob.h
	src/module.cc
	src/module.h
	src/mvJob.cc
	src/mvJob.h
	src/netrc.cc
	src/netrc.h
	src/network.cc
	src/network.h
	src/parsecmd.cc
	src/pgetJob.cc
	src/pgetJob.h
	src/plural.c
	src/plural.h
	src/resource.cc
	src/rmJob.cc
	src/rmJob.h
	src/url.cc
	src/url.h
	src/verify-file
	src/xarray.cc
	src/xarray.h
	src/xmalloc.cc
	src/xmalloc.h
	src/xmap.cc
	src/xmap.h
	src/xstring.cc
	src/xstring.h
	trio/trio.c
	trio/trio.h
	trio/triodef.h
	trio/trionan.c
	trio/trionan.h
	trio/triop.h
	trio/triostr.c
	trio/triostr.h
  • Loading branch information...
2 parents edb2d24 + 1e38e73 commit 13e8765cc3ccc3e0a7edce07ab58992089ea331e @lavv17 committed Mar 19, 2013
Showing with 8,284 additions and 7,112 deletions.
  1. +40 −0 .gitignore
  2. +8 −0 ChangeLog
  3. +1 −0 FEATURES
  4. +0 −8 MIRRORS
  5. +5 −5 Makefile.am
  6. +104 −3 NEWS
  7. +1 −1 README
  8. +61 −21 README.dnssec
  9. +5 −0 README.md
  10. +3 −0 THANKS
  11. +2 −1 TODO
  12. +10 −8 autogen.sh
  13. +7 −0 build-aux/.gitignore
  14. +30 −11 configure.ac
  15. +2 −0 doc/.gitignore
  16. +50 −0 doc/ChangeLog
  17. +1 −4 doc/ftpget.1
  18. +130 −42 doc/lftp.1
  19. +5 −4 lftp.lsm
  20. +1 −1 lftp.spec
  21. +32 −0 lib/.cvsignore
  22. +295 −0 lib/.gitignore
  23. +2 −2 lib/hstrerror.c
  24. +3 −0 lib/unistr/.gitignore
  25. +2 −0 lib/uniwidth/.gitignore
  26. +43 −0 m4/.cvsignore
  27. +238 −0 m4/.gitignore
  28. +18 −6 m4/gnulib-cache.m4
  29. +18 −0 po/.gitignore
  30. +38 −10 po/ChangeLog
  31. +2 −0 po/POTFILES.in
  32. +549 −530 po/cs.po
  33. +502 −480 po/de.po
  34. +811 −794 po/es.po
  35. +501 −479 po/fr.po
  36. +576 −560 po/it.po
  37. +1,046 −1,030 po/ja.po
  38. +1,016 −1,000 po/ko.po
  39. +485 −479 po/lftp.pot
  40. +1,029 −1,032 po/pl.po
  41. +612 −601 po/pt_BR.po
Sorry, we could not display the entire diff because it was too big.
View
40 .gitignore
@@ -0,0 +1,40 @@
+# Compiled Object files
+*.slo
+*.lo
+*.o
+
+# Compiled Dynamic libraries
+*.so
+
+# Compiled Static libraries
+*.lai
+*.la
+*.a
+
+libtool
+.deps
+
+# backup files
+*~
+
+# http://www.gnu.org/software/automake
+Makefile.in
+
+# http://www.gnu.org/software/autoconf
+Makefile
+/autom4te.cache
+/aclocal.m4
+/compile
+/configure
+/config.cache
+/config.log
+/config.status
+/build-aux/depcomp
+/build-aux/install-sh
+/build-aux/missing
+
+# LE editor
+.le.ini
+
+# gettext
+/ABOUT-NLS
View
8 ChangeLog
@@ -1,3 +1,11 @@
+2012-12-13 lav
+
+ * configure.ac: disable POSIXCHECK by default
+
+2012-09-24 Robert Story <rstory@tislabs.com>
+
+ * README.dnssec: update README.dnssec
+
2008-04-06 Nix <nix@esperi.org.uk>
* configure.ac: Provide missing bits needed for strtoumax et al.
View
1 FEATURES
@@ -15,6 +15,7 @@ LFTP includes the following features (some may be missed in this list):
* HTTP/1.1 keep-alive support.
* Partial WebDAV support.
* BitTorrent protocol support (including IPv6).
+* BitTorrent extensions: Fast, DHT, PEX, Multi-tracker, Metadata, magnet.
* Experimental support for SRV DNS records.
* SOCKS support (configure option).
View
8 MIRRORS
@@ -1,12 +1,4 @@
-http://tactical.wiretapped.net/mirrors/lftp/ Sydney, Australia
-ftp://ftp.wiretapped.net/pub/mirrors/lftp/ Sydney, Australia
ftp://ftp.st.ryukoku.ac.jp/pub/network/ftp/lftp/ Japan
-ftp://ftp.bme.hu/packages/lftp/ Hungary
ftp://ftp.tuwien.ac.at/infosys/browsers/ftp/lftp/ Austria
ftp://ftp.cs.tu-berlin.de/pub/net/ftp/lftp/ Berlin, Germany
-ftp://mirror.widexs.nl/pub/lftp/ Hoofddorp, Netherlands
-ftp://ftp.130th.net/pub/mirror/lftp/ Atlanta, USA
-ftp://ftp.iasi.roedu.net/pub/os/Linux/network/ftp/lftp/ Iasi, Romania
-ftp://ftp.kaizo.org/pub/lftp/ Bradford, UK
-http://www.kanshima.net/mirrors/lftp/ Strasbourg, France
http://lftp.cybermirror.org/ Karlsruhe, Germany
View
10 Makefile.am
@@ -14,7 +14,7 @@ install-data-local:
fi
uninstall-local:
- if cmp -s $(DESTDIR)$(sysconfdir)/lftp.conf lftp.conf; then \
+ if cmp -s $(DESTDIR)$(sysconfdir)/lftp.conf $(srcdir)/lftp.conf; then \
echo "$(DESTDIR)$(sysconfdir)/lftp.conf is not changed and will be removed."; \
rm -f $(DESTDIR)$(sysconfdir)/lftp.conf; \
fi
@@ -37,9 +37,9 @@ dist-hook:
REL_DIR=/ftp/pub/source/lftp
release:
- cvs commit -m $(VERSION)
- make dist
- cvs commit -m $(VERSION)
+# cvs commit -m $(VERSION)
+# make dist
+# cvs commit -m $(VERSION)
make distcheck
make release-ftp
@@ -54,4 +54,4 @@ release-ftp:
gpg -ba $(PACKAGE)-$(VERSION).tar.xz; \
md5sum $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION).tar.bz2 $(PACKAGE)-$(VERSION).tar.xz > $(PACKAGE)-$(VERSION).md5sum)
mutt -s add lsm@execpc.com < $(PACKAGE).lsm
- cvs tag $(PACKAGE)-`echo $(VERSION) | sed 's/\./-/g'` .
+# cvs tag $(PACKAGE)-`echo $(VERSION) | sed 's/\./-/g'` .
View
107 NEWS
@@ -1,6 +1,107 @@
-Version 4.3.2 - 2011-08-??
+Version 4.4.5 - 2013-03-14
+
+* user/group name lookup performance fixed.
+
+Version 4.4.4 - 2013-02-27
+
+* added support for TLS SNI extension.
+* added UDP tracker support.
+* added cls -a option to show dot files.
+* new setting cmd:show-status.
+
+Version 4.4.3 - 2013-02-07
+
+* fixed an increased CPU usage in case of many cached directories.
+* fixed a configure problem with included regex.
+
+Version 4.4.2 - 2013-02-01
+
+* new settings cmd:at-background, cmd:at-terminate.
+* fixed plus sign handling in URLs.
+* fixed uninstall to remove modules.
+
+Version 4.4.1 - 2013-01-29
+
+* use XDG directories if ~/.lftp (or $LFTP_HOME) does not exist.
+* fixed non-interactive mode to skip showing status line.
+* fixed assert in ftpclass.cc.
+* fixed coredump after trying to start a duplicate torrent.
+* fixed verbose status message of some jobs.
+* fixed some buffers to limit the buffer size.
+* fixed DHT cache saving.
+
+Version 4.4.0 - 2012-09-27
+
+* implemented bittorrent extensions (FAST, DHT, LTEP, ut_metadata, ut_pex).
+* allow torrent downloading by magnet links.
+* new setting torrent:use-dht.
+* new torrent option --dht-bootstrap for manual bootstrapping.
+* add support for name.utf-8 and path.utf-8 in torrent metadata.
+* now net:limit-rate and net:limit-total-rate settings can use suffixes,
+ e.g. `set net:limit-total-rate 1M:500k'.
+* allow numeric user names.
+* don't try to upload if ALLO fails.
+* send PROT to ftp servers always when AUTH is activated.
+* fixed gnutls non-fatal error checking.
+* fixed execution of at-finish and at-queue-finish in certain cases.
+* fixed termcap coredump.
+* fixed opie on 64-bit machines.
+
+Version 4.3.8 - 2012-07-03
+
+* treat gnutls decryption error as non-fatal.
+* fixed core dump in `bm:' pseudo-URL opening.
+* fixed PROPFIND result parsing (WebDAV).
+
+Version 4.3.7 - 2012-05-30
+
+* fixed script execution.
+* cls fixed to show correct time always.
+* torrent fixed for large PIDs.
+* don't check hostname in openssl case with ssl:check-hostname off.
+
+Version 4.3.6 - 2012-04-01
+
+* added explicit retracker support (new setting torrent:retracker).
+* added support for http status code 429 Too Many Requests.
+* improved ftp login error handling.
+* fixed errors reported by -Werror=format-security.
+* fixed http error reporting.
+
+Version 4.3.5 - 2012-01-24
+
+* fixed ascii mode uploads to sftp.
+* fixed "local" command without arguments.
+* fixed compilation without ssl.
+* fixed https.
+* fixed large memory consumption in ftp when target disk is full.
+
+Version 4.3.4 - 2011-12-30
+
+* new settings cmd:at-exit-bg, cmd:at-finish, cmd:at-queue-finish.
+* added timestamps in readline history.
+* improved attach command to remove stale sockets.
+* fixed core dump when ftp server does not return valid PWD result.
+* fixed a special ftp cd case when real cwd equals to the new cwd.
+* fixed torrent status command line.
+* fixed torrent to open files with CLOEXEC flag.
+* fixed exit code of queue command.
+* fixed mirror to follow local symlinks with -L option.
+* fixed a crash with https.
+
+Version 4.3.3 - 2011-10-20
+
+* new setting ftp:use-tvfs (yes, no, auto).
+* improved ftp path handling for servers without TVFS feature.
+* improved closure matching, now *.EXT matches URLs ending with ".EXT".
+* updated man page.
+* updated translations.
+* fixed mirror target directory naming.
+
+Version 4.3.2 - 2011-09-16
* fixed fish protocol synchronization when ls fails on the server.
+* fixed torrent shutting down when the tracker fails.
* fixed compilation on Solaris.
Version 4.3.1 - 2011-06-28
@@ -1175,7 +1276,7 @@ Version 2.3.1 - 2000-09-25
* fixed passive mode IPv6 ftp (Arkadiusz Miskiewicz).
* fixed module configuration for https and ftps.
* allow ssl path to be specified in --with-ssl=/path (David Champion).
-* spanish translation updated (Nicol�s Lichtmaier).
+* spanish translation updated (Nicolás Lichtmaier).
Version 2.3.0 - 2000-09-18
@@ -1537,7 +1638,7 @@ Version 1.2.1 - 1998-12-17
* updated translations:
it (by Giovanni Bortolozzo),
- pl (by Arkadiusz Mikiewicz)
+ pl (by Arkadiusz Mikiewicz)
* fixed 'mirror -R' coredump
Version 1.2 - 1998-12-08
View
2 README
@@ -142,7 +142,7 @@ Comments and bug reports are welcome. Please send them to the list:
License
~~~~~~~
-Copyright (c) 1996-2011 by Alexander V. Lukyanov (lav@yars.free.net)
+Copyright (c) 1996-2012 by Alexander V. Lukyanov (lav@yars.free.net)
LFTP is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
View
82 README.dnssec
@@ -7,43 +7,83 @@ from DNSSEC-Tools are prequisites. Additional options may be needed
to point configure at the correct directory for these libraries.
When compiled in, the option is still off by default. The new boolean
-option 'dns:strict-dns' must be enabled by the user.
+option 'dns:strict-dnssec' must be enabled by the user.
Once strict DNSSEC checking is enabled, DNSSEC validation is done according
to the configuration in the DNSSEC-tool configuration file dnsval.conf.
Please refer to the DNSSEC-Tools documentation for more information.
http://www.dnssec-tools.org/
-This patch has been tested with lftp 4.0.2 and DNSSEC-Tools 1.6.
-
Testing
=======
-To verify that the patch is working, you first need to configure dnsval.conf
-to require validation for a domain that is not signed. For example:
+By default, DNSSEC-Tools' configuration file should be validation
+all zones. A few zones are signed, but most are not. You can use
+the test zone provided by DNSSEC-Tools for verifying correct operation.
+
+First, configure lftp to require validation.
+
+ $ echo "set dns:strict-dnssec 1" > ~/.lftprc
- : zone-security-expectation
- # ignore validation by default
- . ignore
+Next, simpy run lftp with a few domains. Here we use the DNSSEC-Tools domain
+as a known-good domain, and a domain in the DNSSEC-Tools test zone as
+a domain that will fail DNSSEC validation checks.
- # require that dnssec-tools.org validates (it should)
- dnssec-tools.org validate
+ $ lftp www.dnssec-tools.org
+ cd ok, cwd=/
+ lftp www.dnssec-tools.org:/>
- # require that cobham.com validates (it wont)
- sparta.com validate
- ;
+ $ lftp baddata-a.test.dnssec-tools.org
+ lftp: baddata-a.test.dnssec-tools.org: DNS resoloution not trusted.
-Next, simpy run lftp with a few domain. This configuration does not require
-validation for any domains except dnssec-tools.org and cobham.com. So:
+Viewing Details
+================
+To see some debug output from the validation process, you can set the
+VAL_LOG_TARGET environment variable. (Higher numbers will result in more
+output. 5 is a good start, 7 is more than you really want.)
- $ lftp mirrors.kernel.org
- lftp mirrors.kernel.org:~>
+ $ export VAL_LOG_TARGET="5:stdout"
- $ lftp dnssec-tools.org
- lftp dnssec-tools.org:~>
+ $ lftp www.dnssec-tools.org
+ 20120904::16:44:31 Validation result for {www.dnssec-tools.org, IN(1), A(1)}: VAL_SUCCESS:128 (Validated)
+ 20120904::16:44:31 name=www.dnssec-tools.org class=IN type=A from-server=192.168.122.1 status=VAL_AC_VERIFIED:31
+ 20120904::16:44:31 name=dnssec-tools.org class=IN type=DNSKEY[tag=34816] from-server=192.168.122.1 status=VAL_AC_VERIFIED:31
+ 20120904::16:44:31 name=dnssec-tools.org class=IN type=DS from-server=192.168.122.1 status=VAL_AC_VERIFIED:31
+ 20120904::16:44:31 name=org class=IN type=DNSKEY[tag=21366] from-server=192.168.122.1 status=VAL_AC_VERIFIED:31
+ 20120904::16:44:31 name=org class=IN type=DS from-server=192.168.122.1 status=VAL_AC_VERIFIED:31
+ 20120904::16:44:31 name=. class=IN type=DNSKEY from-server=192.168.122.1 status=VAL_AC_TRUST:12
+ 20120904::16:44:31 Validation result for {www.dnssec-tools.org, IN(1), AAAA(28)}: VAL_NONEXISTENT_TYPE:133 (Validated)
+ 20120904::16:44:31 Proof of non-existence [1 of 1]
+ 20120904::16:44:31 name=www.dnssec-tools.org class=IN type=NSEC from-server=192.168.122.1 status=VAL_AC_VERIFIED:31
+ 20120904::16:44:31 name=dnssec-tools.org class=IN type=DNSKEY[tag=34816] from-server=192.168.122.1 status=VAL_AC_VERIFIED:31
+ 20120904::16:44:31 name=dnssec-tools.org class=IN type=DS from-server=192.168.122.1 status=VAL_AC_VERIFIED:31
+ 20120904::16:44:31 name=org class=IN type=DNSKEY[tag=21366] from-server=192.168.122.1 status=VAL_AC_VERIFIED:31
+ 20120904::16:44:31 name=org class=IN type=DS from-server=192.168.122.1 status=VAL_AC_VERIFIED:31
+ 20120904::16:44:31 name=. class=IN type=DNSKEY from-server=192.168.122.1 status=VAL_AC_TRUST:12
+ cd ok, cwd=/
+ lftp www.dnssec-tools.org:/>
- $ lftp sparta.com
- lftp: sparta.com: DNS resoloution not trusted.
+ $ lftp baddata-a.test.dnssec-tools.org
+ 20120904::13:29:20 Validation result for {baddata-a.test.dnssec-tools.org, IN(1), A(1)}: VAL_BOGUS:1 (Untrusted)
+ 20120904::13:29:20 name=baddata-a.test.dnssec-tools.org class=IN type=A from-server=168.150.236.43 status=VAL_AC_NOT_VERIFIED:18
+ 20120904::13:29:20 name=test.dnssec-tools.org class=IN type=DNSKEY[tag=28827] from-server=168.150.236.43 status=VAL_AC_VERIFIED:31
+ 20120904::13:29:20 name=test.dnssec-tools.org class=IN type=DS from-server=168.150.236.43 status=VAL_AC_VERIFIED:31
+ 20120904::13:29:20 name=dnssec-tools.org class=IN type=DNSKEY[tag=34816] from-server=168.150.236.43 status=VAL_AC_VERIFIED:31
+ 20120904::13:29:20 name=dnssec-tools.org class=IN type=DS from-server=199.249.120.1 status=VAL_AC_VERIFIED:31
+ 20120904::13:29:20 name=org class=IN type=DNSKEY[tag=21366] from-server=199.249.120.1 status=VAL_AC_VERIFIED:31
+ 20120904::13:29:20 name=org class=IN type=DS from-server=198.41.0.4 status=VAL_AC_VERIFIED:31
+ 20120904::13:29:20 name=. class=IN type=DNSKEY from-server=198.41.0.4 status=VAL_AC_TRUST:12
+ 20120904::13:29:20 Validation result for {baddata-a.test.dnssec-tools.org, IN(1), AAAA(28)}: VAL_NONEXISTENT_TYPE:133 (Validated)
+ 20120904::13:29:20 Proof of non-existence [1 of 1]
+ 20120904::13:29:20 name=baddata-a.test.dnssec-tools.org class=IN type=NSEC from-server=192.168.122.1 status=VAL_AC_VERIFIED:31
+ 20120904::13:29:20 name=test.dnssec-tools.org class=IN type=DNSKEY[tag=28827] from-server=168.150.236.43 status=VAL_AC_VERIFIED:31
+ 20120904::13:29:20 name=test.dnssec-tools.org class=IN type=DS from-server=168.150.236.43 status=VAL_AC_VERIFIED:31
+ 20120904::13:29:20 name=dnssec-tools.org class=IN type=DNSKEY[tag=34816] from-server=168.150.236.43 status=VAL_AC_VERIFIED:31
+ 20120904::13:29:20 name=dnssec-tools.org class=IN type=DS from-server=199.249.120.1 status=VAL_AC_VERIFIED:31
+ 20120904::13:29:20 name=org class=IN type=DNSKEY[tag=21366] from-server=199.249.120.1 status=VAL_AC_VERIFIED:31
+ 20120904::13:29:20 name=org class=IN type=DS from-server=198.41.0.4 status=VAL_AC_VERIFIED:31
+ 20120904::13:29:20 name=. class=IN type=DNSKEY from-server=198.41.0.4 status=VAL_AC_TRUST:12
+ lftp: baddata-a.test.dnssec-tools.org: DNS resoloution not trusted.
View
5 README.md
@@ -0,0 +1,5 @@
+LFTP
+===
+Command line driven, shell-like, reliable file transfer program. It supports a number of protocols and even BitTorrent with DHT! IPv6 is fully supported too.
+
+[![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=lavv17&url=https://github.com/lavv17/lftp&title=LFTP+-+sophisticated+file+transfer+program&language=en_GB&tags=github&category=software)
View
3 THANKS
@@ -10,6 +10,7 @@ Artur Frysiak <wiget@t17.ds.pwr.wroc.pl>
Bozo Dragojevic <bozzo@hermes.si> for testing with an ftp proxy, patch.
Brandon Hume <hume@Den.BOFH.Halifax.NS.Ca>
Chmouel Boudjnah <chmouel@mandrakesoft.com>
+Christoph Junghans <ottxor@gentoo.org>
Christoph Lameter <clameter@debian.org> for initial man pages
Claus K. Larsen <ckl@bankdata.dk>
Damon Harper <gnu@usrbin.ca>
@@ -58,7 +59,9 @@ Roger Pixley <skreech2@gmail.com>
Ryan Thomas <ryan@coraid.com>
Sam Steingold <sds@usa.net>
Serge Bezzubov <gray@yars.free.net> for extensive testing.
+Simon Ruderich <simon@ruderich.org>
Slama YA <slamaya@netscape.net>
+Solar Designer <solar@openwall.com>
Thomas Glanzmann <sithglan@stud.uni-erlangen.de>
Tillmann Steinbrecher <tillmann.steinbrecher@anandtech.com>
Timur Sufiev <tsufiev@jet.msk.su>
View
3 TODO
@@ -10,7 +10,6 @@ implemented.
* mirror --config <file.cf>
* update process title
- * at-exit-bg
* implement Queueing in FileAccess. fa->AddQueue(new FAQueueOp(args)).
(Done()==true when queue is empty)
@@ -55,3 +54,5 @@ implemented.
* mirror: multiple source and target dirs.
* APPE support.
+
+ * better debug message subsystem
View
18 autogen.sh
@@ -1,5 +1,4 @@
#!/bin/sh
-# $Id$
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
@@ -65,6 +64,14 @@ test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
echo "(or a newer version if it is available)"
DIE=1
}
+
+(gnulib-tool --version) < /dev/null > /dev/null 2>&1 || {
+ echo
+ echo "**Error**: You must have \`gnulib-tool' in PATH to compile $PKG_NAME."
+ echo "Get it from git://git.savannah.gnu.org/gnulib"
+ DIE=1
+}
+
ver=`gettextize --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
case $ver in
@@ -152,14 +159,9 @@ do
fi
done
-conf_flags="--enable-maintainer-mode --enable-compile-warnings --cache-file=config.cache" #--enable-iso-c
-if [ `uname` = SunOS ]; then
- conf_flags="$conf_flags --with-included-gettext"
-fi
-
if test x$NOCONFIGURE = x; then
- echo Running $srcdir/configure $conf_flags "$@" ...
- $srcdir/configure $conf_flags "$@" \
+ echo Running $srcdir/configure "$@" ...
+ $srcdir/configure "$@" \
&& echo Now type \`make\' to compile $PKG_NAME
else
echo Skipping configure process.
View
7 build-aux/.gitignore
@@ -0,0 +1,7 @@
+/compile
+/config.guess
+/config.rpath
+/config.sub
+/ltmain.sh
+/snippet
+/ylwrap
View
41 configure.ac
@@ -1,15 +1,15 @@
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ([2.60])
-AC_INIT([lftp], [4.3.1], [lftp-bugs@lftp.yar.ru])
+AC_INIT([lftp], [4.4.5], [lftp-bugs@lftp.yar.ru])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_LIBOBJ_DIR([lib])
AC_CONFIG_SRCDIR([src/ftpclass.cc])
AM_CONFIG_HEADER([lib/config.h])
AM_INIT_AUTOMAKE
-# This doesn't *require* GNU extensions; it merely enables them if
-# they're there.
+dnl This doesn't *require* GNU extensions; it merely enables them if
+dnl they're there.
AC_GNU_SOURCE
test -z "$CXX" && DEFAULT_CXX=yes
@@ -27,6 +27,18 @@ if test x$ac_cv_lib_fl_yywrap = xno; then
AC_DEFINE(NEED_YYWRAP, 1, [need yywrap]) dnl ?
fi
+dnl POSIXCHECK is worthwhile for maintainers, but adds several seconds
+dnl (more than 10% execution time) to ./configure, with no benefit for
+dnl most users. Using it to look for bugs requires:
+dnl GNULIB_POSIXCHECK=1 autoreconf -f
+dnl ./configure
+dnl make
+dnl make -C src clean
+dnl make CFLAGS=-DGNULIB_POSIXCHECK=1
+m4_syscmd([test "${GNULIB_POSIXCHECK+set}" = set])
+m4_if(m4_sysval, [0], [], [dnl
+gl_ASSERT_NO_GNULIB_POSIXCHECK])
+
AC_SYS_LARGEFILE
AC_ARG_WITH(debug,
@@ -74,12 +86,12 @@ if test x$with_debug = xno; then
fi
if test x$with_debug = xyes; then
- # m4 will mangle brackets
+ dnl m4 will mangle brackets
if test x$DEFAULT_CFLAGS = xyes; then
- CFLAGS="`echo $CFLAGS | sed 's/-O[[0-9]]\?//'`"
+ CFLAGS="`echo $CFLAGS | sed 's/-O@<:@0-9@:>@\?//'`"
fi
if test x$DEFAULT_CXXFLAGS = xyes; then
- CXXFLAGS="`echo $CXXFLAGS | sed 's/-O[[0-9]]\?//'`"
+ CXXFLAGS="`echo $CXXFLAGS | sed 's/-O@<:@0-9@:>@\?//'`"
fi
fi
@@ -146,15 +158,15 @@ AC_ARG_WITH(pager,
AC_DEFINE_UNQUOTED([DEFAULT_PAGER], "$with_pager", [Default pager command])
AC_ARG_WITH(socks,
- AS_HELP_STRING([--with-socks[[=/path]]], [build with SOCKSv4 library]),
+ AS_HELP_STRING([--with-socks@<:@=/path@:>@], [build with SOCKSv4 library]),
[ with_socks=$withval; ],
[ with_socks=no; ])
AC_ARG_WITH(socks5,
- AS_HELP_STRING([--with-socks5[[=/path]]], [build with SOCKSv5 library]),
+ AS_HELP_STRING([--with-socks5@<:@=/path@:>@], [build with SOCKSv5 library]),
[ with_socks5=$withval;],
[ with_socks5=no; ])
AC_ARG_WITH(socksdante,
- AS_HELP_STRING([--with-socksdante[[=/path]]], [build with SOCKS-Dante library]),
+ AS_HELP_STRING([--with-socksdante@<:@=/path@:>@], [build with SOCKS-Dante library]),
[ with_socksdante=$withval;],
[ with_socksdante=no; ])
@@ -225,7 +237,14 @@ fi
AM_PROG_LIBTOOL
LIBTOOL="$LIBTOOL --silent"
+AC_LANG_PUSH(C++)
gl_INIT
+AC_LANG_POP(C++)
+
+if test x$ac_cv_func_wcwidth != xyes || test x$REPLACE_WCWIDTH = x1; then
+ gl_LIBOBJ([wcwidth])
+ AC_DEFINE([REPLACE_WCWIDTH], 1, [Define when using wcwidth replacement])
+fi
dnl Checks for libraries.
dnl LFTP_CHECK_LIBM
@@ -255,7 +274,7 @@ READLINE_CHECK
AC_ARG_WITH(gnutls, AS_HELP_STRING([--without-gnutls], [don't use GNUTLS library]),
[with_gnutls=$withval], [with_gnutls=yes])
AC_ARG_WITH(openssl,
-AS_HELP_STRING([--with-openssl[[=/path]]], [use OpenSSL [at /path]])
+AS_HELP_STRING([--with-openssl@<:@=/path@:>@], [use OpenSSL @<:@at /path@:>@])
AS_HELP_STRING([--without-openssl], [don't use OpenSSL (default)]),
[with_openssl=$withval], [with_openssl=no])
case "$with_openssl" in
@@ -291,7 +310,7 @@ if test "x$want_dnssec" = "xyes"; then
if test "$ac_cv_header_validator_validator_h" != yes; then
AC_MSG_ERROR(Can't find validator.h (from dnssec-tools))
fi
- AC_CHECK_LIB(ssl, SHA1_Init)
+ AC_SEARCH_LIBS([SHA1_Init], [crypto ssl])
AC_CHECK_LIB(sres, query_send)
if test "$ac_cv_lib_sres_query_send" != yes; then
AC_MSG_ERROR(Can't find libsres (from dnssec-tools))
View
2 doc/.gitignore
@@ -0,0 +1,2 @@
+/parse-datetime.texi
+*.ps
View
50 doc/ChangeLog
@@ -1,3 +1,53 @@
+2013-03-19 Alexander V. Lukyanov <lav@yars.free.net>
+
+ * lftp.1: document Meta-Tab key; restore settings abc order.
+
+2013-02-27 Alexander V. Lukyanov <lav@yars.free.net>
+
+ * lftp.1: add udp tracker reference; add ssl:use-sni description.
+
+2013-02-20 Alexander V. Lukyanov <lav@yars.free.net>
+
+ * lftp.1: document "jobs" command arguments.
+
+2013-02-15 Alexander V. Lukyanov <lav@yars.free.net>
+
+ * lftp.1: document cmd:show-status.
+
+2013-02-01 Alexander V. Lukyanov <lav@yars.free.net>
+
+ * lftp.1: document cmd:at-background and cmd:at-terminate settings.
+
+2013-01-24 Alexander V. Lukyanov <lav@yars.free.net>
+
+ * lftp.1: document XDG_* environment variables.
+ * lftp.1: document cmd:at-exit-fg.
+
+2012-12-14 Alexander V. Lukyanov <lav@yars.free.net>
+
+ * lftp.1: document new cmd:interactive type.
+
+2012-08-24 Alexander V. Lukyanov <lav@yars.free.net>
+
+ * lftp.1: document new torrent features.
+
+2012-03-26 Alexander V. Lukyanov <lav@yars.free.net>
+
+ * lftp.1: document torrent:retracker; fix type of xfer:log-file.
+
+2011-12-30 Alexander V. Lukyanov <lav@yars.free.net>
+
+ * lftp.1: document new settings: cmd:at-exit-bg, at-finish,
+ at-queue-finish.
+
+2011-10-19 Alexander V. Lukyanov <lav@yars.free.net>
+
+ * lftp.1: document ftp:use-tvfs setting; minor updates.
+
+2011-09-28 Alexander V. Lukyanov <lav@yars.free.net>
+
+ * lftp.1: document get -e option.
+
2011-06-16 Alexander V. Lukyanov <lav@yars.free.net>
* lftp.1: document attach; sockets path; torrent:ipv6 default.
View
5 doc/ftpget.1
@@ -13,10 +13,7 @@
.\" 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.
-.\"
-.\" $Id$
+.\" along with this program. If not, see <http://www.gnu.org/licenses/>.
.\"
.TH ftpget 1 "02 Jun 1999"
.SH NAME
View
172 doc/lftp.1
@@ -5,7 +5,7 @@
.\"
.\" 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 3 of the License , or
+.\" the Free Software Foundation; either version 3 of the License, or
.\" (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
@@ -14,10 +14,9 @@
.\" 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.
+.\" along with this program. If not, see <http://www.gnu.org/licenses/>.
.\"
-.\" $Id$
+.\" $Id: lftp.1,v 1.149 2011/06/28 09:36:24 lav Exp $
.\"
.\"-------
.\" Sp space down the interparagraph distance
@@ -42,7 +41,7 @@
.fi
.in
..
-.TH lftp 1 "16 Jun 2011"
+.TH lftp 1 "26 Feb 2013"
.SH NAME
lftp \- Sophisticated file transfer program
.SH SYNTAX
@@ -59,7 +58,7 @@ lftp \- Sophisticated file transfer program
.B lftp \-\-help
.SH VERSION
-This man page documents lftp version 4.3.0.
+This man page documents lftp version 4.4.4.
.SH "DESCRIPTION"
\fBlftp\fR is a file transfer program that allows sophisticated ftp, http
@@ -100,7 +99,7 @@ If you exit \fBlftp\fP when some jobs are not finished yet, \fBlftp\fP will move
itself to nohup mode in background. The same happens when you have a
real modem hangup or when you close an xterm.
.PP
-\fBlftp\fP has builtin mirror which can download or update a whole directory
+\fBlftp\fP has built-in mirror which can download or update a whole directory
tree. There is also reverse mirror (mirror \-R) which uploads or
updates a directory tree on server. Mirror can also synchronize directories
between two remote servers, using FXP if available.
@@ -161,6 +160,9 @@ Attach the terminal to specified backgrounded lftp process.
.RI " [" subcommand ]
.PP
The bookmark command controls bookmarks.
+
+Site names can be used in the \fIopen\fP command directly as-is or in
+any command that accepts input URLs using the \fIbm:site/path\fP format.
.Sp
.in +0.5i
.TS
@@ -281,7 +283,7 @@ lftp would fallback to plain copy (via client) if FXP transfer cannot be
initiated or ftp:use-fxp is false.
.BR get " [" \-E ]
-.RB [ \-a "] [" \-c "] [" \-O
+.RB [ \-a "] [" \-c "] [" \-e "] [" \-O
.RB "\fIbase\fP] \fIrfile\fP [" \-o " \fIlfile\fP] ..."
.PP
Retrieve the remote file \fIrfile\fP and store it as the local file
@@ -295,6 +297,7 @@ instances of \fIrfile\fP (and \-o \fIlfile\fP). Does not expand wildcards, use
l lx .
\-c continue, reget
\-E delete source files after successful transfer
+\-e delete target file before the transfer
\-a use ascii mode (binary is the default)
\-O <base> T{
specifies base directory or URL where files should be placed
@@ -356,9 +359,10 @@ Print help for \fIcmd\fP or if no \fIcmd\fP was specified print a list of
available commands.
.B jobs
-.RB [ \-v ]
+.RB [ \-v "] [" \fIjob_no...\fP ]
.PP
List running jobs. \-v means verbose, several \-v can be specified.
+If \fIjob_no\fP is specified, only list a job with that number.
.B kill
all|\fIjob_no\fP
@@ -569,9 +573,10 @@ Note that symbolic links are not created when uploading to remote server,
because ftp protocol cannot do it. To upload files the links refer
to, use `mirror \-RL' command (treat symbolic links as files).
.PP
-For option \-\-newer\-than you can either specify a file or time specification
-like that used by \fBat\fR(1) command, e.g. `now-7days' or `week ago'. If you
-specify a file, then modification time of that file will be used.
+For options \-\-newer\-than and \-\-older\-than you can either specify a
+file or time specification like that used by \fBat\fR(1) command, e.g.
+`now-7days' or `week ago'. If you specify a file, then modification time of
+that file will be used.
.PP
Verbosity level can be selected using \-\-verbose=level option or by several
\-v options, e.g. \-vvv. Levels are:
@@ -923,7 +928,8 @@ continue the process with shell's fg or bg commands.
.BR torrent " [" OPTS "] " \fItorrent-files...\fP
.PP
Start BitTorrent process for the given \fItorrent-files\fP, which can be a
-local file or URL. Local wildcards are expanded. Existing files are first
+local file, URL, magnet link or plain \fIinfo_hash\fP written in hex.
+Local wildcards are expanded. Existing files are first
validated unless \fI\-\-force\-valid\fP option is given. Missing pieces are
downloaded. Files are stored in specified \fIdirectory\fP or current
working directory by default. Seeding continues until ratio reachs
@@ -941,6 +947,10 @@ T}
\-\-force\-valid T{
skip file validation (if you are sure they are ok).
T}
+\-\-dht\-bootstrap=<node> T{
+bootstrap DHT by sending a query to specified \fInode\fP. E.g. dht.transmissionbt.com:6881.
+This option should be used just once to fill local node cache.
+T}
.TE
.P
.B user
@@ -998,8 +1008,41 @@ has the following settable variables (you can also use
save plain text passwords in ~/.lftp/bookmarks on `bookmark add' command.
Off by default.
.TP
+.BR cache:cache-empty-listings \ (boolean)
+When false, empty listings are not cached.
+.TP
+.BR cache:enable \ (boolean)
+When false, cache is disabled.
+.TP
+.BR cache:expire " (time interval)"
+Positive cache entries expire in this time interval.
+.TP
+.BR cache:expire-negative " (time interval)"
+Negative cache entries expire in this time interval.
+.TP
+.BR cache:size " (number)"
+Maximum cache size. When exceeded, oldest cache entries will be removed from cache.
+.TP
.BR cmd:at-exit \ (string)
-the commands in string are executed before lftp exits.
+the commands in string are executed before lftp exits or moves to background.
+.TP
+.BR cmd:at-exit-bg \ (string)
+the commands in string are executed before backgrounded lftp exits.
+.TP
+.BR cmd:at-exit-fg \ (string)
+the commands in string are executed before foreground lftp exits.
+.TP
+.BR cmd:at-background \ (string)
+the commands in string are executed before lftp moves to background.
+.TP
+.BR cmd:at-terminate \ (string)
+the commands in string are executed before lftp terminates (either backgrounded or foreground).
+.TP
+.BR cmd:at-finish \ (string)
+the commands in string are executed once when all jobs are done.
+.TP
+.BR cmd:at-queue-finish \ (string)
+the commands in string are executed once when all jobs in a queue are done.
.TP
.BR cmd:csh-history \ (boolean)
enables csh-like history expansion.
@@ -1011,9 +1054,9 @@ with just host name without protocol. Default is `ftp'.
.BR cmd:fail-exit \ (boolean)
if true, exit when an unconditional (without || and && at begin) command fails.
.TP
-.BR cmd:interactive \ (boolean)
+.BR cmd:interactive \ (tri-boolean)
when true, lftp acts interactively, handles terminal signals and outputs
-some extra messages. Default depends on stdin being a terminal.
+some extra messages. Default is auto and depends on stdin being a terminal.
.TP
.BR cmd:long-running \ (seconds)
time of command execution, which is
@@ -1103,6 +1146,13 @@ makes it inconsistent.
.BR cmd:queue-parallel \ (number)
Number of jobs run in parallel in a queue.
.TP
+.BR cmd:remote-completion \ (boolean)
+a boolean to control whether or not lftp uses remote completion. When true,
+\fBTab\fP key guesses if the word being completed should be a remote file
+name. \fBMeta-Tab\fP does remote completion always. So you can force remote
+completion with \fBMeta-Tab\fP when \fBcmd:remote-completion\fP is false or
+when the guess is wrong.
+.TP
.BR cmd:save-cwd-history \ (boolean)
when true, lftp saves last CWD of each site to \fI~/.lftp/cwd_history\fR,
allowing to do ``cd -'' after lftp restart. Default is true.
@@ -1111,6 +1161,9 @@ allowing to do ``cd -'' after lftp restart. Default is true.
when true, lftp saves readline history to \fI~/.lftp/rl_history\fR on exit.
Default is true.
.TP
+.BR cmd:show-status \ (booleam)
+when false, lftp does not show status line on terminal. Default is true.
+.TP
.BR cmd:set-term-status \ (boolean)
when true, lftp updates terminal status if supported (e.g. xterm). The closure
for this setting is the terminal type from TERM environment variable.
@@ -1145,24 +1198,6 @@ This setting is the default value for cls \-\-time\-style option.
.BR cmd:trace \ (boolean)
when true, lftp prints the commands it executes (like sh \-x).
.TP
-.BR cache:cache-empty-listings \ (boolean)
-When false, empty listings are not cached.
-.TP
-.BR cache:enable \ (boolean)
-When false, cache is disabled.
-.TP
-.BR cache:expire " (time interval)"
-Positive cache entries expire in this time interval.
-.TP
-.BR cache:expire-negative " (time interval)"
-Negative cache entries expire in this time interval.
-.TP
-.BR cache:size " (number)"
-Maximum cache size. When exceeded, oldest cache entries will be removed from cache.
-.TP
-.BR cmd:remote-completion \ (boolean)
-a boolean to control whether or not lftp uses remote completion.
-.TP
.BR cmd:verify-host \ (boolean)
if true, lftp resolves host name immediately in `open' command.
It is also possible to skip the check for a single `open' command if `&' is given,
@@ -1182,8 +1217,9 @@ cd directory &
When false, `cd' to a directory known from cache as existent will succeed immediately.
Otherwise the verification will depend on cmd:verify-path setting.
.TP
-.BR color:use-color " (boolean)"
+.BR color:use-color " (tri-boolean)"
when true, cls command and completion output colored file listings according to color:dir-colors setting.
+When set to auto, colors are used when output is a terminal.
.TP
.BR color:dir-colors " (string)"
file listing color description. By default the value of LS_COLORS environment variable is used. See dircolors(1).
@@ -1497,6 +1533,11 @@ as specified in RFC959. When false, it does not follow TELNET protocol and
thus does not double 255 (0xFF, 0377) character and does not prefix ABOR and
STAT commands with TELNET IP+SYNCH signal.
.TP
+.BR ftp:use-tvfs " (tri-boolean)"
+When set to auto, usage of TVFS feature depends on FEAT server reply. Otherwise
+this setting tells whether use it or not. In short, if a server supports TVFS
+feature then it uses unix-like paths.
+.TP
.BR ftp:use-quit " (boolean)"
if true, lftp sends QUIT before disconnecting from ftp server. Default is true.
.TP
@@ -1537,6 +1578,10 @@ variable \fBftp_proxy\fP if it starts with ``http://'', otherwise from
environment variable \fBhttp_proxy\fP. If your ftp proxy
requires authentication, specify user name and password in the URL.
.TP
+.BR hftp:use-allprop \ (boolean)
+if true, lftp will send `<allprop/>' request body in `PROPFIND' requests,
+otherwise it will send an empty request body.
+.TP
.BR hftp:use-authorization \ (boolean)
if set to off, lftp will send password as part of URL to the proxy. This
may be required for some proxies (e.g. M-soft). Default is on, and lftp
@@ -1600,6 +1645,10 @@ Referer header.
.BR http:set-cookies " (boolean)"
if true, lftp modifies http:cookie variables when Set-Cookie header is received.
.TP
+.BR http:use-allprop \ (boolean)
+if true, lftp will send `<allprop/>' request body in `PROPFIND' requests,
+otherwise it will send an empty request body.
+.TP
.BR http:use-mkcol \ (boolean)
if set to off, lftp will try to use `PUT' instead of `MKCOL' to create
directories with http protocol. Default is on.
@@ -1671,6 +1720,7 @@ disconnect from server after this idle time. Default is 3 minutes.
.BR net:limit-rate " (bytes per second)"
limit transfer rate on data connection. 0 means unlimited. You can specify
two numbers separated by colon to limit download and upload rate separately.
+Suffixes are supported, e.g. 100K means 102400.
.TP
.BR net:limit-max \ (bytes)
limit accumulating of unused limit-rate. 0 means twice of limit-rate.
@@ -1795,6 +1845,9 @@ use specified file as your private key.
.BR ssl:cert-file " (path to file)"
use specified file as your certificate.
.TP
+.BR ssl:use-sni \ (boolean)
+when true, use Server Name Indication (SNI) TLS extension.
+.TP
.BR ssl:verify-certificate \ (boolean)
if set to yes, then verify server's certificate to be signed by a known
Certificate Authority and not be on Certificate Revocation List.
@@ -1813,6 +1866,9 @@ maintain this limit.
port range to accept connections on. A single port is selected when a torrent
starts.
.TP
+.BR torrent:retracker \ (URL)
+explicit retracker URL, e.g. `http://retracker.local/announce'.
+.TP
.BR torrent:seed-max-time " (time interval)"
maximum seed time. After this period of time a complete torrent shuts down
independently of ratio. It can be set to infinity if needed.
@@ -1824,6 +1880,9 @@ new peers are actively searched for.
.BR torrent:stop-on-ratio " (real number)"
torrent stops when it's complete and ratio reached this number.
.TP
+.BR torrent:use-dht \ (boolean)
+when true, DHT is used.
+.TP
.BR xfer:clobber \ (boolean)
if this setting is off, get commands will not overwrite existing
files and generate an error instead.
@@ -1845,7 +1904,7 @@ show terse ETA (only high order parts). Default is true.
.BR xfer:log \ (boolean)
when true, lftp logs transfers to a file from xfer:log-file setting.
.TP
-.BR xfer:log-file \ (boolean)
+.BR xfer:log-file \ (path to file)
the file to log transfers to. Default is \fI~/.lftp/transfer_log\fR.
.TP
.BR xfer:make-backup \ (boolean)
@@ -1890,6 +1949,8 @@ infinite interval. E.g. `sleep forever' or `set dns:cache-expire never'.
Boolean settings can be one of (true, on, yes, 1, +) for a True value
or one of (false, off, no, 0, -) for a False value.
.PP
+Tri-boolean settings have either a boolean value or `auto'.
+.PP
Integer settings can have a suffix: k - kibi, m - mebi, g - gigi, etc.
They can also have a prefix: 0 - octal, 0x - hexadecimal.
@@ -1919,23 +1980,28 @@ several commands in one packet, and so cannot some broken routers.
.SH OPTIONS
.TP
.B \-d
-Switch on debugging mode
+Switch on debugging mode.
.TP
.BI \-e " commands"
Execute given commands and don't exit.
.TP
.BI \-p " port"
-Use the given port to connect
+Use the given port to connect.
.TP
.BI \-u " user\fR[\fP\fB,\fPpass\fR]\fP"
-Use the given username and password to connect
+Use the given username and password to connect. Remember to quote the password properly in the shell.
+Also note that it is not secure to specify the password on command line, use \fI~/.netrc\fP file.
+Alternatively you can use ssh-based protocols with authorized keys, so you don't have to enter a password.
+.PP
.TP
.BI \-f " script_file"
-Execute commands in the file and exit
+Execute commands in the file and exit.
+This option must be used alone without other arguments.
.TP
.BI \-c " commands"
Execute the given commands and exit. Commands can be separated with
-a semicolon, `&&' or `||'.
+a semicolon, `&&' or `||'. Remember to quote the commands argument properly in the shell.
+This option must be used alone without other arguments.
.SH ENVIRONMENT VARIABLES
The following environment variables are processed by \fBlftp\fR:
@@ -1960,6 +2026,11 @@ Used to locate the directory that stores user-specific configuration files. If
unset, \fI~/.lftp\fR will be used.
.IP "\fBLS_COLORS\fP"
used to set initial color:dir-colors variable.
+.IP "\fBXDG_CONFIG_DIR\fP, \fBXDG_DATA_DIR\fP, \fBXDG_CACHE_DIR\fP"
+Used to locate the directories for user-specific files when \fI~/.lftp\fR
+(or \fB$LFTP_HOME\fP directory) does not exist. Defaults are
+\fI~/.config\fR, \fI~/.local/share\fR and \fI~/.cache\fR respectively. The
+suffix \fI/lftp\fR is appended to make the full path to the directories.
.SH FILES
.TP
@@ -1990,6 +2061,10 @@ The file is used to store last working directories for each site visited.
.I "~/.lftp/bg/"
The directory is used to store named sockets for backgrounded lftp processes.
.TP
+.I "~/.lftp/DHT/""
+The directory is used to store DHT id and nodes cache for IPv4 and IPv6.
+File name suffix is the host name.
+.TP
.I "~/.netrc"
The file is consulted to get default login and password to ftp server.
Passwords are also searched here if an URL with user name but with no
@@ -2010,7 +2085,16 @@ RFC2518 (WebDAV),
RFC2616 (http/1.1),
RFC2617 (http/1.1 authentication),
RFC2640 (ftp i18n),
-RFC4217 (ftp over ssl).
+RFC4217 (ftp over ssl),
+BEP0003 (BitTorrent Protocol),
+BEP0005 (DHT Protocol),
+BEP0006 (Fast Extension),
+BEP0007 (IPv6 Tracker Extension),
+BEP0009 (Extension for Peers to Send Metadata Files),
+BEP0010 (Extension Protocol),
+BEP0012 (Multitracker Metadata Extension),
+BEP0023 (Tracker Returns Compact Peer Lists),
+BEP0032 (DHT Extensions for IPv6).
.br
.na
http://www.ietf.org/internet-drafts/draft-ietf-ftpext-mlst-16.txt
@@ -2022,6 +2106,10 @@ http://www.ietf.org/internet-drafts/draft-ietf-secsh-filexfer-10.txt
http://wiki.theory.org/BitTorrentSpecification
.br
http://www.bittornado.com/docs/multitracker-spec.txt
+.br
+http://www.rasterbar.com/products/libtorrent/dht_sec.html (DHT security extension)
+.br
+http://xbtt.sourceforge.net/udp_tracker_protocol.html (UDP tracker)
.ad
.SH AUTHOR
View
9 lftp.lsm
@@ -1,7 +1,7 @@
Begin3
Title: LFTP command line file transfer program
-Version: 4.3.1
-Entered-date: 2011-06-28
+Version: 4.4.5
+Entered-date: 2013-03-14
Description: LFTP is a shell-like command line file transfer program. It is
reliable: can retry operations and does reget automatically.
It can do several transfers simultaneously in background.
@@ -17,12 +17,13 @@ Description: LFTP is a shell-like command line file transfer program. It is
connections in sum, job queueing, job execution at specified
time, opie/skey support in ftp protocol, ssl for http and ftp,
fxp transfers. Version 3.0 supports sftp v3 and v4 protocols.
+ Version 4.0 supports BitTorrent protocol.
Keywords: ftp, client, readline, reliable, background, parallel, http,
- protocol, network, fish, sftp, https, ftps
+ protocol, network, fish, sftp, https, ftps, torrent
Author: lav@yars.free.net (Alexander V. Lukyanov)
Maintained-by: lav@yars.free.net (Alexander V. Lukyanov)
Primary-site: ftp.yars.free.net /pub/source/lftp
- 2296 kB lftp-4.3.1.tar.gz
+ 2427 kB lftp-4.4.5.tar.gz
Alternate-site: metalab.unc.edu /pub/Linux/system/network/file-transfer
Platforms: Unix, G++
Copying-policy: GNU GPL
View
2 lftp.spec
@@ -1,4 +1,4 @@
-%define version 4.3.1
+%define version 4.4.5
%define release 1
%define use_modules 0
View
32 lib/.cvsignore
@@ -247,3 +247,35 @@ iconv.c
iconv_close.c
unistr.in.h
float.c
+cloexec.c
+cloexec.h
+dup2.c
+fcntl.c
+getdtablesize.c
+passfd.c
+passfd.h
+pathmax.h
+signal.in.h
+sys_types.in.h
+closedir.c
+dirent-private.h
+filename.h
+fstat.c
+msvc-inval.c
+msvc-inval.h
+msvc-nothrow.c
+msvc-nothrow.h
+opendir.c
+readdir.c
+itold.c
+stdalign.in.h
+c-strcaseeq.h
+close.c
+locale.in.h
+localeconv.c
+timespec.c
+xsize.c
+math.c
+sys_socket.c
+unistd.c
+wctype-h.c
View
295 lib/.gitignore
@@ -0,0 +1,295 @@
+/alignof.h
+/alloca.c
+/alloca.h
+/alloca.in.h
+/argmatch.c
+/argmatch.h
+/arg-nonnull.h
+/arpa
+/arpa_inet.in.h
+/asnprintf.c
+/btowc.c
+/c-ctype.c
+/c-ctype.h
+/c++defs.h
+/charset.alias
+/chown.c
+/cloexec.c
+/cloexec.h
+/close-hook.c
+/close-hook.h
+/config.charset
+/config.h
+/config.h.in
+/configmake.h
+/c-strcasecmp.c
+/c-strcase.h
+/c-strncasecmp.c
+/dirent.h
+/dirent.in.h
+/dirfd.c
+/dirfd.h
+/dosname.h
+/dummy.c
+/dup2.c
+/errno.in.h
+/error.c
+/error.h
+/exitfail.c
+/exitfail.h
+/fchown-stub.c
+/fcntl.c
+/fcntl.h
+/fcntl.in.h
+/fd-hook.c
+/fd-hook.h
+/filemode.c
+/filemode.h
+/float.c
+/float+.h
+/float.in.h
+/fnmatch.c
+/fnmatch.h
+/fnmatch.in.h
+/fnmatch_loop.c
+/fpucw.h
+/frexp.c
+/frexpl.c
+/ftruncate.c
+/getdate.c
+/getdate.h
+/getdate.y
+/getdtablesize.c
+/getlogin_r.c
+/getopt1.c
+/getopt.c
+/getopt.h
+/getopt.in.h
+/getopt_int.h
+/getpagesize.c
+/gettext.h
+/gettime.c
+/gettimeofday.c
+/glob.c
+/glob.h
+/glob.in.h
+/glob-libc.h
+/human.c
+/human.h
+/iconv.c
+/iconv_close.c
+/iconv.h
+/iconv.in.h
+/iconv_open-aix.gperf
+/iconv_open-aix.h
+/iconv_open.c
+/iconv_open-hpux.gperf
+/iconv_open-hpux.h
+/iconv_open-irix.gperf
+/iconv_open-irix.h
+/iconv_open-osf.gperf
+/iconv_open-osf.h
+/iconv_open-solaris.gperf
+/iconv_open-solaris.h
+/inet_ntop.c
+/inet_pton.c
+/intprops.h
+/inttypes.h
+/inttypes.in.h
+/isnan.c
+/isnand.c
+/isnand-nolibm.h
+/isnanf.c
+/isnanf-nolibm.h
+/isnanl.c
+/isnanl-nolibm.h
+/iswblank.c
+/langinfo.h
+/langinfo.in.h
+/lchown.c
+/localcharset.c
+/localcharset.h
+/lstat.c
+/lstat.h
+/Makefile.am
+/malloca.c
+/malloca.h
+/malloca.valgrind
+/malloc.c
+/math.h
+/math.in.h
+/mbrlen.c
+/mbrtowc.c
+/mbsinit.c
+/mbsrtowcs.c
+/mbsrtowcs-impl.h
+/mbsrtowcs-state.c
+/mbswidth.c
+/mbswidth.h
+/mbtowc.c
+/mbtowc-impl.h
+/md5.c
+/md5.h
+/memchr.c
+/memchr.valgrind
+/memcmp.c
+/memmem.c
+/memmove.c
+/mempcpy.c
+/mktime.c
+/mktime-internal.h
+/modechange.c
+/modechange.h
+/netinet_in.in.h
+/nl_langinfo.c
+/open.c
+/parse-datetime.c
+/parse-datetime.h
+/parse-datetime.y
+/passfd.c
+/passfd.h
+/pathmax.h
+/poll.c
+/poll.h
+/poll.in.h
+/printf-args.c
+/printf-args.h
+/printf-frexp.c
+/printf-frexp.h
+/printf-frexpl.c
+/printf-frexpl.h
+/printf-parse.c
+/printf-parse.h
+/quotearg.c
+/quotearg.h
+/quote.c
+/quote.h
+/readlink.c
+/ref-add.sed
+/ref-add.sin
+/ref-del.sed
+/ref-del.sin
+/regcomp.c
+/regex.c
+/regexec.c
+/regex.h
+/regex_internal.c
+/regex_internal.h
+/select.c
+/setenv.c
+/sha1.c
+/sha1.h
+/signal.h
+/signal.in.h
+/signbitd.c
+/signbitf.c
+/signbitl.c
+/size_max.h
+/sockets.c
+/sockets.h
+/stamp-h1
+/stat.c
+/stat-macros.h
+/stdbool.in.h
+/stddef.in.h
+/stdint.h
+/stdint.in.h
+/stdio.h
+/stdio.in.h
+/stdio-write.c
+/stdlib.h
+/stdlib.in.h
+/strcasecmp.c
+/strdup.c
+/streq.h
+/strerror.c
+/strerror-override.c
+/strerror-override.h
+/strftime.c
+/strftime.h
+/string.h
+/string.in.h
+/strings.h
+/strings.in.h
+/strncasecmp.c
+/strnlen1.c
+/strnlen1.h
+/strptime.c
+/strstr.c
+/strtoimax.c
+/strtok_r.c
+/strtol.c
+/strtoll.c
+/strtoul.c
+/strtoull.c
+/strtoumax.c
+/str-two-way.h
+/sys
+/sys_select.in.h
+/sys_socket.in.h
+/sys_stat.in.h
+/sys_time.in.h
+/sys_types.in.h
+/sys_uio.in.h
+/time.h
+/time.in.h
+/time_r.c
+/timespec.h
+/unistd.h
+/unistd.in.h
+/unistr
+/unistr.h
+/unistr.in.h
+/unitypes.h
+/unitypes.in.h
+/uniwidth
+/uniwidth.h
+/uniwidth.in.h
+/unsetenv.c
+/unused-parameter.h
+/vasnprintf.c
+/vasnprintf.h
+/verify.h
+/vsnprintf.c
+/w32sock.h
+/warn-on-use.h
+/wchar.h
+/wchar.in.h
+/wcrtomb.c
+/wctype.h
+/wctype.in.h
+/wcwidth.c
+/xalloc-die.c
+/xalloc.h
+/xalloc-oversized.h
+/xmalloc.c
+/xsize.h
+/xstrtol.c
+/xstrtol-error.c
+/xstrtol.h
+/xstrtoul.c
+/xstrtoumax.c
+/closedir.c
+/dirent-private.h
+/filename.h
+/fstat.c
+/msvc-inval.c
+/msvc-inval.h
+/msvc-nothrow.c
+/msvc-nothrow.h
+/opendir.c
+/readdir.c
+/itold.c
+/stdalign.in.h
+/stdalign.h
+/c-strcaseeq.h
+/close.c
+/locale.in.h
+/localeconv.c
+/timespec.c
+/xsize.c
+/math.c
+/sys_socket.c
+/unistd.c
+/wctype-h.c
+/locale.h
View
4 lib/hstrerror.c
@@ -13,8 +13,8 @@
General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
#ifdef HAVE_CONFIG_H
#include <config.h>
View
3 lib/unistr/.gitignore
@@ -0,0 +1,3 @@
+/u8-mbtoucr.c
+/u8-uctomb-aux.c
+/u8-uctomb.c
View
2 lib/uniwidth/.gitignore
@@ -0,0 +1,2 @@
+/cjk.h
+/width.c
View
43 m4/.cvsignore
@@ -191,3 +191,46 @@ configmake.m4
error.m4
mbtowc.m4
sys_uio_h.m4
+dup2.m4
+fcntl.m4
+getdtablesize.m4
+passfd.m4
+largefile.m4
+pathmax.m4
+signal_h.m4
+sys_types_h.m4
+closedir.m4
+fstat.m4
+msvc-inval.m4
+msvc-nothrow.m4
+opendir.m4
+readdir.m4
+stdalign.m4
+close.m4
+locale_h.m4
+localeconv.m4
+off_t.m4
+fdopen.m4
+getcwd.m4
+getgroups.m4
+getugroups.m4
+ioctl.m4
+locale-tr.m4
+localename.m4
+mgetgroups.m4
+perror.m4
+pipe.m4
+putenv.m4
+setlocale.m4
+sleep.m4
+stat-time.m4
+strerror_r.m4
+symlink.m4
+sys_ioctl_h.m4
+sys_wait_h.m4
+thread.m4
+usleep.m4
+wctob.m4
+wctomb.m4
+yield.m4
+extern-inline.m4
View
238 m4/.gitignore
@@ -0,0 +1,238 @@
+/00gnulib.m4
+/alloca.m4
+/argmatch.m4
+/arpa_inet_h.m4
+/asm-underscore.m4
+/bison.m4
+/btowc.m4
+/chown.m4
+/clock_time.m4
+/codeset.m4
+/configmake.m4
+/dirent_h.m4
+/dirfd.m4
+/dos.m4
+/d-type.m4
+/dup2.m4
+/eealloc.m4
+/environ.m4
+/eoverflow.m4
+/errno_h.m4
+/error.m4
+/exitfail.m4
+/exponentd.m4
+/exponentf.m4
+/exponentl.m4
+/extensions.m4
+/fcntl_h.m4
+/fcntl.m4
+/fcntl-o.m4
+/filemode.m4
+/float_h.m4
+/fnmatch.m4
+/fpieee.m4
+/frexpl.m4
+/frexp.m4
+/ftruncate.m4
+/getdate.m4
+/getdelim.m4
+/getdtablesize.m4
+/getline.m4
+/getlogin_r.m4
+/getopt.m4
+/getpagesize.m4
+/gettext.m4
+/gettime.m4
+/gettimeofday.m4
+/glibc21.m4
+/glibc2.m4
+/glob.m4
+/gnulib-common.m4
+/gnulib-comp.m4
+/gnulib-tool.m4
+/human.m4
+/iconv_h.m4
+/iconv.m4
+/iconv_open.m4
+/include_next.m4
+/inet_ntop.m4
+/inet_pton.m4
+/inline.m4
+/intdiv0.m4
+/intldir.m4
+/intl.m4
+/intlmacosx.m4
+/intmax.m4
+/intmax_t.m4
+/inttypes_h.m4
+/inttypes-h.m4
+/inttypes.m4
+/inttypes-pri.m4
+/isc-posix.m4
+/isnand.m4
+/isnanf.m4
+/isnanl.m4
+/langinfo_h.m4
+/largefile.m4
+/lchown.m4
+/lcmessage.m4
+/ldexpl.m4
+/lib-ld.m4
+/lib-link.m4
+/lib-prefix.m4
+/libtool.m4
+/libunistring-base.m4
+/localcharset.m4
+/locale-fr.m4
+/locale-ja.m4
+/locale-zh.m4
+/lock.m4
+/longdouble.m4
+/longlong.m4
+/lstat.m4
+/lt~obsolete.m4
+/ltoptions.m4
+/ltsugar.m4
+/ltversion.m4
+/malloca.m4
+/malloc.m4
+/math_h.m4
+/mbrlen.m4
+/mbrtowc.m4
+/mbsinit.m4
+/mbsrtowcs.m4
+/mbstate_t.m4
+/mbswidth.m4
+/mbtowc.m4
+/md5.m4
+/memchr.m4
+/memcmp.m4
+/memmem.m4
+/memmove.m4
+/mempcpy.m4
+/mktime.m4
+/mmap-anon.m4
+/modechange.m4
+/mode_t.m4
+/multiarch.m4
+/netinet_in_h.m4
+/nl_langinfo.m4
+/nls.m4
+/nocrash.m4
+/open.m4
+/parse-datetime.m4
+/passfd.m4
+/pathmax.m4
+/poll_h.m4
+/poll.m4
+/po.m4
+/printf-frexpl.m4
+/printf-frexp.m4
+/printf.m4
+/printf-posix.m4
+/progtest.m4
+/quotearg.m4
+/quote.m4
+/readlink.m4
+/realloc.m4
+/regex.m4
+/select.m4
+/setenv.m4
+/sha1.m4
+/signal_h.m4
+/signbit.m4
+/signed.m4
+/size_max.m4
+/socketlib.m4
+/sockets.m4
+/socklen.m4
+/sockpfaf.m4
+/ssize_t.m4
+/stat.m4
+/stdbool.m4
+/stddef_h.m4
+/stdint_h.m4
+/stdint.m4
+/stdio_h.m4
+/stdlib_h.m4
+/st_dm_mode.m4
+/strcase.m4
+/strdup.m4
+/strerror.m4
+/strftime.m4
+/string_h.m4
+/strings_h.m4
+/strptime.m4
+/strstr.m4
+/strtoimax.m4
+/strtok_r.m4
+/strtoll.m4
+/strtol.m4
+/strtoull.m4
+/strtoul.m4
+/strtoumax.m4
+/sys_select_h.m4
+/sys_socket_h.m4
+/sys_stat_h.m4
+/sys_time_h.m4
+/sys_types_h.m4
+/sys_uio_h.m4
+/threadlib.m4
+/time_h.m4
+/time_r.m4
+/timespec.m4
+/tm_gmtoff.m4
+/uintmax_t.m4
+/ulonglong.m4
+/unistd_h.m4
+/vasnprintf.m4
+/visibility.m4
+/vsnprintf.m4
+/vsnprintf-posix.m4
+/warn-on-use.m4
+/wchar_h.m4
+/wchar.m4
+/wchar_t.m4
+/wcrtomb.m4
+/wctype_h.m4
+/wctype.m4
+/wcwidth.m4
+/wint_t.m4
+/xalloc.m4
+/xsize.m4
+/xstrtol.m4
+/closedir.m4
+/fstat.m4
+/msvc-inval.m4
+/msvc-nothrow.m4
+/opendir.m4
+/readdir.m4
+/stdalign.m4
+/close.m4
+/locale_h.m4
+/localeconv.m4
+/off_t.m4
+/fdopen.m4
+/getcwd.m4
+/getgroups.m4
+/getugroups.m4
+/ioctl.m4
+/locale-tr.m4
+/localename.m4
+/mgetgroups.m4
+/perror.m4
+/pipe.m4
+/putenv.m4
+/setlocale.m4
+/sleep.m4
+/stat-time.m4
+/strerror_r.m4
+/symlink.m4
+/sys_ioctl_h.m4
+/sys_wait_h.m4
+/thread.m4
+/usleep.m4
+/wctob.m4
+/wctomb.m4
+/yield.m4
+/extern-inline.m4
View
24 m4/gnulib-cache.m4
@@ -1,9 +1,21 @@
-# Copyright (C) 2002-2011 Free Software Foundation, Inc.
+# Copyright (C) 2002-2013 Free Software Foundation, Inc.
#
-# This file is free software, distributed under the terms of the GNU
-# General Public License. As a special exception to the GNU General
-# Public License, this file may be distributed as part of a program
-# that contains a configuration script generated by Autoconf, under
+# This file 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 3 of the License, or
+# (at your option) any later version.
+#
+# This file 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 file. If not, see <http://www.gnu.org/licenses/>.
+#
+# As a special exception to the GNU General Public License,
+# this file may be distributed as part of a program that
+# contains a configuration script generated by Autoconf, under
# the same distribution terms as the rest of that program.
#
# Generated by gnulib-tool.
@@ -70,4 +82,4 @@ gl_MAKEFILE_NAME([])
gl_LIBTOOL
gl_MACRO_PREFIX([gl])
gl_PO_DOMAIN([])
-gl_WITNESS_C_DOMAIN([])
+gl_WITNESS_C_MACRO([])
View
18 po/.gitignore
@@ -0,0 +1,18 @@
+Makefile.in
+Makefile
+POTFILES
+*.mo
+*.gmo
+stamp-cat-id
+cat-id-tbl.c
+Makefile.in.in
+Makevars.template
+Rules-quot
+boldquot.sed
+en@boldquot.header
+en@quot.header
+insert-header.sin
+quot.sed
+remove-potcdate.sin
+remove-potcdate.sed
+stamp-po
View
48 po/ChangeLog
@@ -1,3 +1,31 @@
+2013-02-20 Alexander V. Lukyanov <lav@yars.free.net>
+
+ * ru.po: update.
+
+2013-01-29 Alexander V. Lukyanov <lav@yars.free.net>
+
+ * ru.po: update.
+
+2012-10-08 Jakub Bogusz <qboosh@pld-linux.org>
+
+ * pl.po: update.
+
+2012-10-03 Petr Písař <petr.pisar@atlas.cz>
+
+ * cs.po: update.
+
+2012-01-26 Petr Pisar <petr.pisar@atlas.cz>
+
+ * cs.po: update.
+
+2011-09-22 Petr Pisar <petr.pisar@atlas.cz>
+
+ * cs.po: update.
+
+2011-09-19 Jakub Bogusz <qboosh@pld-linux.org>
+
+ * pl.po: update.
+
2011-04-11 Alexander V. Lukyanov <lav@yars.free.net>
* ru.po: update.
@@ -14,7 +42,7 @@
* ru.po: update.
-2010-08-17 Noël Köthe <noel@debian.org>
+2010-08-17 Noël Köthe <noel@debian.org>
* de.po: add missed comma; fix some minor translation.
@@ -337,7 +365,7 @@
* POTFILES.in: add Speedometer.cc (reported by Nicolas Noble)
-2000-08-25 Nicol�s Lichtmaier <nick@debian.org>
+2000-08-25 Nicolás Lichtmaier <nick@debian.org>
* es.po: update.
@@ -349,7 +377,7 @@
* de.po: update
-2000-07-17 Nicol�s Lichtmaier <nick@debian.org>
+2000-07-17 Nicolás Lichtmaier <nick@debian.org>
* es.po: update.
@@ -442,15 +470,15 @@
* ru.po: update for 2.0.1
-1999-06-27 Arkadiusz Mikiewicz <misiek@misiek.eu.org>
+1999-06-27 Arkadiusz Mikiewicz <misiek@misiek.eu.org>
* pl.po: update
1999-06-25 Alexander V. Lukyanov <lav@yars.free.net>
* de.po, es.po, pl.po, ru.po: translate "eta:"
-1999-06-25 Arkadiusz Mikiewicz <misiek@misiek.eu.org>
+1999-06-25 Arkadiusz Mikiewicz <misiek@misiek.eu.org>
* pl.po: update
@@ -512,7 +540,7 @@
* de.po: update
-1999-02-19 Arkadiusz Mikiewicz <misiek@misiek.eu.org>
+1999-02-19 Arkadiusz Mikiewicz <misiek@misiek.eu.org>
* pl.po: updated for lftp-990204
@@ -529,7 +557,7 @@
* it.po: update for 1.2
-1998-12-10 Arkadiusz Mikiewicz <misiek@zsz2.starachowice.pl>
+1998-12-10 Arkadiusz Mikiewicz <misiek@zsz2.starachowice.pl>
* pl.po: update
@@ -541,19 +569,19 @@
* it.po: update
-1998-09-27 Nicol�s Lichtmaier <nick@debian.org>
+1998-09-27 Nicolás Lichtmaier <nick@debian.org>
* es.po: update
-1998-09-14 Arkadiusz Mikiewicz <misiek@debian.eu.org>
+1998-09-14 Arkadiusz Mikiewicz <misiek@debian.eu.org>
* pl.po: fixed typo (',' -> '|')
1998-09-08 Alexander V. Lukyanov <lav@yars.free.net>
* pl.po: added #l# for some strings, add %s for eta
-1998-09-08 Arkadiusz Mikiewicz <misiek@debian.eu.org>
+1998-09-08 Arkadiusz Mikiewicz <misiek@debian.eu.org>
* new pl.po
View
2 po/POTFILES.in
@@ -55,4 +55,6 @@ src/plural.c
src/resource.cc
src/rmJob.cc
src/Torrent.cc
+src/TorrentTracker.cc
+src/DHT.cc
src/attach.h
View
1,079 po/cs.po
@@ -1,19 +1,21 @@
# Czech translation of lftp.
# Copyright (C) 2009 Alexander V. Lukyanov <lav@yars.free.net>
# This file is distributed under the same license as the lftp package.
-# Petr Pisar <petr.pisar@atlas.cz>, 2009, 2010, 2011.
+# Petr Pisar <petr.pisar@atlas.cz>, 2009, 2010, 2011, 2012.
#
+# handshake → dojednání (spojení)
# option → volba
+# peer → protistrana
# put → nahrát (jako opak get, download, stáhnout)
# site-cmd → příkaz_serveru (ruční příkaz FTP)
# slot → slot (protože se tak jmenuje příkaz „slot“)
#
msgid ""
msgstr ""
-"Project-Id-Version: lftp 4.2.1\n"
+"Project-Id-Version: lftp 4.4.0\n"
"Report-Msgid-Bugs-To: lftp-bugs@lftp.yar.ru\n"
-"POT-Creation-Date: 2011-06-28 13:36+0400\n"
-"PO-Revision-Date: 2011-04-05 20:34+0200\n"
+"POT-Creation-Date: 2013-03-14 12:53+0400\n"
+"PO-Revision-Date: 2012-09-30 20:40+0200\n"
"Last-Translator: Petr Pisar <petr.pisar@atlas.cz>\n"
"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
"Language: cs\n"
@@ -32,18 +34,17 @@ msgid "ambiguous argument %s for %s"
msgstr "nejednoznačný argument %s u %s"
#: lib/argmatch.c:153
-#, c-format
msgid "Valid arguments are:"
msgstr "Platné argumenty jsou:"
-#: lib/error.c:185
+#: lib/error.c:188
msgid "Unknown system error"
msgstr "Neznámá chyba systému"
#: lib/getopt.c:547 lib/getopt.c:576
-#, fuzzy, c-format
+#, c-format
msgid "%s: option '%s' is ambiguous; possibilities:"
-msgstr "%s: volba „%s“ není jednoznačná\n"
+msgstr "%s: volba „%s“ není jednoznačná; možnosti:"
#: lib/getopt.c:624 lib/getopt.c:628
#, c-format
@@ -75,848 +76,849 @@ msgstr "%s: nerozpoznaná volba „%c%s“\n"
msgid "%s: invalid option -- '%c'\n"
msgstr "%s: neplatná volba – „%c“\n"
-#: lib/getopt.c:858 lib/getopt.c:875 lib/getopt.c:1083 lib/getopt.c:1101
+#: lib/getopt.c:861 lib/getopt.c:878 lib/getopt.c:1088 lib/getopt.c:1106
#, c-format
msgid "%s: option requires an argument -- '%c'\n"
msgstr "%s: volba vyžaduje argument – „%c“\n"
-#: lib/getopt.c:931 lib/getopt.c:947
+#: lib/getopt.c:934 lib/getopt.c:950
#, c-format
msgid "%s: option '-W %s' is ambiguous\n"
msgstr "%s: volba „-W %s“ není jednoznačná\n"
-#: lib/getopt.c:971 lib/getopt.c:989
+#: lib/getopt.c:974 lib/getopt.c:992
#, c-format
msgid "%s: option '-W %s' doesn't allow an argument\n"
msgstr "%s: volba „-W %s“ nedovoluje argument\n"
-#: lib/getopt.c:1010 lib/getopt.c:1028
+#: lib/getopt.c:1013 lib/getopt.c:1031
#, c-format
msgid "%s: option '-W %s' requires an argument\n"
msgstr "%s: volba „-W %s“ vyžaduje argument\n"
#. TRANSLATORS:
#. Get translations for open and closing quotation marks.
-#.
#. The message catalog should translate "`" to a left
#. quotation mark suitable for the locale, and similarly for
-#. "'". If the catalog has no translation,
-#. locale_quoting_style quotes `like this', and
-#. clocale_quoting_style quotes "like this".
+#. "'". For example, a French Unicode local should translate
+#. these to U+00AB (LEFT-POINTING DOUBLE ANGLE
+#. QUOTATION MARK), and U+00BB (RIGHT-POINTING DOUBLE ANGLE
+#. QUOTATION MARK), respectively.
#.
-#. For example, an American English Unicode locale should
-#. translate "`" to U+201C (LEFT DOUBLE QUOTATION MARK), and
-#. should translate "'" to U+201D (RIGHT DOUBLE QUOTATION
-#. MARK). A British English Unicode locale should instead
-#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK)
-#. and U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
+#. If the catalog has no translation, we will try to
+#. use Unicode U+2018 (LEFT SINGLE QUOTATION MARK) and
+#. Unicode U+2019 (RIGHT SINGLE QUOTATION MARK). If the
+#. current locale is not Unicode, locale_quoting_style
+#. will quote 'like this', and clocale_quoting_style will
+#. quote "like this". You should always include translations
+#. for "`" and "'" even if U+2018 and U+2019 are appropriate
+#. for your locale.
#.
#. If you don't know what to put here, please see
-#. <http://en.wikipedia.org/wiki/Quotation_mark#Glyphs>
+#. <http://en.wikipedia.org/wiki/Quotation_marks_in_other_languages>
#. and use glyphs suitable for your language.
-#: lib/quotearg.c:271
+#: lib/quotearg.c:312
msgid "`"
msgstr "„"
-#: lib/quotearg.c:272
+#: lib/quotearg.c:313
msgid "'"
msgstr "“"
#: lib/xalloc-die.c:34
msgid "memory exhausted"
msgstr "paměť vyčerpána"
-#: src/ChmodJob.cc:83
+#: src/ChmodJob.cc:82
#, c-format
msgid "Failed to change mode of `%s' to %04o (%s).\n"
msgstr "Nepodařilo se změnit mód „%s“ na %04o (%s).\n"
-#: src/ChmodJob.cc:86
+#: src/ChmodJob.cc:85
#, c-format
msgid "Mode of `%s' changed to %04o (%s).\n"
msgstr "Mód „%s“ změněn na %04o (%s).\n"
-#: src/ChmodJob.cc:91
+#: src/ChmodJob.cc:90
#, c-format
msgid "Failed to change mode of `%s' because no old mode is available.\n"
msgstr "Změna módu „%s“ selhala, protože původní mód není dostupný.\n"
-#: src/CmdExec.cc:100
+#: src/CmdExec.cc:106
#, c-format
msgid "Warning: chdir(%s) failed: %s\n"
msgstr "Pozor: selhalo chdir(%s): %s\n"
-#: src/CmdExec.cc:200
+#: src/CmdExec.cc:208
#, c-format
msgid "Unknown command `%s'.\n"
msgstr "Neznámý příkaz „%s“.\n"
-#: src/CmdExec.cc:202
+#: src/CmdExec.cc:210
#, c-format
msgid "Ambiguous command `%s'.\n"
msgstr "Nejednoznačný příkaz „%s“.\n"
-#: src/CmdExec.cc:221
+#: src/CmdExec.cc:229
#, c-format
msgid "Module for command `%s' did not register the command.\n"
msgstr "Modul pro příkaz „%s“ si nezaregistroval tento příkaz.\n"
-#: src/CmdExec.cc:365
+#: src/CmdExec.cc:385
#, c-format
msgid "cd ok, cwd=%s\n"
msgstr "cd uspělo, cwd=%s\n"
-#: src/CmdExec.cc:386 src/MirrorJob.cc:571
+#: src/CmdExec.cc:406 src/MirrorJob.cc:570
#, c-format
msgid "%s: received redirection to `%s'\n"
msgstr "%s: přijato přesměrování na „%s“\n"
-#: src/CmdExec.cc:389 src/FileCopy.cc:1065
+#: src/CmdExec.cc:409 src/FileCopy.cc:1068
msgid "Too many redirections"
msgstr "Příliš mnoho přesměrování"
-#: src/CmdExec.cc:497 src/CmdExec.cc:554
+#: src/CmdExec.cc:517 src/CmdExec.cc:574
msgid "Interrupt"
msgstr "Přerušení"
-#: src/CmdExec.cc:619
+#: src/CmdExec.cc:639
#, c-format
msgid "Warning: discarding incomplete command\n"
msgstr "Pozor: neúplný příkaz bude zahozen\n"
-#: src/CmdExec.cc:712
+#: src/CmdExec.cc:737
#, c-format
msgid "\tExecuting builtin `%s' [%s]\n"
msgstr "\tVykonává se vestavěný příkaz „%s“ [%s]\n"
-#: src/CmdExec.cc:717
+#: src/CmdExec.cc:742
msgid "Queue is stopped."
msgstr "Fronta je pozastavena."
-#: src/CmdExec.cc:722
+#: src/CmdExec.cc:747
msgid "Now executing:"
msgstr "Nyní se vykonává:"
-#: src/CmdExec.cc:733
+#: src/CmdExec.cc:758
#, c-format
msgid "\tWaiting for job [%d] to terminate\n"
msgstr "\tČeká se na dokončení úlohy [%d]\n"
-#: src/CmdExec.cc:736
+#: src/CmdExec.cc:761
msgid "\tWaiting for termination of jobs: "
msgstr "\tČeká se na dokončení úloh: "
-#: src/CmdExec.cc:745
+#: src/CmdExec.cc:770
msgid "\tRunning\n"
msgstr "\tBěžící\n"
-#: src/CmdExec.cc:747
+#: src/CmdExec.cc:772
msgid "\tWaiting for command\n"
msgstr "\tČeká se na příkaz\n"
-#: src/CmdExec.cc:1196
+#: src/CmdExec.cc:1253
#, c-format
msgid "%s: command `%s' is not compiled in.\n"
msgstr "%s: příkaz „%s“ není zakompilován.\n"
-#: src/CopyJob.cc:80
+# TODO: use singular before elipses
+#: src/CmdExec.cc:1260
+#, c-format
+msgid "Usage: %s cmd [args...]\n"
+msgstr "Použití: %s příkaz [argument…]\n"
+
+#: src/CmdExec.cc:1266
+#, c-format
+msgid "%s: cannot create local session\n"
+msgstr "%s: místní relaci nelze vytvořit\n"
+
+#: src/CopyJob.cc:79
#, c-format
msgid "`%s' at %lld %s%s%s%s"
msgstr "„%s“ na %'lld %s%s%s%s"
-#: src/CopyJob.cc:157
+#: src/CopyJob.cc:156
#, c-format
msgid "%lld $#ll#byte|bytes$ transferred in %ld $#l#second|seconds$"
msgstr ""
"%'lld $#ll#bajt přenesen|bajty přeneseny|bajtů přeneseno$ za %'ld "
"$#l#sekundu|sekundy|sekund$"
-#: src/CopyJob.cc:165
+#: src/CopyJob.cc:164
#, c-format
msgid "%lld $#ll#byte|bytes$ transferred"
msgstr "%'lld $#ll#bajt přenesen|bajty přeneseny|bajtů přeneseno$"
-#: src/CopyJob.cc:265
+#: src/CopyJob.cc:264
#, c-format
msgid "Transfer of %d of %d $file|files$ failed\n"
msgstr "Přenos %'d z %'d $souboru|souborů|souborů$ selhal\n"
-#: src/CopyJob.cc:271
+#: src/CopyJob.cc:270
#, c-format
msgid "Total %d $file|files$ transferred\n"
msgstr "Celkem přeneseno: %'d $soubor|soubory|souborů$\n"
-#: src/DummyProto.cc:66 src/MirrorJob.cc:1635 src/MirrorJob.cc:1651
-#: src/commands.cc:986 src/commands.cc:2129
+#: src/DummyProto.cc:65 src/MirrorJob.cc:1634 src/MirrorJob.cc:1650
+#: src/commands.cc:986 src/commands.cc:2109
msgid " - not supported protocol"
msgstr " – nepodporovaný protokol"
-#: src/FileAccess.cc:162
+#: src/FileAccess.cc:161
msgid "Access failed: "
msgstr "Přístup selhal: "
-#: src/FileAccess.cc:163
+#: src/FileAccess.cc:162
msgid "File cannot be accessed"
msgstr "K souboru nelze přistoupit"