mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-09-21 08:33:21 +00:00
7ffc621b79
EL10 x86_64/ppc64le take these perl deps of xCAT from EPEL; riscv64 has no EPEL
and Rocky Linux 10 riscv64 BaseOS/AppStream/CRB do not carry them, so xcat-dep
builds them for that arch. Add them to mockbuild-perl-packages.pl's package
table, and a --epel-gap switch that appends them to the build list (the
default list6 build is unchanged):
perl-Crypt-Blowfish EPEL 10 src.rpm (2.14-25.el10_0, vendored now; the spec
in the dir is a SUSE one); its optional tests need
Crypt::CBC, so it 'needs' our perl-Crypt-CBC
perl-Crypt-CBC perl-Crypt-CBC.spec + Crypt-CBC-2.33.tar.gz: the spec
is now the Fedora one of the vendored fc29 src.rpm
(release 21) with the BuildRequires an EL10 buildroot
lacks (make, perl-interpreter); it replaces the SUSE
spec (perl-macros) that could not build on EL (noarch)
perl-Crypt-Rijndael perl-Crypt-Rijndael-1.13-10.fc29.src.rpm
perl-Digest-SHA1 perl-Digest-SHA1-2.13-23.fc28.src.rpm
perl-Expect perl-Expect-1.35-6.fc29.src.rpm (noarch)
perl-Mail-Sender perl-Mail-Sender-0.903-7.fc29.src.rpm (noarch)
perl-Net-DNS Net-DNS.spec + Net-DNS-0.80.tar.gz, now built with
--noxs as noarch (the cpan2rpm spec hard-coded
buildarch x86_64 for the XS dn_expand) and with the
BuildRequires cpan2rpm specs never carry; release 2
perl-Net-IP perl-Net-IP-1.26-30.el10_0.src.rpm (noarch)
perl-Path-Class new dir, EPEL 10 src.rpm (0.37-24.el10_0, noarch): only
a build dep -- Crypt-SSLeay's Makefile.PL needs it --
so perl-Crypt-SSLeay 'needs' it; on x86_64 EPEL still
provides it and nothing changes there
Two EPEL-only deps of xCAT are deliberately not built: perl-SOAP-Lite
(1.27-3.fc29 src.rpm is in the table for completeness, but its BuildRequires
IO::SessionData, MIME::Lite, XML::Parser::Lite and Test::XML are EPEL-only as
well, so it can neither be built nor installed without EPEL; xCAT uses it for
HP blade/VirtualBox support only) and perl-DB_File (needs libdb, which EL10
dropped and Rocky Linux 10 riscv64 does not have at all; only xCAT-server's
Confluent client uses it and xCAT-server merely recommends the package).
213 lines
7.8 KiB
RPMSpec
213 lines
7.8 KiB
RPMSpec
Summary: Encrypt Data with Cipher Block Chaining Mode
|
|
Name: perl-Crypt-CBC
|
|
Version: 2.33
|
|
Release: 21%{?dist}
|
|
# Upstream confirms that they're under the same license as perl.
|
|
# Wording in CBC.pm is less than clear, but still.
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
URL: https://metacpan.org/release/Crypt-CBC
|
|
Source0: https://cpan.metacpan.org/authors/id/L/LD/LDS/Crypt-CBC-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
# EL >= 8 buildroots have neither perl nor make by default
|
|
BuildRequires: make
|
|
BuildRequires: perl-interpreter
|
|
BuildRequires: perl-generators
|
|
BuildRequires: perl(bytes)
|
|
BuildRequires: perl(constant)
|
|
BuildRequires: perl(Digest::MD5) >= 2.00
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
# Modules used for test suite, skipped when bootstrapping as
|
|
# some of these modules use Crypt::CBC themselves
|
|
# Crypt::CAST5 not yet packaged in Fedora
|
|
# Crypt::IDEA is unavailable due to patents
|
|
%if 0%{!?perl_bootstrap:1}
|
|
BuildRequires: perl(Crypt::DES)
|
|
%if ! (0%{?rhel} >= 7)
|
|
BuildRequires: perl(Crypt::Blowfish)
|
|
BuildRequires: perl(Crypt::Blowfish_PP)
|
|
BuildRequires: perl(Crypt::Rijndael)
|
|
%endif
|
|
%endif
|
|
|
|
%description
|
|
This is Crypt::CBC, a Perl-only implementation of the cryptographic
|
|
cipher block chaining mode (CBC). In combination with a block cipher
|
|
such as Crypt::DES or Crypt::IDEA, you can encrypt and decrypt
|
|
messages of arbitrarily long length. The encrypted messages are
|
|
compatible with the encryption format used by SSLeay.
|
|
|
|
%prep
|
|
%setup -q -n Crypt-CBC-%{version}
|
|
chmod 644 eg/*.pl
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
%{_fixperms} $RPM_BUILD_ROOT
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%doc Changes README eg/
|
|
%{perl_vendorlib}/Crypt/
|
|
%{_mandir}/man3/*.3*
|
|
|
|
%changelog
|
|
* Thu Aug 20 2026 xCAT build - 2.33-21
|
|
- Fedora spec from perl-Crypt-CBC-2.33-20.fc29.src.rpm, with BuildRequires make
|
|
and perl-interpreter so it builds in an EL10 buildroot
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.33-20
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.33-19
|
|
- Perl 5.28 re-rebuild of bootstrapped packages
|
|
|
|
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.33-18
|
|
- Perl 5.28 rebuild
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.33-17
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.33-16
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.33-15
|
|
- Perl 5.26 re-rebuild of bootstrapped packages
|
|
|
|
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.33-14
|
|
- Perl 5.26 rebuild
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.33-13
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.33-12
|
|
- Perl 5.24 re-rebuild of bootstrapped packages
|
|
|
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.33-11
|
|
- Perl 5.24 rebuild
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.33-10
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.33-9
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.33-8
|
|
- Perl 5.22 re-rebuild of bootstrapped packages
|
|
|
|
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.33-7
|
|
- Perl 5.22 rebuild
|
|
|
|
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.33-6
|
|
- Perl 5.20 re-rebuild of bootstrapped packages
|
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.33-5
|
|
- Perl 5.20 rebuild
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.33-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2.33-3
|
|
- Perl 5.18 re-rebuild of bootstrapped packages
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.33-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Tue Jul 30 2013 Paul Howarth <paul@city-fan.org> - 2.33-1
|
|
- Update to 2.33
|
|
- Fixes to regular expressions to avoid rare failures to correctly strip
|
|
padding in decoded messages
|
|
- Add padding type = "none"
|
|
- Fix "Taint checks are turned on and your key is tainted" error when
|
|
autogenerating salt and IV
|
|
- Fix minor bugs CPAN RT#83175 and CPAN RT#86455
|
|
- Don't need to remove empty directories from the buildroot
|
|
- Drop %%defattr, redundant since rpm 4.4
|
|
- Use %%{_fixperms} macro rather than our own chmod incantation
|
|
- Use DESTDIR rather than PERL_INSTALL_ROOT
|
|
|
|
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 2.29-16
|
|
- Perl 5.18 rebuild
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.29-15
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.29-14
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 2.29-13
|
|
- Perl 5.16 re-rebuild of bootstrapped packages
|
|
|
|
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 2.29-12
|
|
- Perl 5.16 rebuild
|
|
|
|
* Mon Jun 11 2012 Marcela Mašláňová <mmaslano@redhat.com> - 2.29-11
|
|
- Do not build-require Crypt::Blowfish, Crypt::Blowfish_PP, and Crypt::Rijndael
|
|
on RHEL >= 7
|
|
- Resolves: rhbz#822812
|
|
|
|
* Sat Apr 21 2012 Paul Howarth <paul@city-fan.org> - 2.29-10
|
|
- BR: perl(bytes), perl(constant), perl(Digest::MD5) - required by module
|
|
- BR: perl(Crypt::Blowfish), perl(Crypt::Blowfish_PP), perl(Crypt::DES),
|
|
perl(Crypt::Rijndael) for improved test coverage, except when bootstrapping
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.29-9
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.29-8
|
|
- Perl mass rebuild
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.29-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.29-6
|
|
- Rebuild to fix problems with vendorarch/lib (#661697)
|
|
|
|
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.29-5
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 2.29-4
|
|
- rebuild against perl 5.10.1
|
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.29-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.29-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
* Fri Jul 11 2008 Tom "spot" Callawau <tcallawa@redhat.com> - 2.29-1
|
|
- update to 2.29
|
|
|
|
* Mon Mar 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.22-3
|
|
- work around buildsystem burp
|
|
|
|
* Fri Feb 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.22-2
|
|
- rebuild for new perl
|
|
|
|
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.22-1.1
|
|
- add BR: perl(ExtUtils::MakeMaker)
|
|
|
|
* Wed Feb 07 2007 Andreas Thienemann <andreas@bawue.net> - 2.22-1
|
|
- Upgrade to 2.22
|
|
|
|
* Fri Sep 08 2006 Andreas Thienemann <andreas@bawue.net> - 2.19-1
|
|
- Upgrade to 2.19
|
|
|
|
* Fri Feb 24 2006 Andreas Thienemann <andreas@bawue.net> - 2.17-1
|
|
- Upgrade to 2.17
|
|
|
|
* Thu Jul 14 2005 Andreas Thienemann <andreas@bawue.net> - 2.14-2
|
|
- Remove execute permissions from example files
|
|
|
|
* Thu Jul 14 2005 Andreas Thienemann <andreas@bawue.net> - 2.14-1
|
|
- Initial package
|