Sync from SUSE:SLFO:Main perl-Crypt-RC4 revision f57ec6ad84593906b33fa98453f4b0b4

This commit is contained in:
Adrian Schröter 2024-05-03 17:59:36 +02:00
commit 5ca7e4fde7
4 changed files with 120 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
Crypt-RC4-2.02.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

20
perl-Crypt-RC4.changes Normal file
View File

@ -0,0 +1,20 @@
-------------------------------------------------------------------
Tue Jun 7 07:19:30 UTC 2011 - coolo@novell.com
- ran spec-cleaner
-------------------------------------------------------------------
Tue Nov 30 19:20:02 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Mon Nov 29 18:29:37 UTC 2010 - coolo@novell.com
- remove /var/adm/perl-modules
-------------------------------------------------------------------
Sun Jul 25 23:58:05 UTC 2010 - pascal.bleser@opensuse.org
- initial package (2.02)

74
perl-Crypt-RC4.spec Normal file
View File

@ -0,0 +1,74 @@
#
# spec file for package perl-Crypt-RC4
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Pascal Bleser
#
# 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 http://bugs.opensuse.org/
#
Name: perl-Crypt-RC4
Version: 2.02
Release: 1
License: GPL-1.0+ or Artistic-1.0
Summary: Perl implementation of the RC4 encryption algorithm
Url: http://search.cpan.org/dist/Crypt-RC4/
Group: Development/Libraries/Perl
Source: http://search.cpan.org/CPAN/authors/id/S/SI/SIFUKURT/Crypt-RC4-%{version}.tar.gz
BuildRequires: make
BuildRequires: perl
BuildRequires: perl-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
%description
A simple implementation of the RC4 algorithm, developed by RSA Security, Inc.
Here is the description from RSA's website:
RC4 is a stream cipher designed by Rivest for RSA Data Security (now RSA
Security). It is a variable key-size stream cipher with byte-oriented
operations. The algorithm is based on the use of a random permutation. Analysis
shows that the period of the cipher is overwhelmingly likely to be greater than
10100. Eight to sixteen machine operations are required per output byte, and
the cipher can be expected to run very quickly in software. Independent
analysts have scrutinized the algorithm and it is considered secure.
%prep
%setup -q -n "Crypt-RC4-%{version}"
sed -i '/^auto_install/d' Makefile.PL
%build
perl Makefile.PL PREFIX="%{_prefix}"
make %{?jobs:-j%{jobs}}
%install
%perl_make_install
%perl_process_packlist
%check
make test
%clean
%{?buildroot:rm -rf %{buildroot}}
%files
%defattr(-,root,root)
%doc Changes
%dir %{perl_vendorlib}/Crypt
%{perl_vendorlib}/Crypt/RC4.pm
%dir %{perl_vendorarch}/auto/Crypt
%{perl_vendorarch}/auto/Crypt/RC4
%doc %{perl_man3dir}/Crypt::RC4.%{perl_man3ext}%{ext_man}
%changelog