r25364 - in /trunk/libphp-serialization-perl: Changes MANIFEST META.yml debian/changelog debian/compat debian/control debian/copyright debian/rules lib/PHP/Serialization.pm t/02basic.t t/04arraysRT21218.t t/05RT24441.t

ansgar-guest at users.alioth.debian.org ansgar-guest at users.alioth.debian.org
Fri Sep 19 13:10:23 UTC 2008


Author: ansgar-guest
Date: Fri Sep 19 13:10:19 2008
New Revision: 25364

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=25364
Log:
* New upstream release.
* Refresh debian/rules for debhelper 7
* Add myself to Uploaders
* debian/control: Fix Homepage field
* Convert debian/copyright to proposed machine-readable format
* debian/control: Don't start short description with a capital letter

Added:
    trunk/libphp-serialization-perl/t/04arraysRT21218.t
      - copied unchanged from r25362, branches/upstream/libphp-serialization-perl/current/t/04arraysRT21218.t
    trunk/libphp-serialization-perl/t/05RT24441.t
      - copied unchanged from r25362, branches/upstream/libphp-serialization-perl/current/t/05RT24441.t
Modified:
    trunk/libphp-serialization-perl/Changes
    trunk/libphp-serialization-perl/MANIFEST
    trunk/libphp-serialization-perl/META.yml
    trunk/libphp-serialization-perl/debian/changelog
    trunk/libphp-serialization-perl/debian/compat
    trunk/libphp-serialization-perl/debian/control
    trunk/libphp-serialization-perl/debian/copyright
    trunk/libphp-serialization-perl/debian/rules
    trunk/libphp-serialization-perl/lib/PHP/Serialization.pm
    trunk/libphp-serialization-perl/t/02basic.t

Modified: trunk/libphp-serialization-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libphp-serialization-perl/Changes?rev=25364&op=diff
==============================================================================
--- trunk/libphp-serialization-perl/Changes (original)
+++ trunk/libphp-serialization-perl/Changes Fri Sep 19 13:10:19 2008
@@ -1,15 +1,24 @@
 Revision history for Perl extension PHP::Serialization
 
+0.29  2008-09-17
+ - Fix bug with negative numbers, RT#6402, patch from
+   <tom [...] eborcom.com>
+ - Add TODO test for RT21218
+ - Add TODO test for RT24441
+
 0.28
- - Fix RT#6112 - serializing long integers comes out as -1 on the PHP end
-   patch from <kcivey at cpcug.org>.
- - Add test for the issue above.
- - Fix POD as noted in RT#6113.
- - Only require perl 5.6 in Makefile.PL (RT#17034)
+ - Serializing long integers comes out  as -1 on the PHP end 
+   as noted in RT#6112 patch from <kcivey [...] cpcug.org>.
+ - Add test for the issue above (t0m).
+ - Fix POD as noted in RT#6113 by MCMAHON.
+ - Only require perl 5.6 in Makefile.PL as noted in RT#17034
+   by <kcivey [...] cpcug.org>
 
 0.27
- - Fixed versioning (internal lib version was .26, was reporting as .25 in previous version)
- - Fixed array serialization/unserialization issues due to incorrect element counts
+ - Fixed versioning (internal lib version was .26, was reporting 
+   as .25 in previous version)
+ - Fixed array serialization/unserialization issues due to 
+   incorrect element counts
  - Fixed overly restrictive perl version requirement
  - Fixed formatting issues in the documentation
 

Modified: trunk/libphp-serialization-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libphp-serialization-perl/MANIFEST?rev=25364&op=diff
==============================================================================
--- trunk/libphp-serialization-perl/MANIFEST (original)
+++ trunk/libphp-serialization-perl/MANIFEST Fri Sep 19 13:10:19 2008
@@ -6,4 +6,6 @@
 t/01use.t
 t/02basic.t
 t/03largeints.t
+t/04arraysRT21218.t
+t/05RT24441.t
 META.yml                                 Module meta-data (added by MakeMaker)

Modified: trunk/libphp-serialization-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libphp-serialization-perl/META.yml?rev=25364&op=diff
==============================================================================
--- trunk/libphp-serialization-perl/META.yml (original)
+++ trunk/libphp-serialization-perl/META.yml Fri Sep 19 13:10:19 2008
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:                PHP-Serialization
-version:             0.28
+version:             0.29
 abstract:            simple flexible means of converting the output of PHP's serialize() into the equivalent Perl memory structure, and vice versa.
 license:             ~
 author:              

Modified: trunk/libphp-serialization-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libphp-serialization-perl/debian/changelog?rev=25364&op=diff
==============================================================================
--- trunk/libphp-serialization-perl/debian/changelog (original)
+++ trunk/libphp-serialization-perl/debian/changelog Fri Sep 19 13:10:19 2008
@@ -1,3 +1,14 @@
+libphp-serialization-perl (0.29-1) unstable; urgency=low
+
+  * New upstream release.
+  * Refresh debian/rules for debhelper 7
+  * Add myself to Uploaders
+  * debian/control: Fix Homepage field
+  * Convert debian/copyright to proposed machine-readable format
+  * debian/control: Don't start short description with a capital letter
+
+ -- Ansgar Burchardt <ansgar at 43-1.org>  Fri, 19 Sep 2008 15:09:43 +0200
+
 libphp-serialization-perl (0.28-1) unstable; urgency=low
 
   [ Gunnar Wolf ]

Modified: trunk/libphp-serialization-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libphp-serialization-perl/debian/compat?rev=25364&op=diff
==============================================================================
--- trunk/libphp-serialization-perl/debian/compat (original)
+++ trunk/libphp-serialization-perl/debian/compat Fri Sep 19 13:10:19 2008
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/libphp-serialization-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libphp-serialization-perl/debian/control?rev=25364&op=diff
==============================================================================
--- trunk/libphp-serialization-perl/debian/control (original)
+++ trunk/libphp-serialization-perl/debian/control Fri Sep 19 13:10:19 2008
@@ -1,20 +1,21 @@
 Source: libphp-serialization-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5.0.0)
+Build-Depends: debhelper (>= 7)
 Build-Depends-Indep: perl (>= 5.8.8-12)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Homepage: http://search.cpan.org/dist/PHP::Serialization/
+Homepage: http://search.cpan.org/dist/PHP-Serialization/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libphp-serialization-perl/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libphp-serialization-perl/
-Uploaders: Krzysztof Krzyzaniak (eloy) <eloy at debian.org>, Jose Luis
- Rivas <ghostbar38 at gmail.com>, Gunnar Wolf <gwolf at debian.org>
+Uploaders: Krzysztof Krzyzaniak (eloy) <eloy at debian.org>,
+ Jose Luis Rivas <ghostbar38 at gmail.com>, Gunnar Wolf <gwolf at debian.org>,
+ Ansgar Burchardt <ansgar at 43-1.org>
 Standards-Version: 3.8.0
 
 Package: libphp-serialization-perl
 Architecture: all
-Depends: ${perl:Depends}, ${misc:Depends}, 
-Description: Serialize/Deserialize structs in PHP way
+Depends: ${perl:Depends}, ${misc:Depends}
+Description: serialize/deserialize structs in PHP way
  PHP::Serialization provides a simple, quick means of serializing perl memory
  structures (including object data!) into a format that PHP can deserialize() 
  and access, and vice versa.

Modified: trunk/libphp-serialization-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libphp-serialization-perl/debian/copyright?rev=25364&op=diff
==============================================================================
--- trunk/libphp-serialization-perl/debian/copyright (original)
+++ trunk/libphp-serialization-perl/debian/copyright Fri Sep 19 13:10:19 2008
@@ -1,26 +1,22 @@
-This is the debian package for the PHP::Serialization module.
-It was created by Krzysztof Krzyzaniak (eloy) <eloy at debian.org> using dh-make-perl.
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=228
+Upstream-Name: PHP-Serialization
+Upstream-Maintainer: Tomas Doran <bobtfish at bobtfish.net>
+Upstream-Source: http://search.cpan.org/dist/PHP-Serialization/
 
-It was downloaded from http://search.cpan.org/dist/PHP::Serialization/
+Files: *
+Copyright: © 2003, Jesse Brown <jbrown at cpan.org>
+License: GPL-1+ | Artistic
+ This program is free software; you can redistribute it and/or modify
+ it under the same terms as Perl itself.
+ .
+ Perl is distributed under your choice of the GNU General Public License or
+ the Artistic License.  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'.
 
-Copyright (C) 2003 Jesse Brown <jbrown at cpan.org>
+Files: debian/*
+Copyright: © 2008, Krzysztof Krzyzaniak (eloy) <eloy at debian.org>
+License: GPL-1+ | Artistic
+ The Debian packaging is licensed under the same terms as the software
+ itself (see above).
 
-This program is free software, you can redistribute it and/or modify it under
-the same terms as Perl itself.
-
-Perl is distributed under licenses:
-
-    a) the GNU General Public License as published by the Free Software
-       Foundation; either version 1, or (at your option) any later
-       version, or
-  
-    b) the "Artistic License" which comes with Perl.
-  
-    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'.
-
-
-
-The Debian packaging is (C) 2008, Krzysztof Krzyzaniak (eloy) <eloy at debian.org> and
-is licensed under the same terms as the software itself (see above).

Modified: trunk/libphp-serialization-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libphp-serialization-perl/debian/rules?rev=25364&op=diff
==============================================================================
--- trunk/libphp-serialization-perl/debian/rules (original)
+++ trunk/libphp-serialization-perl/debian/rules Fri Sep 19 13:10:19 2008
@@ -1,66 +1,23 @@
 #!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
 build-stamp:
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
+	dh build
 	touch $@
 
 clean:
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	[ ! -f Makefile ] || $(MAKE) realclean
+	dh $@
 
 install: install-stamp
 install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
+	dh install
 	touch $@
 
 binary-arch:
-# We have nothing to do here for an architecture-independent package
 
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installexamples
-	dh_installdocs README
-	dh_installchangelogs Changes
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+binary-indep: install
+	dh $@
 
-source diff:
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+binary: binary-arch binary-indep
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+.PHONY: binary binary-arch binary-indep install clean build

Modified: trunk/libphp-serialization-perl/lib/PHP/Serialization.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libphp-serialization-perl/lib/PHP/Serialization.pm?rev=25364&op=diff
==============================================================================
--- trunk/libphp-serialization-perl/lib/PHP/Serialization.pm (original)
+++ trunk/libphp-serialization-perl/lib/PHP/Serialization.pm Fri Sep 19 13:10:19 2008
@@ -5,7 +5,7 @@
 
 use vars qw/$VERSION @ISA @EXPORT_OK/;
 
-$VERSION = '0.28';
+$VERSION = '0.29';
 	
 @ISA = qw(Exporter);	
 @EXPORT_OK = qw(unserialize serialize);
@@ -267,7 +267,7 @@
 	my $string;
 	while ( 1 ) {
 		my $char = $self->_readchar();
-		if ( $char !~ /^[\d\.]+$/ ) {
+		if ( $char !~ /^[\d\.-]+$/ ) {
 			$$cursor--;
 			last;
 		}
@@ -369,6 +369,8 @@
 Copyright (c) 2003 Jesse Brown <jbrown at cpan.org>. All rights reserved. This program is free software; 
 you can redistribute it and/or modify it under the same terms as Perl itself.
 
+Various patches contributed by assorted authors on rt.cpan.org (as detailed in Changes file).
+
 Currently maintained by Tomas Doran <bobtfish at bobtfish.net>.
 
 =cut

Modified: trunk/libphp-serialization-perl/t/02basic.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libphp-serialization-perl/t/02basic.t?rev=25364&op=diff
==============================================================================
--- trunk/libphp-serialization-perl/t/02basic.t (original)
+++ trunk/libphp-serialization-perl/t/02basic.t Fri Sep 19 13:10:19 2008
@@ -5,7 +5,8 @@
 use PHP::Serialization qw(unserialize serialize);
 my $data = {
 	this_is_a_test => 1.23,
-	second_test => [1,2,3]
+	second_test => [1,2,3],
+	third_test => -2,
 };
 my $encoded = serialize($data);
 is_deeply($data, unserialize($encoded));




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