#329: add md5sums for spkgs
---------------------------+------------------------------------------------
   Reporter:  was          |       Owner:  pdenapo     
       Type:  enhancement  |      Status:  needs_review
   Priority:  minor        |   Milestone:  sage-4.5.2  
  Component:  packages     |    Keywords:              
     Author:               |    Upstream:  N/A         
   Reviewer:               |      Merged:              
Work_issues:               |  
---------------------------+------------------------------------------------

Comment(by ddrake):

 For testing, naturally you need to start by applying
 attachment:trac_329_sage_scripts.patch.

 To create a .spkg with checksum information: take any existing .spkg file,
 and use the sage-add-integrity-check-to-spkg script:
 {{{
 sage-add-integrity-check-to-spkg foo.spkg
 }}}
 You needn't run that in a "Sage shell"; it only uses ordinary system-wide
 utilities. That will add the checksum information into the .spkg file.

 To test that the checksum information works, try installing
 http://sage.math.washington.edu/home/drake/trac329/pexpect-99.0.spkg which
 has correct checksum information. Then try
 http://sage.math.washington.edu/home/drake/trac329/pexpect-100.0.spkg
 which doesn't. (You'll see that I just put the word "bad" into the correct
 checksum.)

 Hopefully the suspicious version numbers prevent anyone from actually
 using those .spkg files (although they install a perfectly working version
 of pexpect).

 The installation should work for the "99" spkg and  fail for "100" spkg.
 Look for "Verifying integrity of ...pexpect-99.0.spkg..." lines.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/329#comment:24>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to