[perl-Net-FTPServer] Update to 1.125

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit be0e20b318cf3b0ca870762b3c7d0902705f8244
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Tue Oct 8 21:56:02 2013 +0100

    Update to 1.125
    
    - New upstream release 1.125
      - Maintainer changed
      - Organized document and package files
      - Fixed pod format errors
      - New repository: https://github.com/ryochin/p5-net-ftpserver
      - Added a workaround to make sure to cause abort by SIGURG in t/240abort.t
        (CPAN RT#21261)
      - Fixed a bug that MLST command treated DirHandle as FileHandle
        (CPAN RT#27640)
      - Fixed a bug that ls -l command doesn't show a directory named '0'
        (CPAN RT#29503)
      - Fixed a problem that extra large file sizes were not displayed correctly
        because of integer digit overflow (CPAN RT#35332)
      - Fixed a problem caused by a Constant.pm internal change, affecting
        Archive::Zip (CPAN RT#35698)
      - Fixed a problem that Archive::Zip::Member::setLastModFileDateTimeFromUnix()
        doesn't accept 0 (CPAN RT#35698)
      - Addressed an issue that ftpd.conf had been installed despite lack of write
        permission to sysconfdir (CPAN RT#81130)
      - Added a message that Win32 platform is not supported (CPAN RT#81136)
      - Switched to Test::More for better installation process
      - Supported cpantesters and added other small changes
      - Tweaked t/240abort.t to skip when BSD::Resource is not installed, to avoid
        test errors on OpenBSD/Solaris at cpantesters
      - Improved an error message when using chroot feature by non-root users with
        Full personality
    - This release by RYOCHIN -> update source URL
    - Drop upstreamed patch and hacks for CPAN RT#35698
    - Drop %defattr, redundant since rpm 4.4
    - Simplify %install
    - Run the test suite
    - Make %files list more explicit
    - Don't use macros for commands
    - Drop redundant recoding of documentation

 .gitignore              |    1 +
 Net-FTPServer.patch     |  111 ---------------------------------------------
 perl-Net-FTPServer.spec |  115 ++++++++++++++++++++++++++++++++---------------
 sources                 |    2 +-
 4 files changed, 81 insertions(+), 148 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ae214e2..db00ad0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Net-FTPServer-1.122.tar.gz
+/Net-FTPServer-1.125.tar.gz
diff --git a/perl-Net-FTPServer.spec b/perl-Net-FTPServer.spec
index 897bd48..beec766 100644
--- a/perl-Net-FTPServer.spec
+++ b/perl-Net-FTPServer.spec
@@ -1,19 +1,15 @@
 Name:           perl-Net-FTPServer
-Version:        1.122
-Release:        21%{?dist}
+Version:        1.125
+Release:        1%{?dist}
 Summary:        Secure, extensible and configurable Perl FTP server
 License:        GPLv2+
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Net-FTPServer/
-Source0:        http://www.cpan.org/authors/id/R/RW/RWMJ/Net-FTPServer-%{version}.tar.gz
-# fix build failures in tests
-# https://rt.cpan.org/Public/Bug/Display.html?id=35698
-Patch0:         Net-FTPServer.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://www.cpan.org/authors/id/R/RY/RYOCHIN/Net-FTPServer-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:      noarch
 BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  %{_bindir}/iconv
 # Run-time:
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Carp::Heavy)
@@ -48,11 +44,12 @@ BuildRequires:  perl(File::Sync)
 BuildRequires:  perl(IO::Handle)
 BuildRequires:  perl(IO::Socket::INET)
 BuildRequires:  perl(Test)
+BuildRequires:  perl(Test::More)
 # Optional tests:
 BuildRequires:  perl(Compress::Zlib)
 BuildRequires:  %{_bindir}/uudecode
 BuildRequires:  %{_bindir}/compress
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 # Optional run-time:
 Requires:       perl(Archive::Zip)
 Requires:       perl(Authen::PAM)
@@ -84,53 +81,99 @@ This package contains server executables.
 
 %prep
 %setup -q -n Net-FTPServer-%{version}
-%patch0 -p1
-iconv -f iso-8859-1 -t utf-8 README > README.tmp
-mv -f README.tmp README
-
-# http://rt.cpan.org/Ticket/Display.html?id=35698
-perl -pi -e 's/(\&)\s*{\s*\$\s*{\s*([\w:]+)\s*}\s*{\s*(\w+)\s*}\s*}/\1\2\3/' \
-    lib/Net/FTPServer.pm
-
-find . -name .cvsignore -exec rm -f {} \;
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
+make pure_install DESTDIR=$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
 
-install -m644 -D ftpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/ftpd.conf
-[ -d $RPM_BUILD_ROOT%{_bindir} ] \
-    && mv -f $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT%{_sbindir}
+# Daemon configuration file
+install -m 644 -D etc/ftpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/ftpd.conf
 
-%{_fixperms} $RPM_BUILD_ROOT/*
+# Want the daemon in sbin rather than bin
+[ ! -d $RPM_BUILD_ROOT%{_sbindir} ] \
+    && mv -f $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT%{_sbindir}
 
 %check
-#https://rt.cpan.org/Public/Bug/Display.html?id=21261
-##make test
+make test
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING FAQ README TODO doc/
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%doc AUTHORS Changes COPYING README TODO doc/
+%{perl_vendorlib}/Net/
+%{_mandir}/man3/Net::FTPServer.3pm*
+%{_mandir}/man3/Net::FTPServer::DBeg1::DirHandle.3pm*
+%{_mandir}/man3/Net::FTPServer::DBeg1::FileHandle.3pm*
+%{_mandir}/man3/Net::FTPServer::DBeg1::IOBlob.3pm*
+%{_mandir}/man3/Net::FTPServer::DBeg1::Server.3pm*
+%{_mandir}/man3/Net::FTPServer::DirHandle.3pm*
+%{_mandir}/man3/Net::FTPServer::FileHandle.3pm*
+%{_mandir}/man3/Net::FTPServer::Full::DirHandle.3pm*
+%{_mandir}/man3/Net::FTPServer::Full::FileHandle.3pm*
+%{_mandir}/man3/Net::FTPServer::Full::Server.3pm*
+%{_mandir}/man3/Net::FTPServer::Handle.3pm*
+%{_mandir}/man3/Net::FTPServer::InMem::DirHandle.3pm*
+%{_mandir}/man3/Net::FTPServer::InMem::FileHandle.3pm*
+%{_mandir}/man3/Net::FTPServer::InMem::Server.3pm*
+%{_mandir}/man3/Net::FTPServer::Proxy::DirHandle.3pm*
+%{_mandir}/man3/Net::FTPServer::Proxy::FileHandle.3pm*
+%{_mandir}/man3/Net::FTPServer::Proxy::Server.3pm*
+%{_mandir}/man3/Net::FTPServer::RO::DirHandle.3pm*
+%{_mandir}/man3/Net::FTPServer::RO::FileHandle.3pm*
+%{_mandir}/man3/Net::FTPServer::RO::Server.3pm*
 
 %files -n perl-ftpd
-%defattr(-,root,root,-)
 %config(noreplace) %{_sysconfdir}/ftpd.conf
-%{_sbindir}/*
+%{_sbindir}/dbeg1-ftpd.pl
+%{_sbindir}/ftpd.pl
+%{_sbindir}/inmem-ftpd.pl
+%{_sbindir}/proxy-ftpd.pl
+%{_sbindir}/ro-ftpd.pl
 
 %changelog
+* Tue Oct  8 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 1.125-1
+- Update to 1.125
+  - Maintainer changed
+  - Organized document and package files
+  - Fixed pod format errors
+  - New repository: https://github.com/ryochin/p5-net-ftpserver
+  - Added a workaround to make sure to cause abort by SIGURG in t/240abort.t
+    (CPAN RT#21261)
+  - Fixed a bug that MLST command treated DirHandle as FileHandle
+    (CPAN RT#27640)
+  - Fixed a bug that ls -l command doesn't show a directory named '0'
+    (CPAN RT#29503)
+  - Fixed a problem that extra large file sizes were not displayed correctly
+    because of integer digit overflow (CPAN RT#35332)
+  - Fixed a problem caused by a Constant.pm internal change, affecting
+    Archive::Zip (CPAN RT#35698)
+  - Fixed a problem that Archive::Zip::Member::setLastModFileDateTimeFromUnix()
+    doesn't accept 0 (CPAN RT#35698)
+  - Addressed an issue that ftpd.conf had been installed despite lack of write
+    permission to sysconfdir (CPAN RT#81130)
+  - Added a message that Win32 platform is not supported (CPAN RT#81136)
+  - Switched to Test::More for better installation process
+  - Supported cpantesters and added other small changes
+  - Tweaked t/240abort.t to skip when BSD::Resource is not installed, to avoid
+    test errors on OpenBSD/Solaris at cpantesters
+  - Improved an error message when using chroot feature by non-root users with
+    Full personality
+- This release by RYOCHIN -> update source URL
+- Drop upstreamed patch and hacks for CPAN RT#35698
+- Drop %%defattr, redundant since rpm 4.4
+- Simplify %%install
+- Run the test suite
+- Make %%files list more explicit
+- Don't use macros for commands
+- Drop redundant recoding of documentation
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.122-21
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
@@ -165,7 +208,7 @@ rm -rf $RPM_BUILD_ROOT
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
 * Tue Dec 21 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 1.122-11
-- 661697 rebuild for fixing problems with vendorach/lib
+- Rebuild to fix problems with vendorarch/lib (#661697_
 
 * Tue Dec 14 2010 Steven Pritchard <steve@xxxxxxxxx> 1.122-10
 - Rebuild.
diff --git a/sources b/sources
index d0c1934..46bccf2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-03413e192528959775529957fdaf145b  Net-FTPServer-1.122.tar.gz
+74a0646f3f00926d90145b239ae8f664  Net-FTPServer-1.125.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux