|
|
@@ -24,7 +24,29 @@
|
|
|
##
|
|
|
|
|
|
# versions of individual parts
|
|
|
-%define V_digestmd5 2.20
|
|
|
+%define V_digest_md2 2.00
|
|
|
+%define V_digest_md4 1.1
|
|
|
+%define V_digest_md5 2.20
|
|
|
+%define V_digest_hmac 1.01
|
|
|
+%define V_digest_sha1 2.01
|
|
|
+%define V_crypt_ripemd160 0.04
|
|
|
+%define V_crypt_enigma 1.3
|
|
|
+%define V_crypt_unixcrypt 1.0
|
|
|
+%define V_crypt_passwdmd5 1.2
|
|
|
+%define V_crypt_des 2.03
|
|
|
+%define V_crypt_des_ede3 0.01
|
|
|
+%define V_crypt_rc4 2.02
|
|
|
+%define V_crypt_rc5 1.01
|
|
|
+%define V_crypt_rc6 1.0
|
|
|
+%define V_crypt_ghost 1.00
|
|
|
+%define V_crypt_blowfish 2.09
|
|
|
+%define V_crypt_twofish 2.12
|
|
|
+%define V_crypt_rot13 0.04
|
|
|
+%define V_crypt_null 1.02
|
|
|
+%define V_crypt_random 1.11
|
|
|
+%define V_crypt_ecb 1.1
|
|
|
+%define V_crypt_cbc 2.02
|
|
|
+%define V_crypt_cbceasy 0.24
|
|
|
|
|
|
# package information
|
|
|
Name: perl-crypto
|
|
|
@@ -35,11 +57,33 @@ Packager: The OpenPKG Project
|
|
|
Distribution: OpenPKG [REL]
|
|
|
Group: Language
|
|
|
License: GPL/Artistic
|
|
|
-Version: 20020510
|
|
|
-Release: 20020510
|
|
|
+Version: 20020512
|
|
|
+Release: 20020512
|
|
|
|
|
|
# list of sources
|
|
|
-Source0: http://www.cpan.org/modules/by-module/Digest/Digest-MD5-%{V_digestmd5}.tar.gz
|
|
|
+Source0: http://www.cpan.org/modules/by-module/Digest/Digest-MD2-%{V_digest_md2}.tar.gz
|
|
|
+Source1: http://www.cpan.org/modules/by-module/Digest/Digest-MD4-%{V_digest_md4}.tar.gz
|
|
|
+Source2: http://www.cpan.org/modules/by-module/Digest/Digest-MD5-%{V_digest_md5}.tar.gz
|
|
|
+Source3: http://www.cpan.org/modules/by-module/Digest/Digest-HMAC-%{V_digest_hmac}.tar.gz
|
|
|
+Source4: http://www.cpan.org/modules/by-module/Digest/Digest-SHA1-%{V_digest_sha1}.tar.gz
|
|
|
+Source5: http://www.cpan.org/modules/by-module/Crypt/Crypt-RIPEMD160-%{V_crypt_ripemd160}.tar.gz
|
|
|
+Source6: http://www.cpan.org/modules/by-module/Crypt/Crypt-Enigma-%{V_crypt_enigma}.tar.gz
|
|
|
+Source7: http://www.cpan.org/modules/by-module/Crypt/Crypt-UnixCrypt-%{V_crypt_unixcrypt}.tar.gz
|
|
|
+Source8: http://www.cpan.org/modules/by-module/Crypt/Crypt-PasswdMD5-%{V_crypt_passwdmd5}.tar.gz
|
|
|
+Source9: http://www.cpan.org/modules/by-module/Crypt/Crypt-DES-%{V_crypt_des}.tar.gz
|
|
|
+Source10: http://www.cpan.org/modules/by-module/Crypt/Crypt-DES_EDE3-%{V_crypt_des_ede3}.tar.gz
|
|
|
+Source11: http://www.cpan.org/modules/by-module/Crypt/Crypt-RC4-%{V_crypt_rc4}.tar.gz
|
|
|
+Source12: http://www.cpan.org/modules/by-module/Crypt/Crypt-RC5-%{V_crypt_rc5}.tar.gz
|
|
|
+Source13: http://www.cpan.org/modules/by-module/Crypt/Crypt-RC6-%{V_crypt_rc6}.tar.gz
|
|
|
+Source14: http://www.cpan.org/modules/by-module/Crypt/Crypt-GOST-%{V_crypt_ghost}.tar.gz
|
|
|
+Source15: http://www.cpan.org/modules/by-module/Crypt/Crypt-Blowfish-%{V_crypt_blowfish}.tar.gz
|
|
|
+Source16: http://www.cpan.org/modules/by-module/Crypt/Crypt-Twofish-%{V_crypt_twofish}.tar.gz
|
|
|
+Source17: http://www.cpan.org/modules/by-module/Crypt/Crypt-Rot13-%{V_crypt_rot13}.tar.gz
|
|
|
+Source18: http://www.cpan.org/modules/by-module/Crypt/Crypt-NULL-%{V_crypt_null}.tar.gz
|
|
|
+Source19: http://www.cpan.org/modules/by-module/Crypt/Crypt-Random-%{V_crypt_random}.tar.gz
|
|
|
+Source20: http://www.cpan.org/modules/by-module/Crypt/Crypt-ECB-%{V_crypt_ecb}.tar.gz
|
|
|
+Source21: http://www.cpan.org/modules/by-module/Crypt/Crypt-CBC-%{V_crypt_cbc}.tar.gz
|
|
|
+Source22: http://www.cpan.org/modules/by-module/Crypt/Crypt-CBCeasy-%{V_crypt_cbceasy}.tar.gz
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -50,8 +94,30 @@ AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
%description
|
|
|
- Perl modules for use with cryptography:
|
|
|
- - Digest::MD5 (%{V_digestmd5})
|
|
|
+ Perl module bundle related to Cryptography.
|
|
|
+ - Digest::MD2 (%{V_digest_md2})
|
|
|
+ - Digest::MD4 (%{V_digest_md4})
|
|
|
+ - Digest::MD5 (%{V_digest_md5})
|
|
|
+ - Digest::HMAC (%{V_digest_hmac})
|
|
|
+ - Digest::SHA1 (%{V_digest_sha1})
|
|
|
+ - Crypt::RIPEMD160 (%{V_crypt_ripemd160})
|
|
|
+ - Crypt::Enigma (%{V_crypt_enigma})
|
|
|
+ - Crypt::UnixCrypt::%{V_crypt_unixcrypt})
|
|
|
+ - Crypt::PasswdMD5 (%{V_crypt_passwdmd5})
|
|
|
+ - Crypt::DES (%{V_crypt_des})
|
|
|
+ - Crypt::DES::EDE3 (%{V_crypt_des_ede3})
|
|
|
+ - Crypt::RC4 (%{V_crypt_rc4})
|
|
|
+ - Crypt::RC5 (%{V_crypt_rc5})
|
|
|
+ - Crypt::RC6 (%{V_crypt_rc6})
|
|
|
+ - Crypt::GOST (%{V_crypt_ghost})
|
|
|
+ - Crypt::Blowfish (%{V_crypt_blowfish})
|
|
|
+ - Crypt::Twofish (%{V_crypt_twofish})
|
|
|
+ - Crypt::Rot13 (%{V_crypt_rot13})
|
|
|
+ - Crypt::NULL (%{V_crypt_null})
|
|
|
+ - Crypt::Random (%{V_crypt_random})
|
|
|
+ - Crypt::ECB (%{V_crypt_ecb})
|
|
|
+ - Crypt::CBC (%{V_crypt_cbc})
|
|
|
+ - Crypt::CBCeasy (%{V_crypt_cbceasy})
|
|
|
|
|
|
%prep
|
|
|
%setup0 -q -c -n %{name}-%{version}
|
|
|
@@ -64,7 +130,12 @@ AutoReqProv: no
|
|
|
|
|
|
# uncompress and build modules
|
|
|
perl=%{l_prefix}/bin/perl
|
|
|
- for mod in %{SOURCE0}; do
|
|
|
+ for mod in \
|
|
|
+ %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} \
|
|
|
+ %{SOURCE6} %{SOURCE7} %{SOURCE8} %{SOURCE9} %{SOURCE10} %{SOURCE11} \
|
|
|
+ %{SOURCE12} %{SOURCE13} %{SOURCE14} %{SOURCE15} %{SOURCE16} %{SOURCE17} \
|
|
|
+ %{SOURCE18} %{SOURCE19} %{SOURCE20} %{SOURCE21} %{SOURCE22}
|
|
|
+ do
|
|
|
%{l_gzip} -dc $mod | %{l_tar} xf -
|
|
|
dir=`echo "$mod" | sed -e 's;^.*/\([^/]*\)\.tar\.gz$;\1;'`
|
|
|
cd $dir
|