OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   09-Oct-2004 14:50:19
  Branch: HEAD                             Handle: 2004100913501900

  Modified files:
    openpkg-src/perl-crypto perl-crypto.spec

  Log:
    add Crypto::OpenSSL modules

  Summary:
    Revision    Changes     Path
    1.81        +83 -31     openpkg-src/perl-crypto/perl-crypto.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/perl-crypto/perl-crypto.spec
  ============================================================================
  $ cvs diff -u -r1.80 -r1.81 perl-crypto.spec
  --- openpkg-src/perl-crypto/perl-crypto.spec  18 Sep 2004 11:11:29 -0000      1.80
  +++ openpkg-src/perl-crypto/perl-crypto.spec  9 Oct 2004 12:50:19 -0000       1.81
  @@ -24,32 +24,37 @@
   ##
   
   #   versions of individual parts
  -%define       V_perl               5.8.5
  -%define       V_digest             1.08
  -%define       V_digest_sha1        2.10
  -%define       V_digest_sha         5.25
  -%define       V_digest_md2         2.03
  -%define       V_digest_md4         1.4
  -%define       V_digest_md5         2.33
  -%define       V_digest_hmac        1.01
  -%define       V_crypt_ripemd160    0.04
  -%define       V_crypt_enigma       1.3
  -%define       V_crypt_unixcrypt    1.0
  -%define       V_crypt_passwdmd5    1.3
  -%define       V_crypt_des          2.03
  -%define       V_crypt_des_ede3     0.01
  -%define       V_crypt_rc4          2.02
  -%define       V_crypt_rc5          2.00
  -%define       V_crypt_rc6          1.0
  -%define       V_crypt_gost         1.00
  -%define       V_crypt_blowfish     2.09
  -%define       V_crypt_twofish      2.12
  -%define       V_crypt_rot13        0.6
  -%define       V_crypt_null         1.02
  -%define       V_crypt_ecb          1.1-2
  -%define       V_crypt_cbc          2.12
  -%define       V_data_uuid          0.11
  -%define       V_string_crc32       1.2
  +%define       V_perl                  5.8.5
  +%define       V_digest                1.08
  +%define       V_digest_sha1           2.10
  +%define       V_digest_sha            5.25
  +%define       V_digest_md2            2.03
  +%define       V_digest_md4            1.4
  +%define       V_digest_md5            2.33
  +%define       V_digest_hmac           1.01
  +%define       V_crypt_ripemd160       0.04
  +%define       V_crypt_enigma          1.3
  +%define       V_crypt_unixcrypt       1.0
  +%define       V_crypt_passwdmd5       1.3
  +%define       V_crypt_des             2.03
  +%define       V_crypt_des_ede3        0.01
  +%define       V_crypt_rc4             2.02
  +%define       V_crypt_rc5             2.00
  +%define       V_crypt_rc6             1.0
  +%define       V_crypt_gost            1.00
  +%define       V_crypt_blowfish        2.09
  +%define       V_crypt_twofish         2.12
  +%define       V_crypt_rot13           0.6
  +%define       V_crypt_null            1.02
  +%define       V_crypt_ecb             1.1-2
  +%define       V_crypt_cbc             2.12
  +%define       V_crypt_openssl_bignum  0.03
  +%define       V_crypt_openssl_dsa     0.11
  +%define       V_crypt_openssl_rsa     0.21
  +%define       V_crypt_openssl_random  0.03
  +%define       V_crypt_openssl_x509    0.3
  +%define       V_data_uuid             0.11
  +%define       V_string_crc32          1.2
   
   #   package information
   Name:         perl-crypto
  @@ -62,7 +67,7 @@
   Group:        Language
   License:      GPL/Artistic
   Version:      %{V_perl}
  -Release:      20040918
  +Release:      20041009
   
   #   list of sources
   Source0:      http://www.cpan.org/modules/by-module/Digest/Digest-%{V_digest}.tar.gz
  @@ -88,8 +93,13 @@
   Source20:     
http://www.cpan.org/modules/by-module/Crypt/Crypt-NULL-%{V_crypt_null}.tar.gz
   Source21:     
http://www.cpan.org/modules/by-module/Crypt/Crypt-ECB-%{V_crypt_ecb}.tar.gz
   Source22:     
http://www.cpan.org/modules/by-module/Crypt/Crypt-CBC-%{V_crypt_cbc}.tar.gz
  -Source23:     
http://www.cpan.org/modules/by-module/Data/Data-UUID-%{V_data_uuid}.tar.gz
  -Source24:     
http://www.cpan.org/modules/by-module/String/String-CRC32-%{V_string_crc32}.tar.gz
  +Source23:     
http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-Bignum-%{V_crypt_openssl_bignum}.tar.gz
  +Source24:     
http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-Random-%{V_crypt_openssl_random}.tar.gz
  +Source25:     
http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-DSA-%{V_crypt_openssl_dsa}.tar.gz
  +Source26:     
http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-RSA-%{V_crypt_openssl_rsa}.tar.gz
  +Source27:     
http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-X509-%{V_crypt_openssl_x509}.tar.gz
  +Source28:     
http://www.cpan.org/modules/by-module/Data/Data-UUID-%{V_data_uuid}.tar.gz
  +Source29:     
http://www.cpan.org/modules/by-module/String/String-CRC32-%{V_string_crc32}.tar.gz
   Patch0:       perl-crypto.patch
   
   #   build information
  @@ -97,6 +107,8 @@
   BuildRoot:    %{l_buildroot}
   BuildPreReq:  OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-openpkg >= 
%{V_perl}-20040126
   PreReq:       OpenPKG, openpkg >= 20040130, perl >= %{V_perl}
  +BuildPreReq:  openssl
  +PreReq:       openssl
   AutoReq:      no
   AutoReqProv:  no
   
  @@ -125,6 +137,11 @@
       - Crypt::NULL (%{V_crypt_null})
       - Crypt::ECB (%{V_crypt_ecb})
       - Crypt::CBC (%{V_crypt_cbc})
  +    - Crypt::OpenSSL::Bignum (%{V_crypt_openssl_bignum})
  +    - Crypt::OpenSSL::DSA (%{V_crypt_openssl_dsa})
  +    - Crypt::OpenSSL::RSA (%{V_crypt_openssl_rsa})
  +    - Crypt::OpenSSL::Random (%{V_crypt_openssl_random})
  +    - Crypt::OpenSSL::X509 (%{V_crypt_openssl_x509})
       - Data::UUID (%{V_data_uuid})
       - String::CRC32 (%{V_string_crc32})
   
  @@ -254,6 +271,31 @@
           url       = http://www.cpan.org/modules/by-module/String/
           regex     = String-CRC32-(__VER__)\.tar\.gz
       }
  +    prog perl-crypto:Crypt-OpenSSL-Bignum = {
  +        version   = %{V_crypt_openssl_bignum}
  +        url       = http://www.cpan.org/modules/by-module/Crypt/
  +        regex     = Crypt-OpenSSL-Bignum-(__VER__)\.tar\.gz
  +    }
  +    prog perl-crypto:Crypt-OpenSSL-DSA = {
  +        version   = %{V_crypt_openssl_dsa}
  +        url       = http://www.cpan.org/modules/by-module/DSA/
  +        regex     = Crypt-OpenSSL-DSA-(__VER__)\.tar\.gz
  +    }
  +    prog perl-crypto:Crypt-OpenSSL-RSA = {
  +        version   = %{V_crypt_openssl_rsa}
  +        url       = http://www.cpan.org/modules/by-module/RSA/
  +        regex     = Crypt-OpenSSL-RSA-(__VER__)\.tar\.gz
  +    }
  +    prog perl-crypto:Crypt-OpenSSL-Random = {
  +        version   = %{V_crypt_openssl_random}
  +        url       = http://www.cpan.org/modules/by-module/RSA/
  +        regex     = Crypt-OpenSSL-Random-(__VER__)\.tar\.gz
  +    }
  +    prog perl-crypto:Crypt-OpenSSL-X509 = {
  +        version   = %{V_crypt_openssl_x509}
  +        url       = http://www.cpan.org/modules/by-module/RSA/
  +        regex     = Crypt-OpenSSL-X509-(__VER__)\.tar\.gz
  +    }
   
   %prep
       %setup -q -c
  @@ -281,6 +323,11 @@
       %setup -q -T -D -a 22
       %setup -q -T -D -a 23
       %setup -q -T -D -a 24
  +    %setup -q -T -D -a 25
  +    %setup -q -T -D -a 26
  +    %setup -q -T -D -a 27
  +    %setup -q -T -D -a 28
  +    %setup -q -T -D -a 29
       %patch -p0
   
   %build
  @@ -311,8 +358,13 @@
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE20} configure build install
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE21} configure build install
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE22} configure build install
  -    %{l_prefix}/bin/perl-openpkg -d %{SOURCE23} configure build install
  -    %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} configure build install
  +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE23} -A "INC='%{l_cflags}'" -A 
"LIBS='%{l_ldflags} -lssl -lcrypto'" configure build install
  +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} -A "INC='%{l_cflags}'" -A 
"LIBS='%{l_ldflags} -lssl -lcrypto'" configure build install
  +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} -A "INC='%{l_cflags}'" -A 
"LIBS='%{l_ldflags} -lssl -lcrypto'" configure build install
  +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} -A "INC='%{l_cflags}'" -A 
"LIBS='%{l_ldflags} -lssl -lcrypto'" configure build install
  +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE27} -A "INC='%{l_cflags}'" -A 
"LIBS='%{l_ldflags} -lssl -lcrypto'" configure build install
  +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install
  +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE29} configure build install
       %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
       %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat 
perl-openpkg-files`
   
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to