Hello- I'm observing an especially odd checksum error when building print/html2ps. distfiles says: SHA1 (patch-aa) = 0666fe8aa37f141c44c51466b359a662d1e66090 SHA1 (patch-ab) = b541a724106572e2d82dfc9a73b3e11b22a9136b when sha1(1) says: $ sha1 patch-aa patch-ab SHA1 (patch-aa) = 53cba168456ec7e3587f37c078e77c70b48808b7 SHA1 (patch-ab) = 642f38c8d48177810056376c401ac5ccad1ad605 However, I noticed something especially confusing while trying to verify that the error is not on my end. I went to look at patch-aa on cvsweb, and copied the text of the patch file into the stdin of sha1. However, the entire buffer didn't copy into the terminal- only the first 36 lines or so- like so: $ sha1 $NetBSD: patch-aa,v 1.4 2006/05/26 18:19:15 wiz Exp $ --- install.orig 2005-03-03 12:25:29.000000000 +0000 +++ install ----8<---- snip ----8<---- -$def = $ans=~/^y/i; +$sharedir = "share"; -if($def) { - &getval($prefix, "$p If I hit Ctrl+D at _this_ point, the _same_ checksum is returned as when invoked on the file by name. It is my theory now that the checksum in distfiles is actually correct, and that the behavior of sha1 is actually at fault. I have observed this behavior on NetBSD 2.1 and 4.99.~15. I am totally miffed, though- any ideas what is going wrong? Can anyone else corroborate this problem? - Oliver
Attachment:
pgp2pyqCZxRre.pgp
Description: PGP signature