commit 5ca7e4fde7304c813d691fb200cd8b7c18099c9f51d881b04d833b5ec82976cc Author: Adrian Schröter Date: Fri May 3 17:59:36 2024 +0200 Sync from SUSE:SLFO:Main perl-Crypt-RC4 revision f57ec6ad84593906b33fa98453f4b0b4 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/Crypt-RC4-2.02.tar.gz b/Crypt-RC4-2.02.tar.gz new file mode 100644 index 0000000..b027be5 --- /dev/null +++ b/Crypt-RC4-2.02.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ec4425c6bc22207889630be7350d99686e62a44c6136960110203cd594ae0ea +size 4173 diff --git a/perl-Crypt-RC4.changes b/perl-Crypt-RC4.changes new file mode 100644 index 0000000..d58de26 --- /dev/null +++ b/perl-Crypt-RC4.changes @@ -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) + diff --git a/perl-Crypt-RC4.spec b/perl-Crypt-RC4.spec new file mode 100644 index 0000000..382e33c --- /dev/null +++ b/perl-Crypt-RC4.spec @@ -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