summaryrefslogtreecommitdiff
path: root/cpan/Digest-SHA
Commit message (Collapse)AuthorAgeFilesLines
* cpan/Digest-SHA - sync to 6.04Yves Orton2023-02-266-30/+27
| | | | Updated to build without warnings on gcc-12.
* Digest-SHA: Sync with CPAN version 6.03Mark Shelor2022-08-106-21/+31
| | | | | | | | | | | | | | | | | From Changes: 6.03 - corrected addfile to report error when stdin is a directory -- ref. rt.cpan.org #143899 -- thanks to Gregor Herrmann for pointing this out 6.02 - silenced compiler warnings from VS2017 -- ref. rt.cpan.org #124477 -- thanks to Sergey Aleynikov for diagnostics - modified addfile to return error when given a directory name -- makes behavior consistent with GNU coreutils shaXsum -- thanks to Scott Baker for pointing this out Committer: Add new upstream maintainer to AUTHORS
* add gitignore exclusions for files in gitGraham Knop2020-11-231-0/+2
| | | | | | | | There are a number of files excluded using gitignore rules that are included in the repository. This can lead to confusion if something other than git tries to read the ignore files. Add rules to the gitignore files so that these files won't be ignored.
* Upgrade Digest::SHA from version 6.01 to 6.02Steve Hay2018-07-037-29/+31
|
* Update Digest-SHA to CPAN version 6.01Chris 'BinGOs' Williams2017-12-256-30/+49
| | | | | | | | | | | | | [DELTA] 6.01 Mon Dec 25 00:08:08 MST 2017 - added "--ignore-missing" and "--strict" options to shasum -- consistent with GNU coreutils -- ref. rt.cpan.org #123897 - removed PERL_CORE preambles from test scripts -- preambles no longer needed for core testing -- thanks to Chris Williams for patch -- ref. rt.cpan.org #123863
* Customisations for Digest-SHA testsChris 'BinGOs' Williams2017-12-1823-161/+0
|
* Update Digest-SHA to CPAN version 6.00Chris 'BinGOs' Williams2017-12-1830-315/+178
| | | | | | | | | | | | | | | [DELTA] 6.00 Fri Dec 8 22:44:44 MST 2017 - added "tag" option (BSD-style checksums) to shasum -- consistent with GNU sha1sum, sha224sum, etc. -- thanks to Christopher Tubbs for suggestion - modified SHA.pm to use XSLoader -- falls back to DynaLoader if necessary - decoupled Digest::SHA and Digest::SHA::PurePerl -- scripts/tests in each module now fully independent -- Digest::SHA::PurePerl to be phased out eventually -- past versions will remain available
* Update Digest-SHA to CPAN version 5.98Chris 'BinGOs' Williams2017-10-057-121/+38
| | | | | | | | | | | | | | | [DELTA] 5.98 Wed Oct 4 00:40:02 MST 2017 - removed "portable" mode from shasum and addfile -- rarely used, mostly in outdated systems -- potentially confusing features (e.g. \r\r\n -> \n) -- Universal Newlines mode (-U) a much cleaner approach -- mimics Universal Newlines in Python - shasum now uses Digest::SHA explicitly -- no longer loads Digest::SHA::PurePerl as an option -- hence no need for -R switch -- Digest::SHA::PurePerl has its own shasum: shasumpp
* Update Digest-SHA to CPAN version 5.97Chris 'BinGOs' Williams2017-09-226-25/+34
| | | | | | | | | | | [DELTA] 5.97 Wed Sep 6 02:23:02 MST 2017 - added 'quiet' option to shasum -- thanks to Chris David for suggestion and initial patch -- ref. rt.cpan.org #122750 - expanded shasum --help message -- to explain use of escaped FILE names
* Upgrade Digest-SHA from version 5.95 to 5.96Steve Hay2016-08-096-24/+25
|
* (perl #127834) bump versions of modules in dists we updated a utility inTony Cook2016-07-261-1/+1
| | | | | | I tried to follow the numbering convention of the module, bumping every module if the versions are synchronized, bumping just the primary module if not.
* (perl #127834) remove . from the end of @INC if complex modules are loadedTony Cook2016-07-261-0/+1
| | | | | | | While currently Encode and Storable are know to attempt to load modules not included in the core, updates to other modules may lead to those also attempting to load new modules, so be safe and remove . for those as well.
* Update Digest-SHA to CPAN version 5.95Chris 'BinGOs' Williams2015-01-128-27/+41
| | | | | | | | [DELTA] 5.95 Sat Jan 10 12:15:36 MST 2015 - modified the bit-ordering test (ref. t/bitorder.t) -- supplied directory-change preamble for CORE builds
* Update Digest-SHA to CPAN version 5.94Chris 'BinGOs' Williams2015-01-109-75/+84
| | | | | | | | | | | | | | [DELTA] 5.94 Sat Jan 10 00:45:28 MST 2015 - added support for threaded builds -- PERL_GET_NO_CONTEXT, pTHX_, aTHX_, etc. -- employed 'const' storage class where possible -- ref. rt.cpan.org #101260 - simplified shabits() routine (bitwise input buffering) -- slightly less efficient but easier to understand -- ref. rt.cpan.org #101344 - minor documentation tweaks and additions
* Update Digest-SHA to CPAN version 5.93Chris 'BinGOs' Williams2014-10-279-51/+65
| | | | | | | | | | | [DELTA] 5.93 Sun Oct 26 06:00:48 MST 2014 - corrected alignment problem in SHA struct (src/sha.h) -- thanks to H. Merijn Brand and J. Hietaniemi for analysis and suggested patch - provided workaround in t/methods.t for unreliable -T test -- Some Perl 5.8's mistake text for binary
* Digest::SHA HP-UX hints file is not helping the t/woodbury.t crash.Jarkko Hietaniemi2014-10-181-16/+0
| | | | | | (For which it is was created.) Neither is it in the Digest::SHA CPAN version.
* Add new Digest-SHA file missed by 207902b174, and note a CUSTOMIZED fileSteve Hay2014-09-161-0/+100
|
* Drop debugging, and handle HP-UX opt flags.Jarkko Hietaniemi2014-06-241-2/+1
|
* Further hpux hints simplifying suggested by H.Merijn.Jarkko Hietaniemi2014-06-241-16/+8
|
* HP-UX release wider match; also drop gcc opt level.Jarkko Hietaniemi2014-06-241-9/+19
|
* Note the open RT ticket.Jarkko Hietaniemi2014-06-191-0/+3
|
* Disable ODBM (via i_dbm) in HP-UX, seems to be buggy.Jarkko Hietaniemi2014-06-191-1/+0
|
* Lower the optimization on Digest-SHA for HP-UX cc.Jarkko Hietaniemi2014-06-191-0/+13
| | | | Upstream, but we are adding a platform specific hints file.
* Update Digest-SHA to CPAN version 5.92Chris 'BinGOs' Williams2014-06-0112-360/+476
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [DELTA] 5.92 Sun Jun 1 00:15:44 MST 2014 - fixed reserved-word clash when compiling with C++ -- use 'classname' instead of 'class' -- ref. SHA.xs (rt.cpan.org #96090) - silenced MSC compiler warning about signed/unsigned comparison -- ref. SHA.xs (rt.cpan.org #95830) 5.91 Fri May 16 10:21:44 MST 2014 - restored original 'addfile' for use on opened file handles -- allows callbacks in place of actual files -- ref. IO::Callback (rt.cpan.org #95643) - re-established inheritance from Digest::base -- to pick up future Digest enhancements automatically - cleaned up documentation 5.90 Wed May 7 07:57:08 MST 2014 - consolidated all dynamic memory allocation into XSUBs -- streamlines referencing of SHA objects -- simplifies DESTROYing of objects - enhanced Makefile.PL to allow 'use warnings' -- automatically reverts to $^W for early Perls - scrubbed C and Perl code to remove all compiler warnings 5.89 Sat Apr 19 05:14:48 MST 2014 - added universal newlines mode ("U") to addfile and shasum -- based on Python Universal Newlines concept -- newlines identical across MacOS, DOS, and UNIX -- will deprecate portable mode ("p") in future -- "U" mode is cleaner and more efficient - enhanced performance -- reduced number of dynamic memory allocations -- sped up addfile method with use of C code -- ref. SHA.xs (_addfilebin and _addfileuniv) - eliminated experimental -M option in favor of new -R option -- reverses order of digest module preference -- undocumented: for test and development use only - sealed memory leak in SHA.xs -- arose only with SvPVbyte exceptions during eval - patched inheritence bug (ref: rt.cpan.org #94830) -- use sv_isobject/sv_derived_from instead of sv_isa - added 'allocated' flag to SHA structure (ref. src/sha.h) -- to guard against Perl double frees
* Revert "Upgrade Digest::SHA from version 5.88 to 5.91"Karl Williamson2014-05-2813-575/+359
| | | | | | This reverts commit d3013bbfc3b14e06bdc794c44d15e95024343369, because it is breaking blead compiles of C++ because it is using 'class' as a formal parameter, and that is a reserved word in C++
* Upgrade Digest::SHA from version 5.88 to 5.91Steve Hay2014-05-2813-359/+575
|
* Upgrade Digest-SHA from 5.87 to 5.88Aaron Crane2014-03-187-53/+99
| | | | | | | | | | | | | [DELTA] - added OUTPUT clause in SHA.xs to silence compiler warning -- ref. shaclose() - changed text file test (-T) to act on filehandles -- ref. addfile portable mode -- improves consistency when reading from STDIN -- still acts on filenames for early Perls (< 5.6) - added -M and -V options to shasum -- undocumented: for development and testing use only
* Upgrade Digest-SHA from 5.86 to 5.87Steve Hay2014-02-189-366/+277
|
* Update Digest-SHA to CPAN version 5.86Chris 'BinGOs' Williams2014-01-304-21/+30
| | | | | | | | | [DELTA] 5.86 Thu Jan 30 08:24:28 MST 2014 - improved the performance of hexadecimal output functions -- ref. 'shahex' in src/sha.c -- thanks to Thomas Drugeon for ideas and test script
* Remove all IGNORABLE files under cpan/Steve Hay2013-10-182-582/+0
| | | | | | | | | | | | | | | | This was discussed on p5p: http://www.nntp.perl.org/group/perl.perl5.porters/2013/10/msg208635.html One LICENSE file (Locale-Codes) has been removed (contrary to one suggestion in that thread) since it was the only one, and only says "This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself." anyway. Two files that I had previously suggested retaining for the sake of tests have also been removed. In one case, a test script has been modified (in Digest-MD5; I will send a ticket upstream); in the other case (in Test-Harness) I have removed the test which depended on the MANIFEST files, as suggested in the above thread.
* Update Digest-SHA to CPAN version 5.85Chris 'BinGOs' Williams2013-06-267-12/+22
| | | | | | | | | | | [DELTA] 5.85 Wed Jun 26 04:05:26 MST 2013 - workaround for repeated calls to shaclose (ref. Bug #86295) -- need to explicitly reset internal pointer to NULL ref. shaclose() in SHA.xs - corrected typos in shasum script -- ref. Bug #85430
* Update Digest-SHA to CPAN version 5.84Chris 'BinGOs' Williams2013-03-107-15/+15
| | | | | | | | | | [DELTA] 5.84  Sat Mar  9 17:36:08 MST 2013     - untweaked Makefile.PL to remove dependencies of SHA.c         -- dependencies were breaking builds on VMS         -- retaining dependencies provides too little benefit             for cost of portable workaround
* Portability fix for new Digest::SHA Makefile.PL.Craig A. Berry2013-03-061-2/+3
| | | | | | | | | Non-native file specifications don't play nice with native make utilities. Without this, the build on VMS is broken. Submitted upstream at: https://rt.cpan.org/Ticket/Display.html?id=83800
* Update Digest-SHA to CPAN version 5.83Chris 'BinGOs' Williams2013-03-0512-384/+149
| | | | | | | | | | | | [DELTA] 5.83 Mon Mar 4 08:12:00 MST 2013 - removed code for standalone C operation (no longer used) -- eliminates need for external symbols -- consolidates SHA and HMAC code -- reduces size of object files -- thanks to Marc Lehmann for suggestions - tweaked Makefile.PL to show dependencies of SHA.c
* Update Digest-SHA to CPAN version 5.82Chris 'BinGOs' Williams2013-01-2412-67/+131
| | | | | | | | | | | | | | | | | | | | | [DELTA] 5.82 Thu Jan 24 04:54:12 MST 2013 - introduced workaround to SvPVbyte bug in Perl 5.6 -- module behavior now consistent under all Perls 5.6+ -- ref: new test script t/unicode.t -- SHA routines now always croak on wide chars (5.6+) - removed "static" message schedules from C code -- default "auto" is now just as fast -- thread-safe option (-t) no longer necessary -- still allowed, but ignored -- simplifies source and header files -- eliminates SHA_STO_CLASS and SHA_THREAD_SAFE -- ref. Bug #82784 -- thanks to Steve Hay for initial patch - provided documentation to describe Unicode handling -- ref: Bug #82378 - updated documentation of NIST statement on SHA-1
* Update Digest-SHA to CPAN version 5.81Chris 'BinGOs' Williams2013-01-158-18/+27
| | | | | | | | | | [DELTA] 5.81 Mon Jan 14 05:17:08 MST 2013 - corrected load subroutine (SHA.pm) to prevent double-free -- Bug #82655: Security issue - segfault -- thanks to Victor Efimov and Nicholas Clark for technical expertise and suggestions
* Update Digest-SHA to CPAN version 5.80Chris 'BinGOs' Williams2012-12-119-14/+25
| | | | | | | | | [DELTA] 5.80 Mon Dec 10 14:15:26 MST 2012 - obtained noticeable speedup on Intel/gcc -- by setting -O1 and -fomit-frame-pointer -- SHA-1 about 63% faster, SHA-2 improves 11-20%
* Update Digest-SHA to CPAN version 5.74Chris 'BinGOs' Williams2012-11-259-17/+26
| | | | | | | | | [DELTA] 5.74 Sat Nov 24 03:10:18 MST 2012 - handle wide-string input by converting to bytes first -- viz. use SvPVbyte instead of SvPV in SHA.xs -- thanks to Eric Brine for summary and code
* Update Digest-SHA to CPAN version 5.73Chris 'BinGOs' Williams2012-11-049-15/+18
| | | | | | | [DELTA] 5.73 Wed Oct 31 04:32:44 MST 2012 - provided workaround for DEC compiler bug (ref. Makefile.PL)
* Workaround for VAX compiler optimizer bug in Digest::SHA.Craig A. Berry2012-10-272-3/+15
| | | | | | | | | This was [perl #85932] and has been forwarded upstream as [rt.cpan.org #80157]. The code is a near-verbatim copy of how the same problem has been solved in Digest::MD5 since 2001. After this change, the core build is now working again (slowly!) on OpenVMS VAX.
* Update Digest-SHA to CPAN version 5.72Chris 'BinGOs' Williams2012-09-259-14/+20
| | | | | | | | | | [DELTA] 5.72 Mon Sep 24 15:22:08 MST 2012 - adjusted module installation directory for later Perls -- As of 5.11 Perl searches 'site' first, so use that -- ref. INSTALLDIRS in Makefile.PL -- thanks to Robert Sedlacek for patch
* Upgrade Digest-SHA to 5.71.Abigail2012-03-1314-32/+46
|
* Update Digest-SHA to CPAN version 5.70Chris 'BinGOs' Williams2011-12-149-36/+83
| | | | | | | | | | [DELTA] 5.70 Wed Dec 14 02:32:10 MST 2011 - added BITS mode to addfile method and shasum -- partial-byte inputs now possible via files/STDIN -- allows shasum to check all 8074 NIST Msg vectors -- previously required special programming
* Update Digest-SHA to CPAN version 5.63Chris 'BinGOs' Williams2011-11-0913-21/+40
| | | | | | | | | | | | | [DELTA] 5.63 Tue Nov 8 02:36:42 MST 2011 - added code to allow very large data inputs all at once -- previously limited to several hundred MB at a time -- many thanks to Thomas Drugeon for his elegant patch - removed outdated reference URLs from several test scripts -- these URLs aren't essential, and often go stale -- thanks to Leon Brocard for spotting this -- ref. rt.cpan.org #68740
* Updated Digest-SHA to CPAN version 5.62Chris 'BinGOs' Williams2011-06-098-21/+22
| | | | | | | | [DELTA] 5.62 Sat May 14 04:00:34 MST 2011 - removed unnecessary loading of MIME::Base64 module -- thanks to dolmen for pointing this out
* Update Digest-SHA to CPAN version 5.61Chris 'BinGOs' Williams2011-03-0911-28/+45
| | | | | | | | | 5.61 Wed Mar 9 05:26:36 MST 2011 - corrected bug in 'algorithm' method - fixed -x option in Makefile.PL -- not often used since it deliberately excludes all 64-bit SHA transforms - addressed minor documentation oversights
* Update Digest-SHA to CPAN version 5.60Chris 'BinGOs' Williams2011-03-0312-133/+246
| | | | | | | | | | | [DELTA] 5.60 Thu Mar 3 05:26:42 MST 2011 - added new SHA-512/224 and SHA-512/256 transforms -- ref. NIST Draft FIPS 180-4 (February 2011) - simplified shasum by removing duplicative text - improved efficiency of Addfile -- expensive -T test now occurs only in portable mode
* Update Digest-SHA to CPAN version 5.50Chris 'BinGOs' Williams2010-12-148-28/+31
| | | | | | | | | | | [DELTA] 5.50 Tue Dec 14 06:20:08 MST 2010 - adopted convention that '-' always means STDIN -- actual filename '-' accessed as './-' -- accords with behavior of sha1sum/md5sum - corrected undefined subroutine oversight in shasum -- inadvertent migration of _bail() from SHA.pm
* Update Digest-SHA to CPAN version 5.49Chris 'BinGOs' Williams2010-12-128-67/+123
| | | | | | | | | | | | | [DELTA] 5.49 Sun Dec 12 07:22:04 MST 2010 - modified Addfile to accept all POSIX filenames -- standard allows all characters except NUL and '/' - updated shasum to more closely mimic sha1sum/md5sum -- added "backslash processing" to handle newlines and backslashes in filenames -- now accepts all POSIX filenames via Addfile -- thanks to Sean Burke for identifying edge cases
* Global executable bit cleanupDavid Golden2010-07-241-0/+0
| | | | | | | | | | | | | | | | | | | | When porting/makerel runs, all files copied into the directory for the tarball have the executable bit stripped and then only a specific set of files have the executable bit restored. There are many files in the repo that have the executable bit set in the repo that will be stripped. So that the state of files in the repo is as close as possible to the state of files in the release tarball, the executable bit has been stripped from such files. In one recent case, a file added from a dual-life module needed the executable bit set. Because it had the bit in the repo but was not listed in makerel to get an executable bit, tests using it passed in the repo and failed in the tarball. This commit refactors the list into a new file, Porting/exec-bit.txt and add tests to detect a mismatch between files listed there and actual executable bits in the repo.