home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / unix / volume26 / kit / pch25 < prev    next >
Encoding:
Text File  |  1993-05-04  |  3.3 KB  |  117 lines

  1. Newsgroups: comp.sources.unix
  2. From: ram@acri.fr (Raphael Manfredi)
  3. Subject: v26i227: kit - the ultimate mailing kit, Patch25
  4. Sender: unix-sources-moderator@efficacy.home.vix.com
  5. Approved: WhoAmI@efficacy.home.vix.com
  6.  
  7. Submitted-By: ram@acri.fr (Raphael Manfredi)
  8. Posting-Number: Volume 26, Issue 227
  9. Archive-Name: kit/pch25
  10.  
  11. [The latest patch for kit version 2.0 is #28.]
  12.  
  13. System: kit version 2.0
  14. Patch #: 25
  15. Priority: HIGH
  16. Subject: forgot checks for archives with more than 10 parts
  17. Subject: kit's own shar removes ark*isdone for multipart archives
  18. Date: Wed Feb 10 15:29:07 PST 1993
  19. From: Raphael Manfredi <ram@eiffel.com>
  20.  
  21. Description:
  22.     Sanity checks for multipart archives could fail if using kit's own
  23.     shell archive builder, or when the archive had more than 10 parts.
  24.     Indeed, the 'rm' line scanned by the 'secure' script would be
  25.     incorrectly diagnosed as insecure in those cases.
  26.  
  27. Repeat-By:
  28.     Build a kit with more than 10 parts (for instance using a small
  29.     -S option) and then try to unkit it with perl secure checks.
  30.     It will miserably fail...
  31.  
  32. Fix:    From rn, say "| patch -p -N -d DIR", where DIR is your kit source
  33.     directory.  Outside of rn, say "cd DIR; patch -p -N <thisarticle".
  34.     If you don't have the patch program, apply the following by hand,
  35.     or get patch (version 2.0, latest patchlevel).
  36.  
  37.     After patching:
  38.         make clean
  39.         Configure -d
  40.         make
  41.         make install
  42.  
  43.     If patch indicates that patchlevel is the wrong version, you may need
  44.     to apply one or more previous patches, or the patch may already
  45.     have been applied.  See the patchlevel.h file to find out what has or
  46.     has not been applied.  In any event, don't continue with the patch.
  47.  
  48.     If you are missing previous patches they can be obtained from me:
  49.  
  50.         Raphael Manfredi <ram@eiffel.com>
  51.  
  52.     If you send a mail message of the following form it will greatly speed
  53.     processing:
  54.  
  55.         Subject: Command
  56.         @SH mailpatch PATH kit 2.0 LIST
  57.                ^ note the c
  58.  
  59.     where PATH is a return path FROM ME TO YOU either in Internet notation,
  60.     or in bang notation from some well-known host, and LIST is the number
  61.     of one or more patches you need, separated by spaces, commas, and/or
  62.     hyphens.  Saying 35- says everything from 35 to the end.
  63.  
  64.     To get some more detailed instructions, send me the following mail:
  65.  
  66.         Subject: Command
  67.         @SH mailhelp PATH
  68.  
  69.  
  70. Index: patchlevel.h
  71. Prereq: 24
  72. 2c2
  73. < #define PATCHLEVEL 24
  74. ---
  75. > #define PATCHLEVEL 25
  76.  
  77. Index: kit/secure
  78. Prereq: 2.0.1.1
  79. *** kit/secure.old    Wed Feb 10 15:29:04 1993
  80. --- kit/secure    Wed Feb 10 15:29:04 1993
  81. ***************
  82. *** 1,8 ****
  83.   #!/usr/bin/perl
  84.   
  85. ! # $Id: secure,v 2.0.1.1 93/02/08 18:12:21 ram Exp $
  86.   #
  87.   # $Log:    secure,v $
  88.   # Revision 2.0.1.1  93/02/08  18:12:21  ram
  89.   # patch24: created
  90.   # 
  91. --- 1,12 ----
  92.   #!/usr/bin/perl
  93.   
  94. ! # $Id: secure,v 2.0.1.2 93/02/10 15:29:00 ram Exp $
  95.   #
  96.   # $Log:    secure,v $
  97. + # Revision 2.0.1.2  93/02/10  15:29:00  ram
  98. + # patch25: forgot checks for archives with more than 10 parts
  99. + # patch25: kit's own shar removes ark*isdone for multipart archives
  100. + # 
  101.   # Revision 2.0.1.1  93/02/08  18:12:21  ram
  102.   # patch24: created
  103.   # 
  104. ***************
  105. *** 48,53 ****
  106. --- 52,59 ----
  107.           &error;
  108.       } elsif (s/^rm //) {
  109.           next if /^-f ark\[1-9\]isdone$/;
  110. +         next if /^-f ark\[1-9\]isdone ark\[1-9\]\[0-9\]isdone$/;
  111. +         next if /^-f ark\*isdone$/;
  112.           &error;
  113.       } elsif (s/^cp //) {
  114.           next if m|^/dev/null ark\d+isdone$|;
  115.  
  116. *** End of Patch 25 ***
  117.