Browse Source

add IO::Socket::SSL

Ralf S. Engelschall 24 years ago
parent
commit
f59b5bf430
1 changed files with 13 additions and 9 deletions
  1. 13 9
      perl-ssl/perl-ssl.spec

+ 13 - 9
perl-ssl/perl-ssl.spec

@@ -24,8 +24,9 @@
 ##
 
 #   versions of individual parts
-%define       V_net               1.20
-%define       V_crypt             0.45
+%define       V_net_ssleay        1.20
+%define       V_crypt_ssleay      0.45
+%define       V_io_socket_ssl     0.901
 
 #   package information
 Name:         perl-ssl
@@ -36,12 +37,13 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [BASE]
 Group:        Language
 License:      GPL/Artistic
-Version:      20020822
-Release:      20020822
+Version:      20020831
+Release:      20020831
 
 #   list of sources
-Source0:      http://www.cpan.org/modules/by-module/Net/Net_SSLeay.pm-%{V_net}.tar.gz
-Source1:      http://www.cpan.org/modules/by-module/Crypt/Crypt-SSLeay-%{V_crypt}.tar.gz
+Source0:      http://www.cpan.org/modules/by-module/Net/Net_SSLeay.pm-%{V_net_ssleay}.tar.gz
+Source1:      http://www.cpan.org/modules/by-module/Crypt/Crypt-SSLeay-%{V_crypt_ssleay}.tar.gz
+Source2:      http://www.cpan.org/modules/by-module/IO/IO-Socket-SSL-%{V_io_socket_ssl}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -53,12 +55,14 @@ AutoReqProv:  no
 
 %description
     Various Perl modules for use with SSL/TLS (OpenSSL):
-    - Net::SSLeay (%{V_net})
-    - Crypt::SSLeay (%{V_crypt})
+    - Net::SSLeay (%{V_net_ssleay})
+    - Crypt::SSLeay (%{V_crypt_ssleay})
+    - IO::Socket::SSL (%{V_io_socket_ssl})
 
 %prep
     %setup0 -q -c -n %{name}-%{version}
     %setup1 -q -T -D -a 1
+    %setup2 -q -T -D -a 2
 
 %build
 
@@ -79,7 +83,7 @@ AutoReqProv:  no
     echo " \"\$@\"" >>$perl
     chmod a+x $perl
 
-    for mod in %{SOURCE0} %{SOURCE1}; do
+    for mod in %{SOURCE0} %{SOURCE1} %{SOURCE2}; do
         dir=`echo "$mod" | sed -e 's;^.*/\([^/]*\)\.tar\.gz$;\1;'`
         cd $dir
         chmod -R u+rw .