r29675 - in /trunk/libextutils-command-perl: Changes META.yml debian/changelog lib/ExtUtils/Command.pm

bricas-guest at users.alioth.debian.org bricas-guest at users.alioth.debian.org
Thu Jan 15 15:53:07 UTC 2009


Author: bricas-guest
Date: Thu Jan 15 15:53:04 2009
New Revision: 29675

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=29675
Log:
New upstream release

Modified:
    trunk/libextutils-command-perl/Changes
    trunk/libextutils-command-perl/META.yml
    trunk/libextutils-command-perl/debian/changelog
    trunk/libextutils-command-perl/lib/ExtUtils/Command.pm

Modified: trunk/libextutils-command-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-command-perl/Changes?rev=29675&op=diff
==============================================================================
--- trunk/libextutils-command-perl/Changes (original)
+++ trunk/libextutils-command-perl/Changes Thu Jan 15 15:53:04 2009
@@ -1,3 +1,7 @@
+1.16  Mon, Jan 5, 2009
+  - Add support for VMS UNIX compatibilty mode:
+      https://rt.cpan.org/Ticket/Display.html?id=42144
+
 1.15  Sun, Oct 12, 2008
   - cp fails to update timestamp on Win32:
      http://rt.cpan.org/Ticket/Display.html?id=34718

Modified: trunk/libextutils-command-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-command-perl/META.yml?rev=29675&op=diff
==============================================================================
--- trunk/libextutils-command-perl/META.yml (original)
+++ trunk/libextutils-command-perl/META.yml Thu Jan 15 15:53:04 2009
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:         ExtUtils-Command
-version:      1.15
+version:      1.16
 version_from: lib/ExtUtils/Command.pm
 installdirs:  perl
 license:      perl
@@ -13,7 +13,7 @@
 provides:
   ExtUtils::Command:
     file: lib/ExtUtils/Command.pm
-    version: 1.15
+    version: 1.16
   Shell::Command:
     file: lib/Shell/Command.pm
     version: 0.04

Modified: trunk/libextutils-command-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-command-perl/debian/changelog?rev=29675&op=diff
==============================================================================
--- trunk/libextutils-command-perl/debian/changelog (original)
+++ trunk/libextutils-command-perl/debian/changelog Thu Jan 15 15:53:04 2009
@@ -1,9 +1,13 @@
-libextutils-command-perl (1.15-2) UNRELEASED; urgency=low
+libextutils-command-perl (1.16-1) UNRELEASED; urgency=low
 
+  [ Brian Cassidy ]
+  * New upstream release
+
+  [ gregor herrmann ]
   * debian/control: Changed: Switched Vcs-Browser field to ViewSVN
     (source stanza).
 
- -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:42:33 +0100
+ -- Brian Cassidy <brian.cassidy at gmail.com>  Thu, 15 Jan 2009 11:51:07 -0400
 
 libextutils-command-perl (1.15-1) unstable; urgency=low
 

Modified: trunk/libextutils-command-perl/lib/ExtUtils/Command.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libextutils-command-perl/lib/ExtUtils/Command.pm?rev=29675&op=diff
==============================================================================
--- trunk/libextutils-command-perl/lib/ExtUtils/Command.pm (original)
+++ trunk/libextutils-command-perl/lib/ExtUtils/Command.pm Thu Jan 15 15:53:04 2009
@@ -12,10 +12,33 @@
 @ISA       = qw(Exporter);
 @EXPORT    = qw(cp rm_f rm_rf mv cat eqtime mkpath touch test_f test_d chmod
                 dos2unix);
-$VERSION = '1.15';
+$VERSION = '1.16';
 
 my $Is_VMS   = $^O eq 'VMS';
+my $Is_VMS_mode = $Is_VMS;
+my $Is_VMS_noefs = $Is_VMS;
 my $Is_Win32 = $^O eq 'MSWin32';
+
+if( $Is_VMS ) {
+    my $vms_unix_rpt;
+    my $vms_efs;
+    my $vms_case;
+
+    if (eval { local $SIG{__DIE__}; require VMS::Feature; }) {
+        $vms_unix_rpt = VMS::Feature::current("filename_unix_report");
+        $vms_efs = VMS::Feature::current("efs_charset");
+        $vms_case = VMS::Feature::current("efs_case_preserve");
+    } else {
+        my $unix_rpt = $ENV{'DECC$FILENAME_UNIX_REPORT'} || '';
+        my $efs_charset = $ENV{'DECC$EFS_CHARSET'} || '';
+        my $efs_case = $ENV{'DECC$EFS_CASE_PRESERVE'} || '';
+        $vms_unix_rpt = $unix_rpt =~ /^[ET1]/i; 
+        $vms_efs = $efs_charset =~ /^[ET1]/i;
+        $vms_case = $efs_case =~ /^[ET1]/i;
+    }
+    $Is_VMS_mode = 0 if $vms_unix_rpt;
+    $Is_VMS_noefs = 0 if ($vms_efs);
+}
 
 
 =head1 NAME
@@ -233,7 +256,7 @@
     my $mode = shift(@ARGV);
     expand_wildcards();
 
-    if( $Is_VMS ) {
+    if( $Is_VMS_mode && $Is_VMS_noefs) {
         foreach my $idx (0..$#ARGV) {
             my $path = $ARGV[$idx];
             next unless -d $path;




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