Group :: Development/Perl
RPM: perl-String-Compare-ConstantTime
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define module_name String-Compare-ConstantTime
# BEGIN SourceDeps(oneline):
BuildRequires: perl(Exporter.pm) perl(ExtUtils/MakeMaker.pm) perl(XSLoader.pm) perl(base.pm)
# END SourceDeps(oneline)
BuildRequires: rpm-build-perl perl-devel perl-podlators
Name: perl-%module_name
Version: 0.320
Release: alt1
Summary: Timing side-channel protected string compare
Group: Development/Perl
License: perl
Url: %CPAN %module_name
Source0: http://www.cpan.org/authors/id/F/FR/FRACTAL/%{module_name}-%{version}.tar.gz
%description
This module provides one function, `equals' (not exported by default).
You should pass this function two strings of the same length. Just like perl's `eq', it will return true if they are string-wise identical and 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 different, `equals' will return false right away.
%prep
%setup -q -n %{module_name}-%{version}
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc README COPYING Changes
%perl_vendor_archlib/S*
%perl_vendor_autolib/*
%changelog
…
Full changelog you can see here
%define module_name String-Compare-ConstantTime
# BEGIN SourceDeps(oneline):
BuildRequires: perl(Exporter.pm) perl(ExtUtils/MakeMaker.pm) perl(XSLoader.pm) perl(base.pm)
# END SourceDeps(oneline)
BuildRequires: rpm-build-perl perl-devel perl-podlators
Name: perl-%module_name
Version: 0.320
Release: alt1
Summary: Timing side-channel protected string compare
Group: Development/Perl
License: perl
Url: %CPAN %module_name
Source0: http://www.cpan.org/authors/id/F/FR/FRACTAL/%{module_name}-%{version}.tar.gz
%description
This module provides one function, `equals' (not exported by default).
You should pass this function two strings of the same length. Just like perl's `eq', it will return true if they are string-wise identical and 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 different, `equals' will return false right away.
%prep
%setup -q -n %{module_name}-%{version}
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc README COPYING Changes
%perl_vendor_archlib/S*
%perl_vendor_autolib/*
%changelog
…
Full changelog you can see here