r46123 - in /trunk/liblchown-perl: ./ debian/ lib/ t/

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Tue Oct 20 17:14:22 UTC 2009


Author: jawnsy-guest
Date: Tue Oct 20 17:14:16 2009
New Revision: 46123

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=46123
Log:
* New upstream release
* Standards-Version 3.8.3 (no changes)
* Add myself to Uploaders and Copyright
* Refresh copyright information
* Use new short debhelper rules format
* Rewrote control description

Added:
    trunk/liblchown-perl/Build.PL
      - copied unchanged from r46122, branches/upstream/liblchown-perl/current/Build.PL
    trunk/liblchown-perl/MANIFEST.SKIP
      - copied unchanged from r46122, branches/upstream/liblchown-perl/current/MANIFEST.SKIP
    trunk/liblchown-perl/lib/
      - copied from r46122, branches/upstream/liblchown-perl/current/lib/
Removed:
    trunk/liblchown-perl/Lchown.pm
    trunk/liblchown-perl/Lchown.xs
Modified:
    trunk/liblchown-perl/Changes
    trunk/liblchown-perl/MANIFEST
    trunk/liblchown-perl/META.yml
    trunk/liblchown-perl/Makefile.PL
    trunk/liblchown-perl/README
    trunk/liblchown-perl/debian/changelog
    trunk/liblchown-perl/debian/control
    trunk/liblchown-perl/debian/copyright
    trunk/liblchown-perl/debian/rules
    trunk/liblchown-perl/t/allplatforms.t
    trunk/liblchown-perl/t/noimport.t
    trunk/liblchown-perl/t/notsup.t
    trunk/liblchown-perl/t/pod-coverage.t
    trunk/liblchown-perl/t/pod.t
    trunk/liblchown-perl/t/sup.t

Modified: trunk/liblchown-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblchown-perl/Changes?rev=46123&op=diff
==============================================================================
--- trunk/liblchown-perl/Changes (original)
+++ trunk/liblchown-perl/Changes Tue Oct 20 17:14:16 2009
@@ -1,28 +1,32 @@
 Revision history for Perl extension Lchown.
 
-0.01  Sep 26 2003
-    - original version; created by h2xs 1.19
+1.01    2009-10-18
+        RT #25968
+        changed to Module::Build
 
-0.02  Sep 28 2003
-    - got it working and added tests
+1.00    Nov 13 2004
+        now works on perls back to 5.00404
+        minor code tidy
+        added pod tests
 
-0.03  Sep 28 2003
-    - tidied docs and Makefile.PL
+0.07    Jan 02 2004
+        fixed test failure on platforms without symlinks
 
-0.04  Sep 30 2003
-    - added a README
+0.06    Oct 01 2003
+        replaced ENOTSUP with the more appropriate ENOSYS
 
-0.05  Sep 30 2003
-    - really added a README this time
+0.05    Sep 30 2003
+        really added a README this time
 
-0.06  Oct 01 2003
-    - replaced ENOTSUP with the more appropriate ENOSYS
+0.04    Sep 30 2003
+        added a README
 
-0.07  Jan 02 2004
-    - fixed test failure on platforms without symlinks
+0.03    Sep 28 2003
+        tidied docs and Makefile.PL
 
-1.00  Nov 13 2004
-    - now works on perls back to 5.00404
-      minor code tidy
-      added pod tests
-   
+0.02    Sep 28 2003
+        got it working and added tests
+
+0.01    Sep 26 2003
+        original version; created by h2xs 1.19
+

Modified: trunk/liblchown-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblchown-perl/MANIFEST?rev=46123&op=diff
==============================================================================
--- trunk/liblchown-perl/MANIFEST (original)
+++ trunk/liblchown-perl/MANIFEST Tue Oct 20 17:14:16 2009
@@ -1,13 +1,15 @@
+Build.PL
 Changes
-Lchown.pm
-Lchown.xs
-MANIFEST
-Makefile.PL
+lib/Lchown.pm
+lib/Lchown.xs
+MANIFEST			This list of files
+MANIFEST.SKIP
 README
-META.yml
 t/allplatforms.t
 t/noimport.t
 t/notsup.t
+t/pod-coverage.t
+t/pod.t
 t/sup.t
-t/pod.t
-t/pod-coverage.t
+Makefile.PL
+META.yml

Modified: trunk/liblchown-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblchown-perl/META.yml?rev=46123&op=diff
==============================================================================
--- trunk/liblchown-perl/META.yml (original)
+++ trunk/liblchown-perl/META.yml Tue Oct 20 17:14:16 2009
@@ -1,11 +1,22 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
-name:         Lchown
-version:      1.00
-version_from: Lchown.pm
-installdirs:  site
-requires:
-    Test::More:                    0
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17
+---
+name: Lchown
+version: 1.01
+author:
+  - 'Nick Cleaton <nick at cleaton.net>'
+abstract: use the lchown(2) system call from Perl
+license: perl
+resources:
+  license: http://dev.perl.org/licenses/
+build_requires:
+  ExtUtils::CBuilder: 0
+  Test::More: 0
+configure_requires:
+  Module::Build: 0.35
+provides:
+  Lchown:
+    file: lib/Lchown.pm
+    version: 1.01
+generated_by: Module::Build version 0.35
+meta-spec:
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: 1.4

Modified: trunk/liblchown-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblchown-perl/Makefile.PL?rev=46123&op=diff
==============================================================================
--- trunk/liblchown-perl/Makefile.PL (original)
+++ trunk/liblchown-perl/Makefile.PL Tue Oct 20 17:14:16 2009
@@ -1,8 +1,6 @@
-use ExtUtils::MakeMaker;
-
-WriteMakefile(
-    'NAME'     	   => 'Lchown',
-    'VERSION_FROM' => 'Lchown.pm',
-    'PREREQ_PM'    => { 'Test::More' => 0 },
-);
-
+# Note: this file was auto-generated by Module::Build::Compat version 0.35
+    use Module::Build::Compat 0.02;
+    
+    Module::Build::Compat->run_build_pl(args => \@ARGV);
+    require Module::Build;
+    Module::Build::Compat->write_makefile(build_class => 'Module::Build');

Modified: trunk/liblchown-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblchown-perl/README?rev=46123&op=diff
==============================================================================
--- trunk/liblchown-perl/README (original)
+++ trunk/liblchown-perl/README Tue Oct 20 17:14:16 2009
@@ -12,10 +12,10 @@
 
 INSTALLATION
 
-   perl Makefile.PL
-   make
-   make test
-   make install
+   perl Build.PL
+   ./Build
+   ./Build test
+   ./Build install
 
 This module should build and pass tests on systems without the lchown
 system call.  Any lchown call will fail at runtime on such systems.
@@ -24,9 +24,7 @@
 change, most of the tests will be skipped unless "make test" is run as
 root.
 
-Copyright (C) 2003-2004 by Nick Cleaton
+Copyright 2003-2009 Nick Cleaton, all rights reserved.
 
-This library is free software; you can redistribute it and/or modify it
-under the same terms as Perl itself, either Perl version 5.8.0 or, at
-your option, any later version of Perl 5 you may have available.
-
+This program is free software; you can redistribute it and/or modify it under
+the same terms as Perl itself.

Modified: trunk/liblchown-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblchown-perl/debian/changelog?rev=46123&op=diff
==============================================================================
--- trunk/liblchown-perl/debian/changelog (original)
+++ trunk/liblchown-perl/debian/changelog Tue Oct 20 17:14:16 2009
@@ -1,8 +1,17 @@
-liblchown-perl (1.00-2) UNRELEASED; urgency=low
+liblchown-perl (1.01-1) UNRELEASED; urgency=low
 
+  [ Jonathan Yu ]
+  * New upstream release
+  * Standards-Version 3.8.3 (no changes)
+  * Add myself to Uploaders and Copyright
+  * Refresh copyright information
+  * Use new short debhelper rules format
+  * Rewrote control description
+
+  [ Nathan Handler ]
   * debian/watch: Update to ignore development releases.
 
- -- Nathan Handler <nhandler at ubuntu.com>  Sat, 06 Jun 2009 01:34:42 +0000
+ -- Jonathan Yu <jawnsy at cpan.org>  Tue, 20 Oct 2009 09:37:07 -0400
 
 liblchown-perl (1.00-1) unstable; urgency=low
 

Modified: trunk/liblchown-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblchown-perl/debian/control?rev=46123&op=diff
==============================================================================
--- trunk/liblchown-perl/debian/control (original)
+++ trunk/liblchown-perl/debian/control Tue Oct 20 17:14:16 2009
@@ -4,8 +4,8 @@
 Build-Depends: debhelper (>= 7), perl, libtest-pod-perl,
  libtest-pod-coverage-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: gregor herrmann <gregoa at debian.org>
-Standards-Version: 3.8.0
+Uploaders: gregor herrmann <gregoa at debian.org>, Jonathan Yu <jawnsy at cpan.org>
+Standards-Version: 3.8.3
 Homepage: http://search.cpan.org/dist/Lchown/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/liblchown-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/liblchown-perl/
@@ -14,6 +14,7 @@
 Architecture: any
 Depends: ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends}
 Description: Perl interface to the lchown() system call
- The Lchown module provides a perl interface to the lchown(2) UNIX system
- call, on systems that support lchown. The lchown(2) call is used to change
- the ownership and group of symbolic links.
+ Lchown provides a perl interface to the lchown(2) UNIX system call. The
+ lchown(2) call is useful to change the ownership and group of symbolic links,
+ rather than changing that information for the referent (real target) of these
+ links.

Modified: trunk/liblchown-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblchown-perl/debian/copyright?rev=46123&op=diff
==============================================================================
--- trunk/liblchown-perl/debian/copyright (original)
+++ trunk/liblchown-perl/debian/copyright Tue Oct 20 17:14:16 2009
@@ -4,12 +4,13 @@
 Upstream-Source: http://search.cpan.org/dist/Lchown/
 
 Files: *
-Copyright: (C) 2003-2004 by Nick Cleaton <nick at cleaton.net>
+Copyright: 2003-2009, Nick Cleaton <nick at cleaton.net>
 License-Alias: Perl
 License: GPL-1+ | Artistic
 
 Files: debian/*
-Copyright: (C) 2008, gregor herrmann <gregoa at debian.org>
+Copyright: 2009, Jonathan Yu <jawnsy at cpan.org>
+ 2008, gregor herrmann <gregoa at debian.org>
 License: GPL-1+ | Artistic
 
 License: Artistic

Modified: trunk/liblchown-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblchown-perl/debian/rules?rev=46123&op=diff
==============================================================================
--- trunk/liblchown-perl/debian/rules (original)
+++ trunk/liblchown-perl/debian/rules Tue Oct 20 17:14:16 2009
@@ -1,24 +1,4 @@
 #!/usr/bin/make -f
 
-build: build-stamp
-build-stamp:
-	dh build
-	touch $@
-
-clean:
+%:
 	dh $@
-
-install: install-stamp
-install-stamp: build-stamp
-	dh install
-	touch $@
-
-binary-arch: install
-	dh $@
-
-binary-indep:
-
-binary: binary-arch binary-indep
-
-.PHONY: binary binary-arch binary-indep install clean build
-

Modified: trunk/liblchown-perl/t/allplatforms.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblchown-perl/t/allplatforms.t?rev=46123&op=diff
==============================================================================
--- trunk/liblchown-perl/t/allplatforms.t (original)
+++ trunk/liblchown-perl/t/allplatforms.t Tue Oct 20 17:14:16 2009
@@ -1,3 +1,6 @@
+use strict;
+use warnings;
+
 use Test::More (tests => 2);
 
 BEGIN { use_ok('Lchown') }

Modified: trunk/liblchown-perl/t/noimport.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblchown-perl/t/noimport.t?rev=46123&op=diff
==============================================================================
--- trunk/liblchown-perl/t/noimport.t (original)
+++ trunk/liblchown-perl/t/noimport.t Tue Oct 20 17:14:16 2009
@@ -1,3 +1,6 @@
+use strict;
+use warnings;
+
 use Test::More (tests => 3);
 
 use Lchown ();
@@ -9,7 +12,7 @@
     symlink 'bar', 'foo' or die "symlink: $!";
     my $result = Lchown::lchown 123, 456, 'foo';
     is( $result, 1, "Lchown::Lchown prototype works" );
-    ($uid,$gid) = (lstat 'foo')[4,5];
+    my ($uid,$gid) = (lstat 'foo')[4,5];
     is( $uid, 123, "Lchown::lchown foo set uid 123" );
     is( $gid, 456, "Lchown::lchown foo set gid 456" );
 

Modified: trunk/liblchown-perl/t/notsup.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblchown-perl/t/notsup.t?rev=46123&op=diff
==============================================================================
--- trunk/liblchown-perl/t/notsup.t (original)
+++ trunk/liblchown-perl/t/notsup.t Tue Oct 20 17:14:16 2009
@@ -1,3 +1,6 @@
+use strict;
+use warnings;
+
 use Test::More (tests => 6);
 
 use Lchown qw(lchown LCHOWN_AVAILABLE);
@@ -11,6 +14,9 @@
     ok( ! defined lchown($uid, $gid), "null lchown call failed" );
     like( $!, '/function not implemented/i', "null lchown gave ENOSYS" );
     
+    my $symlink_exists = eval { symlink("",""); 1 };
+    skip "Symlink not supported", 4 if !defined($symlink_exists);
+
     symlink 'bar', 'foo' or skip "can't make a symlink", 2;
     ok( ! defined lchown($uid, $gid, 'foo'), "valid lchown call failed" );
     like( $!, '/function not implemented/i', "valid lchown gave ENOSYS" );

Modified: trunk/liblchown-perl/t/pod-coverage.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblchown-perl/t/pod-coverage.t?rev=46123&op=diff
==============================================================================
--- trunk/liblchown-perl/t/pod-coverage.t (original)
+++ trunk/liblchown-perl/t/pod-coverage.t Tue Oct 20 17:14:16 2009
@@ -1,3 +1,6 @@
+use strict;
+use warnings;
+
 use Test::More;
 eval "use Test::Pod::Coverage 1.00";
 plan skip_all => "Test::Pod::Coverage 1.00 required for testing POD coverage" if $@;

Modified: trunk/liblchown-perl/t/pod.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblchown-perl/t/pod.t?rev=46123&op=diff
==============================================================================
--- trunk/liblchown-perl/t/pod.t (original)
+++ trunk/liblchown-perl/t/pod.t Tue Oct 20 17:14:16 2009
@@ -1,3 +1,6 @@
+use strict;
+use warnings;
+
 use Test::More;
 eval "use Test::Pod 1.00";
 plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;

Modified: trunk/liblchown-perl/t/sup.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblchown-perl/t/sup.t?rev=46123&op=diff
==============================================================================
--- trunk/liblchown-perl/t/sup.t (original)
+++ trunk/liblchown-perl/t/sup.t Tue Oct 20 17:14:16 2009
@@ -1,3 +1,5 @@
+use strict;
+use warnings;
 use Test::More (tests => 17);
 
 use Lchown qw(lchown LCHOWN_AVAILABLE);




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