home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / misc / volume37 / ftpmail / patch02 < prev    next >
Encoding:
Text File  |  1993-05-15  |  5.0 KB  |  163 lines

  1. Newsgroups: comp.sources.misc
  2. From: lmjm@doc.ic.ac.uk (Lee M J McLoughlin)
  3. Subject: REPOST: v37i060:  ftpmail - Automatic Email to FTP Gateway, Patch02
  4. Message-ID: <1993May16.014306.20779@sparky.imd.sterling.com>
  5. X-Md4-Signature: 96c542ddba0846575f53ada1654fcadc
  6. Date: Sun, 16 May 1993 01:43:06 GMT
  7. Approved: kent@sparky.imd.sterling.com
  8.  
  9. Submitted-by: lmjm@doc.ic.ac.uk (Lee M J McLoughlin)
  10. Posting-number: Volume 37, Issue 60
  11. Archive-name: ftpmail/patch02
  12. Environment: UNIX, Perl, Sun, Dec, INET
  13. Patch-To: ftpmail: Volume 37, Issue 51-52
  14.  
  15. [ Moderator error - There is only one part to this posting. ]
  16. [ The specified Archive-name was incorrect.      -Kent+     ]
  17.  
  18. This patch to brings ftpmail to version 1.16.
  19.  
  20. The original sources required for patching are available in any of the
  21. comp.sources.misc archives.  ftpmail is archived at:
  22.  
  23.         src.doc.ic.ac.uk:packages/ftpmail/
  24.         grasp1.univ-lyon1.fr:pub/unix/mail/tools/ftpmail/
  25.         ftp.sterling.com:mail/ftpmail/
  26.  
  27. Ftpmail is an email->ftp gateway.  It is all writen in perl and sends 
  28. responses using either mail or by directly calling sendmail.  When using 
  29. sendmail MIME support is available.
  30.  
  31. ------------------------------------------
  32. diff -cr ../ftpmail-1.15/README ./README
  33. *** ../ftpmail-1.15/README    Sat May 15 20:26:59 1993
  34. --- ./README    Sat May 15 20:24:26 1993
  35. ***************
  36. *** 26,31 ****
  37. --- 26,32 ----
  38.   This packages is available from:
  39.       src.doc.ic.ac.uk:packages/ftpmail/
  40.       grasp1.univ-lyon1.fr:pub/unix/mail/tools/ftpmail/
  41. +         ftp.sterling.com:mail/ftpmail/
  42.   
  43.   
  44.   TO INSTALL
  45. diff -cr ../ftpmail-1.15/chat2.pl ./chat2.pl
  46. *** ../ftpmail-1.15/chat2.pl    Sat May 15 20:26:33 1993
  47. --- ./chat2.pl    Sat May 15 20:24:27 1993
  48. ***************
  49. *** 246,251 ****
  50. --- 246,255 ----
  51.                    select($rmask, undef, undef, $endtime - time);
  52.               if ($nfound) {
  53.                   $nread = sysread(S, $thisbuf, 1024);
  54. +                 if( $chat'debug ){
  55. +                     print STDERR "sysread $nread ";
  56. +                     print STDERR ">>$thisbuf<<\n";
  57. +                 }
  58.                   if ($nread > 0) {
  59.                       $S .= $thisbuf;
  60.                   } else {
  61. diff -cr ../ftpmail-1.15/dq.pl ./dq.pl
  62. *** ../ftpmail-1.15/dq.pl    Sat May 15 20:27:00 1993
  63. --- ./dq.pl    Sat May 15 20:24:29 1993
  64. ***************
  65. *** 7,14 ****
  66.   #  organisation can be held liable for any problems caused by the use or
  67.   #  storage of this package.
  68.   #
  69. ! # $Header: /a/swan/home/swan/staff/csg/lmjm/src/perl/mirror/ftpmail/RCS/dq.pl,v 1.17 1993/05/11 20:07:56 lmjm Exp lmjm $
  70.   # $Log: dq.pl,v $
  71.   # Revision 1.17  1993/05/11  20:07:56  lmjm
  72.   # Init right variable for btoa!
  73.   #
  74. --- 7,17 ----
  75.   #  organisation can be held liable for any problems caused by the use or
  76.   #  storage of this package.
  77.   #
  78. ! # $Header: /a/swan/home/swan/staff/csg/lmjm/src/perl/mirror/ftpmail/RCS/dq.pl,v 1.18 1993/05/13 21:23:03 lmjm Exp lmjm $
  79.   # $Log: dq.pl,v $
  80. + # Revision 1.18  1993/05/13  21:23:03  lmjm
  81. + # Change all atob to be btoa
  82. + #
  83.   # Revision 1.17  1993/05/11  20:07:56  lmjm
  84.   # Init right variable for btoa!
  85.   #
  86. ***************
  87. *** 451,457 ****
  88.           local( $f ) = '';
  89.           $f .= 'c' if $compress_it;
  90.           $f .= 'g' if $gzip_it;
  91. !         $f .= 'a' if $atob_it;
  92.           $f .= 'u' if $uuencode_it;
  93.           $f .= 'm' if $mime_it;
  94.           $f .= 'F' if $force;
  95. --- 454,460 ----
  96.           local( $f ) = '';
  97.           $f .= 'c' if $compress_it;
  98.           $f .= 'g' if $gzip_it;
  99. !         $f .= 'a' if $btoa_it;
  100.           $f .= 'u' if $uuencode_it;
  101.           $f .= 'm' if $mime_it;
  102.           $f .= 'F' if $force;
  103. ***************
  104. *** 470,476 ****
  105.           local( $f ) = $filters[ $cmdno ];
  106.           $compress_it = ($f =~ /c/);
  107.           $gzip_it = ($f =~ /g/);
  108. !         $atob_it = ($f =~ /a/);
  109.           $uuencode_it = ($f =~ /u/);
  110.           $mime_it = ($f =~ /m/);
  111.           $force_it = ($f =~ /F/);
  112. --- 473,479 ----
  113.           local( $f ) = $filters[ $cmdno ];
  114.           $compress_it = ($f =~ /c/);
  115.           $gzip_it = ($f =~ /g/);
  116. !         $btoa_it = ($f =~ /a/);
  117.           $uuencode_it = ($f =~ /u/);
  118.           $mime_it = ($f =~ /m/);
  119.           $force_it = ($f =~ /F/);
  120. diff -cr ../ftpmail-1.15/q.pl ./q.pl
  121. *** ../ftpmail-1.15/q.pl    Sat May 15 20:27:00 1993
  122. --- ./q.pl    Sat May 15 20:24:30 1993
  123. ***************
  124. *** 7,14 ****
  125.   #  organisation can be held liable for any problems caused by the use or
  126.   #  storage of this package.
  127.   #
  128. ! # $Header: /a/swan/home/swan/staff/csg/lmjm/src/perl/mirror/ftpmail/RCS/q.pl,v 1.15 1993/05/12 11:14:50 lmjm Exp lmjm $
  129.   # $Log: q.pl,v $
  130.   # Revision 1.15  1993/05/12  11:14:50  lmjm
  131.   # Upgraded support.pl
  132.   #
  133. --- 7,17 ----
  134.   #  organisation can be held liable for any problems caused by the use or
  135.   #  storage of this package.
  136.   #
  137. ! # $Header: /a/swan/home/swan/staff/csg/lmjm/src/perl/mirror/ftpmail/RCS/q.pl,v 1.16 1993/05/13 21:23:35 lmjm Exp lmjm $
  138.   # $Log: q.pl,v $
  139. + # Revision 1.16  1993/05/13  21:23:35  lmjm
  140. + # Corrected btoa_it use in dq.pl
  141. + #
  142.   # Revision 1.15  1993/05/12  11:14:50  lmjm
  143.   # Upgraded support.pl
  144.   #
  145. ***************
  146. *** 72,78 ****
  147.   
  148.   $ftpmail = 'ftpmail';
  149.   
  150. ! $Revision = '$Revision: 1.15 $';
  151.   
  152.   if( $test ){
  153.       $ftpmail_dir = '/tmp/ftpmail-test';
  154. --- 75,81 ----
  155.   
  156.   $ftpmail = 'ftpmail';
  157.   
  158. ! $Revision = '$Revision: 1.16 $';
  159.   
  160.   if( $test ){
  161.       $ftpmail_dir = '/tmp/ftpmail-test';
  162. exit 0 # Just in case...
  163.