Files
perl-Crypt-OpenSSL-AES/perl-Crypt-OpenSSL-AES.spec

77 lines
2.4 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package perl-Crypt-OpenSSL-AES
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name Crypt-OpenSSL-AES
Name: perl-Crypt-OpenSSL-AES
Version: 0.210.0
Release: 0
# 0.21 -> normalize -> 0.210.0
%define cpan_version 0.21
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Perl wrapper around OpenSSL's AES library
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/T/TI/TIMLEGGE/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
2025-08-12 18:12:50 +02:00
Source100: README.md
BuildRequires: perl
BuildRequires: perl-macros
Accepting request 1118078 from devel:languages:perl:autoupdate - updated to 0.17 see /usr/share/doc/packages/perl-Crypt-OpenSSL-AES/Changes 0.17 -- [Detailed Change Log] - 4573a62 Increment version for release - 5388652 Fix CTR Tests for old OpenSSL - 175a751 v0.16 [Fix Change Log for 0.16] Forgot to rebase the git repo - a2c0878 Fix test issue lt versus le for OpenSSL versions - adfe1ee Increment version for release - 654f7f6 Output OpenSSL version during test - fbc824c Fixes RT issues 141491 and 149909 - 87e4922 v0.15 0.16 -- [Significant updates since 0.15] Fixes a couple of vexing build issues on some MacOS environments where the module would be built against OpenSSLv3 but linked to OpenSSLv1. Fix is a Makefile.PL workaround for what is likely a toolchain issue. [Detailed Change Log] - 166d710 Fix test issue lt versus le for OpenSSL versions - b0da334 Increment version for release - 8988e45 Output OpenSSL version during test - 1bb51ed Fixes RT issues 141491 and 149909 - 82680e4 v0.15 0.15 -- [Significant updates since 0.13] - None - Don't support CTR ciphers on old perls [Detailed Change Log] - 4e0e77e Add File::Which and Crypt::OpenSSL::Guess for tests - 01d6c90 Show full OpenSSL version information - 8502136 AES CTR was not supported on 1.0.0 and below - 512f06e v0.14 0.14 -- [Significant updates since 0.13] - None - Fix build issue on old strawberry-perl [Detailed Change Log] - c1ef642 Fix yet another strawberryperl build issue - c1933ae v0.13 0.13 -- [Significant updates since 0.10] - None - Packaging and fix build issue on old strawberry-perl [Detailed Change Log] - d5eda5c Update version for a new release - 3fd8e5c Create windows-strawberry-legacy.yml - 683c92c Fix issues on older strawberry-perl installs - 9ecd96b Fix POD formatting issue - 7eef915 v0.12 0.12 -- [Significant updates since 0.10] - Bugfix from smokers and #149909 - Add full LibreSSL support for the new library API functions - Remove dependency for CryptX (rewrite the tests) - new library API functions supported for OpenSSL 0.9.8+ [Detailed Change Log] - aba2120 Update version for a new release - ecbcc51 Update POD to reflect recent changes - 289803e Get the blocksize from the EVP_CIPHER_CTX - 6f687cd v0.11 0.11 -- [Significant updates since 0.10] - Bugfix from mokers and #149909 - Add full LibreSSL support for the new library API functions - Remove dependency for CryptX (rewrite the tests) - new library API functions supported for OpenSSL 0.9.8+ [Detailed Change Log] - b328a6c Really remove Crypt::CBC dependency - 16eb4b6 Fix #149909: v0.10 Segfaulting on macOS [rt.cpan.org #149909] - c6bf4be Remove Build/Test dependency on CryptX - cfe9571 The API supports 0.9.8 and above so the skips seem unnecessary - 7fa47df Fix patch undefined - 6fb6b23 Support libressl with modern api calls - 8be70f0 reverse 2782f24 Don't run OpenSSL tests for LibreSSL - 014f71e Increment version for release - 2782f24 Don't run OpenSSL tests for LibreSSL - 24072d3 Attempt to fix Free to wrong pool issue - 49f93e3 Fix get_option_svalue issue - d6cb161 Fix issue with tests - undefined - f7027e3 (tag: 0.10) v0.10 OBS-URL: https://build.opensuse.org/request/show/1118078 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-OpenSSL-AES?expand=0&rev=7
2023-10-19 11:21:26 +00:00
BuildRequires: perl(Crypt::OpenSSL::Guess) >= 0.10
BuildRequires: perl(Digest::SHA)
Accepting request 1118078 from devel:languages:perl:autoupdate - updated to 0.17 see /usr/share/doc/packages/perl-Crypt-OpenSSL-AES/Changes 0.17 -- [Detailed Change Log] - 4573a62 Increment version for release - 5388652 Fix CTR Tests for old OpenSSL - 175a751 v0.16 [Fix Change Log for 0.16] Forgot to rebase the git repo - a2c0878 Fix test issue lt versus le for OpenSSL versions - adfe1ee Increment version for release - 654f7f6 Output OpenSSL version during test - fbc824c Fixes RT issues 141491 and 149909 - 87e4922 v0.15 0.16 -- [Significant updates since 0.15] Fixes a couple of vexing build issues on some MacOS environments where the module would be built against OpenSSLv3 but linked to OpenSSLv1. Fix is a Makefile.PL workaround for what is likely a toolchain issue. [Detailed Change Log] - 166d710 Fix test issue lt versus le for OpenSSL versions - b0da334 Increment version for release - 8988e45 Output OpenSSL version during test - 1bb51ed Fixes RT issues 141491 and 149909 - 82680e4 v0.15 0.15 -- [Significant updates since 0.13] - None - Don't support CTR ciphers on old perls [Detailed Change Log] - 4e0e77e Add File::Which and Crypt::OpenSSL::Guess for tests - 01d6c90 Show full OpenSSL version information - 8502136 AES CTR was not supported on 1.0.0 and below - 512f06e v0.14 0.14 -- [Significant updates since 0.13] - None - Fix build issue on old strawberry-perl [Detailed Change Log] - c1ef642 Fix yet another strawberryperl build issue - c1933ae v0.13 0.13 -- [Significant updates since 0.10] - None - Packaging and fix build issue on old strawberry-perl [Detailed Change Log] - d5eda5c Update version for a new release - 3fd8e5c Create windows-strawberry-legacy.yml - 683c92c Fix issues on older strawberry-perl installs - 9ecd96b Fix POD formatting issue - 7eef915 v0.12 0.12 -- [Significant updates since 0.10] - Bugfix from smokers and #149909 - Add full LibreSSL support for the new library API functions - Remove dependency for CryptX (rewrite the tests) - new library API functions supported for OpenSSL 0.9.8+ [Detailed Change Log] - aba2120 Update version for a new release - ecbcc51 Update POD to reflect recent changes - 289803e Get the blocksize from the EVP_CIPHER_CTX - 6f687cd v0.11 0.11 -- [Significant updates since 0.10] - Bugfix from mokers and #149909 - Add full LibreSSL support for the new library API functions - Remove dependency for CryptX (rewrite the tests) - new library API functions supported for OpenSSL 0.9.8+ [Detailed Change Log] - b328a6c Really remove Crypt::CBC dependency - 16eb4b6 Fix #149909: v0.10 Segfaulting on macOS [rt.cpan.org #149909] - c6bf4be Remove Build/Test dependency on CryptX - cfe9571 The API supports 0.9.8 and above so the skips seem unnecessary - 7fa47df Fix patch undefined - 6fb6b23 Support libressl with modern api calls - 8be70f0 reverse 2782f24 Don't run OpenSSL tests for LibreSSL - 014f71e Increment version for release - 2782f24 Don't run OpenSSL tests for LibreSSL - 24072d3 Attempt to fix Free to wrong pool issue - 49f93e3 Fix get_option_svalue issue - d6cb161 Fix issue with tests - undefined - f7027e3 (tag: 0.10) v0.10 OBS-URL: https://build.opensuse.org/request/show/1118078 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-OpenSSL-AES?expand=0&rev=7
2023-10-19 11:21:26 +00:00
BuildRequires: perl(File::Which)
Provides: perl(Crypt::OpenSSL::AES) = %{version}
%undefine __perllib_provides
%{perl_requires}
# MANUAL BEGIN
BuildRequires: openssl-devel
Requires: openssl
# MANUAL END
%description
This module implements a wrapper around OpenSSL. Specifically, it wraps the
methods related to the US Government's Advanced Encryption Standard (the
Rijndael algorithm). The original version supports only AES ECB (electronic
codebook mode encryption).
This module is compatible with Crypt::CBC (and likely other modules that
utilize a block cipher to make a stream cipher).
This module is an alternative to the implementation provided by
Crypt::Rijndael which implements AES itself. In contrast, this module is
simply a wrapper around the OpenSSL library.
%prep
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes README
%license LICENSE
%changelog