Accepting request 710451 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/710451 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-String-Compare-ConstantTime?expand=0&rev=4
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:fc4f73e81514095e445c96aedb76600c6365153dc54cd8711844a21e636d1952
|
|
||||||
size 6243
|
|
3
String-Compare-ConstantTime-0.321.tar.gz
Normal file
3
String-Compare-ConstantTime-0.321.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0b26ba2b121d8004425d4485d1d46f59001c83763aa26624dff6220d7735d7f7
|
||||||
|
size 6543
|
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 18 05:29:21 UTC 2019 - Stephan Kulow <coolo@please-enter-an-email-address>
|
||||||
|
|
||||||
|
- updated to 0.321
|
||||||
|
see /usr/share/doc/packages/perl-String-Compare-ConstantTime/Changes
|
||||||
|
|
||||||
|
0.321 2019-06-17
|
||||||
|
* Remove unnecessary sv_len_utf8 calls (thanks David Golden)
|
||||||
|
* Test and document mixed UTF-8 flag comparison (thanks David Golden)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 24 05:51:48 UTC 2018 - coolo@suse.com
|
Tue Apr 24 05:51:48 UTC 2018 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-String-Compare-ConstantTime
|
# spec file for package perl-String-Compare-ConstantTime
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,18 +12,18 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-String-Compare-ConstantTime
|
Name: perl-String-Compare-ConstantTime
|
||||||
Version: 0.320
|
Version: 0.321
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name String-Compare-ConstantTime
|
%define cpan_name String-Compare-ConstantTime
|
||||||
Summary: Timing side-channel protected string compare
|
Summary: Timing side-channel protected string compare
|
||||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/String-Compare-ConstantTime/
|
Url: https://metacpan.org/release/%{cpan_name}
|
||||||
Source0: https://cpan.metacpan.org/authors/id/F/FR/FRACTAL/%{cpan_name}-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/F/FR/FRACTAL/%{cpan_name}-%{version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@@ -40,15 +40,20 @@ false otherwise. However, comparing any two differing strings of the same
|
|||||||
length will take a fixed amount of time. If the lengths of the strings are
|
length will take a fixed amount of time. If the lengths of the strings are
|
||||||
different, 'equals' will return false right away.
|
different, 'equals' will return false right away.
|
||||||
|
|
||||||
|
*NOTE*: This does byte-wise comparison of the underlying string storage,
|
||||||
|
meaning that comparing strings with non-ASCII data with different states of
|
||||||
|
the internal UTF-8 flag is not reliable. You should always encode your data
|
||||||
|
to bytes before comparing.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
%{__make} %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
|
Reference in New Issue
Block a user