Compare commits
10 Commits
be578cc3b2
...
b2d105544a
Author | SHA256 | Date | |
---|---|---|---|
b2d105544a | |||
8c680c1f02 | |||
fbc387a599 | |||
|
7e67444506 | ||
82d5dbe686 | |||
|
53dee4f7fb | ||
|
3e23271733 | ||
|
6c198cc69e | ||
|
1548562cb4 | ||
|
b2e775486c |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f93affae348a8190516e255005b5747be764cb0696936b2d539fa53a23017255
|
||||
size 43638
|
3
Digest-SHA-6.04.tar.gz
Normal file
3
Digest-SHA-6.04.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ee91f8f7db894ee7c6ee003daac10a99056c4948a674ef46acdbb63c81a4abeb
|
||||
size 46428
|
22
cpanspec.yml
Normal file
22
cpanspec.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
description_paragraphs: 2
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
post_prep: |-
|
||||
find . -type f -print0 | xargs -0 -n1 sed -e 's,^#!perl,#!/usr/bin/perl,' -i
|
||||
post_install: |-
|
||||
mv %{buildroot}%{_mandir}/man1/shasum.1{,.cpan}
|
||||
mv %{buildroot}%{_bindir}/shasum{,.cpan}
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: -
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,220 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 26 03:06:12 UTC 2023 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 6.04
|
||||
see /usr/share/doc/packages/perl-Digest-SHA/Changes
|
||||
|
||||
6.04 Sat Feb 25 12:00:50 PM MST 2023
|
||||
- modified SHA_INIT/sharewind to silence warnings from gcc 12
|
||||
-- resolves rt.cpan.org #146585
|
||||
-- thanks to Yves (yves@cpan.org) for patch,
|
||||
amended slightly to preserve style
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 9 03:07:18 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 6.03
|
||||
see /usr/share/doc/packages/perl-Digest-SHA/Changes
|
||||
|
||||
6.03 Mon 08 Aug 2022 11:30:32 AM MST
|
||||
- corrected addfile to report error when stdin is a directory
|
||||
-- ref. rt.cpan.org #143899
|
||||
-- thanks to Gregor Herrmann for pointing this out
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 22 05:17:34 UTC 2018 - coolo@suse.com
|
||||
|
||||
- updated to 6.02
|
||||
see /usr/share/doc/packages/perl-Digest-SHA/Changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 26 06:17:51 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 6.01
|
||||
see /usr/share/doc/packages/perl-Digest-SHA/Changes
|
||||
|
||||
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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 10 06:16:46 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 6.00
|
||||
see /usr/share/doc/packages/perl-Digest-SHA/Changes
|
||||
|
||||
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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 8 08:06:10 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 5.98
|
||||
see /usr/share/doc/packages/perl-Digest-SHA/Changes
|
||||
|
||||
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
|
||||
-- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 7 05:22:48 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 5.97
|
||||
see /usr/share/doc/packages/perl-Digest-SHA/Changes
|
||||
|
||||
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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 29 05:16:47 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 5.96
|
||||
see /usr/share/doc/packages/perl-Digest-SHA/Changes
|
||||
|
||||
5.96 Wed Jul 27 20:04:34 MST 2016
|
||||
- prevented shasum from possibly running malicious code
|
||||
-- remove '.' from @INC before module loading
|
||||
-- ref. rt.cpan.org #116513
|
||||
- namespace cleanup (ref. rt.cpan.org #105371 and #105372)
|
||||
- minor code and documentation tweaks
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 22 05:16:41 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 5.95
|
||||
see /usr/share/doc/packages/perl-Digest-SHA/Changes
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
5.88 Mon Mar 17 08:46:10 MST 2014
|
||||
- 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 must act on filenames for early Perls (< 5.6)
|
||||
- added -M and -V options to shasum
|
||||
-- undocumented: for development and testing use only
|
||||
|
||||
5.87 Mon Feb 17 16:42:02 MST 2014
|
||||
- simplified capture of intermediate SHA states
|
||||
-- can now be done via strings (ref. getstate/putstate)
|
||||
-- substantially reduces size of src/sha.c
|
||||
- tightened code in SHA.xs
|
||||
-- added sv_isa checks when invoking methods
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 1 14:31:22 UTC 2013 - lars@linux-schulserver.de
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Digest-SHA
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,43 +12,44 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define cpan_name Digest-SHA
|
||||
Name: perl-Digest-SHA
|
||||
Version: 5.82
|
||||
Version: 6.40.0
|
||||
Release: 0
|
||||
%define cpan_name Digest-SHA
|
||||
# 6.04 -> normalize -> 6.40.0
|
||||
%define cpan_version 6.04
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Perl extension for SHA-1/224/256/384/512
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Digest-SHA/
|
||||
Source: http://www.cpan.org/authors/id/M/MS/MSHELOR/%{cpan_name}-%{version}.tar.gz
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/M/MS/MSHELOR/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Digest::SHA is written in C for speed. If your platform lacks a C compiler,
|
||||
you can install the functionally equivalent (but much slower) the
|
||||
Digest::SHA::PurePerl manpage module.
|
||||
you can install the functionally equivalent (but much slower)
|
||||
Digest::SHA::PurePerl module.
|
||||
|
||||
The programming interface is easy to use: it's the same one found in CPAN's
|
||||
the Digest manpage module. So, if your applications currently use the
|
||||
Digest::MD5 manpage and you'd prefer the stronger security of SHA, it's a
|
||||
simple matter to convert them.
|
||||
Digest module. So, if your applications currently use Digest::MD5 and you'd
|
||||
prefer the stronger security of SHA, it's a simple matter to convert them.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
# MANUAL
|
||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||
|
||||
# MANUAL BEGIN
|
||||
find . -type f -print0 | xargs -0 -n1 sed -e 's,^#!perl,#!/usr/bin/perl,' -i
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
# MANUAL END
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
@@ -56,10 +57,13 @@ make test
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
# MANUAL BEGIN
|
||||
mv %{buildroot}%{_mandir}/man1/shasum.1{,.cpan}
|
||||
mv %{buildroot}%{_bindir}/shasum{,.cpan}
|
||||
# MANUAL END
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes examples README shasum
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user