rpms/perl-Net-FTPSSL/EL-5 perl-Net-FTPSSL-0.15-req.patch, NONE, 1.1 perl-Net-FTPSSL.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Lubomir Rintel
lkundrak at fedoraproject.org
Mon Jul 26 22:53:53 UTC 2010
Author: lkundrak
Update of /cvs/pkgs/rpms/perl-Net-FTPSSL/EL-5
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv11293
Modified Files:
.cvsignore sources
Added Files:
perl-Net-FTPSSL-0.15-req.patch perl-Net-FTPSSL.spec
Log Message:
Initial import
perl-Net-FTPSSL-0.15-req.patch:
FTPSSL.pm | 2 +-
META.yml | 2 +-
Makefile.PL | 3 +--
3 files changed, 3 insertions(+), 4 deletions(-)
--- NEW FILE perl-Net-FTPSSL-0.15-req.patch ---
>From 2c64cc6d9e9578154da19312c6e4b2e3329d86ef Mon Sep 17 00:00:00 2001
From: Lubomir Rintel <lkundrak at v3.sk>
Date: Fri, 23 Jul 2010 19:10:42 +0200
Subject: [PATCH] Lower minimum required version of IO::Socket::SSL
---
FTPSSL.pm | 2 +-
META.yml | 2 +-
Makefile.PL | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/FTPSSL.pm b/FTPSSL.pm
index b79c778..cf8f07b 100644
--- a/FTPSSL.pm
+++ b/FTPSSL.pm
@@ -11,7 +11,7 @@ use warnings;
# Enforce a minimum version of this module or Net::FTPSSL hangs!
# If you plan on using ccc(), the minimum should be v1.18 instead!
-use IO::Socket::SSL 1.08;
+use IO::Socket::SSL 1.01;
use vars qw( $VERSION @EXPORT $ERRSTR );
use base ( 'Exporter', 'IO::Socket::SSL' );
diff --git a/META.yml b/META.yml
index 3274a76..87cf565 100644
--- a/META.yml
+++ b/META.yml
@@ -7,7 +7,7 @@ installdirs: site
requires:
File::Basename: 0
File::Copy: 0
- IO::Socket::SSL: 1.08
+ IO::Socket::SSL: 1.01
Net::SSLeay::Handle: 0
Sys::Hostname: 0
Time::Local: 0
diff --git a/Makefile.PL b/Makefile.PL
index 2acf048..8d97db2 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -6,7 +6,7 @@ WriteMakefile(
NAME => 'Net::FTPSSL',
VERSION_FROM => 'FTPSSL.pm', # finds $VERSION
# e.g., Module::Name => 1.1
- PREREQ_PM => { IO::Socket::SSL => 1.08, Net::SSLeay::Handle => 0.0, File::Basename => 0.0, File::Copy => 0.0, Time::Local => 0.0, Sys::Hostname => 0.0 },
+ PREREQ_PM => { IO::Socket::SSL => 1.01, Net::SSLeay::Handle => 0.0, File::Basename => 0.0, File::Copy => 0.0, Time::Local => 0.0, Sys::Hostname => 0.0 },
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT_FROM => 'FTPSSL.pm', # retrieve abstract from module
AUTHOR => 'Curtis Leach <cleach at cpan dot org>') : ()),
--
1.7.1
--- NEW FILE perl-Net-FTPSSL.spec ---
Name: perl-Net-FTPSSL
Version: 0.15
Release: 1%{?dist}.1
Summary: Perl module for FTP over SSL/TLS
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Net-FTPSSL/
Source0: http://www.cpan.org/authors/id/C/CL/CLEACH/Net-FTPSSL-%{version}.tar.gz
Patch0: perl-Net-FTPSSL-0.15-req.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
# According to Changes, v0.97 causes unspecified hang,
# but v1.08 is well tested. In el5 we have v1.01, dropping
# the v1.08 requirement that META.yml has.
BuildRequires: perl(IO::Socket::SSL) >= v1.01
BuildRequires: perl(Net::SSLeay::Handle)
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Net::FTPSSL is a class implementing a simple FTP client over a Secure
Sockets Layer (SSL) or Transport Layer Security (TLS) connection written in
Perl as described in RFC959 and RFC2228. It will use TLS by default.
%prep
%setup -q -n Net-FTPSSL-%{version}
%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
# "You can also perform a deeper test.
# Some information will be required for this test:
# A secure ftp server address, a user, a password and a directory
# where the user has permissions to read and write."
echo n |make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Tue Jul 27 2010 Lubomir Rintel (Good Data) <lubo.rintel at gooddata.com> 0.15-1.1
- Adjust version requirement for el5
* Fri Jul 02 2010 Lubomir Rintel (Good Data) <lubo.rintel at gooddata.com> 0.15-1
- Specfile autogenerated by cpanspec 1.78.
- Add missing BR, fix up some strings
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Net-FTPSSL/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 26 Jul 2010 22:40:24 -0000 1.1
+++ .cvsignore 26 Jul 2010 22:53:52 -0000 1.2
@@ -0,0 +1 @@
+Net-FTPSSL-0.15.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Net-FTPSSL/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 26 Jul 2010 22:40:25 -0000 1.1
+++ sources 26 Jul 2010 22:53:53 -0000 1.2
@@ -0,0 +1 @@
+190beae7121e477dc3e0c8a50583cdc6 Net-FTPSSL-0.15.tar.gz
More information about the scm-commits
mailing list