r38940 - in /trunk/libfile-temp-perl: META.yml README Temp.pm debian/changelog debian/control debian/copyright t/fork.t

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Mon Jun 29 18:36:05 UTC 2009


Author: jawnsy-guest
Date: Mon Jun 29 18:35:48 2009
New Revision: 38940

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=38940
Log:
No release necessary
* New upstream release
  + Portability fixes in t/fork.t
  + Updated copyright years, 1999-2009
* Cleaned up debian/control
* Standards-Version 3.8.2

Modified:
    trunk/libfile-temp-perl/META.yml
    trunk/libfile-temp-perl/README
    trunk/libfile-temp-perl/Temp.pm
    trunk/libfile-temp-perl/debian/changelog
    trunk/libfile-temp-perl/debian/control
    trunk/libfile-temp-perl/debian/copyright
    trunk/libfile-temp-perl/t/fork.t

Modified: trunk/libfile-temp-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-temp-perl/META.yml?rev=38940&op=diff
==============================================================================
--- trunk/libfile-temp-perl/META.yml (original)
+++ trunk/libfile-temp-perl/META.yml Mon Jun 29 18:35:48 2009
@@ -1,23 +1,14 @@
---- #YAML:1.0
-name:               File-Temp
-version:            0.21
-abstract:           return name and handle of a temporary file safely
-author:
-    - Tim Jenness <tjenness at cpan.org>
-license:            perl
-distribution_type:  module
-configure_requires:
-    ExtUtils::MakeMaker:  0
+# http://module-build.sourceforge.net/META-spec.html
+#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
+name:         File-Temp
+version:      0.22
+version_from: Temp.pm
+installdirs:  perl
 requires:
-    Fcntl:       1.03
-    File::Path:  0
-    File::Spec:  0.8
-    Test::More:  0
-no_index:
-    directory:
-        - t
-        - inc
-generated_by:       ExtUtils::MakeMaker version 6.48
-meta-spec:
-    url:      http://module-build.sourceforge.net/META-spec-v1.4.html
-    version:  1.4
+    Fcntl:                         1.03
+    File::Path:                    0
+    File::Spec:                    0.8
+    Test::More:                    0
+
+distribution_type: module
+generated_by: ExtUtils::MakeMaker version 6.30

Modified: trunk/libfile-temp-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-temp-perl/README?rev=38940&op=diff
==============================================================================
--- trunk/libfile-temp-perl/README (original)
+++ trunk/libfile-temp-perl/README Mon Jun 29 18:35:48 2009
@@ -1,6 +1,6 @@
 File::Temp - provides functions for generating temporary files
 
-This is release V0.21 of File::Temp. This module can be used to
+This is release V0.22 of File::Temp. This module can be used to
 generate temporary files (providing a filename and filehandle) or directories.
 Possible race conditions are avoided and some security checks are performed
 (eg making sure the sticky bit is set on world writeable temp directories).
@@ -123,12 +123,15 @@
 
 Tim Jenness <tjenness at cpan.org>
 
-Copyright (C) 1999 - 2008 Tim Jenness and the UK Particle Physics and
+Copyright (C) 1999 - 2009 Tim Jenness and the UK Particle Physics and
 Astronomy Research Council. All Rights Reserved.  This program is free
 software; you can redistribute it and/or modify it under the same
 terms as Perl itself.
 
 CHANGES IN THIS RELEASE
+
+V0.22
+      + Portability fixes in t/fork.t provided by perl5-porters.
 
 V0.21
       + Clean out $FILES_CREATED_BY_OBJECT when the destructor runs. Otherwise

Modified: trunk/libfile-temp-perl/Temp.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-temp-perl/Temp.pm?rev=38940&op=diff
==============================================================================
--- trunk/libfile-temp-perl/Temp.pm (original)
+++ trunk/libfile-temp-perl/Temp.pm Mon Jun 29 18:35:48 2009
@@ -203,7 +203,7 @@
 
 # Version number
 
-$VERSION = '0.21';
+$VERSION = '0.22';
 
 # This is a list of characters that can be used in random filenames
 
@@ -2387,7 +2387,7 @@
 
 Tim Jenness E<lt>tjenness at cpan.orgE<gt>
 
-Copyright (C) 2007-2008 Tim Jenness.
+Copyright (C) 2007-2009 Tim Jenness.
 Copyright (C) 1999-2007 Tim Jenness and the UK Particle Physics and
 Astronomy Research Council. All Rights Reserved.  This program is free
 software; you can redistribute it and/or modify it under the same

Modified: trunk/libfile-temp-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-temp-perl/debian/changelog?rev=38940&op=diff
==============================================================================
--- trunk/libfile-temp-perl/debian/changelog (original)
+++ trunk/libfile-temp-perl/debian/changelog Mon Jun 29 18:35:48 2009
@@ -1,8 +1,17 @@
-libfile-temp-perl (0.21-2) UNRELEASED; urgency=low
+libfile-temp-perl (0.22-1) UNRELEASED; urgency=low
 
+  No release necessary
+
+  * New upstream release
+    + Portability fixes in t/fork.t
+    + Updated copyright years, 1999-2009
+  * Cleaned up debian/control
+  * Standards-Version 3.8.2
+
+  [ Nathan Handler ]
   * debian/watch: Update to ignore development releases.
 
- -- Nathan Handler <nhandler at ubuntu.com>  Sat, 06 Jun 2009 01:34:11 +0000
+ -- Jonathan Yu <frequency at cpan.org>  Mon, 29 Jun 2009 10:14:46 -0400
 
 libfile-temp-perl (0.21-1) unstable; urgency=low
 

Modified: trunk/libfile-temp-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-temp-perl/debian/control?rev=38940&op=diff
==============================================================================
--- trunk/libfile-temp-perl/debian/control (original)
+++ trunk/libfile-temp-perl/debian/control Mon Jun 29 18:35:48 2009
@@ -5,7 +5,7 @@
 Build-Depends-Indep: perl (>= 5.6.0-12), perl-modules
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Brian Cassidy <brian.cassidy at gmail.com>
-Standards-Version: 3.8.1
+Standards-Version: 3.8.2
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libfile-temp-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libfile-temp-perl/
 Homepage: http://search.cpan.org/dist/File-Temp/
@@ -13,23 +13,19 @@
 Package: libfile-temp-perl
 Architecture: all
 Depends: ${misc:Depends}, ${perl:Depends}, perl-modules
-Description: return name and handle of a temporary file safely
- File::Temp can be used to create and open temporary files in a safe way.
- There is both a function interface and an object-oriented interface. The
- File::Temp constructor or the tempfile() function can be used to return the
- name and the open filehandle of a temporary file. The tempdir() function can
- be used to create a temporary directory.
+Description: Perl module to create a temporary file safely
+ File::Temp can be used to create and open temporary files in a safe way. There
+ is both a function interface and an object-oriented interface. The File::Temp
+ constructor or the tempfile() function can be used to return the name and the
+ open filehandle of a temporary file. The tempdir() function can be used to
+ create a temporary directory.
  .
  The security aspect of temporary file creation is emphasized such that a
  filehandle and filename are returned together. This helps guarantee that a
  race condition can not occur where the temporary file is created by another
  process between checking for the existence of the file and its opening.
- Additional security levels are provided to check, for example, that the
- sticky bit is set on world writable directories. See "safe_level" for more
- information.
+ Additional security levels are provided to check, for example, that the sticky
+ bit is set on world writable directories.
  .
- Please note that the modules from this package are already included in
- perl-modules package.
- .
- This package is provided for people who need versions of File::Temp newer than
- the one in perl-modules.
+ The modules in this package are already available as part of perl-modules, but
+ is provided for people that need a newer version of File::Temp.

Modified: trunk/libfile-temp-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-temp-perl/debian/copyright?rev=38940&op=diff
==============================================================================
--- trunk/libfile-temp-perl/debian/copyright (original)
+++ trunk/libfile-temp-perl/debian/copyright Mon Jun 29 18:35:48 2009
@@ -5,14 +5,14 @@
 Upstream-Name: File-Temp
 
 Files: *
-Copyright:
- 1999-2007, Tim Jenness and the UK Particle Physics and Astronomy Research Council
- 2007-2008, Tim Jenness <tjenness at cpan.org>
+Copyright: 1999-2009, Tim Jenness <tjenness at cpan.org>
+ 1999-2009, UK Particle Physics and Astronomy Research Council
 License-Alias: Perl
 License: Artistic | GPL-1+
 
 Files: debian/*
-Copyright: 2009, Brian Cassidy <brian.cassidy at gmail.com>
+Copyright: 2009, Jonathan Yu <frequency at cpan.org>
+ 2009, Brian Cassidy <brian.cassidy at gmail.com>
 License: Artistic | GPL-1+
 
 License: Artistic

Modified: trunk/libfile-temp-perl/t/fork.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-temp-perl/t/fork.t?rev=38940&op=diff
==============================================================================
--- trunk/libfile-temp-perl/t/fork.t (original)
+++ trunk/libfile-temp-perl/t/fork.t Mon Jun 29 18:35:48 2009
@@ -5,13 +5,26 @@
 
 use strict;
 
-BEGIN { print "1..8\n"; }
+BEGIN {
+  require Config;
+  my $can_fork = $Config::Config{d_fork} ||
+    (($^O eq 'MSWin32' || $^O eq 'NetWare') and
+     $Config::Config{useithreads} and
+     $Config::Config{ccflags} =~ /-DPERL_IMPLICIT_SYS/
+    );
+  if ( $can_fork ) {
+    print "1..8\n";
+  } else {
+    print "1..0 # Skip No fork available\n";
+    exit;
+  }
+}
 
 use File::Temp;
 
 # OO interface
 
-my $file = File::Temp->new(CLEANUP=>1);
+my $file = File::Temp->new();
 
 myok( 1, -f $file->filename, "OO File exists" );
 
@@ -47,7 +60,7 @@
 
 # non-OO interface
 
-my ($fh, $filename) = File::Temp::tempfile( CLEANUP => 1 );
+my ($fh, $filename) = File::Temp::tempfile( UNLINK => 1 );
 
 myok( 5, -f $filename, "non-OO File exists" );
 




More information about the Pkg-perl-cvs-commits mailing list