r24049 - in /trunk/libapache-session-perl: ./ Session/Generate/ Session/Lock/ debian/ debian/patches/ t/

rmayorga-guest at users.alioth.debian.org rmayorga-guest at users.alioth.debian.org
Sun Aug 10 05:19:15 UTC 2008


Author: rmayorga-guest
Date: Sun Aug 10 05:19:12 2008
New Revision: 24049

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=24049
Log:
* New upstream release
* debian/control
  + Set standards-Version to 3.8.0 
    + Add README.source
  + Bump compat level and dehelper to 7
  + Add myself to uploaders
  + Add ${misc:Depends} to Depends field
* refresh debian/rules with rules.dh7.noxs
* Add shebang to examples instead or changing their perms.
  + Adding shebang_examples.patch
  + Add quilt to Build-Depends
* Convert debian/copyright to the new proposed format

Added:
    trunk/libapache-session-perl/debian/libapache-session-perl.examples
    trunk/libapache-session-perl/debian/patches/
    trunk/libapache-session-perl/debian/patches/series
    trunk/libapache-session-perl/debian/patches/shebang_examples.patch
Modified:
    trunk/libapache-session-perl/CHANGES
    trunk/libapache-session-perl/META.yml
    trunk/libapache-session-perl/Makefile.PL
    trunk/libapache-session-perl/README
    trunk/libapache-session-perl/Session.pm
    trunk/libapache-session-perl/Session/Generate/MD5.pm
    trunk/libapache-session-perl/Session/Lock/Semaphore.pm
    trunk/libapache-session-perl/debian/changelog
    trunk/libapache-session-perl/debian/compat
    trunk/libapache-session-perl/debian/control
    trunk/libapache-session-perl/debian/copyright
    trunk/libapache-session-perl/debian/rules
    trunk/libapache-session-perl/t/99flex.t
    trunk/libapache-session-perl/t/99semaphore.t

Modified: trunk/libapache-session-perl/CHANGES
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-session-perl/CHANGES?rev=24049&op=diff
==============================================================================
--- trunk/libapache-session-perl/CHANGES (original)
+++ trunk/libapache-session-perl/CHANGES Sun Aug 10 05:19:12 2008
@@ -1,7 +1,20 @@
-In some distant future Apache::Session may require perl 5.6.
+In near future Apache::Session may require perl 5.6.
 If you use perl older than 5.6 - write to alexchorny[AT]gmail.com
 and tell me what version do you use, why and will you need newer versions
 of Apache::Session.
+
+1.87=1.86_03   2008-08-08
+1.86_03   2008-08-03 by Alexandr Ciornii
+  - disabled 99semaphore.t. Help needed.
+
+1.86_02   2008-06-27 by Alexandr Ciornii
+  - correct number of tests in 99semaphore.t
+
+1.86_01   2008-06-20 by Alexandr Ciornii
+  - use Carp::confess in Apache::Session::Lock::Semaphore
+  - more info in die message in Apache::Session::Generate::MD5 (RT#36412, by Knut Arne Bjorndal)
+  - semaphore tests check for semctl availability
+  - Makefile.PL prints message if perl version < 5.006
 
 1.86   2008-02-01 by Alexandr Ciornii
   - Default number of semaphores for *BSD is 8 in Apache::Session::Lock::Semaphore

Modified: trunk/libapache-session-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-session-perl/META.yml?rev=24049&op=diff
==============================================================================
--- trunk/libapache-session-perl/META.yml (original)
+++ trunk/libapache-session-perl/META.yml Sun Aug 10 05:19:12 2008
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:                Apache-Session
-version:             1.86
+version:             1.87
 abstract:            A persistence framework for session data
 license:             perl
 generated_by:        ExtUtils::MakeMaker version 6.32

Modified: trunk/libapache-session-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-session-perl/Makefile.PL?rev=24049&op=diff
==============================================================================
--- trunk/libapache-session-perl/Makefile.PL (original)
+++ trunk/libapache-session-perl/Makefile.PL Sun Aug 10 05:19:12 2008
@@ -1,5 +1,7 @@
-use 5.003_07; #earliest version on CPAN
-#Symbol.pm requires 5.002
+use 5.002; #Symbol.pm requires 5.002
+#5.004 almost 11 years ago
+#5.003_07 earliest version on CPAN
+
 use ExtUtils::MakeMaker;
 
 print << 'EOT';
@@ -8,15 +10,20 @@
 Please use Test::Reporter to report test results - it's the only way to measure
 popularity of distribution.
 
-If you use perl older than 5.6 - write to alexchorny[AT]gmail.com
+EOT
+
+if ($]<5.006) {
+  print << 'EOT1';
+If you really use perl older than 5.6 - write to alexchorny[AT]gmail.com
 and tell me what version do you use, and why.
-
-EOT
+EOT1
+  prompt('continue','y');
+}
 
 WriteMakefile(
     NAME         => "Apache::Session",
     VERSION_FROM => "Session.pm",
-    ($ExtUtils::MakeMaker::VERSION gt '6.30'? 
+    ($ExtUtils::MakeMaker::VERSION ge '6.31'? 
      ('LICENSE'		=> 'perl', ) : ()),
     PREREQ_PM    => {
                      'Test::More'      => '0.47',

Modified: trunk/libapache-session-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-session-perl/README?rev=24049&op=diff
==============================================================================
--- trunk/libapache-session-perl/README (original)
+++ trunk/libapache-session-perl/README Sun Aug 10 05:19:12 2008
@@ -7,12 +7,15 @@
 DESCRIPTION
 -----------
 
-This is Apache::Session 1.84
+This is Apache::Session 1.86
 
 These modules provide persistent storage for arbitrary data, in arbitrary
 backing stores.  The details of interacting with the backing store are
 abstracted to make all backing stores behave alike.  The programmer simply
 interacts with a tied hash.
+
+COPYRIGHT AND LICENSE
+---------------------
 
 Apache::Session is Copyright (c) 1998, 1999, 2000, 2001, 2004  Jeffrey William
 Baker <jwbaker at acm.org>.  Distribute under the same terms as Perl itself.
@@ -23,8 +26,10 @@
 PREREQUISITES
 -------------
 
-No particular modules are required, but most of Apache::Session's functions
-require Digest::MD5 and Storable.
+Required for testing: Test::More, Test::Deep, Test::Exception, File::Temp
+Required for work: Storable, constant
+
+Most of Apache::Session's functions require Digest::MD5.
 
 If you wish to use the DBI backing stores, you need the latest version of DBI
 and the driver for your database.  Currently MySQL, Postgres, and Oracle are
@@ -32,9 +37,14 @@
 
 INSTALLATION
 ------------
+Auto
+Use CPAN's or CPANPLUS's shell.
 
-tar -xvzf Apache-Session-1.6.tar.gz
-cd Apache-Session-1.6
+Manual:
+
+
+tar -xvzf Apache-Session-1.86.tar.gz
+cd Apache-Session-1.86
 perl Makefile.PL
 make
 make test

Modified: trunk/libapache-session-perl/Session.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-session-perl/Session.pm?rev=24049&op=diff
==============================================================================
--- trunk/libapache-session-perl/Session.pm (original)
+++ trunk/libapache-session-perl/Session.pm Sun Aug 10 05:19:12 2008
@@ -256,6 +256,10 @@
 
 Session - OO interface to Apache::Session
 
+=head1 LICENSE
+
+Same as Perl.
+
 =head1 AUTHORS
 
 Jeffrey Baker <jwbaker at acm.org> is the author of 
@@ -319,7 +323,7 @@
 use strict;
 use vars qw($VERSION);
 
-$VERSION = '1.86';
+$VERSION = '1.87';
 $VERSION = eval $VERSION;
 
 #State constants

Modified: trunk/libapache-session-perl/Session/Generate/MD5.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-session-perl/Session/Generate/MD5.pm?rev=24049&op=diff
==============================================================================
--- trunk/libapache-session-perl/Session/Generate/MD5.pm (original)
+++ trunk/libapache-session-perl/Session/Generate/MD5.pm Sun Aug 10 05:19:12 2008
@@ -13,7 +13,7 @@
 use vars qw($VERSION);
 use Digest::MD5;
 
-$VERSION = '2.1';
+$VERSION = '2.11';
 
 sub generate {
     my $session = shift;
@@ -37,7 +37,7 @@
     my $session = shift;
     
     if ($session->{data}->{_session_id} !~ /^[a-fA-F0-9]+$/) {
-        die;
+        die "Invalid session ID: ".$session->{data}->{_session_id};
     }
 }
 

Modified: trunk/libapache-session-perl/Session/Lock/Semaphore.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-session-perl/Session/Lock/Semaphore.pm?rev=24049&op=diff
==============================================================================
--- trunk/libapache-session-perl/Session/Lock/Semaphore.pm (original)
+++ trunk/libapache-session-perl/Session/Lock/Semaphore.pm Sun Aug 10 05:19:12 2008
@@ -13,6 +13,7 @@
 use Config;
 use IPC::SysV qw(IPC_PRIVATE IPC_CREAT S_IRWXU SEM_UNDO);
 use IPC::Semaphore;
+use Carp qw/croak confess/;
 use vars qw($VERSION);
 
 $VERSION = '1.04';
@@ -63,9 +64,9 @@
     return if $self->{write};
 
     if (!$self->{sem}) {    
-        $self->{sem} = new IPC::Semaphore(
+        $self->{sem} = IPC::Semaphore->new(
             defined($self->{sem_key})?$self->{sem_key}:IPC_PRIVATE, $self->{nsems},
-            IPC_CREAT | S_IRWXU) || die "Cannot create semaphore with key $self->{sem_key}: $!";
+            IPC_CREAT | S_IRWXU) || confess("Cannot create semaphore with key $self->{sem_key}; NSEMS: $self->{nsems}: $!");
     }
     
     if (!defined $self->{read_sem}) {
@@ -101,9 +102,9 @@
     return if($self->{write});
 
     if (!$self->{sem}) {
-        $self->{sem} = new IPC::Semaphore(
+        $self->{sem} = IPC::Semaphore->new(
             defined($self->{sem_key})?$self->{sem_key}:IPC_PRIVATE, $self->{nsems},
-            IPC_CREAT | S_IRWXU) || die "Cannot create semaphore with key $self->{sem_key}: $!";
+            IPC_CREAT | S_IRWXU) || confess "Cannot create semaphore with key $self->{sem_key}; NSEMS: $self->{nsems}: $!";
     }
     
     if (!defined $self->{read_sem}) {

Modified: trunk/libapache-session-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-session-perl/debian/changelog?rev=24049&op=diff
==============================================================================
--- trunk/libapache-session-perl/debian/changelog (original)
+++ trunk/libapache-session-perl/debian/changelog Sun Aug 10 05:19:12 2008
@@ -1,8 +1,23 @@
-libapache-session-perl (1.86-2) UNRELEASED; urgency=low
-
+libapache-session-perl (1.87-1) unstable; urgency=low
+
+  [ Joachim Breitner ]
   * Removed myself from uploaders.
 
- -- Joachim Breitner <nomeata at debian.org>  Wed, 13 Feb 2008 23:28:11 +0000
+  [ Rene Mayorga ]
+  * New upstream release
+  * debian/control
+    + Set standards-Version to 3.8.0 
+      + Add README.source
+    + Bump compat level and dehelper to 7
+    + Add myself to uploaders
+    + Add ${misc:Depends} to Depends field
+  * refresh debian/rules with rules.dh7.noxs
+  * Add shebang to examples instead or changing their perms.
+    + Adding shebang_examples.patch
+    + Add quilt to Build-Depends
+  * Convert debian/copyright to the new proposed format
+
+ -- Rene Mayorga <rmayorga at debian.org.sv>  Sat, 09 Aug 2008 23:01:05 -0600
 
 libapache-session-perl (1.86-1) unstable; urgency=low
 

Modified: trunk/libapache-session-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-session-perl/debian/compat?rev=24049&op=diff
==============================================================================
--- trunk/libapache-session-perl/debian/compat (original)
+++ trunk/libapache-session-perl/debian/compat Sun Aug 10 05:19:12 2008
@@ -1,1 +1,1 @@
-6
+7

Modified: trunk/libapache-session-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-session-perl/debian/control?rev=24049&op=diff
==============================================================================
--- trunk/libapache-session-perl/debian/control (original)
+++ trunk/libapache-session-perl/debian/control Sun Aug 10 05:19:12 2008
@@ -5,13 +5,14 @@
  Carlo Segre <segre at debian.org>,
  Krzysztof Krzyzaniak (eloy) <eloy at debian.org>,
  Damyan Ivanov <dmn at debian.org>,
- Russ Allbery <rra at debian.org>
+ Russ Allbery <rra at debian.org>,
+ Rene Mayorga <rmayorga at debian.org.sv>
 Priority: optional
 Section: perl
-Build-Depends: debhelper (>= 6)
+Build-Depends: debhelper (>= 7), quilt
 Build-Depends-Indep: perl (>= 5.6.0-16), libtest-deep-perl,
  libtest-exception-perl, libtest-pod-perl
-Standards-Version: 3.7.3
+Standards-Version: 3.8.0
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libapache-session-perl/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-session-perl/
 Homepage: http://search.cpan.org/dist/Apache-Session/
@@ -20,7 +21,7 @@
 Architecture: all
 Priority: optional
 Section: perl
-Depends: ${perl:Depends}
+Depends: ${perl:Depends}, ${misc:Depends}
 Description: Perl modules for keeping persistent user data across http requests
  Apache::Session makes maintaining user data across http requests simple.
  It's usable from both mod_perl scripts and more traditional perl CGI

Modified: trunk/libapache-session-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-session-perl/debian/copyright?rev=24049&op=diff
==============================================================================
--- trunk/libapache-session-perl/debian/copyright (original)
+++ trunk/libapache-session-perl/debian/copyright Sun Aug 10 05:19:12 2008
@@ -1,97 +1,55 @@
-This is Debian GNU/Linux's prepackaged version of Jeffrey Baker
-<jwbaker at acm.org>'s Apache::Session.  This is a set of perl modules
-for storing and retrieving session information in CGI and mod_perl
-scripts.
+This Package was debianized by Michael Alan Dorman 
+<mdorman at debian.org> on Thu, 29 Jul 1999 11:41:05 -0400 and is Maintained 
+by the Debian Perl Group (pkg-perl)
 
-Michael Alan Dorman <mdorman at debian.org> put together this package
-from original Apache::Session sources.  The library is available from
-the Comprehensive Perl Archive Network (CPAN). Visit
-<URL:http://www.perl.com/CPAN/> to find a CPAN site near you.
+It was downloaded from: http://search.cpan.org/dist/Apache-Session/
 
-Current upstream source location:
-http://www.cpan.org/modules/by-module/Apache/
+Upstream Author: Jeffrey Baker <jwbaker at acm.org>
 
-Copyrights
-==========
+Files: *
+Copyright: © 1998, 1999, 2000, 2001, 2004 Jeffrey William Baker 
+ <jwbaker at acm.org>
+License: GPL-1+ | Artistic
+ These modules are free software. They may be used, redistributed
+ and/or modified under the same terms as Perl itsel.
 
-* Session.pm
-# Copyright(c) 1998, 1999, 2000, 2001, 2004 Jeffrey William Baker
-  (jwbaker at acm.org)
-% Distribute under the Perl License
+Files: Session/Store/Sybase.pm
+Copyright: © 2000, 2004 Jeffrey William Baker <jwbaker at acm.org>
+           © 2000, 2004 Mark Landry <mdlandry at lincoln.midcoast.com>
+	   © 2000, 2004 Chris Winters <chirs at cwinters.com>
+License: GPL-1+ | Artistic
+ These modules are free software. They may be used, redistributed
+ and/or modified under the same terms as Perl itsel.
 
-* Session/Serialize/Sybase.pm
-# Copyright(c) 2000 Jeffrey William Baker (jwbaker at acm.org)
-  Modified from Apache::Session::Serialize::Storable by Chris Winters
-  (chris at cwinters.com)
-% Distribute under the Perl License
+Files: Session/Store/Informix.pm
+Copyright: © 1998, 1999, 2000, 2004 Jeffrey William Baker <jwbaker at acm.org>
+	   © 1998, 1999, 2000, 2004 Mike Langen <mike.langen at tamedia.ch>
+License: GPL-1+ | Artistic
+ These modules are free software. They may be used, redistributed
+ and/or modified under the same terms as Perl itsel.
 
-* Session/Serialize/UUEncode.pm
-  Session/Serialize/Storable.pm
-  Session/Serialize/Base64.pm
-  Session/DB_File.pm
-  Session/Store/DB_File.pm
-  Session/Lock/MySQL.pm
-  Session/Informix.pm
-  Session/Oracle.pm
-# Copyright(c) 2000 Jeffrey William Baker (jwbaker at acm.org)
-% Distribute under the Perl License
+Files: Session/Sybase.pm
+Copyright: © 1998, 1999, 2000 Jeffrey William Baker <jwbaker at acm.org>
+           © 1998, 1999, 2000 Chris Winters <chris at cwinters.com>
+License: GPL-1+ | Artistic
+ These modules are free software. They may be used, redistributed
+ and/or modified under the same terms as Perl itsel.
 
-* Session/Store/MySQL.pm
-  Session/Store/File.pm
-  Session/Lock/File.pm
-# Copyright(c) 1998, 1999, 2000, 2004 Jeffrey William Baker (jwbaker at acm.org)
-% Distribute under the Perl License
+Files: Session/Generate/ModUniqueID.pm
+       Session/Generate/ModUsertrack.pm
+Copyright: © 2001 Tatsuhiko Miyagawa <miyagawa at bulknews.net>
+License: GPL-1+ | Artistic
+ These modules are free software. They may be used, redistributed
+ and/or modified under the same terms as Perl itsel.
 
-* Session/Store/Sybase.pm
-# Copyright(c) 2000, 2004 Jeffrey William Baker (jwbaker at acm.org), Mark
-  Landry (mdlandry at lincoln.midcoast.com), and Chris Winters
-  (chris at cwinters.com)
+Files: debian/*
+Copyright: © 2008 Debian Perl Group
+                  <pkg-perl-maintainers at lists.alioth.debian.org>
+	   © 1999 Michel Alan Dorman
+	          <mdorman at debian.org>
+License: GPL-1+ | Artistic
 
-  With modifications from earlier version of Apache::Session::DBI::Sybase
-    from Mark Landry (mdlandry at lincoln.midcoast.com)
-
-  Modified to work with Apache::Session v 1.5+ by Chris Winters
-  (chris at cwinters.com)
-
-% Distribute under the Perl License
-
-* Session/Store/Postgres.pm
-  Session/Store/Oracle.pm
-  Session/Lock/Null.pm
-  Session/Lock/Semaphore.pm
-  Session/MySQL.pm
-  Session/Postgres.pm
-  Session/File.pm
-# Copyright(c) 1998, 1999, 2000 Jeffrey William Baker (jwbaker at acm.org)
-% Distribute under the Perl License
-
-* Session/Store/Informix.pm
-# Copyright(c) 1998, 1999, 2000, 2004 Jeffrey William Baker (jwbaker at acm.org)
-  and Mike Langen (mike.langen at tamedia.ch)
-% Distribute under the Perl License
-
-* Session/Store/DBI.pm
-# Copyright(c) 2000, 2004 Jeffrey William Baker (jwbaker at acm.org)
-% Distribute under the Perl License
-
-* Session/Flex.pm
-  Session/Generate/MD5.pm
-# Copyright(c) 2000, 2001 Jeffrey William Baker (jwbaker at acm.org)
-% Distribute under the Perl License
-
-* Session/Lock/Sybase.pm
-# Copyright(c) 2003 Oliver Maul (oli at 42.nu)
-% Distribute under the Perl License
-
-* Session/Sybase.pm
-# Copyright(c) 1998, 1999, 2000 Jeffrey William Baker (jwbaker at acm.org)
-  Modified from Apache::Session::MySQL by Chris Winters (chris at cwinters.com)
-5 Distribute under the Perl License
-
-Tatsuhiko Miyagawa <miyagawa at bulknews.net> is the author of
-Generate::ModUniqueID and Generate::ModUsertrack
-
-Perl license is as follows:
+The Perl license is:
     This program is free software; you can redistribute it and/or modify
     it under the terms of either:
 
@@ -103,4 +61,4 @@
 
 On Debian GNU/Linux systems, the complete text of the GNU General Public
 License can be found in `/usr/share/common-licenses/GPL' and the Artistic
-Licence in `/usr/share/common-licenses/Artistic'.
+Licence in `/usr/share/common-licenses/Artistic'. 

Added: trunk/libapache-session-perl/debian/libapache-session-perl.examples
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-session-perl/debian/libapache-session-perl.examples?rev=24049&op=file
==============================================================================
--- trunk/libapache-session-perl/debian/libapache-session-perl.examples (added)
+++ trunk/libapache-session-perl/debian/libapache-session-perl.examples Sun Aug 10 05:19:12 2008
@@ -1,0 +1,1 @@
+eg/*

Added: trunk/libapache-session-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-session-perl/debian/patches/series?rev=24049&op=file
==============================================================================
--- trunk/libapache-session-perl/debian/patches/series (added)
+++ trunk/libapache-session-perl/debian/patches/series Sun Aug 10 05:19:12 2008
@@ -1,0 +1,1 @@
+shebang_examples.patch

Added: trunk/libapache-session-perl/debian/patches/shebang_examples.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-session-perl/debian/patches/shebang_examples.patch?rev=24049&op=file
==============================================================================
--- trunk/libapache-session-perl/debian/patches/shebang_examples.patch (added)
+++ trunk/libapache-session-perl/debian/patches/shebang_examples.patch Sun Aug 10 05:19:12 2008
@@ -1,0 +1,7 @@
+--- libapache-session-perl.orig/eg/example.perl
++++ libapache-session-perl/eg/example.perl
+@@ -1,3 +1,4 @@
++#!/usr/bin/perl
+ ######################################################################
+ #
+ # Consult the documentation before trying to run this file.

Modified: trunk/libapache-session-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-session-perl/debian/rules?rev=24049&op=diff
==============================================================================
--- trunk/libapache-session-perl/debian/rules (original)
+++ trunk/libapache-session-perl/debian/rules Sun Aug 10 05:19:12 2008
@@ -1,55 +1,24 @@
 #!/usr/bin/make -f
+include /usr/share/quilt/quilt.make
 
-PERL ?= /usr/bin/perl
+build: build-stamp
+build-stamp: $(QUILT_STAMPFN)
+	dh build
+	touch $@
 
-b := $(CURDIR)/debian/libapache-session-perl
+clean: unpatch
+	dh $@
+
+install: install-stamp
+install-stamp: build-stamp
+	dh install
+	touch $@
+
+binary-arch:
+
+binary-indep: install
+	dh $@
 
 binary: binary-arch binary-indep
 
-binary-arch: build install
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs README
-	dh_installexamples eg/*
-	dh_installchangelogs CHANGES
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_perl
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-build: build-stamp
-build-stamp: 
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
-	# This example should not have the executable bit on - It does not
-	# have a #!/usr/bin/perl line, and specifically advises not to just
-	# run it.
-	chmod 644 eg/example.perl
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	if [ -e Makefile ]; then $(MAKE) -i distclean; fi
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_installdirs
-	$(MAKE) install PREFIX=$(b)/usr
-	# As this is a architecture independent package, we are not
-	# supposed to install stuff to /usr/lib. MakeMaker creates
-	# the dirs, we delete them from the deb:
-	[ ! -d $(b)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(b)/usr/lib/perl5
-                                
-	touch install-stamp
-
-.PHONY: binary binary-arch binary-indep build clean install
+.PHONY: binary binary-arch binary-indep install clean build

Modified: trunk/libapache-session-perl/t/99flex.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-session-perl/t/99flex.t?rev=24049&op=diff
==============================================================================
--- trunk/libapache-session-perl/t/99flex.t (original)
+++ trunk/libapache-session-perl/t/99flex.t Sun Aug 10 05:19:12 2008
@@ -47,6 +47,7 @@
 
 SKIP: { #Flex that uses IPC
     skip "semget not implemented",5 unless $Config{d_semget};
+    skip "semctl not implemented",5 unless $Config{d_semctl};
     skip "Cygserver is not running",5 
      if $^O eq 'cygwin' && (!exists $ENV{'CYGWIN'} || $ENV{'CYGWIN'} !~ /server/i);
     skip "*BSD & Solaris do not like anonymous semaphores",5

Modified: trunk/libapache-session-perl/t/99semaphore.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-session-perl/t/99semaphore.t?rev=24049&op=diff
==============================================================================
--- trunk/libapache-session-perl/t/99semaphore.t (original)
+++ trunk/libapache-session-perl/t/99semaphore.t Sun Aug 10 05:19:12 2008
@@ -1,5 +1,6 @@
+use strict;
 use Test::More;
-use Test::Exception;
+#use Test::Exception;
 use File::Temp qw[tempdir];
 #use Cwd qw[getcwd];
 use Config;
@@ -8,6 +9,9 @@
  plan skip_all => "semget not implemented" unless $Config{d_semget};
  #Darwin may not have semaphores, see
  #http://sysnet.ucsd.edu/~bellardo/darwin/sysvsem.html
+ plan skip_all => "semctl not implemented" unless $Config{d_semctl};
+ plan skip_all => "Can't tune this test. Help needed.";
+ 
  plan skip_all => "Optional modules (IPC::SysV, IPC::Semaphore) not installed"
   unless eval {
                require IPC::SysV;
@@ -49,6 +53,7 @@
     ok(defined($semnum),'$locker->{read_sem} is defined');
 
     my $sem = IPC::Semaphore->new($semkey, $number++, S_IRWXU);
+    diag("NSems: $iter, error: $!") unless defined($sem);
 
     isa_ok $sem, 'IPC::Semaphore';
 




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