[packages/perl-libnet] - updated to 3.02 - updated Configure patch
qboosh
qboosh at pld-linux.org
Mon Oct 27 18:59:36 CET 2014
commit f9137405d0885f69eeea1e4c0740f00c77b20213
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Oct 27 18:59:29 2014 +0100
- updated to 3.02
- updated Configure patch
perl-libnet-Configure.patch | 27 +++++++++++++--------------
perl-libnet.spec | 12 ++++++++----
2 files changed, 21 insertions(+), 18 deletions(-)
---
diff --git a/perl-libnet.spec b/perl-libnet.spec
index 4de2bf4..d9d8ad1 100644
--- a/perl-libnet.spec
+++ b/perl-libnet.spec
@@ -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)
diff --git a/perl-libnet-Configure.patch b/perl-libnet-Configure.patch
index b491b99..921a1d6 100644
--- a/perl-libnet-Configure.patch
+++ b/perl-libnet-Configure.patch
@@ -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;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-libnet.git/commitdiff/f9137405d0885f69eeea1e4c0740f00c77b20213
More information about the pld-cvs-commit
mailing list