r15510 - in /branches/upstream/liblockfile-simple-perl/current: ChangeLog Lock.pm Lock/Simple.pm MANIFEST META.yml Makefile.PL Manager.pm README Simple.pm t/basic.t t/simple.t t/user.t

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sun Feb 24 20:48:20 UTC 2008


Author: dmn
Date: Sun Feb 24 20:48:19 2008
New Revision: 15510

URL: http://svn.debian.org/wsvn/?sc=1&rev=15510
Log:
[svn-upgrade] Integrating new upstream version, liblockfile-simple-perl (0.206)

Added:
    branches/upstream/liblockfile-simple-perl/current/META.yml
Modified:
    branches/upstream/liblockfile-simple-perl/current/ChangeLog
    branches/upstream/liblockfile-simple-perl/current/Lock.pm
    branches/upstream/liblockfile-simple-perl/current/Lock/Simple.pm
    branches/upstream/liblockfile-simple-perl/current/MANIFEST
    branches/upstream/liblockfile-simple-perl/current/Makefile.PL
    branches/upstream/liblockfile-simple-perl/current/Manager.pm
    branches/upstream/liblockfile-simple-perl/current/README
    branches/upstream/liblockfile-simple-perl/current/Simple.pm
    branches/upstream/liblockfile-simple-perl/current/t/basic.t
    branches/upstream/liblockfile-simple-perl/current/t/simple.t
    branches/upstream/liblockfile-simple-perl/current/t/user.t

Modified: branches/upstream/liblockfile-simple-perl/current/ChangeLog
URL: http://svn.debian.org/wsvn/branches/upstream/liblockfile-simple-perl/current/ChangeLog?rev=15510&op=diff
==============================================================================
--- branches/upstream/liblockfile-simple-perl/current/ChangeLog (original)
+++ branches/upstream/liblockfile-simple-perl/current/ChangeLog Sun Feb 24 20:48:19 2008
@@ -1,3 +1,7 @@
+Fri Sep 28 21:20:57 CEST 2007   Johan Vromans <jv at span.org>
+
+	Changed LICENSE to include GPL.
+
 Mon Sep 18 21:56:05 MEST 2000   Raphael Manfredi <Raphael_Manfredi at grenoble.hp.com>
 
 . Description:

Modified: branches/upstream/liblockfile-simple-perl/current/Lock.pm
URL: http://svn.debian.org/wsvn/branches/upstream/liblockfile-simple-perl/current/Lock.pm?rev=15510&op=diff
==============================================================================
--- branches/upstream/liblockfile-simple-perl/current/Lock.pm (original)
+++ branches/upstream/liblockfile-simple-perl/current/Lock.pm Sun Feb 24 20:48:19 2008
@@ -1,11 +1,11 @@
 ;# $Id
 ;#
-;#  Copyright (c) 1998-1999, Raphael Manfredi
-;#  
-;#  You may redistribute only under the terms of the Artistic License,
-;#  as specified in the README file that comes with the distribution.
+;#  @COPYRIGHT@
 ;#
 ;# $Log: Lock.pm,v $
+;# Revision 0.3  2007/09/28 19:20:14  jv
+;# Track where lock was issued in the code.
+;#
 ;# Revision 0.2.1.1  2000/01/04 21:16:28  ram
 ;# patch1: track where lock was issued in the code
 ;#

Modified: branches/upstream/liblockfile-simple-perl/current/Lock/Simple.pm
URL: http://svn.debian.org/wsvn/branches/upstream/liblockfile-simple-perl/current/Lock/Simple.pm?rev=15510&op=diff
==============================================================================
--- branches/upstream/liblockfile-simple-perl/current/Lock/Simple.pm (original)
+++ branches/upstream/liblockfile-simple-perl/current/Lock/Simple.pm Sun Feb 24 20:48:19 2008
@@ -1,11 +1,11 @@
 ;# $Id
 ;#
-;#  Copyright (c) 1998-1999, Raphael Manfredi
-;#  
-;#  You may redistribute only under the terms of the Artistic License,
-;#  as specified in the README file that comes with the distribution.
+;#  @COPYRIGHT@
 ;#
 ;# $Log: Simple.pm,v $
+;# Revision 0.3  2007/09/28 19:18:27  jv
+;# Track where lock was issued in the code.
+;#
 ;# Revision 0.2.1.1  2000/01/04 21:16:35  ram
 ;# patch1: track where lock was issued in the code
 ;#

Modified: branches/upstream/liblockfile-simple-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/branches/upstream/liblockfile-simple-perl/current/MANIFEST?rev=15510&op=diff
==============================================================================
--- branches/upstream/liblockfile-simple-perl/current/MANIFEST (original)
+++ branches/upstream/liblockfile-simple-perl/current/MANIFEST Sun Feb 24 20:48:19 2008
@@ -10,3 +10,4 @@
 t/basic.t                 Basic tests
 t/simple.t                Test OO interface
 t/user.t                  Test user-defined settings
+META.yml                                 Module meta-data (added by MakeMaker)

Added: branches/upstream/liblockfile-simple-perl/current/META.yml
URL: http://svn.debian.org/wsvn/branches/upstream/liblockfile-simple-perl/current/META.yml?rev=15510&op=file
==============================================================================
--- branches/upstream/liblockfile-simple-perl/current/META.yml (added)
+++ branches/upstream/liblockfile-simple-perl/current/META.yml Sun Feb 24 20:48:19 2008
@@ -1,0 +1,10 @@
+# http://module-build.sourceforge.net/META-spec.html
+#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
+name:         LockFile-Simple
+version:      0.206
+version_from: Simple.pm
+installdirs:  site
+requires:
+
+distribution_type: module
+generated_by: ExtUtils::MakeMaker version 6.30

Modified: branches/upstream/liblockfile-simple-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/branches/upstream/liblockfile-simple-perl/current/Makefile.PL?rev=15510&op=diff
==============================================================================
--- branches/upstream/liblockfile-simple-perl/current/Makefile.PL (original)
+++ branches/upstream/liblockfile-simple-perl/current/Makefile.PL Sun Feb 24 20:48:19 2008
@@ -1,9 +1,6 @@
-# $Id: Makefile.PL,v 0.2 1999/12/07 20:51:05 ram Exp $
+# $Id: Makefile.PL,v 0.2 1999/12/07 20:51:05 ram Exp ram $
 #
-#  Copyright (c) 1998-1999, Raphael Manfredi
-#  
-#  You may redistribute only under the terms of the Artistic License,
-#  as specified in the README file that comes with the distribution.
+#  @COPYRIGHT@
 #
 # $Log: Makefile.PL,v $
 # Revision 0.2  1999/12/07 20:51:05  ram

Modified: branches/upstream/liblockfile-simple-perl/current/Manager.pm
URL: http://svn.debian.org/wsvn/branches/upstream/liblockfile-simple-perl/current/Manager.pm?rev=15510&op=diff
==============================================================================
--- branches/upstream/liblockfile-simple-perl/current/Manager.pm (original)
+++ branches/upstream/liblockfile-simple-perl/current/Manager.pm Sun Feb 24 20:48:19 2008
@@ -1,9 +1,6 @@
 ;# $Id
 ;#
-;#  Copyright (c) 1998-1999, Raphael Manfredi
-;#  
-;#  You may redistribute only under the terms of the Artistic License,
-;#  as specified in the README file that comes with the distribution.
+;#  @COPYRIGHT@
 ;#
 ;# $Log: Manager.pm,v $
 ;# Revision 0.2  1999/12/07 20:51:05  ram

Modified: branches/upstream/liblockfile-simple-perl/current/README
URL: http://svn.debian.org/wsvn/branches/upstream/liblockfile-simple-perl/current/README?rev=15510&op=diff
==============================================================================
--- branches/upstream/liblockfile-simple-perl/current/README (original)
+++ branches/upstream/liblockfile-simple-perl/current/README Sun Feb 24 20:48:19 2008
@@ -1,5 +1,9 @@
+                        LockFile::Simple 0.206
+              Copyright (c) 2000,2007, Johan Vromans
+
                         LockFile::Simple 0.2
               Copyright (c) 1998-1999, Raphael Manfredi
+
 
 ------------------------------------------------------------------------
     This program is free software; you can redistribute it and/or modify

Modified: branches/upstream/liblockfile-simple-perl/current/Simple.pm
URL: http://svn.debian.org/wsvn/branches/upstream/liblockfile-simple-perl/current/Simple.pm?rev=15510&op=diff
==============================================================================
--- branches/upstream/liblockfile-simple-perl/current/Simple.pm (original)
+++ branches/upstream/liblockfile-simple-perl/current/Simple.pm Sun Feb 24 20:48:19 2008
@@ -1,11 +1,12 @@
 ;# $Id
 ;#
-;#  Copyright (c) 1998-1999, Raphael Manfredi
-;#  
-;#  You may redistribute only under the terms of the Artistic License,
-;#  as specified in the README file that comes with the distribution.
+;#  @COPYRIGHT@
 ;#
 ;# $Log: Simple.pm,v $
+;# Revision 0.4  2007/09/28 19:22:05  jv
+;# Bump version.
+;#
+;# Revision 0.3  2007/09/28 19:19:41  jv
 ;# Revision 0.2.1.5  2000/09/18 19:55:07  ram
 ;# patch5: fixed computation of %F and %D when no '/' in file name
 ;# patch5: fixed OO example of lock to emphasize check on returned value
@@ -29,6 +30,29 @@
 ;# patch1: force $\ to be undef prior to writing the PID to lockfile
 ;# patch1: track where lock was issued in the code
 ;#
+;# Revision 0.2.1.5  2000/09/18 19:55:07  ram
+;# patch5: fixed computation of %F and %D when no '/' in file name
+;# patch5: fixed OO example of lock to emphasize check on returned value
+;# patch5: now warns when no lockfile is found during unlocking
+;#
+;# Revision 0.2.1.4  2000/08/15 18:41:43  ram
+;# patch4: updated version number, grrr...
+;#
+;# Revision 0.2.1.3  2000/08/15 18:37:37  ram
+;# patch3: fixed non-working "-wfunc => undef" due to misuse of defined()
+;# patch3: check for stale lock while we wait for it
+;# patch3: untaint pid before running kill() for -T scripts
+;#
+;# Revision 0.2.1.2  2000/03/02 22:35:02  ram
+;# patch2: allow "undef" in -efunc and -wfunc to suppress logging
+;# patch2: documented how to force warn() despite Log::Agent being there
+;#
+;# Revision 0.2.1.1  2000/01/04 21:18:10  ram
+;# patch1: logerr and logwarn are autoloaded, need to check something real
+;# patch1: forbid re-lock of a file we already locked
+;# patch1: force $\ to be undef prior to writing the PID to lockfile
+;# patch1: track where lock was issued in the code
+;#
 ;# Revision 0.2  1999/12/07 20:51:05  ram
 ;# Baseline for 0.2 release.
 ;#
@@ -53,7 +77,7 @@
 @ISA = qw(Exporter);
 @EXPORT = ();
 @EXPORT_OK = qw(lock trylock unlock);
-$VERSION = '0.205';
+$VERSION = '0.206';
 
 my $LOCKER = undef;			# Default locking object
 
@@ -547,6 +571,7 @@
 		$hostname = " on $hostname";
 	} else {
 		($pid) = $stamp =~ /^(\d+)$/;		# Untaint $pid for kill()
+		$hostname = '';
 		return if kill 0, $pid;
 	}
 

Modified: branches/upstream/liblockfile-simple-perl/current/t/basic.t
URL: http://svn.debian.org/wsvn/branches/upstream/liblockfile-simple-perl/current/t/basic.t?rev=15510&op=diff
==============================================================================
--- branches/upstream/liblockfile-simple-perl/current/t/basic.t (original)
+++ branches/upstream/liblockfile-simple-perl/current/t/basic.t Sun Feb 24 20:48:19 2008
@@ -1,11 +1,8 @@
 #!./perl
 
-# $Id: basic.t,v 0.2 1999/12/07 20:51:05 ram Exp $
+# $Id: basic.t,v 0.2 1999/12/07 20:51:05 ram Exp ram $
 #
-#  Copyright (c) 1998-1999, Raphael Manfredi
-#  
-#  You may redistribute only under the terms of the Artistic License,
-#  as specified in the README file that comes with the distribution.
+#  @COPYRIGHT@
 #
 # $Log: basic.t,v $
 # Revision 0.2  1999/12/07 20:51:05  ram

Modified: branches/upstream/liblockfile-simple-perl/current/t/simple.t
URL: http://svn.debian.org/wsvn/branches/upstream/liblockfile-simple-perl/current/t/simple.t?rev=15510&op=diff
==============================================================================
--- branches/upstream/liblockfile-simple-perl/current/t/simple.t (original)
+++ branches/upstream/liblockfile-simple-perl/current/t/simple.t Sun Feb 24 20:48:19 2008
@@ -1,13 +1,13 @@
 #!./perl
 
-# $Id: simple.t,v 0.2.1.1 2000/08/15 18:37:45 ram Exp $
+# $Id: simple.t,v 0.3 2007/09/28 19:18:46 jv Exp $
 #
-#  Copyright (c) 1998-1999, Raphael Manfredi
-#  
-#  You may redistribute only under the terms of the Artistic License,
-#  as specified in the README file that comes with the distribution.
+#  @COPYRIGHT@
 #
 # $Log: simple.t,v $
+# Revision 0.3  2007/09/28 19:18:46  jv
+# Forgot to remove "t.mark".
+#
 # Revision 0.2.1.1  2000/08/15 18:37:45  ram
 # patch3: forgot to remove "t.mark"
 #

Modified: branches/upstream/liblockfile-simple-perl/current/t/user.t
URL: http://svn.debian.org/wsvn/branches/upstream/liblockfile-simple-perl/current/t/user.t?rev=15510&op=diff
==============================================================================
--- branches/upstream/liblockfile-simple-perl/current/t/user.t (original)
+++ branches/upstream/liblockfile-simple-perl/current/t/user.t Sun Feb 24 20:48:19 2008
@@ -1,11 +1,8 @@
 #!./perl
 
-# $Id: user.t,v 0.2 1999/12/07 20:51:05 ram Exp $
+# $Id: user.t,v 0.2 1999/12/07 20:51:05 ram Exp ram $
 #
-#  Copyright (c) 1998-1999, Raphael Manfredi
-#  
-#  You may redistribute only under the terms of the Artistic License,
-#  as specified in the README file that comes with the distribution.
+#  @COPYRIGHT@
 #
 # $Log: user.t,v $
 # Revision 0.2  1999/12/07 20:51:05  ram




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