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

Comment(by ddrake):

 Hrm, the output of "{{{tar tvf}}}" is not very consistent:

 On t2.math, GNU tar 1.17:
 {{{
 drwxr-xr-x mvngu/mvngu       0 2010-01-24 08:12 atlas-3.8.3.p11/
 drwxr-xr-x mvngu/mvngu       0 2009-06-21 18:31 atlas-3.8.3.p11/ATLAS-
 build/
 drwxr-xr-x mvngu/mvngu       0 2010-01-24 07:41 atlas-3.8.3.p11/patches/
 -rw-r--r-- mvngu/mvngu    8944 2009-01-01 19:41
 atlas-3.8.3.p11/patches/PM32SSE2.tgz
 }}}

 On bsd.math, BSD tar 2.6.2:
 {{{
 drwxr-xr-x  0 mvngu  mvngu       0 Jan 24 08:12 atlas-3.8.3.p11/
 drwxr-xr-x  0 mvngu  mvngu       0 Jun 21  2009 atlas-3.8.3.p11/ATLAS-
 build/
 drwxr-xr-x  0 mvngu  mvngu       0 Jan 24 07:41 atlas-3.8.3.p11/patches/
 -rw-r--r--  0 mvngu  mvngu    8944 Jan  1  2009
 atlas-3.8.3.p11/patches/PM32SSE2.tgz
 }}}

 On an Ubuntu 9.10 machine, GNU tar 1.22:
 {{{
 drwxr-xr-x mvngu/mvngu       0 2010-01-25 01:12 atlas-3.8.3.p11/
 drwxr-xr-x mvngu/mvngu       0 2009-06-22 10:31 atlas-3.8.3.p11/ATLAS-
 build/
 drwxr-xr-x mvngu/mvngu       0 2010-01-25 00:41 atlas-3.8.3.p11/patches/
 -rw-r--r-- mvngu/mvngu    8944 2009-01-02 12:41
 atlas-3.8.3.p11/patches/PM32SSE2.tgz
 }}}

 So I think we need to drop the "v" and just do "tf" (with a "j" if
 necessary for bzipped spkgs). This eliminates the file sizes and
 modification times from the checksum, but I think our test will still be
 pretty reliable, and I don't know a good way to normalize the verbose file
 listing. (For example, observe that tar is printing the file modification
 times using the local timezone -- my machine is UTC+9, and in January,
 bsd.math and t2.math are both UTC-8.)

 I'll try to upload a new patch shortly.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/329#comment:16>
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