]> git.pld-linux.org Git - packages/lftp.git/commitdiff
- rel 5; more git fixes auto/th/lftp-4.4.6-5
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 21 May 2013 20:42:21 +0000 (22:42 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 21 May 2013 20:42:21 +0000 (22:42 +0200)
lftp-git.patch [moved from lftp-bug-36.patch with 53% similarity]
lftp.spec

similarity index 53%
rename from lftp-bug-36.patch
rename to lftp-git.patch
index afaf83029741c552f5a2a45ca7c5cf7e749a82f0..9a64799e20acc8cec73989cb4b2b3417c11f8776 100644 (file)
@@ -13,6 +13,97 @@ index 2123b2c..6da6440 100644
  .TP
  .BR net:no-proxy \ (string)
  contains comma separated list of domains for which proxy should not be used.
+diff --git a/po/cs.po b/po/cs.po
+index 62b572c..9ef370c 100644
+--- a/po/cs.po
++++ b/po/cs.po
+@@ -1,7 +1,7 @@
+ # 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, 2012.
++# Petr Pisar <petr.pisar@atlas.cz>, 2009, 2010, 2011, 2012, 2013.
+ #
+ # handshake → dojednání (spojení)
+ # option → volba
+@@ -12,10 +12,10 @@
+ #
+ msgid ""
+ msgstr ""
+-"Project-Id-Version: lftp 4.4.0\n"
++"Project-Id-Version: lftp 4.4.6\n"
+ "Report-Msgid-Bugs-To: lftp-bugs@lftp.yar.ru\n"
+ "POT-Creation-Date: 2013-05-17 14:34+0400\n"
+-"PO-Revision-Date: 2012-09-30 20:40+0200\n"
++"PO-Revision-Date: 2013-05-21 19:42+0200\n"
+ "Last-Translator: Petr Pisar <petr.pisar@atlas.cz>\n"
+ "Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+ "Language: cs\n"
+@@ -1050,7 +1050,6 @@ msgid "[re]cls [opts] [path/][pattern]"
+ msgstr "[re]cls [volby] [cesta/][vzor]"
+ #: src/commands.cc:164
+-#, fuzzy
+ msgid ""
+ "List remote files. You can redirect output of this command to file\n"
+ "or via pipe to external command.\n"
+@@ -1094,6 +1093,7 @@ msgstr ""
+ "nebo přes rouru do vnějšího příkazu.\n"
+ "\n"
+ " -1                   – jednosloupcový výstup\n"
++" -a, --all            - zobrazí tečkové soubory\n"
+ " -B, --basename       – ukáže jen názvy souborů bez cesty\n"
+ "     --block-size=VEL – použije bloky po VEL bajtech\n"
+ " -d, --directory      – vypíše záznamy adresářů namísto jejich obsahu\n"
+@@ -1226,7 +1226,6 @@ msgid "get [OPTS] <rfile> [-o <lfile>]"
+ msgstr "get [VOLBY] <vzdálený_soubor> [-o <místní_soubor>]"
+ #: src/commands.cc:250
+-#, fuzzy
+ msgid ""
+ "Retrieve remote file <rfile> and store it to local file <lfile>.\n"
+ " -o <lfile> specifies local file name (default - basename of rfile)\n"
+@@ -1239,7 +1238,7 @@ msgstr ""
+ " -o <místní_soubor>\n"
+ "     určí název místního souboru (implicitně je odvozen ze "
+ "vzdáleného_souboru)\n"
+-" -c  pokračuje v nedokončeném stahování, reget\n"
++" -c  pokračuje v nedokončeném stahování, obnoví přenos\n"
+ " -E  po úspěšném přenosu vzdálené soubory smaže\n"
+ " -a  použije režim ASCII (implicitní je binární)\n"
+ " -O <základ>\n"
+@@ -1276,11 +1275,12 @@ msgid "Print help for command <cmd>, or list of available commands\n"
+ msgstr "Vypíše nápovědu k <příkazu>, nebo vypíše všechny dostupné příkazy\n"
+ #: src/commands.cc:269
+-#, fuzzy
+ msgid ""
+ "List running jobs. -v means verbose, several -v can be specified.\n"
+ "If <job_no> is specified, only list a job with that number.\n"
+-msgstr "Vypíše seznam běžících úloh. -v znamená podrobně, lze zadat více -v.\n"
++msgstr ""
++"Vypíše seznam běžících úloh. -v znamená podrobně, lze zadat více -v.\n"
++"Je-li zadáno <číslo_úlohy>, vypíše pouze úlohu s tímto číslem.\n"
+ #: src/commands.cc:271
+ msgid "kill all|<job_no>"
+@@ -1361,7 +1361,6 @@ msgid "mget [OPTS] <files>"
+ msgstr "mget [VOLBY] <soubory>"
+ #: src/commands.cc:299
+-#, fuzzy
+ msgid ""
+ "Gets selected files with expanded wildcards\n"
+ " -c  continue, resume transfer\n"
+@@ -1372,7 +1371,7 @@ msgid ""
+ " -O <base> specifies base directory or URL where files should be placed\n"
+ msgstr ""
+ "Získá soubory vybrané expanzí žolíkových znaků\n"
+-" -c  pokračuje v nedokončeném stahování, reget\n"
++" -c  pokračuje v nedokončeném stahování, obnoví přenos\n"
+ " -d  vytvoří adresáře stejné jako jsou v názvech souborů a soubory umístí "
+ "do\n"
+ "     nich namísto do pracovního adresáře\n"
 diff --git a/po/es.po b/po/es.po
 index 27be471..8794a44 100644
 --- a/po/es.po
@@ -99,7 +190,7 @@ index a2f5255..49c9df4 100644
  // int sim=defined&f.defined;
     int dif=(~defined)&f.defined;
 diff --git a/src/Fish.cc b/src/Fish.cc
-index f467781..05870bd 100644
+index f467781..99770a4 100644
 --- a/src/Fish.cc
 +++ b/src/Fish.cc
 @@ -341,10 +341,13 @@ void Fish::Close()
@@ -117,16 +208,18 @@ index f467781..05870bd 100644
     case(FILE_SEND):
        if(!RespQueueIsEmpty())
         Disconnect();
-@@ -566,6 +569,8 @@ int Fish::HandleReplies()
+@@ -566,6 +569,10 @@ int Fish::HandleReplies()
         Disconnect();
         return MOVED;
        }
 +      if(entity_size!=NO_SIZE && real_pos<entity_size)
++       return m;
++      if(entity_size==NO_SIZE)
 +       return m;
     }
     recv_buf->Put(pty_recv_buf->Get(),pty_recv_buf->Size()); // join the messages.
     pty_recv_buf->Skip(pty_recv_buf->Size());
-@@ -616,8 +621,14 @@ int Fish::HandleReplies()
+@@ -616,8 +623,10 @@ int Fish::HandleReplies()
     {
        if(message==0)
         message.set(line);
@@ -135,15 +228,11 @@ index f467781..05870bd 100644
 +      else {
 +       message.append('\n');
 +       message.append(line);
-+       if(state==FILE_RECV && mode==RETRIEVE) {
-+          SetError(NO_FILE,message);
-+          return MOVED;
-+       }
 +      }
        return m;
     }
  
-@@ -677,7 +688,7 @@ int Fish::HandleReplies()
+@@ -677,7 +686,7 @@ int Fish::HandleReplies()
        else if(message && message[0]!='#')
        {
         FileInfo *fi=FileInfo::parse_ls_line(message,"GMT");
@@ -152,7 +241,7 @@ index f467781..05870bd 100644
         {
            SetError(NO_FILE,message);
            break;
-@@ -757,14 +768,14 @@ void Fish::CloseExpectQueue()
+@@ -757,14 +766,14 @@ void Fish::CloseExpectQueue()
        case EXPECT_PWD:
        case EXPECT_CWD:
         break;
index 30e0c75facb566c53c6c689fc10b1a9f669763d6..b8db2865ba5c794cc676a078291770eef599e4eb 100644 (file)
--- a/lftp.spec
+++ b/lftp.spec
@@ -23,7 +23,7 @@ Summary(pt_BR.UTF-8): Sofisticado programa de transferência de arquivos (client
 Summary(zh_CN.UTF-8):  lftp 客户端程序
 Name:          lftp
 Version:       4.4.6
-Release:       4
+Release:       5
 License:       GPL v3+
 Group:         Applications/Networking
 Source0:       ftp://ftp.yar.ru/pub/source/lftp/%{name}-%{version}.tar.xz
@@ -39,7 +39,7 @@ Patch2:               aliases.patch
 Patch3:                %{name}-pl.po-update.patch
 Patch4:                lftp-4.3.8-gets.patch
 Patch5:                %{name}-am.patch
-Patch6:                lftp-bug-36.patch
+Patch6:                lftp-git.patch
 URL:           http://lftp.yar.ru/
 BuildRequires: autoconf >= 2.60
 BuildRequires: automake
This page took 0.179962 seconds and 4 git commands to generate.