]> git.pld-linux.org Git - packages/perl-libnet.git/commitdiff
- updated to 3.02
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 27 Oct 2014 17:59:29 +0000 (18:59 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 27 Oct 2014 17:59:29 +0000 (18:59 +0100)
- updated Configure patch

perl-libnet-Configure.patch
perl-libnet.spec

index b491b99e7d94ffaf5b28ceefee82398d82973346..921a1d6cb202f496ee03a04dfead52956c98bc54 100644 (file)
@@ -1,27 +1,26 @@
-diff -ur libnet-1.0703.orig/Configure libnet-1.0703/Configure
---- libnet-1.0703.orig/Configure       Mon Jan 17 17:44:18 2000
-+++ libnet-1.0703/Configure    Wed Aug  2 20:51:54 2000
-@@ -312,8 +312,7 @@
+--- libnet-3.02/Configure.orig 2014-10-11 00:59:32.000000000 +0200
++++ libnet-3.02/Configure      2014-10-27 17:50:29.824984858 +0100
+@@ -322,8 +322,7 @@
  
  $msg = 'Enter a list of available NNTP hosts :';
  
 -$def = $oldcfg{'nntp_hosts'} ||
--      [ default_hostname($ENV{NNTPSERVER},$ENV{NEWSHOST},'news') ];
+-        [ default_hostname($ENV{NNTPSERVER},$ENV{NEWSHOST},'news') ];
 +$def = [];
  
  $cfg{'nntp_hosts'} = get_host_list($msg,$def);
  
-@@ -321,8 +320,7 @@
+@@ -331,8 +330,7 @@
  
  $msg = 'Enter a list of available SMTP hosts :';
  
 -$def = $oldcfg{'smtp_hosts'} ||
--      [ default_hostname(split(/:/,$ENV{SMTPHOSTS} || ""), 'mailhost') ];
+-        [ default_hostname(split(/:/,$ENV{SMTPHOSTS} || ""), 'mailhost') ];
 +$def = [];
  
  $cfg{'smtp_hosts'} = get_host_list($msg,$def);
  
-@@ -330,7 +328,7 @@
+@@ -340,7 +338,7 @@
  
  $msg = 'Enter a list of available POP3 hosts :';
  
@@ -30,7 +29,7 @@ diff -ur libnet-1.0703.orig/Configure libnet-1.0703/Configure
  
  $cfg{'pop3_hosts'} = get_host_list($msg,$def);
  
-@@ -338,7 +336,7 @@
+@@ -348,7 +346,7 @@
  
  $msg = 'Enter a list of available SNPP hosts :';
  
@@ -39,17 +38,17 @@ diff -ur libnet-1.0703.orig/Configure libnet-1.0703/Configure
  
  $cfg{'snpp_hosts'} = get_host_list($msg,$def);
  
-@@ -346,8 +344,7 @@
+@@ -356,8 +354,7 @@
  
  $msg = 'Enter a list of available PH Hosts   :'  ;
  
 -$def = $oldcfg{'ph_hosts'} ||
--      [ default_hostname('dirserv') ];
+-        [ default_hostname('dirserv') ];
 +$def = [];
  
  $cfg{'ph_hosts'}   =  get_host_list($msg,$def);
  
-@@ -355,7 +352,7 @@
+@@ -365,7 +362,7 @@
  
  $msg = 'Enter a list of available TIME Hosts   :'  ;
  
@@ -58,7 +57,7 @@ diff -ur libnet-1.0703.orig/Configure libnet-1.0703/Configure
  
  $cfg{'time_hosts'} = get_host_list($msg,$def);
  
-@@ -363,7 +360,7 @@
+@@ -373,7 +370,7 @@
  
  $msg = 'Enter a list of available DAYTIME Hosts   :'  ;
  
@@ -67,7 +66,7 @@ diff -ur libnet-1.0703.orig/Configure libnet-1.0703/Configure
  
  $cfg{'daytime_hosts'} = get_host_list($msg,$def);
  
-@@ -427,7 +424,7 @@
+@@ -437,7 +434,7 @@
   $def = exists $oldcfg{'ftp_firewall_type'}  ? $oldcfg{'ftp_firewall_type'} : 1;
   $ans = Prompt($msg,$def);
   $cfg{'ftp_firewall_type'} = 0+$ans;
index 4de2bf407010167e8ba036e8a0e38eaaedcddd70..d9d8ad16f00acbfbeffea109448a9527c572715d 100644 (file)
@@ -23,18 +23,22 @@ Summary(sv.UTF-8):  libnet Perlmodul
 Summary(uk.UTF-8):     Модуль для Perl libnet
 Summary(zh_CN.UTF-8):  libnet Perl 模块
 Name:          perl-libnet
-Version:       1.24
+Version:       3.02
 Release:       1
 Epoch:         1
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/Net/%{pnam}-%{version}.tar.gz
-# Source0-md5: cb8b798bd26426de1d9b48a654c8f104
+# Source0-md5: 67da777d3efaa44b1932a43c37c450b0
 Patch0:                %{name}-Configure.patch
-URL:           http://www.perl.com/CPAN/modules/by-module/%{pdir}/%{pnam}-%{version}.readme
-BuildRequires: perl-devel >= 1:5.8.0
+URL:           http://search.cpan.org/dist/libnet/
+BuildRequires: perl-ExtUtils-MakeMaker >= 6.64
+%{?with_tests:BuildRequires:   perl-Test-Pod-Coverage >= 0.08}
+BuildRequires: perl-devel >= 1:5.8.1
 BuildRequires: rpm-perlprov >= 4.1-13
+#Suggests:     perl-IO-Socket-IP >= 0.20 or perl-IO-Socket-INET6 >= 2.62
+Suggests:      perl-IO-Socket-SSL >= 1.999
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
This page took 0.148935 seconds and 4 git commands to generate.