[SM-Grimoire-Bugs] [Bug 15713] New: ncftp tarball sha512sum changed

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Wed May 19 09:41:06 EDT 2010


http://bugs.sourcemage.org/show_bug.cgi?id=15713

           Summary: ncftp tarball sha512sum changed
           Product: Codex
           Version: stable grimoire
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: ftp
        AssignedTo: sm-grimoire-bugs at lists.ibiblio.org
        ReportedBy: hgr at vabo.cz


summon -d ncftp; cast -c ncftp

Found source file /var/spool/sorcery/ncftp-3.2.4-src.tar.bz2 for spell ncftp in
/var/spool/sorcery
Waiting for any Solo casts to complete... 
Waiting for any other casts of ncftp to complete... done.
staging disabled                
Building ncftp                  
hash checking source file ncftp-3.2.4-src.tar.bz2...
sha512 check failed!            
2e7824fab5956a0b3647f99282afa465930d050d3b85097db26ad6836c0fa7b4f3d4d0ec1487c17e759fe637de5fe9a7eb4e3920d27543b71a867df44ca0ce0e
(computed) !=
1bcd7eb54788da34ae0a2bdbd83f0e7bcee9fa939e5f0e7a039d7f6edac1055fe30735786c8bc1a4b33914bbcc747227fe212cd4600c0babd579f5df2b03d0aa
(expected)!
hash verification failure       
Abort? [y]  

Spells that encountered problems:
---------------------------------
ncftp  



# sha512sum ORI/ncftp-3.2.4-src.tar.bz2 NEW/ncftp-3.2.4-src.tar.bz2 
1bcd7eb54788da34ae0a2bdbd83f0e7bcee9fa939e5f0e7a039d7f6edac1055fe30735786c8bc1a4b33914bbcc747227fe212cd4600c0babd579f5df2b03d0aa
 ORI/ncftp-3.2.4-src.tar.bz2
2e7824fab5956a0b3647f99282afa465930d050d3b85097db26ad6836c0fa7b4f3d4d0ec1487c17e759fe637de5fe9a7eb4e3920d27543b71a867df44ca0ce0e
 NEW/ncftp-3.2.4-src.tar.bz2



# diff -Naur ORI/ncftp-3.2.4 NEW/ncftp-3.2.4
diff -Naur ORI/ncftp-3.2.4/doc/CHANGELOG.txt NEW/ncftp-3.2.4/doc/CHANGELOG.txt
--- ORI/ncftp-3.2.4/doc/CHANGELOG.txt   2010-04-08 01:05:12.000000000 +0200
+++ NEW/ncftp-3.2.4/doc/CHANGELOG.txt   2010-05-17 02:43:26.000000000 +0200
@@ -1,6 +1,12 @@
 NcFTP Change Log:
 ================

+3.2.4.1, 2010-05-16
+
+   + Fixed a bug in Ncftpget/put/ls which could ignore the username (-u)
+     and password (-p) command line parameters.
+
+
 3.2.4, 2010-04-07

    + Ncftpget and ncftpput can now read $HOME/.ncftp/bookmarks and take a
diff -Naur ORI/ncftp-3.2.4/libncftp/unls.c NEW/ncftp-3.2.4/libncftp/unls.c
--- ORI/ncftp-3.2.4/libncftp/unls.c     2009-11-15 21:26:10.000000000 +0100
+++ NEW/ncftp-3.2.4/libncftp/unls.c     2010-04-17 16:20:31.000000000 +0200
@@ -309,6 +309,7 @@
 -rw-rw-r--   1 gleason  sysdevzz     1829 Jul 7   1996 README
 -rw-rw-r--   1 gleason  sysdevzz     1829 Jul  7 1996  README
 -rw-rw-r--   1 gleason  sysdevzz     1829 Jul 7  1996  README
+drwxrwxrwx   1 pvr pvr              45056 Jan  1 2000 DataFiles
          *
         *------------------------------^
         *                              0123456789012345
@@ -348,7 +349,12 @@
                                cp[1] = '\0';   /* end size */
                                cp[5] = '\0';   /* end mon */
                                cp[8] = '\0';   /* end day */
-                               cp[14] = '\0';  /* end year */
+                               if (! isspace((int) filestart[-1])) {
+                                       if (isspace((int) filestart[-2])) {
+                                               filestart--;
+                                       }
+                               }
+                               filestart[-1] = '\0';   /* end year */
                                mon = LsMonthNameToNum(monstart);
                                day = atoi(daystart);
                                hr = 23;
diff -Naur ORI/ncftp-3.2.4/ncftp/version.c NEW/ncftp-3.2.4/ncftp/version.c
--- ORI/ncftp-3.2.4/ncftp/version.c     2010-04-08 01:24:37.000000000 +0200
+++ NEW/ncftp-3.2.4/ncftp/version.c     2010-05-17 02:58:12.000000000 +0200
@@ -6,7 +6,7 @@


/******************************************************************************/

-const char gVersion[] = "@(#) NcFTP 3.2.4/465 Apr 07 2010, 06:24 PM";
+const char gVersion[] = "@(#) NcFTP 3.2.4/466 May 16 2010, 07:58 PM";


/******************************************************************************/

diff -Naur ORI/ncftp-3.2.4/sh_util/ncftpget.c
NEW/ncftp-3.2.4/sh_util/ncftpget.c
--- ORI/ncftp-3.2.4/sh_util/ncftpget.c  2010-04-06 18:08:49.000000000 +0200
+++ NEW/ncftp-3.2.4/sh_util/ncftpget.c  2010-05-17 02:51:29.000000000 +0200
@@ -235,8 +235,9 @@
        postcmd[0] = '\0';
        perfilecmd[0] = '\0';

+#define kGetoptOptions "P:u:j:p:h:e:d:t:aRTr:vVf:o:ADzZEFbcCB:W:X:Y:I:"
        GetoptReset(&opt);
-       while ((c = Getopt(&opt, argc, argv,
"P:u:j:p:h:e:d:t:aRTr:vVf:ADzZEFbcCB:W:X:Y:I:")) > 0) {
+       while ((c = Getopt(&opt, argc, argv, kGetoptOptions)) > 0) {
                if (c == 'b') {
                        batchmode++;
                }
@@ -244,7 +245,7 @@

        if (batchmode > 0) {
                GetoptReset(&opt);
-               while ((c = Getopt(&opt, argc, argv,
"P:u:j:p:h:e:d:U:t:mar:RvVf:o:AT:S:EFcCyZzDbB:W:X:Y:I:")) > 0) switch(c) {
+               while ((c = Getopt(&opt, argc, argv, kGetoptOptions)) > 0)
switch(c) {
                        case 'v': case 'V': case 'A': case 'B': case 'T':
                        case 'd': case 'e': case 't': case 'r': case 'c':
                        case 'z': case 'Z': case 'C':
@@ -255,7 +256,7 @@
        }

        GetoptReset(&opt);
-       while ((c = Getopt(&opt, argc, argv,
"P:u:j:p:h:e:d:t:aRTr:vVf:o:ADzZEFbcCB:W:X:Y:I:")) > 0) switch(c) {
+       while ((c = Getopt(&opt, argc, argv, kGetoptOptions)) > 0) switch(c) {
                case 'P':
                case 'u':
                case 'j':
@@ -481,7 +482,7 @@
         * options to override those settings.
         */
        GetoptReset(&opt);
-       while ((c = Getopt(&opt, argc, argv,
"P:u:j:p:h:e:d:t:aRTr:vVf:o:ADzZEFbcCB:W:X:Y:I:")) > 0) switch(c) {
+       while ((c = Getopt(&opt, argc, argv, kGetoptOptions)) > 0) switch(c) {
                case 'P':
                        fi.port = atoi(opt.arg);        
                        break;
diff -Naur ORI/ncftp-3.2.4/sh_util/ncftpls.c NEW/ncftp-3.2.4/sh_util/ncftpls.c
--- ORI/ncftp-3.2.4/sh_util/ncftpls.c   2010-04-06 18:22:28.000000000 +0200
+++ NEW/ncftp-3.2.4/sh_util/ncftpls.c   2010-05-17 02:52:33.000000000 +0200
@@ -367,7 +367,8 @@
        es = kExitSuccess;

        GetoptReset(&opt);
-       while ((c = Getopt(&opt, argc, argv,
"1lRx:P:u:j:p:h:e:d:t:r:f:o:EFKW:X:Y:maCi:gI:Z")) > 0) switch(c) {
+#define kGetoptOptions "1lRx:P:u:j:p:h:e:d:t:r:f:o:EFKW:X:Y:maCi:gI:Z"
+       while ((c = Getopt(&opt, argc, argv, kGetoptOptions)) > 0) switch(c) {
                case 'P':
                case 'u':
                case 'j':
@@ -491,7 +492,7 @@
         * options to override those settings.
         */
        GetoptReset(&opt);
-       while ((c = Getopt(&opt, argc, argv,
"P:u:j:p:h:e:d:t:aRTr:vVf:o:ADzZEFbcCB:W:X:Y:I:")) > 0) switch(c) {
+       while ((c = Getopt(&opt, argc, argv, kGetoptOptions)) > 0) switch(c) {
                case 'P':
                        fi.port = atoi(opt.arg);        
                        break;
diff -Naur ORI/ncftp-3.2.4/sh_util/ncftpput.c
NEW/ncftp-3.2.4/sh_util/ncftpput.c
--- ORI/ncftp-3.2.4/sh_util/ncftpput.c  2010-04-06 18:18:29.000000000 +0200
+++ NEW/ncftp-3.2.4/sh_util/ncftpput.c  2010-05-17 02:58:02.000000000 +0200
@@ -238,7 +238,8 @@
        perfilecmd[0] = '\0';

        GetoptReset(&opt);
-       while ((c = Getopt(&opt, argc, argv,
"P:u:j:p:h:e:d:U:t:mar:RvVf:o:AT:S:EFcCyZzDbB:W:X:Y:I:")) > 0) {
+#define kGetoptOptions "P:u:j:p:h:e:d:U:t:mar:RvVf:o:AT:S:EFcCyZzDbB:W:X:Y:I:"
+       while ((c = Getopt(&opt, argc, argv, kGetoptOptions)) > 0) {
                if (c == 'b') {
                        batchmode++;
                }
@@ -246,7 +247,7 @@

        if (batchmode > 0) {
                GetoptReset(&opt);
-               while ((c = Getopt(&opt, argc, argv,
"P:u:j:p:h:e:d:U:t:mar:RvVf:AT:S:EFcCyZzDbB:W:X:Y:I:")) > 0) switch(c) {
+               while ((c = Getopt(&opt, argc, argv, kGetoptOptions)) > 0)
switch(c) {
                        case 'v': case 'V': case 'A': case 'B': case 'S':
                        case 'T': case 'd': case 'e': case 'U': case 't':
                        case 'm': case 'r': case 'c': case 'y': case 'z':
@@ -258,7 +259,7 @@
        }

        GetoptReset(&opt);
-       while ((c = Getopt(&opt, argc, argv,
"P:u:j:p:h:e:d:U:t:mar:RvVf:o:AT:S:EFcCyZzDbB:W:X:Y:I:")) > 0) switch(c) {
+       while ((c = Getopt(&opt, argc, argv, kGetoptOptions)) > 0) switch(c) {
                case 'P':
                case 'u':
                case 'j':
@@ -459,7 +460,7 @@
         * options to override those settings.
         */
        GetoptReset(&opt);
-       while ((c = Getopt(&opt, argc, argv,
"P:u:j:p:h:e:d:t:aRTr:vVf:o:ADzZEFbcCB:W:X:Y:I:")) > 0) switch(c) {
+       while ((c = Getopt(&opt, argc, argv, kGetoptOptions)) > 0) switch(c) {
                case 'P':
                        fi.port = atoi(opt.arg);        
                        break;

-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the SM-Grimoire-Bugs mailing list